From d7e4b826b91111445bd2de0f71c39d35baa60a06 Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Fri, 13 Nov 2015 11:47:04 -0500 Subject: [PATCH] support Azure File Service volume Signed-off-by: Huamin Chen --- api/swagger-spec/v1.json | 30 + api/swagger-spec/v1beta1.json | 26 + cmd/kubelet/app/plugins.go | 3 +- .../extensions/v1beta1/definitions.html | 57 +- docs/api-reference/v1/definitions.html | 64 +- docs/user-guide/volumes.md | 10 +- examples/azure_file/README.md | 64 + examples/azure_file/azure.yaml | 17 + examples/azure_file/secret/azure-secret.yaml | 8 + examples/examples_test.go | 3 + pkg/api/deep_copy_generated.go | 26 + pkg/api/types.generated.go | 39593 +++++++-------- pkg/api/types.go | 15 + pkg/api/v1/conversion_generated.go | 66 + pkg/api/v1/deep_copy_generated.go | 24 + pkg/api/v1/types.generated.go | 40493 ++++++++-------- pkg/api/v1/types.go | 15 + pkg/api/v1/types_swagger_doc_generated.go | 13 + pkg/api/validation/validation.go | 19 + pkg/api/validation/validation_test.go | 13 + .../v1beta1/conversion_generated.go | 48 + .../extensions/v1beta1/deep_copy_generated.go | 16 + pkg/volume/azure_file/azure_file.go | 234 + pkg/volume/azure_file/azure_file_test.go | 239 + pkg/volume/azure_file/azure_util.go | 55 + pkg/volume/azure_file/doc.go | 19 + 26 files changed, 41638 insertions(+), 39532 deletions(-) create mode 100644 examples/azure_file/README.md create mode 100644 examples/azure_file/azure.yaml create mode 100644 examples/azure_file/secret/azure-secret.yaml create mode 100644 pkg/volume/azure_file/azure_file.go create mode 100644 pkg/volume/azure_file/azure_file_test.go create mode 100644 pkg/volume/azure_file/azure_util.go create mode 100644 pkg/volume/azure_file/doc.go diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index f56018f3dfb..434a82235b3 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -14914,6 +14914,10 @@ "$ref": "v1.FlexVolumeSource", "description": "FlexVolume represents a generic volume resource that is provisioned/attached using a exec based plugin. This is an alpha feature and may change in future." }, + "azureFile": { + "$ref": "v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." + }, "accessModes": { "type": "array", "items": { @@ -15268,6 +15272,28 @@ } } }, + "v1.AzureFileVolumeSource": { + "id": "v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string", + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": "string", + "description": "Share Name" + }, + "readOnly": { + "type": "boolean", + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, "v1.PersistentVolumeStatus": { "id": "v1.PersistentVolumeStatus", "description": "PersistentVolumeStatus is the current status of a persistent volume.", @@ -15498,6 +15524,10 @@ "fc": { "$ref": "v1.FCVolumeSource", "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." + }, + "azureFile": { + "$ref": "v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." } } }, diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index e76874e96fe..dd967259880 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -4333,6 +4333,10 @@ "fc": { "$ref": "v1.FCVolumeSource", "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." + }, + "azureFile": { + "$ref": "v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." } } }, @@ -4779,6 +4783,28 @@ } } }, + "v1.AzureFileVolumeSource": { + "id": "v1.AzureFileVolumeSource", + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string", + "description": "the name of secret that contains Azure Storage Account Name and Key" + }, + "shareName": { + "type": "string", + "description": "Share Name" + }, + "readOnly": { + "type": "boolean", + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + } + } + }, "v1.Container": { "id": "v1.Container", "description": "A single application container that you want to run within a pod.", diff --git a/cmd/kubelet/app/plugins.go b/cmd/kubelet/app/plugins.go index 31b50b45108..40eb75c09c3 100644 --- a/cmd/kubelet/app/plugins.go +++ b/cmd/kubelet/app/plugins.go @@ -29,6 +29,7 @@ import ( // Volume plugins "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/aws_ebs" + "k8s.io/kubernetes/pkg/volume/azure_file" "k8s.io/kubernetes/pkg/volume/cephfs" "k8s.io/kubernetes/pkg/volume/cinder" "k8s.io/kubernetes/pkg/volume/downwardapi" @@ -78,7 +79,7 @@ func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin { allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...) allPlugins = append(allPlugins, flocker.ProbeVolumePlugins()...) allPlugins = append(allPlugins, flexvolume.ProbeVolumePlugins(pluginDir)...) - + allPlugins = append(allPlugins, azure_file.ProbeVolumePlugins()...) return allPlugins } diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 9c57fd6c221..bf0a29241a5 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -2364,6 +2364,54 @@ Populated by the system when a graceful deletion is requested. Read-only. More i + +
+

v1.AzureFileVolumeSource

+
+

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

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

secretName

the name of secret that contains Azure Storage Account Name and Key

true

string

shareName

Share Name

true

string

readOnly

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

false

+

v1.HostPathVolumeSource

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

v1.FCVolumeSource

+ +

azureFile

+

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

+

false

+

v1.AzureFileVolumeSource

+ + @@ -4772,7 +4827,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index 86fc04fbc7e..8a59391b496 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -1891,6 +1891,54 @@ Populated by the system when a graceful deletion is requested. Read-only. More i + +
+

v1.AzureFileVolumeSource

+
+

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

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

secretName

the name of secret that contains Azure Storage Account Name and Key

true

string

shareName

Share Name

true

string

readOnly

Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

false

boolean

false

+

v1.ISCSIVolumeSource

@@ -3235,6 +3283,13 @@ The resulting set of endpoints can be viewed as:

v1.FCVolumeSource

+ +

azureFile

+

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

+

false

+

v1.AzureFileVolumeSource

+ + @@ -5180,6 +5235,13 @@ The resulting set of endpoints can be viewed as:
+

azureFile

+

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

+

false

+

v1.AzureFileVolumeSource

+ + +

accessModes

AccessModes contains all ways the volume can be mounted. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes

false

@@ -7316,7 +7378,7 @@ The resulting set of endpoints can be viewed as:
diff --git a/docs/user-guide/volumes.md b/docs/user-guide/volumes.md index 46dc57843a3..b59c1381448 100644 --- a/docs/user-guide/volumes.md +++ b/docs/user-guide/volumes.md @@ -67,6 +67,7 @@ Familiarity with [pods](pods.md) is suggested. - [persistentVolumeClaim](#persistentvolumeclaim) - [downwardAPI](#downwardapi) - [FlexVolume](#flexvolume) + - [AzureFileVolume](#azurefilevolume) - [Resources](#resources) @@ -124,6 +125,7 @@ Kubernetes supports several types of Volumes: * `secret` * `persistentVolumeClaim` * `downwardAPI` + * `azureFileVolume` We welcome additional contributions. @@ -427,6 +429,13 @@ an alpha feature and may change in future. More details are in [here](../../examples/flexvolume/README.md) +### AzureFileVolume + +A `AzureFileVolume` is used to mount a Microsoft Azure File Volume (SMB 2.1 and 3.0) +into a Pod. + +More details can be found [here](../../examples/azure_file/README.md) + ## Resources The storage media (Disk, SSD, etc) of an `emptyDir` volume is determined by the @@ -440,7 +449,6 @@ request a certain amount of space using a [resource](compute-resources.md) specification, and to select the type of media to use, for clusters that have several media types. - [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/volumes.md?pixel)]() diff --git a/examples/azure_file/README.md b/examples/azure_file/README.md new file mode 100644 index 00000000000..0e014c8ab11 --- /dev/null +++ b/examples/azure_file/README.md @@ -0,0 +1,64 @@ + + + + +WARNING +WARNING +WARNING +WARNING +WARNING + +

PLEASE NOTE: This document applies to the HEAD of the source tree

+ +If you are using a released version of Kubernetes, you should +refer to the docs that go with that version. + +Documentation for other releases can be found at +[releases.k8s.io](http://releases.k8s.io). + +-- + + + + + +# How to Use it? + +Install *cifs-utils* on the Kubernetes host. For example, on Fedora based Linux + + # yum -y install cifs-utils + +Note, as explained in [Azure File Storage for Linux](https://azure.microsoft.com/en-us/documentation/articles/storage-how-to-use-files-linux/), the Linux hosts and the file share must be in the same Azure region. + +Obtain an Microsoft Azure storage account and create a [secret](secret/azure-secret.yaml) that contains the base64 encoded Azure Storage account name and key. In the secret file, base64-encode Azure Storage account name and pair it with name *azurestorageaccountname*, and base64-encode Azure Storage access key and pair it with name *azurestorageaccountkey*. + +Then create a Pod using the volume spec based on [azure](azure.yaml). + +In the pod, you need to provide the following information: + +- *secretName*: the name of the secret that contains both Azure storage account name and key. +- *shareName*: The share name to be used. +- *readOnly*: Whether the filesystem is used as readOnly. + +Create the secret: + +```console + # kubectl create -f examples/azure_file/secret/azure-secret.yaml +``` + +You should see the account name and key from `kubectl get secret` + +Then create the Pod: + +```console + # kubectl create -f examples/azure_file/azure.yaml +``` + + +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/azure_file/README.md?pixel)]() + diff --git a/examples/azure_file/azure.yaml b/examples/azure_file/azure.yaml new file mode 100644 index 00000000000..6567f30799a --- /dev/null +++ b/examples/azure_file/azure.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: azure +spec: + containers: + - image: kubernetes/pause + name: azure + volumeMounts: + - name: azure + mountPath: /mnt/azure + volumes: + - name: azure + azureFile: + secretName: azure-secret + shareName: k8stest + readOnly: false diff --git a/examples/azure_file/secret/azure-secret.yaml b/examples/azure_file/secret/azure-secret.yaml new file mode 100644 index 00000000000..bf448bd9cef --- /dev/null +++ b/examples/azure_file/secret/azure-secret.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: azure-secret +type: Opaque +data: + azurestorageaccountname: azhzdGVzdA== + azurestorageaccountkey: eElGMXpKYm5ub2pGTE1Ta0JwNTBteDAyckhzTUsyc2pVN21GdDRMMTNob0I3ZHJBYUo4akQ2K0E0NDNqSm9nVjd5MkZVT2hRQ1dQbU02WWFOSHk3cWc9PQ== diff --git a/examples/examples_test.go b/examples/examples_test.go index 080ec1ec6be..241625ad950 100644 --- a/examples/examples_test.go +++ b/examples/examples_test.go @@ -402,6 +402,9 @@ func TestExampleObjectSchemas(t *testing.T) { "redis-service": &api.Service{}, "job": &extensions.Job{}, }, + "../examples/azure_file": { + "azure": &api.Pod{}, + }, } capabilities.SetForTests(capabilities.Capabilities{ diff --git a/pkg/api/deep_copy_generated.go b/pkg/api/deep_copy_generated.go index 248a5470b60..bb6a4ce6fb6 100644 --- a/pkg/api/deep_copy_generated.go +++ b/pkg/api/deep_copy_generated.go @@ -33,6 +33,7 @@ func init() { if err := Scheme.AddGeneratedDeepCopyFuncs( DeepCopy_api_AWSElasticBlockStoreVolumeSource, DeepCopy_api_Affinity, + DeepCopy_api_AzureFileVolumeSource, DeepCopy_api_Binding, DeepCopy_api_Capabilities, DeepCopy_api_CephFSVolumeSource, @@ -203,6 +204,13 @@ func DeepCopy_api_Affinity(in Affinity, out *Affinity, c *conversion.Cloner) err return nil } +func DeepCopy_api_AzureFileVolumeSource(in AzureFileVolumeSource, out *AzureFileVolumeSource, c *conversion.Cloner) error { + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + func DeepCopy_api_Binding(in Binding, out *Binding, c *conversion.Cloner) error { if err := DeepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { return err @@ -1828,6 +1836,15 @@ func DeepCopy_api_PersistentVolumeSource(in PersistentVolumeSource, out *Persist } else { out.Flocker = nil } + if in.AzureFile != nil { + in, out := in.AzureFile, &out.AzureFile + *out = new(AzureFileVolumeSource) + if err := DeepCopy_api_AzureFileVolumeSource(*in, *out, c); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -2912,6 +2929,15 @@ func DeepCopy_api_VolumeSource(in VolumeSource, out *VolumeSource, c *conversion } else { out.FC = nil } + if in.AzureFile != nil { + in, out := in.AzureFile, &out.AzureFile + *out = new(AzureFileVolumeSource) + if err := DeepCopy_api_AzureFileVolumeSource(*in, *out, c); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index 3edd95d708b..92f7544b949 100644 --- a/pkg/api/types.generated.go +++ b/pkg/api/types.generated.go @@ -946,7 +946,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep82 := !z.EncBinary() yy2arr82 := z.EncBasicHandle().StructToArray - var yyq82 [18]bool + var yyq82 [19]bool _, _, _ = yysep82, yyq82, yy2arr82 const yyr82 bool = false yyq82[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil @@ -966,9 +966,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { yyq82[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil yyq82[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil yyq82[17] = x.VolumeSource.FC != nil && x.FC != nil + yyq82[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil var yynn82 int if yyr82 || yy2arr82 { - r.EncodeArrayStart(18) + r.EncodeArrayStart(19) } else { yynn82 = 1 for _, b := range yyq82 { @@ -1627,6 +1628,43 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } + var yyn103 bool + if x.VolumeSource.AzureFile == nil { + yyn103 = true + goto LABEL103 + } + LABEL103: + if yyr82 || yy2arr82 { + if yyn103 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[18] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq82[18] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn103 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -1640,25 +1678,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym103 := z.DecBinary() - _ = yym103 + yym104 := z.DecBinary() + _ = yym104 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct104 := r.ContainerType() - if yyct104 == codecSelferValueTypeMap1234 { - yyl104 := r.ReadMapStart() - if yyl104 == 0 { + yyct105 := r.ContainerType() + if yyct105 == codecSelferValueTypeMap1234 { + yyl105 := r.ReadMapStart() + if yyl105 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl104, d) + x.codecDecodeSelfFromMap(yyl105, d) } - } else if yyct104 == codecSelferValueTypeArray1234 { - yyl104 := r.ReadArrayStart() - if yyl104 == 0 { + } else if yyct105 == codecSelferValueTypeArray1234 { + yyl105 := r.ReadArrayStart() + if yyl105 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl104, d) + x.codecDecodeSelfFromArray(yyl105, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1670,12 +1708,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys105Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys105Slc - var yyhl105 bool = l >= 0 - for yyj105 := 0; ; yyj105++ { - if yyhl105 { - if yyj105 >= l { + var yys106Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys106Slc + var yyhl106 bool = l >= 0 + for yyj106 := 0; ; yyj106++ { + if yyhl106 { + if yyj106 >= l { break } } else { @@ -1684,10 +1722,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys105Slc = r.DecodeBytes(yys105Slc, true, true) - yys105 := string(yys105Slc) + yys106Slc = r.DecodeBytes(yys106Slc, true, true) + yys106 := string(yys106Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys105 { + switch yys106 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1932,10 +1970,24 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } + case "azureFile": + if x.VolumeSource.AzureFile == nil { + x.VolumeSource.AzureFile = new(AzureFileVolumeSource) + } + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys105) - } // end switch yys105 - } // end for yyj105 + z.DecStructFieldNotFound(-1, yys106) + } // end switch yys106 + } // end for yyj106 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1943,16 +1995,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj124 int - var yyb124 bool - var yyhl124 bool = l >= 0 - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + var yyj126 int + var yyb126 bool + var yyhl126 bool = l >= 0 + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1965,13 +2017,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1989,13 +2041,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2013,13 +2065,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2037,13 +2089,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2061,13 +2113,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2085,13 +2137,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2109,13 +2161,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2133,13 +2185,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2157,13 +2209,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2181,13 +2233,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2205,13 +2257,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2229,13 +2281,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FlexVolume == nil { x.VolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2253,13 +2305,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2277,13 +2329,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2301,13 +2353,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2325,13 +2377,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2349,13 +2401,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2370,18 +2422,42 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - for { - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l - } else { - yyb124 = r.CheckBreak() + if x.VolumeSource.AzureFile == nil { + x.VolumeSource.AzureFile = new(AzureFileVolumeSource) + } + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l + } else { + yyb126 = r.CheckBreak() + } + if yyb126 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb124 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l + } else { + yyb126 = r.CheckBreak() + } + if yyb126 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj124-1, "") + z.DecStructFieldNotFound(yyj126-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2393,49 +2469,50 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym143 := z.EncBinary() - _ = yym143 + yym146 := z.EncBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep144 := !z.EncBinary() - yy2arr144 := z.EncBasicHandle().StructToArray - var yyq144 [17]bool - _, _, _ = yysep144, yyq144, yy2arr144 - const yyr144 bool = false - yyq144[0] = x.HostPath != nil - yyq144[1] = x.EmptyDir != nil - yyq144[2] = x.GCEPersistentDisk != nil - yyq144[3] = x.AWSElasticBlockStore != nil - yyq144[4] = x.GitRepo != nil - yyq144[5] = x.Secret != nil - yyq144[6] = x.NFS != nil - yyq144[7] = x.ISCSI != nil - yyq144[8] = x.Glusterfs != nil - yyq144[9] = x.PersistentVolumeClaim != nil - yyq144[10] = x.RBD != nil - yyq144[11] = x.FlexVolume != nil - yyq144[12] = x.Cinder != nil - yyq144[13] = x.CephFS != nil - yyq144[14] = x.Flocker != nil - yyq144[15] = x.DownwardAPI != nil - yyq144[16] = x.FC != nil - var yynn144 int - if yyr144 || yy2arr144 { - r.EncodeArrayStart(17) + yysep147 := !z.EncBinary() + yy2arr147 := z.EncBasicHandle().StructToArray + var yyq147 [18]bool + _, _, _ = yysep147, yyq147, yy2arr147 + const yyr147 bool = false + yyq147[0] = x.HostPath != nil + yyq147[1] = x.EmptyDir != nil + yyq147[2] = x.GCEPersistentDisk != nil + yyq147[3] = x.AWSElasticBlockStore != nil + yyq147[4] = x.GitRepo != nil + yyq147[5] = x.Secret != nil + yyq147[6] = x.NFS != nil + yyq147[7] = x.ISCSI != nil + yyq147[8] = x.Glusterfs != nil + yyq147[9] = x.PersistentVolumeClaim != nil + yyq147[10] = x.RBD != nil + yyq147[11] = x.FlexVolume != nil + yyq147[12] = x.Cinder != nil + yyq147[13] = x.CephFS != nil + yyq147[14] = x.Flocker != nil + yyq147[15] = x.DownwardAPI != nil + yyq147[16] = x.FC != nil + yyq147[17] = x.AzureFile != nil + var yynn147 int + if yyr147 || yy2arr147 { + r.EncodeArrayStart(18) } else { - yynn144 = 0 - for _, b := range yyq144 { + yynn147 = 0 + for _, b := range yyq147 { if b { - yynn144++ + yynn147++ } } - r.EncodeMapStart(yynn144) - yynn144 = 0 + r.EncodeMapStart(yynn147) + yynn147 = 0 } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[0] { + if yyq147[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2445,7 +2522,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[0] { + if yyq147[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2456,9 +2533,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[1] { + if yyq147[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2468,7 +2545,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[1] { + if yyq147[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2479,9 +2556,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[2] { + if yyq147[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2491,7 +2568,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[2] { + if yyq147[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2502,9 +2579,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[3] { + if yyq147[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2514,7 +2591,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[3] { + if yyq147[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2525,9 +2602,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[4] { + if yyq147[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2537,7 +2614,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[4] { + if yyq147[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2548,9 +2625,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[5] { + if yyq147[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2560,7 +2637,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[5] { + if yyq147[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2571,9 +2648,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[6] { + if yyq147[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2583,7 +2660,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[6] { + if yyq147[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2594,9 +2671,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[7] { + if yyq147[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2606,7 +2683,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[7] { + if yyq147[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2617,9 +2694,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[8] { + if yyq147[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2629,7 +2706,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[8] { + if yyq147[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2640,9 +2717,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[9] { + if yyq147[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -2652,7 +2729,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[9] { + if yyq147[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2663,9 +2740,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[10] { + if yyq147[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -2675,7 +2752,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[10] { + if yyq147[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2686,9 +2763,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[11] { + if yyq147[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -2698,7 +2775,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[11] { + if yyq147[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2709,9 +2786,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[12] { + if yyq147[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -2721,7 +2798,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[12] { + if yyq147[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2732,9 +2809,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[13] { + if yyq147[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -2744,7 +2821,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[13] { + if yyq147[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2755,9 +2832,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[14] { + if yyq147[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -2767,7 +2844,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[14] { + if yyq147[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2778,9 +2855,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[15] { + if yyq147[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -2790,7 +2867,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[15] { + if yyq147[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2801,9 +2878,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[16] { + if yyq147[16] { if x.FC == nil { r.EncodeNil() } else { @@ -2813,7 +2890,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[16] { + if yyq147[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2824,7 +2901,30 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq147[17] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq147[17] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2837,25 +2937,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym162 := z.DecBinary() - _ = yym162 + yym166 := z.DecBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct163 := r.ContainerType() - if yyct163 == codecSelferValueTypeMap1234 { - yyl163 := r.ReadMapStart() - if yyl163 == 0 { + yyct167 := r.ContainerType() + if yyct167 == codecSelferValueTypeMap1234 { + yyl167 := r.ReadMapStart() + if yyl167 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl163, d) + x.codecDecodeSelfFromMap(yyl167, d) } - } else if yyct163 == codecSelferValueTypeArray1234 { - yyl163 := r.ReadArrayStart() - if yyl163 == 0 { + } else if yyct167 == codecSelferValueTypeArray1234 { + yyl167 := r.ReadArrayStart() + if yyl167 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl163, d) + x.codecDecodeSelfFromArray(yyl167, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2867,12 +2967,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys164Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys164Slc - var yyhl164 bool = l >= 0 - for yyj164 := 0; ; yyj164++ { - if yyhl164 { - if yyj164 >= l { + var yys168Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys168Slc + var yyhl168 bool = l >= 0 + for yyj168 := 0; ; yyj168++ { + if yyhl168 { + if yyj168 >= l { break } } else { @@ -2881,10 +2981,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys164Slc = r.DecodeBytes(yys164Slc, true, true) - yys164 := string(yys164Slc) + yys168Slc = r.DecodeBytes(yys168Slc, true, true) + yys168 := string(yys168Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys164 { + switch yys168 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -3072,10 +3172,21 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } + case "azureFile": + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys164) - } // end switch yys164 - } // end for yyj164 + z.DecStructFieldNotFound(-1, yys168) + } // end switch yys168 + } // end for yyj168 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3083,16 +3194,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj182 int - var yyb182 bool - var yyhl182 bool = l >= 0 - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + var yyj187 int + var yyb187 bool + var yyhl187 bool = l >= 0 + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3107,13 +3218,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3128,13 +3239,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3149,13 +3260,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3170,13 +3281,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3191,13 +3302,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3212,13 +3323,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3233,13 +3344,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3254,13 +3365,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3275,13 +3386,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3296,13 +3407,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3317,13 +3428,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3338,13 +3449,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FlexVolume.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3359,13 +3470,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3380,13 +3491,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3401,13 +3512,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3422,13 +3533,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3443,18 +3554,39 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - for { - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l - } else { - yyb182 = r.CheckBreak() + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l + } else { + yyb187 = r.CheckBreak() + } + if yyb187 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb182 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l + } else { + yyb187 = r.CheckBreak() + } + if yyb187 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj182-1, "") + z.DecStructFieldNotFound(yyj187-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3466,44 +3598,45 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym200 := z.EncBinary() - _ = yym200 + yym206 := z.EncBinary() + _ = yym206 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep201 := !z.EncBinary() - yy2arr201 := z.EncBasicHandle().StructToArray - var yyq201 [12]bool - _, _, _ = yysep201, yyq201, yy2arr201 - const yyr201 bool = false - yyq201[0] = x.GCEPersistentDisk != nil - yyq201[1] = x.AWSElasticBlockStore != nil - yyq201[2] = x.HostPath != nil - yyq201[3] = x.Glusterfs != nil - yyq201[4] = x.NFS != nil - yyq201[5] = x.RBD != nil - yyq201[6] = x.ISCSI != nil - yyq201[7] = x.FlexVolume != nil - yyq201[8] = x.Cinder != nil - yyq201[9] = x.CephFS != nil - yyq201[10] = x.FC != nil - yyq201[11] = x.Flocker != nil - var yynn201 int - if yyr201 || yy2arr201 { - r.EncodeArrayStart(12) + yysep207 := !z.EncBinary() + yy2arr207 := z.EncBasicHandle().StructToArray + var yyq207 [13]bool + _, _, _ = yysep207, yyq207, yy2arr207 + const yyr207 bool = false + yyq207[0] = x.GCEPersistentDisk != nil + yyq207[1] = x.AWSElasticBlockStore != nil + yyq207[2] = x.HostPath != nil + yyq207[3] = x.Glusterfs != nil + yyq207[4] = x.NFS != nil + yyq207[5] = x.RBD != nil + yyq207[6] = x.ISCSI != nil + yyq207[7] = x.FlexVolume != nil + yyq207[8] = x.Cinder != nil + yyq207[9] = x.CephFS != nil + yyq207[10] = x.FC != nil + yyq207[11] = x.Flocker != nil + yyq207[12] = x.AzureFile != nil + var yynn207 int + if yyr207 || yy2arr207 { + r.EncodeArrayStart(13) } else { - yynn201 = 0 - for _, b := range yyq201 { + yynn207 = 0 + for _, b := range yyq207 { if b { - yynn201++ + yynn207++ } } - r.EncodeMapStart(yynn201) - yynn201 = 0 + r.EncodeMapStart(yynn207) + yynn207 = 0 } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[0] { + if yyq207[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -3513,7 +3646,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[0] { + if yyq207[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3524,9 +3657,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[1] { + if yyq207[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -3536,7 +3669,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[1] { + if yyq207[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3547,9 +3680,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[2] { + if yyq207[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -3559,7 +3692,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[2] { + if yyq207[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3570,9 +3703,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[3] { + if yyq207[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -3582,7 +3715,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[3] { + if yyq207[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3593,9 +3726,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[4] { + if yyq207[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -3605,7 +3738,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[4] { + if yyq207[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3616,9 +3749,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[5] { + if yyq207[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -3628,7 +3761,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[5] { + if yyq207[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3639,9 +3772,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[6] { + if yyq207[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -3651,7 +3784,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[6] { + if yyq207[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3662,9 +3795,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[7] { + if yyq207[7] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -3674,7 +3807,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[7] { + if yyq207[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3685,9 +3818,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[8] { + if yyq207[8] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3697,7 +3830,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[8] { + if yyq207[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3708,9 +3841,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[9] { + if yyq207[9] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3720,7 +3853,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[9] { + if yyq207[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3731,9 +3864,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[10] { + if yyq207[10] { if x.FC == nil { r.EncodeNil() } else { @@ -3743,7 +3876,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[10] { + if yyq207[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3754,9 +3887,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[11] { + if yyq207[11] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3766,7 +3899,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq201[11] { + if yyq207[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3777,7 +3910,30 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq207[12] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq207[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3790,25 +3946,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym214 := z.DecBinary() - _ = yym214 + yym221 := z.DecBinary() + _ = yym221 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct215 := r.ContainerType() - if yyct215 == codecSelferValueTypeMap1234 { - yyl215 := r.ReadMapStart() - if yyl215 == 0 { + yyct222 := r.ContainerType() + if yyct222 == codecSelferValueTypeMap1234 { + yyl222 := r.ReadMapStart() + if yyl222 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl215, d) + x.codecDecodeSelfFromMap(yyl222, d) } - } else if yyct215 == codecSelferValueTypeArray1234 { - yyl215 := r.ReadArrayStart() - if yyl215 == 0 { + } else if yyct222 == codecSelferValueTypeArray1234 { + yyl222 := r.ReadArrayStart() + if yyl222 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl215, d) + x.codecDecodeSelfFromArray(yyl222, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3820,12 +3976,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys216Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys216Slc - var yyhl216 bool = l >= 0 - for yyj216 := 0; ; yyj216++ { - if yyhl216 { - if yyj216 >= l { + var yys223Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys223Slc + var yyhl223 bool = l >= 0 + for yyj223 := 0; ; yyj223++ { + if yyhl223 { + if yyj223 >= l { break } } else { @@ -3834,10 +3990,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys216Slc = r.DecodeBytes(yys216Slc, true, true) - yys216 := string(yys216Slc) + yys223Slc = r.DecodeBytes(yys223Slc, true, true) + yys223 := string(yys223Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys216 { + switch yys223 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -3970,10 +4126,21 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } x.Flocker.CodecDecodeSelf(d) } + case "azureFile": + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys216) - } // end switch yys216 - } // end for yyj216 + z.DecStructFieldNotFound(-1, yys223) + } // end switch yys223 + } // end for yyj223 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3981,16 +4148,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj229 int - var yyb229 bool - var yyhl229 bool = l >= 0 - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + var yyj237 int + var yyb237 bool + var yyhl237 bool = l >= 0 + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4005,13 +4172,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4026,13 +4193,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4047,13 +4214,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4068,13 +4235,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4089,13 +4256,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4110,13 +4277,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4131,13 +4298,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4152,13 +4319,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FlexVolume.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4173,13 +4340,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4194,13 +4361,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4215,13 +4382,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb229 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb229 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4236,18 +4403,39 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - for { - yyj229++ - if yyhl229 { - yyb229 = yyj229 > l - } else { - yyb229 = r.CheckBreak() + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l + } else { + yyb237 = r.CheckBreak() + } + if yyb237 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb229 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l + } else { + yyb237 = r.CheckBreak() + } + if yyb237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj229-1, "") + z.DecStructFieldNotFound(yyj237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4259,34 +4447,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym242 := z.EncBinary() - _ = yym242 + yym251 := z.EncBinary() + _ = yym251 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep243 := !z.EncBinary() - yy2arr243 := z.EncBasicHandle().StructToArray - var yyq243 [2]bool - _, _, _ = yysep243, yyq243, yy2arr243 - const yyr243 bool = false - yyq243[1] = x.ReadOnly != false - var yynn243 int - if yyr243 || yy2arr243 { + yysep252 := !z.EncBinary() + yy2arr252 := z.EncBasicHandle().StructToArray + var yyq252 [2]bool + _, _, _ = yysep252, yyq252, yy2arr252 + const yyr252 bool = false + yyq252[1] = x.ReadOnly != false + var yynn252 int + if yyr252 || yy2arr252 { r.EncodeArrayStart(2) } else { - yynn243 = 1 - for _, b := range yyq243 { + yynn252 = 1 + for _, b := range yyq252 { if b { - yynn243++ + yynn252++ } } - r.EncodeMapStart(yynn243) - yynn243 = 0 + r.EncodeMapStart(yynn252) + yynn252 = 0 } - if yyr243 || yy2arr243 { + if yyr252 || yy2arr252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym245 := z.EncBinary() - _ = yym245 + yym254 := z.EncBinary() + _ = yym254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -4295,18 +4483,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym246 := z.EncBinary() - _ = yym246 + yym255 := z.EncBinary() + _ = yym255 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr243 || yy2arr243 { + if yyr252 || yy2arr252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq243[1] { - yym248 := z.EncBinary() - _ = yym248 + if yyq252[1] { + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -4315,19 +4503,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq243[1] { + if yyq252[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym249 := z.EncBinary() - _ = yym249 + yym258 := z.EncBinary() + _ = yym258 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr243 || yy2arr243 { + if yyr252 || yy2arr252 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4340,25 +4528,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym250 := z.DecBinary() - _ = yym250 + yym259 := z.DecBinary() + _ = yym259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct251 := r.ContainerType() - if yyct251 == codecSelferValueTypeMap1234 { - yyl251 := r.ReadMapStart() - if yyl251 == 0 { + yyct260 := r.ContainerType() + if yyct260 == codecSelferValueTypeMap1234 { + yyl260 := r.ReadMapStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl251, d) + x.codecDecodeSelfFromMap(yyl260, d) } - } else if yyct251 == codecSelferValueTypeArray1234 { - yyl251 := r.ReadArrayStart() - if yyl251 == 0 { + } else if yyct260 == codecSelferValueTypeArray1234 { + yyl260 := r.ReadArrayStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl251, d) + x.codecDecodeSelfFromArray(yyl260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4370,12 +4558,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys252Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys252Slc - var yyhl252 bool = l >= 0 - for yyj252 := 0; ; yyj252++ { - if yyhl252 { - if yyj252 >= l { + var yys261Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys261Slc + var yyhl261 bool = l >= 0 + for yyj261 := 0; ; yyj261++ { + if yyhl261 { + if yyj261 >= l { break } } else { @@ -4384,10 +4572,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys252Slc = r.DecodeBytes(yys252Slc, true, true) - yys252 := string(yys252Slc) + yys261Slc = r.DecodeBytes(yys261Slc, true, true) + yys261 := string(yys261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys252 { + switch yys261 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -4401,9 +4589,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys252) - } // end switch yys252 - } // end for yyj252 + z.DecStructFieldNotFound(-1, yys261) + } // end switch yys261 + } // end for yyj261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4411,16 +4599,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj255 int - var yyb255 bool - var yyhl255 bool = l >= 0 - yyj255++ - if yyhl255 { - yyb255 = yyj255 > l + var yyj264 int + var yyb264 bool + var yyhl264 bool = l >= 0 + yyj264++ + if yyhl264 { + yyb264 = yyj264 > l } else { - yyb255 = r.CheckBreak() + yyb264 = r.CheckBreak() } - if yyb255 { + if yyb264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4430,13 +4618,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj255++ - if yyhl255 { - yyb255 = yyj255 > l + yyj264++ + if yyhl264 { + yyb264 = yyj264 > l } else { - yyb255 = r.CheckBreak() + yyb264 = r.CheckBreak() } - if yyb255 { + if yyb264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4447,17 +4635,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj255++ - if yyhl255 { - yyb255 = yyj255 > l + yyj264++ + if yyhl264 { + yyb264 = yyj264 > l } else { - yyb255 = r.CheckBreak() + yyb264 = r.CheckBreak() } - if yyb255 { + if yyb264 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj255-1, "") + z.DecStructFieldNotFound(yyj264-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4469,90 +4657,90 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym258 := z.EncBinary() - _ = yym258 + yym267 := z.EncBinary() + _ = yym267 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep259 := !z.EncBinary() - yy2arr259 := z.EncBasicHandle().StructToArray - var yyq259 [5]bool - _, _, _ = yysep259, yyq259, yy2arr259 - const yyr259 bool = false - yyq259[0] = true - yyq259[1] = true - yyq259[2] = true - yyq259[3] = x.Kind != "" - yyq259[4] = x.APIVersion != "" - var yynn259 int - if yyr259 || yy2arr259 { + yysep268 := !z.EncBinary() + yy2arr268 := z.EncBasicHandle().StructToArray + var yyq268 [5]bool + _, _, _ = yysep268, yyq268, yy2arr268 + const yyr268 bool = false + yyq268[0] = true + yyq268[1] = true + yyq268[2] = true + yyq268[3] = x.Kind != "" + yyq268[4] = x.APIVersion != "" + var yynn268 int + if yyr268 || yy2arr268 { r.EncodeArrayStart(5) } else { - yynn259 = 0 - for _, b := range yyq259 { + yynn268 = 0 + for _, b := range yyq268 { if b { - yynn259++ + yynn268++ } } - r.EncodeMapStart(yynn259) - yynn259 = 0 + r.EncodeMapStart(yynn268) + yynn268 = 0 } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[0] { - yy261 := &x.ObjectMeta - yy261.CodecEncodeSelf(e) + if yyq268[0] { + yy270 := &x.ObjectMeta + yy270.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[0] { + if yyq268[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.ObjectMeta - yy262.CodecEncodeSelf(e) + yy271 := &x.ObjectMeta + yy271.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[1] { - yy264 := &x.Spec - yy264.CodecEncodeSelf(e) + if yyq268[1] { + yy273 := &x.Spec + yy273.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[1] { + if yyq268[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy265 := &x.Spec - yy265.CodecEncodeSelf(e) + yy274 := &x.Spec + yy274.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[2] { - yy267 := &x.Status - yy267.CodecEncodeSelf(e) + if yyq268[2] { + yy276 := &x.Status + yy276.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[2] { + if yyq268[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy268 := &x.Status - yy268.CodecEncodeSelf(e) + yy277 := &x.Status + yy277.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[3] { - yym270 := z.EncBinary() - _ = yym270 + if yyq268[3] { + yym279 := z.EncBinary() + _ = yym279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4561,23 +4749,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq259[3] { + if yyq268[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym271 := z.EncBinary() - _ = yym271 + yym280 := z.EncBinary() + _ = yym280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[4] { - yym273 := z.EncBinary() - _ = yym273 + if yyq268[4] { + yym282 := z.EncBinary() + _ = yym282 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4586,19 +4774,19 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq259[4] { + if yyq268[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym274 := z.EncBinary() - _ = yym274 + yym283 := z.EncBinary() + _ = yym283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4611,25 +4799,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym275 := z.DecBinary() - _ = yym275 + yym284 := z.DecBinary() + _ = yym284 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct276 := r.ContainerType() - if yyct276 == codecSelferValueTypeMap1234 { - yyl276 := r.ReadMapStart() - if yyl276 == 0 { + yyct285 := r.ContainerType() + if yyct285 == codecSelferValueTypeMap1234 { + yyl285 := r.ReadMapStart() + if yyl285 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl276, d) + x.codecDecodeSelfFromMap(yyl285, d) } - } else if yyct276 == codecSelferValueTypeArray1234 { - yyl276 := r.ReadArrayStart() - if yyl276 == 0 { + } else if yyct285 == codecSelferValueTypeArray1234 { + yyl285 := r.ReadArrayStart() + if yyl285 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl276, d) + x.codecDecodeSelfFromArray(yyl285, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4641,12 +4829,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys277Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys277Slc - var yyhl277 bool = l >= 0 - for yyj277 := 0; ; yyj277++ { - if yyhl277 { - if yyj277 >= l { + var yys286Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys286Slc + var yyhl286 bool = l >= 0 + for yyj286 := 0; ; yyj286++ { + if yyhl286 { + if yyj286 >= l { break } } else { @@ -4655,30 +4843,30 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys277Slc = r.DecodeBytes(yys277Slc, true, true) - yys277 := string(yys277Slc) + yys286Slc = r.DecodeBytes(yys286Slc, true, true) + yys286 := string(yys286Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys277 { + switch yys286 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv278 := &x.ObjectMeta - yyv278.CodecDecodeSelf(d) + yyv287 := &x.ObjectMeta + yyv287.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv279 := &x.Spec - yyv279.CodecDecodeSelf(d) + yyv288 := &x.Spec + yyv288.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv280 := &x.Status - yyv280.CodecDecodeSelf(d) + yyv289 := &x.Status + yyv289.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -4693,9 +4881,9 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys277) - } // end switch yys277 - } // end for yyj277 + z.DecStructFieldNotFound(-1, yys286) + } // end switch yys286 + } // end for yyj286 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4703,16 +4891,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj283 int - var yyb283 bool - var yyhl283 bool = l >= 0 - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + var yyj292 int + var yyb292 bool + var yyhl292 bool = l >= 0 + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4720,16 +4908,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv284 := &x.ObjectMeta - yyv284.CodecDecodeSelf(d) + yyv293 := &x.ObjectMeta + yyv293.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4737,16 +4925,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv285 := &x.Spec - yyv285.CodecDecodeSelf(d) + yyv294 := &x.Spec + yyv294.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4754,16 +4942,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv286 := &x.Status - yyv286.CodecDecodeSelf(d) + yyv295 := &x.Status + yyv295.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4773,13 +4961,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4790,17 +4978,17 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj283-1, "") + z.DecStructFieldNotFound(yyj292-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4812,45 +5000,46 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym289 := z.EncBinary() - _ = yym289 + yym298 := z.EncBinary() + _ = yym298 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep290 := !z.EncBinary() - yy2arr290 := z.EncBasicHandle().StructToArray - var yyq290 [16]bool - _, _, _ = yysep290, yyq290, yy2arr290 - const yyr290 bool = false - yyq290[1] = len(x.AccessModes) != 0 - yyq290[2] = x.ClaimRef != nil - yyq290[3] = x.PersistentVolumeReclaimPolicy != "" - yyq290[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq290[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq290[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq290[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq290[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq290[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq290[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq290[11] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq290[12] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq290[13] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq290[14] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq290[15] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - var yynn290 int - if yyr290 || yy2arr290 { - r.EncodeArrayStart(16) + yysep299 := !z.EncBinary() + yy2arr299 := z.EncBasicHandle().StructToArray + var yyq299 [17]bool + _, _, _ = yysep299, yyq299, yy2arr299 + const yyr299 bool = false + yyq299[1] = len(x.AccessModes) != 0 + yyq299[2] = x.ClaimRef != nil + yyq299[3] = x.PersistentVolumeReclaimPolicy != "" + yyq299[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq299[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq299[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq299[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq299[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq299[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq299[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq299[11] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq299[12] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq299[13] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq299[14] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq299[15] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq299[16] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil + var yynn299 int + if yyr299 || yy2arr299 { + r.EncodeArrayStart(17) } else { - yynn290 = 1 - for _, b := range yyq290 { + yynn299 = 1 + for _, b := range yyq299 { if b { - yynn290++ + yynn299++ } } - r.EncodeMapStart(yynn290) - yynn290 = 0 + r.EncodeMapStart(yynn299) + yynn299 = 0 } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Capacity == nil { r.EncodeNil() @@ -4867,14 +5056,14 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.Capacity.CodecEncodeSelf(e) } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[1] { + if yyq299[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym293 := z.EncBinary() - _ = yym293 + yym302 := z.EncBinary() + _ = yym302 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -4884,15 +5073,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq290[1] { + if yyq299[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym294 := z.EncBinary() - _ = yym294 + yym303 := z.EncBinary() + _ = yym303 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -4900,9 +5089,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[2] { + if yyq299[2] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -4912,7 +5101,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq290[2] { + if yyq299[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4923,440 +5112,440 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[3] { + if yyq299[3] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq290[3] { + if yyq299[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - var yyn297 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn297 = true - goto LABEL297 - } - LABEL297: - if yyr290 || yy2arr290 { - if yyn297 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[4] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn297 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn298 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn298 = true - goto LABEL298 - } - LABEL298: - if yyr290 || yy2arr290 { - if yyn298 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[5] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn298 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn299 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn299 = true - goto LABEL299 - } - LABEL299: - if yyr290 || yy2arr290 { - if yyn299 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[6] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn299 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn300 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn300 = true - goto LABEL300 - } - LABEL300: - if yyr290 || yy2arr290 { - if yyn300 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[7] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn300 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn301 bool - if x.PersistentVolumeSource.NFS == nil { - yyn301 = true - goto LABEL301 - } - LABEL301: - if yyr290 || yy2arr290 { - if yyn301 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[8] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn301 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn302 bool - if x.PersistentVolumeSource.RBD == nil { - yyn302 = true - goto LABEL302 - } - LABEL302: - if yyr290 || yy2arr290 { - if yyn302 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[9] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn302 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn303 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn303 = true - goto LABEL303 - } - LABEL303: - if yyr290 || yy2arr290 { - if yyn303 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[10] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn303 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn304 bool - if x.PersistentVolumeSource.FlexVolume == nil { - yyn304 = true - goto LABEL304 - } - LABEL304: - if yyr290 || yy2arr290 { - if yyn304 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[11] { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[11] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn304 { - r.EncodeNil() - } else { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } - } - } - var yyn305 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn305 = true - goto LABEL305 - } - LABEL305: - if yyr290 || yy2arr290 { - if yyn305 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[12] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[12] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn305 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } var yyn306 bool - if x.PersistentVolumeSource.CephFS == nil { + if x.PersistentVolumeSource.GCEPersistentDisk == nil { yyn306 = true goto LABEL306 } LABEL306: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn306 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[13] { - if x.CephFS == nil { + if yyq299[4] { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq290[13] { + if yyq299[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn306 { r.EncodeNil() } else { - if x.CephFS == nil { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } } } var yyn307 bool - if x.PersistentVolumeSource.FC == nil { + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { yyn307 = true goto LABEL307 } LABEL307: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn307 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[14] { - if x.FC == nil { + if yyq299[5] { + if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.AWSElasticBlockStore.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq290[14] { + if yyq299[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn307 { r.EncodeNil() } else { - if x.FC == nil { + if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.AWSElasticBlockStore.CodecEncodeSelf(e) } } } } var yyn308 bool - if x.PersistentVolumeSource.Flocker == nil { + if x.PersistentVolumeSource.HostPath == nil { yyn308 = true goto LABEL308 } LABEL308: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn308 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[15] { + if yyq299[6] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn308 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn309 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn309 = true + goto LABEL309 + } + LABEL309: + if yyr299 || yy2arr299 { + if yyn309 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[7] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn309 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn310 bool + if x.PersistentVolumeSource.NFS == nil { + yyn310 = true + goto LABEL310 + } + LABEL310: + if yyr299 || yy2arr299 { + if yyn310 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[8] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn310 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn311 bool + if x.PersistentVolumeSource.RBD == nil { + yyn311 = true + goto LABEL311 + } + LABEL311: + if yyr299 || yy2arr299 { + if yyn311 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[9] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn311 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn312 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn312 = true + goto LABEL312 + } + LABEL312: + if yyr299 || yy2arr299 { + if yyn312 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[10] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn312 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn313 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn313 = true + goto LABEL313 + } + LABEL313: + if yyr299 || yy2arr299 { + if yyn313 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[11] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn313 { + r.EncodeNil() + } else { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + } + var yyn314 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn314 = true + goto LABEL314 + } + LABEL314: + if yyr299 || yy2arr299 { + if yyn314 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[12] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn314 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn315 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn315 = true + goto LABEL315 + } + LABEL315: + if yyr299 || yy2arr299 { + if yyn315 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[13] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[13] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn315 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn316 bool + if x.PersistentVolumeSource.FC == nil { + yyn316 = true + goto LABEL316 + } + LABEL316: + if yyr299 || yy2arr299 { + if yyn316 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[14] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[14] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn316 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn317 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn317 = true + goto LABEL317 + } + LABEL317: + if yyr299 || yy2arr299 { + if yyn317 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[15] { if x.Flocker == nil { r.EncodeNil() } else { @@ -5367,11 +5556,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq290[15] { + if yyq299[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn308 { + if yyn317 { r.EncodeNil() } else { if x.Flocker == nil { @@ -5382,7 +5571,44 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + var yyn318 bool + if x.PersistentVolumeSource.AzureFile == nil { + yyn318 = true + goto LABEL318 + } + LABEL318: + if yyr299 || yy2arr299 { + if yyn318 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[16] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn318 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5395,25 +5621,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym309 := z.DecBinary() - _ = yym309 + yym319 := z.DecBinary() + _ = yym319 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct310 := r.ContainerType() - if yyct310 == codecSelferValueTypeMap1234 { - yyl310 := r.ReadMapStart() - if yyl310 == 0 { + yyct320 := r.ContainerType() + if yyct320 == codecSelferValueTypeMap1234 { + yyl320 := r.ReadMapStart() + if yyl320 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl310, d) + x.codecDecodeSelfFromMap(yyl320, d) } - } else if yyct310 == codecSelferValueTypeArray1234 { - yyl310 := r.ReadArrayStart() - if yyl310 == 0 { + } else if yyct320 == codecSelferValueTypeArray1234 { + yyl320 := r.ReadArrayStart() + if yyl320 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl310, d) + x.codecDecodeSelfFromArray(yyl320, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5425,12 +5651,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys311Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys311Slc - var yyhl311 bool = l >= 0 - for yyj311 := 0; ; yyj311++ { - if yyhl311 { - if yyj311 >= l { + var yys321Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys321Slc + var yyhl321 bool = l >= 0 + for yyj321 := 0; ; yyj321++ { + if yyhl321 { + if yyj321 >= l { break } } else { @@ -5439,27 +5665,27 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys311Slc = r.DecodeBytes(yys311Slc, true, true) - yys311 := string(yys311Slc) + yys321Slc = r.DecodeBytes(yys321Slc, true, true) + yys321 := string(yys321Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys311 { + switch yys321 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv312 := &x.Capacity - yyv312.CodecDecodeSelf(d) + yyv322 := &x.Capacity + yyv322.CodecDecodeSelf(d) } case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv313 := &x.AccessModes - yym314 := z.DecBinary() - _ = yym314 + yyv323 := &x.AccessModes + yym324 := z.DecBinary() + _ = yym324 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv313), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv323), d) } } case "claimRef": @@ -5647,10 +5873,24 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.Flocker.CodecDecodeSelf(d) } + case "azureFile": + if x.PersistentVolumeSource.AzureFile == nil { + x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) + } + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys311) - } // end switch yys311 - } // end for yyj311 + z.DecStructFieldNotFound(-1, yys321) + } // end switch yys321 + } // end for yyj321 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5658,16 +5898,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj329 int - var yyb329 bool - var yyhl329 bool = l >= 0 - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + var yyj340 int + var yyb340 bool + var yyhl340 bool = l >= 0 + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5675,16 +5915,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv330 := &x.Capacity - yyv330.CodecDecodeSelf(d) + yyv341 := &x.Capacity + yyv341.CodecDecodeSelf(d) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5692,21 +5932,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv331 := &x.AccessModes - yym332 := z.DecBinary() - _ = yym332 + yyv342 := &x.AccessModes + yym343 := z.DecBinary() + _ = yym343 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv331), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv342), d) } } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5721,13 +5961,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ClaimRef.CodecDecodeSelf(d) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5740,13 +5980,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5764,13 +6004,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5788,13 +6028,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5812,13 +6052,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5836,13 +6076,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5860,13 +6100,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5884,13 +6124,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5908,13 +6148,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FlexVolume == nil { x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5932,13 +6172,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5956,13 +6196,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5980,13 +6220,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6004,13 +6244,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6025,18 +6265,42 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.Flocker.CodecDecodeSelf(d) } - for { - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l - } else { - yyb329 = r.CheckBreak() + if x.PersistentVolumeSource.AzureFile == nil { + x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) + } + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l + } else { + yyb340 = r.CheckBreak() + } + if yyb340 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb329 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l + } else { + yyb340 = r.CheckBreak() + } + if yyb340 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj329-1, "") + z.DecStructFieldNotFound(yyj340-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6045,8 +6309,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym347 := z.EncBinary() - _ = yym347 + yym359 := z.EncBinary() + _ = yym359 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6058,8 +6322,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym348 := z.DecBinary() - _ = yym348 + yym360 := z.DecBinary() + _ = yym360 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6074,52 +6338,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym349 := z.EncBinary() - _ = yym349 + yym361 := z.EncBinary() + _ = yym361 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep350 := !z.EncBinary() - yy2arr350 := z.EncBasicHandle().StructToArray - var yyq350 [3]bool - _, _, _ = yysep350, yyq350, yy2arr350 - const yyr350 bool = false - yyq350[0] = x.Phase != "" - yyq350[1] = x.Message != "" - yyq350[2] = x.Reason != "" - var yynn350 int - if yyr350 || yy2arr350 { + yysep362 := !z.EncBinary() + yy2arr362 := z.EncBasicHandle().StructToArray + var yyq362 [3]bool + _, _, _ = yysep362, yyq362, yy2arr362 + const yyr362 bool = false + yyq362[0] = x.Phase != "" + yyq362[1] = x.Message != "" + yyq362[2] = x.Reason != "" + var yynn362 int + if yyr362 || yy2arr362 { r.EncodeArrayStart(3) } else { - yynn350 = 0 - for _, b := range yyq350 { + yynn362 = 0 + for _, b := range yyq362 { if b { - yynn350++ + yynn362++ } } - r.EncodeMapStart(yynn350) - yynn350 = 0 + r.EncodeMapStart(yynn362) + yynn362 = 0 } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[0] { + if yyq362[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[0] { + if yyq362[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[1] { - yym353 := z.EncBinary() - _ = yym353 + if yyq362[1] { + yym365 := z.EncBinary() + _ = yym365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -6128,23 +6392,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[1] { + if yyq362[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym354 := z.EncBinary() - _ = yym354 + yym366 := z.EncBinary() + _ = yym366 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[2] { - yym356 := z.EncBinary() - _ = yym356 + if yyq362[2] { + yym368 := z.EncBinary() + _ = yym368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -6153,19 +6417,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[2] { + if yyq362[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym357 := z.EncBinary() - _ = yym357 + yym369 := z.EncBinary() + _ = yym369 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6178,25 +6442,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym358 := z.DecBinary() - _ = yym358 + yym370 := z.DecBinary() + _ = yym370 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct359 := r.ContainerType() - if yyct359 == codecSelferValueTypeMap1234 { - yyl359 := r.ReadMapStart() - if yyl359 == 0 { + yyct371 := r.ContainerType() + if yyct371 == codecSelferValueTypeMap1234 { + yyl371 := r.ReadMapStart() + if yyl371 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl359, d) + x.codecDecodeSelfFromMap(yyl371, d) } - } else if yyct359 == codecSelferValueTypeArray1234 { - yyl359 := r.ReadArrayStart() - if yyl359 == 0 { + } else if yyct371 == codecSelferValueTypeArray1234 { + yyl371 := r.ReadArrayStart() + if yyl371 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl359, d) + x.codecDecodeSelfFromArray(yyl371, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6208,12 +6472,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys360Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys360Slc - var yyhl360 bool = l >= 0 - for yyj360 := 0; ; yyj360++ { - if yyhl360 { - if yyj360 >= l { + var yys372Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys372Slc + var yyhl372 bool = l >= 0 + for yyj372 := 0; ; yyj372++ { + if yyhl372 { + if yyj372 >= l { break } } else { @@ -6222,10 +6486,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys360Slc = r.DecodeBytes(yys360Slc, true, true) - yys360 := string(yys360Slc) + yys372Slc = r.DecodeBytes(yys372Slc, true, true) + yys372 := string(yys372Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys360 { + switch yys372 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -6245,9 +6509,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys360) - } // end switch yys360 - } // end for yyj360 + z.DecStructFieldNotFound(-1, yys372) + } // end switch yys372 + } // end for yyj372 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6255,16 +6519,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj364 int - var yyb364 bool - var yyhl364 bool = l >= 0 - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + var yyj376 int + var yyb376 bool + var yyhl376 bool = l >= 0 + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6274,13 +6538,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6290,13 +6554,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6307,17 +6571,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj364-1, "") + z.DecStructFieldNotFound(yyj376-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6329,68 +6593,68 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym368 := z.EncBinary() - _ = yym368 + yym380 := z.EncBinary() + _ = yym380 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep369 := !z.EncBinary() - yy2arr369 := z.EncBasicHandle().StructToArray - var yyq369 [4]bool - _, _, _ = yysep369, yyq369, yy2arr369 - const yyr369 bool = false - yyq369[0] = true - yyq369[2] = x.Kind != "" - yyq369[3] = x.APIVersion != "" - var yynn369 int - if yyr369 || yy2arr369 { + yysep381 := !z.EncBinary() + yy2arr381 := z.EncBasicHandle().StructToArray + var yyq381 [4]bool + _, _, _ = yysep381, yyq381, yy2arr381 + const yyr381 bool = false + yyq381[0] = true + yyq381[2] = x.Kind != "" + yyq381[3] = x.APIVersion != "" + var yynn381 int + if yyr381 || yy2arr381 { r.EncodeArrayStart(4) } else { - yynn369 = 1 - for _, b := range yyq369 { + yynn381 = 1 + for _, b := range yyq381 { if b { - yynn369++ + yynn381++ } } - r.EncodeMapStart(yynn369) - yynn369 = 0 + r.EncodeMapStart(yynn381) + yynn381 = 0 } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[0] { - yy371 := &x.ListMeta - yym372 := z.EncBinary() - _ = yym372 + if yyq381[0] { + yy383 := &x.ListMeta + yym384 := z.EncBinary() + _ = yym384 if false { - } else if z.HasExtensions() && z.EncExt(yy371) { + } else if z.HasExtensions() && z.EncExt(yy383) { } else { - z.EncFallback(yy371) + z.EncFallback(yy383) } } else { r.EncodeNil() } } else { - if yyq369[0] { + if yyq381[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy373 := &x.ListMeta - yym374 := z.EncBinary() - _ = yym374 + yy385 := &x.ListMeta + yym386 := z.EncBinary() + _ = yym386 if false { - } else if z.HasExtensions() && z.EncExt(yy373) { + } else if z.HasExtensions() && z.EncExt(yy385) { } else { - z.EncFallback(yy373) + z.EncFallback(yy385) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym376 := z.EncBinary() - _ = yym376 + yym388 := z.EncBinary() + _ = yym388 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -6403,19 +6667,19 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym377 := z.EncBinary() - _ = yym377 + yym389 := z.EncBinary() + _ = yym389 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[2] { - yym379 := z.EncBinary() - _ = yym379 + if yyq381[2] { + yym391 := z.EncBinary() + _ = yym391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6424,23 +6688,23 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq369[2] { + if yyq381[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym380 := z.EncBinary() - _ = yym380 + yym392 := z.EncBinary() + _ = yym392 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[3] { - yym382 := z.EncBinary() - _ = yym382 + if yyq381[3] { + yym394 := z.EncBinary() + _ = yym394 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6449,19 +6713,19 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq369[3] { + if yyq381[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym383 := z.EncBinary() - _ = yym383 + yym395 := z.EncBinary() + _ = yym395 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6474,25 +6738,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym384 := z.DecBinary() - _ = yym384 + yym396 := z.DecBinary() + _ = yym396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct385 := r.ContainerType() - if yyct385 == codecSelferValueTypeMap1234 { - yyl385 := r.ReadMapStart() - if yyl385 == 0 { + yyct397 := r.ContainerType() + if yyct397 == codecSelferValueTypeMap1234 { + yyl397 := r.ReadMapStart() + if yyl397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl385, d) + x.codecDecodeSelfFromMap(yyl397, d) } - } else if yyct385 == codecSelferValueTypeArray1234 { - yyl385 := r.ReadArrayStart() - if yyl385 == 0 { + } else if yyct397 == codecSelferValueTypeArray1234 { + yyl397 := r.ReadArrayStart() + if yyl397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl385, d) + x.codecDecodeSelfFromArray(yyl397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6504,12 +6768,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys386Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys386Slc - var yyhl386 bool = l >= 0 - for yyj386 := 0; ; yyj386++ { - if yyhl386 { - if yyj386 >= l { + var yys398Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys398Slc + var yyhl398 bool = l >= 0 + for yyj398 := 0; ; yyj398++ { + if yyhl398 { + if yyj398 >= l { break } } else { @@ -6518,33 +6782,33 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys386Slc = r.DecodeBytes(yys386Slc, true, true) - yys386 := string(yys386Slc) + yys398Slc = r.DecodeBytes(yys398Slc, true, true) + yys398 := string(yys398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys386 { + switch yys398 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv387 := &x.ListMeta - yym388 := z.DecBinary() - _ = yym388 + yyv399 := &x.ListMeta + yym400 := z.DecBinary() + _ = yym400 if false { - } else if z.HasExtensions() && z.DecExt(yyv387) { + } else if z.HasExtensions() && z.DecExt(yyv399) { } else { - z.DecFallback(yyv387, false) + z.DecFallback(yyv399, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv389 := &x.Items - yym390 := z.DecBinary() - _ = yym390 + yyv401 := &x.Items + yym402 := z.DecBinary() + _ = yym402 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv389), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv401), d) } } case "kind": @@ -6560,9 +6824,9 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys386) - } // end switch yys386 - } // end for yyj386 + z.DecStructFieldNotFound(-1, yys398) + } // end switch yys398 + } // end for yyj398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6570,16 +6834,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj393 int - var yyb393 bool - var yyhl393 bool = l >= 0 - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + var yyj405 int + var yyb405 bool + var yyhl405 bool = l >= 0 + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6587,22 +6851,22 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv394 := &x.ListMeta - yym395 := z.DecBinary() - _ = yym395 + yyv406 := &x.ListMeta + yym407 := z.DecBinary() + _ = yym407 if false { - } else if z.HasExtensions() && z.DecExt(yyv394) { + } else if z.HasExtensions() && z.DecExt(yyv406) { } else { - z.DecFallback(yyv394, false) + z.DecFallback(yyv406, false) } } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6610,21 +6874,21 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Items = nil } else { - yyv396 := &x.Items - yym397 := z.DecBinary() - _ = yym397 + yyv408 := &x.Items + yym409 := z.DecBinary() + _ = yym409 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv396), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv408), d) } } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6634,13 +6898,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6651,17 +6915,17 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.APIVersion = string(r.DecodeString()) } for { - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj393-1, "") + z.DecStructFieldNotFound(yyj405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6673,90 +6937,90 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym400 := z.EncBinary() - _ = yym400 + yym412 := z.EncBinary() + _ = yym412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep401 := !z.EncBinary() - yy2arr401 := z.EncBasicHandle().StructToArray - var yyq401 [5]bool - _, _, _ = yysep401, yyq401, yy2arr401 - const yyr401 bool = false - yyq401[0] = true - yyq401[1] = true - yyq401[2] = true - yyq401[3] = x.Kind != "" - yyq401[4] = x.APIVersion != "" - var yynn401 int - if yyr401 || yy2arr401 { + yysep413 := !z.EncBinary() + yy2arr413 := z.EncBasicHandle().StructToArray + var yyq413 [5]bool + _, _, _ = yysep413, yyq413, yy2arr413 + const yyr413 bool = false + yyq413[0] = true + yyq413[1] = true + yyq413[2] = true + yyq413[3] = x.Kind != "" + yyq413[4] = x.APIVersion != "" + var yynn413 int + if yyr413 || yy2arr413 { r.EncodeArrayStart(5) } else { - yynn401 = 0 - for _, b := range yyq401 { + yynn413 = 0 + for _, b := range yyq413 { if b { - yynn401++ + yynn413++ } } - r.EncodeMapStart(yynn401) - yynn401 = 0 + r.EncodeMapStart(yynn413) + yynn413 = 0 } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[0] { - yy403 := &x.ObjectMeta - yy403.CodecEncodeSelf(e) + if yyq413[0] { + yy415 := &x.ObjectMeta + yy415.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[0] { + if yyq413[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy404 := &x.ObjectMeta - yy404.CodecEncodeSelf(e) + yy416 := &x.ObjectMeta + yy416.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[1] { - yy406 := &x.Spec - yy406.CodecEncodeSelf(e) + if yyq413[1] { + yy418 := &x.Spec + yy418.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[1] { + if yyq413[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy407 := &x.Spec - yy407.CodecEncodeSelf(e) + yy419 := &x.Spec + yy419.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[2] { - yy409 := &x.Status - yy409.CodecEncodeSelf(e) + if yyq413[2] { + yy421 := &x.Status + yy421.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[2] { + if yyq413[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy410 := &x.Status - yy410.CodecEncodeSelf(e) + yy422 := &x.Status + yy422.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[3] { - yym412 := z.EncBinary() - _ = yym412 + if yyq413[3] { + yym424 := z.EncBinary() + _ = yym424 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6765,23 +7029,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq401[3] { + if yyq413[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym413 := z.EncBinary() - _ = yym413 + yym425 := z.EncBinary() + _ = yym425 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[4] { - yym415 := z.EncBinary() - _ = yym415 + if yyq413[4] { + yym427 := z.EncBinary() + _ = yym427 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6790,19 +7054,19 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq401[4] { + if yyq413[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym416 := z.EncBinary() - _ = yym416 + yym428 := z.EncBinary() + _ = yym428 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6815,25 +7079,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym417 := z.DecBinary() - _ = yym417 + yym429 := z.DecBinary() + _ = yym429 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct418 := r.ContainerType() - if yyct418 == codecSelferValueTypeMap1234 { - yyl418 := r.ReadMapStart() - if yyl418 == 0 { + yyct430 := r.ContainerType() + if yyct430 == codecSelferValueTypeMap1234 { + yyl430 := r.ReadMapStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl418, d) + x.codecDecodeSelfFromMap(yyl430, d) } - } else if yyct418 == codecSelferValueTypeArray1234 { - yyl418 := r.ReadArrayStart() - if yyl418 == 0 { + } else if yyct430 == codecSelferValueTypeArray1234 { + yyl430 := r.ReadArrayStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl418, d) + x.codecDecodeSelfFromArray(yyl430, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6845,12 +7109,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys419Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys419Slc - var yyhl419 bool = l >= 0 - for yyj419 := 0; ; yyj419++ { - if yyhl419 { - if yyj419 >= l { + var yys431Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys431Slc + var yyhl431 bool = l >= 0 + for yyj431 := 0; ; yyj431++ { + if yyhl431 { + if yyj431 >= l { break } } else { @@ -6859,30 +7123,30 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys419Slc = r.DecodeBytes(yys419Slc, true, true) - yys419 := string(yys419Slc) + yys431Slc = r.DecodeBytes(yys431Slc, true, true) + yys431 := string(yys431Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys419 { + switch yys431 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv420 := &x.ObjectMeta - yyv420.CodecDecodeSelf(d) + yyv432 := &x.ObjectMeta + yyv432.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv421 := &x.Spec - yyv421.CodecDecodeSelf(d) + yyv433 := &x.Spec + yyv433.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv422 := &x.Status - yyv422.CodecDecodeSelf(d) + yyv434 := &x.Status + yyv434.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -6897,9 +7161,9 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys419) - } // end switch yys419 - } // end for yyj419 + z.DecStructFieldNotFound(-1, yys431) + } // end switch yys431 + } // end for yyj431 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6907,16 +7171,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj425 int - var yyb425 bool - var yyhl425 bool = l >= 0 - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + var yyj437 int + var yyb437 bool + var yyhl437 bool = l >= 0 + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6924,16 +7188,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv426 := &x.ObjectMeta - yyv426.CodecDecodeSelf(d) + yyv438 := &x.ObjectMeta + yyv438.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6941,16 +7205,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv427 := &x.Spec - yyv427.CodecDecodeSelf(d) + yyv439 := &x.Spec + yyv439.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6958,16 +7222,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv428 := &x.Status - yyv428.CodecDecodeSelf(d) + yyv440 := &x.Status + yyv440.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6977,13 +7241,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6994,17 +7258,17 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.APIVersion = string(r.DecodeString()) } for { - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj425-1, "") + z.DecStructFieldNotFound(yyj437-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7016,68 +7280,68 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym431 := z.EncBinary() - _ = yym431 + yym443 := z.EncBinary() + _ = yym443 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep432 := !z.EncBinary() - yy2arr432 := z.EncBasicHandle().StructToArray - var yyq432 [4]bool - _, _, _ = yysep432, yyq432, yy2arr432 - const yyr432 bool = false - yyq432[0] = true - yyq432[2] = x.Kind != "" - yyq432[3] = x.APIVersion != "" - var yynn432 int - if yyr432 || yy2arr432 { + yysep444 := !z.EncBinary() + yy2arr444 := z.EncBasicHandle().StructToArray + var yyq444 [4]bool + _, _, _ = yysep444, yyq444, yy2arr444 + const yyr444 bool = false + yyq444[0] = true + yyq444[2] = x.Kind != "" + yyq444[3] = x.APIVersion != "" + var yynn444 int + if yyr444 || yy2arr444 { r.EncodeArrayStart(4) } else { - yynn432 = 1 - for _, b := range yyq432 { + yynn444 = 1 + for _, b := range yyq444 { if b { - yynn432++ + yynn444++ } } - r.EncodeMapStart(yynn432) - yynn432 = 0 + r.EncodeMapStart(yynn444) + yynn444 = 0 } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[0] { - yy434 := &x.ListMeta - yym435 := z.EncBinary() - _ = yym435 + if yyq444[0] { + yy446 := &x.ListMeta + yym447 := z.EncBinary() + _ = yym447 if false { - } else if z.HasExtensions() && z.EncExt(yy434) { + } else if z.HasExtensions() && z.EncExt(yy446) { } else { - z.EncFallback(yy434) + z.EncFallback(yy446) } } else { r.EncodeNil() } } else { - if yyq432[0] { + if yyq444[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy436 := &x.ListMeta - yym437 := z.EncBinary() - _ = yym437 + yy448 := &x.ListMeta + yym449 := z.EncBinary() + _ = yym449 if false { - } else if z.HasExtensions() && z.EncExt(yy436) { + } else if z.HasExtensions() && z.EncExt(yy448) { } else { - z.EncFallback(yy436) + z.EncFallback(yy448) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym439 := z.EncBinary() - _ = yym439 + yym451 := z.EncBinary() + _ = yym451 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -7090,19 +7354,19 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym440 := z.EncBinary() - _ = yym440 + yym452 := z.EncBinary() + _ = yym452 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[2] { - yym442 := z.EncBinary() - _ = yym442 + if yyq444[2] { + yym454 := z.EncBinary() + _ = yym454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7111,23 +7375,23 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq432[2] { + if yyq444[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym443 := z.EncBinary() - _ = yym443 + yym455 := z.EncBinary() + _ = yym455 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[3] { - yym445 := z.EncBinary() - _ = yym445 + if yyq444[3] { + yym457 := z.EncBinary() + _ = yym457 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7136,19 +7400,19 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq432[3] { + if yyq444[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym446 := z.EncBinary() - _ = yym446 + yym458 := z.EncBinary() + _ = yym458 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7161,25 +7425,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym447 := z.DecBinary() - _ = yym447 + yym459 := z.DecBinary() + _ = yym459 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct448 := r.ContainerType() - if yyct448 == codecSelferValueTypeMap1234 { - yyl448 := r.ReadMapStart() - if yyl448 == 0 { + yyct460 := r.ContainerType() + if yyct460 == codecSelferValueTypeMap1234 { + yyl460 := r.ReadMapStart() + if yyl460 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl448, d) + x.codecDecodeSelfFromMap(yyl460, d) } - } else if yyct448 == codecSelferValueTypeArray1234 { - yyl448 := r.ReadArrayStart() - if yyl448 == 0 { + } else if yyct460 == codecSelferValueTypeArray1234 { + yyl460 := r.ReadArrayStart() + if yyl460 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl448, d) + x.codecDecodeSelfFromArray(yyl460, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7191,12 +7455,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys449Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys449Slc - var yyhl449 bool = l >= 0 - for yyj449 := 0; ; yyj449++ { - if yyhl449 { - if yyj449 >= l { + var yys461Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys461Slc + var yyhl461 bool = l >= 0 + for yyj461 := 0; ; yyj461++ { + if yyhl461 { + if yyj461 >= l { break } } else { @@ -7205,33 +7469,33 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys449Slc = r.DecodeBytes(yys449Slc, true, true) - yys449 := string(yys449Slc) + yys461Slc = r.DecodeBytes(yys461Slc, true, true) + yys461 := string(yys461Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys449 { + switch yys461 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv450 := &x.ListMeta - yym451 := z.DecBinary() - _ = yym451 + yyv462 := &x.ListMeta + yym463 := z.DecBinary() + _ = yym463 if false { - } else if z.HasExtensions() && z.DecExt(yyv450) { + } else if z.HasExtensions() && z.DecExt(yyv462) { } else { - z.DecFallback(yyv450, false) + z.DecFallback(yyv462, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv452 := &x.Items - yym453 := z.DecBinary() - _ = yym453 + yyv464 := &x.Items + yym465 := z.DecBinary() + _ = yym465 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv452), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv464), d) } } case "kind": @@ -7247,9 +7511,9 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys449) - } // end switch yys449 - } // end for yyj449 + z.DecStructFieldNotFound(-1, yys461) + } // end switch yys461 + } // end for yyj461 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7257,16 +7521,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj456 int - var yyb456 bool - var yyhl456 bool = l >= 0 - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + var yyj468 int + var yyb468 bool + var yyhl468 bool = l >= 0 + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7274,22 +7538,22 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv457 := &x.ListMeta - yym458 := z.DecBinary() - _ = yym458 + yyv469 := &x.ListMeta + yym470 := z.DecBinary() + _ = yym470 if false { - } else if z.HasExtensions() && z.DecExt(yyv457) { + } else if z.HasExtensions() && z.DecExt(yyv469) { } else { - z.DecFallback(yyv457, false) + z.DecFallback(yyv469, false) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7297,21 +7561,21 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv459 := &x.Items - yym460 := z.DecBinary() - _ = yym460 + yyv471 := &x.Items + yym472 := z.DecBinary() + _ = yym472 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv459), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv471), d) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7321,13 +7585,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7338,17 +7602,17 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } for { - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj456-1, "") + z.DecStructFieldNotFound(yyj468-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7360,40 +7624,40 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym463 := z.EncBinary() - _ = yym463 + yym475 := z.EncBinary() + _ = yym475 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep464 := !z.EncBinary() - yy2arr464 := z.EncBasicHandle().StructToArray - var yyq464 [3]bool - _, _, _ = yysep464, yyq464, yy2arr464 - const yyr464 bool = false - yyq464[0] = len(x.AccessModes) != 0 - yyq464[1] = true - yyq464[2] = x.VolumeName != "" - var yynn464 int - if yyr464 || yy2arr464 { + yysep476 := !z.EncBinary() + yy2arr476 := z.EncBasicHandle().StructToArray + var yyq476 [3]bool + _, _, _ = yysep476, yyq476, yy2arr476 + const yyr476 bool = false + yyq476[0] = len(x.AccessModes) != 0 + yyq476[1] = true + yyq476[2] = x.VolumeName != "" + var yynn476 int + if yyr476 || yy2arr476 { r.EncodeArrayStart(3) } else { - yynn464 = 0 - for _, b := range yyq464 { + yynn476 = 0 + for _, b := range yyq476 { if b { - yynn464++ + yynn476++ } } - r.EncodeMapStart(yynn464) - yynn464 = 0 + r.EncodeMapStart(yynn476) + yynn476 = 0 } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[0] { + if yyq476[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym466 := z.EncBinary() - _ = yym466 + yym478 := z.EncBinary() + _ = yym478 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7403,15 +7667,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq464[0] { + if yyq476[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym467 := z.EncBinary() - _ = yym467 + yym479 := z.EncBinary() + _ = yym479 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7419,28 +7683,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[1] { - yy469 := &x.Resources - yy469.CodecEncodeSelf(e) + if yyq476[1] { + yy481 := &x.Resources + yy481.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq464[1] { + if yyq476[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy470 := &x.Resources - yy470.CodecEncodeSelf(e) + yy482 := &x.Resources + yy482.CodecEncodeSelf(e) } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[2] { - yym472 := z.EncBinary() - _ = yym472 + if yyq476[2] { + yym484 := z.EncBinary() + _ = yym484 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -7449,19 +7713,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq464[2] { + if yyq476[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym473 := z.EncBinary() - _ = yym473 + yym485 := z.EncBinary() + _ = yym485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7474,25 +7738,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym474 := z.DecBinary() - _ = yym474 + yym486 := z.DecBinary() + _ = yym486 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct475 := r.ContainerType() - if yyct475 == codecSelferValueTypeMap1234 { - yyl475 := r.ReadMapStart() - if yyl475 == 0 { + yyct487 := r.ContainerType() + if yyct487 == codecSelferValueTypeMap1234 { + yyl487 := r.ReadMapStart() + if yyl487 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl475, d) + x.codecDecodeSelfFromMap(yyl487, d) } - } else if yyct475 == codecSelferValueTypeArray1234 { - yyl475 := r.ReadArrayStart() - if yyl475 == 0 { + } else if yyct487 == codecSelferValueTypeArray1234 { + yyl487 := r.ReadArrayStart() + if yyl487 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl475, d) + x.codecDecodeSelfFromArray(yyl487, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7504,12 +7768,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys476Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys476Slc - var yyhl476 bool = l >= 0 - for yyj476 := 0; ; yyj476++ { - if yyhl476 { - if yyj476 >= l { + var yys488Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys488Slc + var yyhl488 bool = l >= 0 + for yyj488 := 0; ; yyj488++ { + if yyhl488 { + if yyj488 >= l { break } } else { @@ -7518,28 +7782,28 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys476Slc = r.DecodeBytes(yys476Slc, true, true) - yys476 := string(yys476Slc) + yys488Slc = r.DecodeBytes(yys488Slc, true, true) + yys488 := string(yys488Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys476 { + switch yys488 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv477 := &x.AccessModes - yym478 := z.DecBinary() - _ = yym478 + yyv489 := &x.AccessModes + yym490 := z.DecBinary() + _ = yym490 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv477), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv489), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv479 := &x.Resources - yyv479.CodecDecodeSelf(d) + yyv491 := &x.Resources + yyv491.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -7548,9 +7812,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys476) - } // end switch yys476 - } // end for yyj476 + z.DecStructFieldNotFound(-1, yys488) + } // end switch yys488 + } // end for yyj488 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7558,16 +7822,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj481 int - var yyb481 bool - var yyhl481 bool = l >= 0 - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + var yyj493 int + var yyb493 bool + var yyhl493 bool = l >= 0 + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7575,21 +7839,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv482 := &x.AccessModes - yym483 := z.DecBinary() - _ = yym483 + yyv494 := &x.AccessModes + yym495 := z.DecBinary() + _ = yym495 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv482), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv494), d) } } - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7597,16 +7861,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv484 := &x.Resources - yyv484.CodecDecodeSelf(d) + yyv496 := &x.Resources + yyv496.CodecDecodeSelf(d) } - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7617,17 +7881,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj481-1, "") + z.DecStructFieldNotFound(yyj493-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7639,55 +7903,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym486 := z.EncBinary() - _ = yym486 + yym498 := z.EncBinary() + _ = yym498 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep487 := !z.EncBinary() - yy2arr487 := z.EncBasicHandle().StructToArray - var yyq487 [3]bool - _, _, _ = yysep487, yyq487, yy2arr487 - const yyr487 bool = false - yyq487[0] = x.Phase != "" - yyq487[1] = len(x.AccessModes) != 0 - yyq487[2] = len(x.Capacity) != 0 - var yynn487 int - if yyr487 || yy2arr487 { + yysep499 := !z.EncBinary() + yy2arr499 := z.EncBasicHandle().StructToArray + var yyq499 [3]bool + _, _, _ = yysep499, yyq499, yy2arr499 + const yyr499 bool = false + yyq499[0] = x.Phase != "" + yyq499[1] = len(x.AccessModes) != 0 + yyq499[2] = len(x.Capacity) != 0 + var yynn499 int + if yyr499 || yy2arr499 { r.EncodeArrayStart(3) } else { - yynn487 = 0 - for _, b := range yyq487 { + yynn499 = 0 + for _, b := range yyq499 { if b { - yynn487++ + yynn499++ } } - r.EncodeMapStart(yynn487) - yynn487 = 0 + r.EncodeMapStart(yynn499) + yynn499 = 0 } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[0] { + if yyq499[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq487[0] { + if yyq499[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[1] { + if yyq499[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym490 := z.EncBinary() - _ = yym490 + yym502 := z.EncBinary() + _ = yym502 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7697,15 +7961,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq487[1] { + if yyq499[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym491 := z.EncBinary() - _ = yym491 + yym503 := z.EncBinary() + _ = yym503 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7713,9 +7977,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[2] { + if yyq499[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -7725,7 +7989,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq487[2] { + if yyq499[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7736,7 +8000,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7749,25 +8013,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym493 := z.DecBinary() - _ = yym493 + yym505 := z.DecBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct494 := r.ContainerType() - if yyct494 == codecSelferValueTypeMap1234 { - yyl494 := r.ReadMapStart() - if yyl494 == 0 { + yyct506 := r.ContainerType() + if yyct506 == codecSelferValueTypeMap1234 { + yyl506 := r.ReadMapStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl494, d) + x.codecDecodeSelfFromMap(yyl506, d) } - } else if yyct494 == codecSelferValueTypeArray1234 { - yyl494 := r.ReadArrayStart() - if yyl494 == 0 { + } else if yyct506 == codecSelferValueTypeArray1234 { + yyl506 := r.ReadArrayStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl494, d) + x.codecDecodeSelfFromArray(yyl506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7779,12 +8043,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys495Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys495Slc - var yyhl495 bool = l >= 0 - for yyj495 := 0; ; yyj495++ { - if yyhl495 { - if yyj495 >= l { + var yys507Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys507Slc + var yyhl507 bool = l >= 0 + for yyj507 := 0; ; yyj507++ { + if yyhl507 { + if yyj507 >= l { break } } else { @@ -7793,10 +8057,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys495Slc = r.DecodeBytes(yys495Slc, true, true) - yys495 := string(yys495Slc) + yys507Slc = r.DecodeBytes(yys507Slc, true, true) + yys507 := string(yys507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys495 { + switch yys507 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7807,25 +8071,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv497 := &x.AccessModes - yym498 := z.DecBinary() - _ = yym498 + yyv509 := &x.AccessModes + yym510 := z.DecBinary() + _ = yym510 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv497), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv509), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv499 := &x.Capacity - yyv499.CodecDecodeSelf(d) + yyv511 := &x.Capacity + yyv511.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys495) - } // end switch yys495 - } // end for yyj495 + z.DecStructFieldNotFound(-1, yys507) + } // end switch yys507 + } // end for yyj507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7833,16 +8097,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj500 int - var yyb500 bool - var yyhl500 bool = l >= 0 - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + var yyj512 int + var yyb512 bool + var yyhl512 bool = l >= 0 + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7852,13 +8116,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7866,21 +8130,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv502 := &x.AccessModes - yym503 := z.DecBinary() - _ = yym503 + yyv514 := &x.AccessModes + yym515 := z.DecBinary() + _ = yym515 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv502), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv514), d) } } - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7888,21 +8152,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv504 := &x.Capacity - yyv504.CodecDecodeSelf(d) + yyv516 := &x.Capacity + yyv516.CodecDecodeSelf(d) } for { - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj500-1, "") + z.DecStructFieldNotFound(yyj512-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7911,8 +8175,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym505 := z.EncBinary() - _ = yym505 + yym517 := z.EncBinary() + _ = yym517 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7924,8 +8188,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym506 := z.DecBinary() - _ = yym506 + yym518 := z.DecBinary() + _ = yym518 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7937,8 +8201,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym507 := z.EncBinary() - _ = yym507 + yym519 := z.EncBinary() + _ = yym519 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7950,8 +8214,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym508 := z.DecBinary() - _ = yym508 + yym520 := z.DecBinary() + _ = yym520 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7963,8 +8227,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym509 := z.EncBinary() - _ = yym509 + yym521 := z.EncBinary() + _ = yym521 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7976,8 +8240,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym510 := z.DecBinary() - _ = yym510 + yym522 := z.DecBinary() + _ = yym522 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7992,33 +8256,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym511 := z.EncBinary() - _ = yym511 + yym523 := z.EncBinary() + _ = yym523 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep512 := !z.EncBinary() - yy2arr512 := z.EncBasicHandle().StructToArray - var yyq512 [1]bool - _, _, _ = yysep512, yyq512, yy2arr512 - const yyr512 bool = false - var yynn512 int - if yyr512 || yy2arr512 { + yysep524 := !z.EncBinary() + yy2arr524 := z.EncBasicHandle().StructToArray + var yyq524 [1]bool + _, _, _ = yysep524, yyq524, yy2arr524 + const yyr524 bool = false + var yynn524 int + if yyr524 || yy2arr524 { r.EncodeArrayStart(1) } else { - yynn512 = 1 - for _, b := range yyq512 { + yynn524 = 1 + for _, b := range yyq524 { if b { - yynn512++ + yynn524++ } } - r.EncodeMapStart(yynn512) - yynn512 = 0 + r.EncodeMapStart(yynn524) + yynn524 = 0 } - if yyr512 || yy2arr512 { + if yyr524 || yy2arr524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym514 := z.EncBinary() - _ = yym514 + yym526 := z.EncBinary() + _ = yym526 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8027,14 +8291,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym515 := z.EncBinary() - _ = yym515 + yym527 := z.EncBinary() + _ = yym527 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr512 || yy2arr512 { + if yyr524 || yy2arr524 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8047,25 +8311,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym516 := z.DecBinary() - _ = yym516 + yym528 := z.DecBinary() + _ = yym528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct517 := r.ContainerType() - if yyct517 == codecSelferValueTypeMap1234 { - yyl517 := r.ReadMapStart() - if yyl517 == 0 { + yyct529 := r.ContainerType() + if yyct529 == codecSelferValueTypeMap1234 { + yyl529 := r.ReadMapStart() + if yyl529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl517, d) + x.codecDecodeSelfFromMap(yyl529, d) } - } else if yyct517 == codecSelferValueTypeArray1234 { - yyl517 := r.ReadArrayStart() - if yyl517 == 0 { + } else if yyct529 == codecSelferValueTypeArray1234 { + yyl529 := r.ReadArrayStart() + if yyl529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl517, d) + x.codecDecodeSelfFromArray(yyl529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8077,12 +8341,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys518Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys518Slc - var yyhl518 bool = l >= 0 - for yyj518 := 0; ; yyj518++ { - if yyhl518 { - if yyj518 >= l { + var yys530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys530Slc + var yyhl530 bool = l >= 0 + for yyj530 := 0; ; yyj530++ { + if yyhl530 { + if yyj530 >= l { break } } else { @@ -8091,10 +8355,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys518Slc = r.DecodeBytes(yys518Slc, true, true) - yys518 := string(yys518Slc) + yys530Slc = r.DecodeBytes(yys530Slc, true, true) + yys530 := string(yys530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys518 { + switch yys530 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -8102,9 +8366,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys518) - } // end switch yys518 - } // end for yyj518 + z.DecStructFieldNotFound(-1, yys530) + } // end switch yys530 + } // end for yyj530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8112,16 +8376,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj520 int - var yyb520 bool - var yyhl520 bool = l >= 0 - yyj520++ - if yyhl520 { - yyb520 = yyj520 > l + var yyj532 int + var yyb532 bool + var yyhl532 bool = l >= 0 + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb520 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb520 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8132,17 +8396,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj520++ - if yyhl520 { - yyb520 = yyj520 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb520 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb520 { + if yyb532 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj520-1, "") + z.DecStructFieldNotFound(yyj532-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8154,46 +8418,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym522 := z.EncBinary() - _ = yym522 + yym534 := z.EncBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep523 := !z.EncBinary() - yy2arr523 := z.EncBasicHandle().StructToArray - var yyq523 [1]bool - _, _, _ = yysep523, yyq523, yy2arr523 - const yyr523 bool = false - yyq523[0] = x.Medium != "" - var yynn523 int - if yyr523 || yy2arr523 { + yysep535 := !z.EncBinary() + yy2arr535 := z.EncBasicHandle().StructToArray + var yyq535 [1]bool + _, _, _ = yysep535, yyq535, yy2arr535 + const yyr535 bool = false + yyq535[0] = x.Medium != "" + var yynn535 int + if yyr535 || yy2arr535 { r.EncodeArrayStart(1) } else { - yynn523 = 0 - for _, b := range yyq523 { + yynn535 = 0 + for _, b := range yyq535 { if b { - yynn523++ + yynn535++ } } - r.EncodeMapStart(yynn523) - yynn523 = 0 + r.EncodeMapStart(yynn535) + yynn535 = 0 } - if yyr523 || yy2arr523 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq523[0] { + if yyq535[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq523[0] { + if yyq535[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr523 || yy2arr523 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8206,25 +8470,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym525 := z.DecBinary() - _ = yym525 + yym537 := z.DecBinary() + _ = yym537 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct526 := r.ContainerType() - if yyct526 == codecSelferValueTypeMap1234 { - yyl526 := r.ReadMapStart() - if yyl526 == 0 { + yyct538 := r.ContainerType() + if yyct538 == codecSelferValueTypeMap1234 { + yyl538 := r.ReadMapStart() + if yyl538 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl526, d) + x.codecDecodeSelfFromMap(yyl538, d) } - } else if yyct526 == codecSelferValueTypeArray1234 { - yyl526 := r.ReadArrayStart() - if yyl526 == 0 { + } else if yyct538 == codecSelferValueTypeArray1234 { + yyl538 := r.ReadArrayStart() + if yyl538 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl526, d) + x.codecDecodeSelfFromArray(yyl538, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8236,12 +8500,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys527Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys527Slc - var yyhl527 bool = l >= 0 - for yyj527 := 0; ; yyj527++ { - if yyhl527 { - if yyj527 >= l { + var yys539Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys539Slc + var yyhl539 bool = l >= 0 + for yyj539 := 0; ; yyj539++ { + if yyhl539 { + if yyj539 >= l { break } } else { @@ -8250,10 +8514,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys527Slc = r.DecodeBytes(yys527Slc, true, true) - yys527 := string(yys527Slc) + yys539Slc = r.DecodeBytes(yys539Slc, true, true) + yys539 := string(yys539Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys527 { + switch yys539 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -8261,9 +8525,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys527) - } // end switch yys527 - } // end for yyj527 + z.DecStructFieldNotFound(-1, yys539) + } // end switch yys539 + } // end for yyj539 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8271,16 +8535,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj529 int - var yyb529 bool - var yyhl529 bool = l >= 0 - yyj529++ - if yyhl529 { - yyb529 = yyj529 > l + var yyj541 int + var yyb541 bool + var yyhl541 bool = l >= 0 + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb529 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb529 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8291,17 +8555,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj529++ - if yyhl529 { - yyb529 = yyj529 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb529 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb529 { + if yyb541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj529-1, "") + z.DecStructFieldNotFound(yyj541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8310,8 +8574,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym531 := z.EncBinary() - _ = yym531 + yym543 := z.EncBinary() + _ = yym543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8323,8 +8587,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym532 := z.DecBinary() - _ = yym532 + yym544 := z.DecBinary() + _ = yym544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8336,8 +8600,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym533 := z.EncBinary() - _ = yym533 + yym545 := z.EncBinary() + _ = yym545 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8349,8 +8613,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym534 := z.DecBinary() - _ = yym534 + yym546 := z.DecBinary() + _ = yym546 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8365,36 +8629,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym535 := z.EncBinary() - _ = yym535 + yym547 := z.EncBinary() + _ = yym547 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep536 := !z.EncBinary() - yy2arr536 := z.EncBasicHandle().StructToArray - var yyq536 [4]bool - _, _, _ = yysep536, yyq536, yy2arr536 - const yyr536 bool = false - yyq536[1] = x.FSType != "" - yyq536[2] = x.Partition != 0 - yyq536[3] = x.ReadOnly != false - var yynn536 int - if yyr536 || yy2arr536 { + yysep548 := !z.EncBinary() + yy2arr548 := z.EncBasicHandle().StructToArray + var yyq548 [4]bool + _, _, _ = yysep548, yyq548, yy2arr548 + const yyr548 bool = false + yyq548[1] = x.FSType != "" + yyq548[2] = x.Partition != 0 + yyq548[3] = x.ReadOnly != false + var yynn548 int + if yyr548 || yy2arr548 { r.EncodeArrayStart(4) } else { - yynn536 = 1 - for _, b := range yyq536 { + yynn548 = 1 + for _, b := range yyq548 { if b { - yynn536++ + yynn548++ } } - r.EncodeMapStart(yynn536) - yynn536 = 0 + r.EncodeMapStart(yynn548) + yynn548 = 0 } - if yyr536 || yy2arr536 { + if yyr548 || yy2arr548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym538 := z.EncBinary() - _ = yym538 + yym550 := z.EncBinary() + _ = yym550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -8403,18 +8667,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym539 := z.EncBinary() - _ = yym539 + yym551 := z.EncBinary() + _ = yym551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr536 || yy2arr536 { + if yyr548 || yy2arr548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq536[1] { - yym541 := z.EncBinary() - _ = yym541 + if yyq548[1] { + yym553 := z.EncBinary() + _ = yym553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8423,23 +8687,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq536[1] { + if yyq548[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym542 := z.EncBinary() - _ = yym542 + yym554 := z.EncBinary() + _ = yym554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr536 || yy2arr536 { + if yyr548 || yy2arr548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq536[2] { - yym544 := z.EncBinary() - _ = yym544 + if yyq548[2] { + yym556 := z.EncBinary() + _ = yym556 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -8448,23 +8712,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq536[2] { + if yyq548[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym545 := z.EncBinary() - _ = yym545 + yym557 := z.EncBinary() + _ = yym557 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr536 || yy2arr536 { + if yyr548 || yy2arr548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq536[3] { - yym547 := z.EncBinary() - _ = yym547 + if yyq548[3] { + yym559 := z.EncBinary() + _ = yym559 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8473,19 +8737,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq536[3] { + if yyq548[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym548 := z.EncBinary() - _ = yym548 + yym560 := z.EncBinary() + _ = yym560 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr536 || yy2arr536 { + if yyr548 || yy2arr548 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8498,25 +8762,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym549 := z.DecBinary() - _ = yym549 + yym561 := z.DecBinary() + _ = yym561 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct550 := r.ContainerType() - if yyct550 == codecSelferValueTypeMap1234 { - yyl550 := r.ReadMapStart() - if yyl550 == 0 { + yyct562 := r.ContainerType() + if yyct562 == codecSelferValueTypeMap1234 { + yyl562 := r.ReadMapStart() + if yyl562 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl550, d) + x.codecDecodeSelfFromMap(yyl562, d) } - } else if yyct550 == codecSelferValueTypeArray1234 { - yyl550 := r.ReadArrayStart() - if yyl550 == 0 { + } else if yyct562 == codecSelferValueTypeArray1234 { + yyl562 := r.ReadArrayStart() + if yyl562 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl550, d) + x.codecDecodeSelfFromArray(yyl562, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8528,12 +8792,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys551Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys551Slc - var yyhl551 bool = l >= 0 - for yyj551 := 0; ; yyj551++ { - if yyhl551 { - if yyj551 >= l { + var yys563Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys563Slc + var yyhl563 bool = l >= 0 + for yyj563 := 0; ; yyj563++ { + if yyhl563 { + if yyj563 >= l { break } } else { @@ -8542,10 +8806,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys551Slc = r.DecodeBytes(yys551Slc, true, true) - yys551 := string(yys551Slc) + yys563Slc = r.DecodeBytes(yys563Slc, true, true) + yys563 := string(yys563Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys551 { + switch yys563 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -8571,9 +8835,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys551) - } // end switch yys551 - } // end for yyj551 + z.DecStructFieldNotFound(-1, yys563) + } // end switch yys563 + } // end for yyj563 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8581,16 +8845,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj556 int - var yyb556 bool - var yyhl556 bool = l >= 0 - yyj556++ - if yyhl556 { - yyb556 = yyj556 > l + var yyj568 int + var yyb568 bool + var yyhl568 bool = l >= 0 + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb556 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb556 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8600,13 +8864,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj556++ - if yyhl556 { - yyb556 = yyj556 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb556 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb556 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8616,13 +8880,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj556++ - if yyhl556 { - yyb556 = yyj556 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb556 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb556 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8632,13 +8896,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj556++ - if yyhl556 { - yyb556 = yyj556 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb556 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb556 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8649,17 +8913,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj556++ - if yyhl556 { - yyb556 = yyj556 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb556 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb556 { + if yyb568 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj556-1, "") + z.DecStructFieldNotFound(yyj568-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8671,40 +8935,40 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym561 := z.EncBinary() - _ = yym561 + yym573 := z.EncBinary() + _ = yym573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep562 := !z.EncBinary() - yy2arr562 := z.EncBasicHandle().StructToArray - var yyq562 [6]bool - _, _, _ = yysep562, yyq562, yy2arr562 - const yyr562 bool = false - yyq562[0] = x.TargetPortal != "" - yyq562[1] = x.IQN != "" - yyq562[2] = x.Lun != 0 - yyq562[3] = x.ISCSIInterface != "" - yyq562[4] = x.FSType != "" - yyq562[5] = x.ReadOnly != false - var yynn562 int - if yyr562 || yy2arr562 { + yysep574 := !z.EncBinary() + yy2arr574 := z.EncBasicHandle().StructToArray + var yyq574 [6]bool + _, _, _ = yysep574, yyq574, yy2arr574 + const yyr574 bool = false + yyq574[0] = x.TargetPortal != "" + yyq574[1] = x.IQN != "" + yyq574[2] = x.Lun != 0 + yyq574[3] = x.ISCSIInterface != "" + yyq574[4] = x.FSType != "" + yyq574[5] = x.ReadOnly != false + var yynn574 int + if yyr574 || yy2arr574 { r.EncodeArrayStart(6) } else { - yynn562 = 0 - for _, b := range yyq562 { + yynn574 = 0 + for _, b := range yyq574 { if b { - yynn562++ + yynn574++ } } - r.EncodeMapStart(yynn562) - yynn562 = 0 + r.EncodeMapStart(yynn574) + yynn574 = 0 } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[0] { - yym564 := z.EncBinary() - _ = yym564 + if yyq574[0] { + yym576 := z.EncBinary() + _ = yym576 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -8713,23 +8977,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq562[0] { + if yyq574[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym565 := z.EncBinary() - _ = yym565 + yym577 := z.EncBinary() + _ = yym577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[1] { - yym567 := z.EncBinary() - _ = yym567 + if yyq574[1] { + yym579 := z.EncBinary() + _ = yym579 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -8738,23 +9002,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq562[1] { + if yyq574[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym568 := z.EncBinary() - _ = yym568 + yym580 := z.EncBinary() + _ = yym580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[2] { - yym570 := z.EncBinary() - _ = yym570 + if yyq574[2] { + yym582 := z.EncBinary() + _ = yym582 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -8763,23 +9027,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq562[2] { + if yyq574[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym571 := z.EncBinary() - _ = yym571 + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeInt(int64(x.Lun)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[3] { - yym573 := z.EncBinary() - _ = yym573 + if yyq574[3] { + yym585 := z.EncBinary() + _ = yym585 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -8788,23 +9052,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq562[3] { + if yyq574[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym574 := z.EncBinary() - _ = yym574 + yym586 := z.EncBinary() + _ = yym586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[4] { - yym576 := z.EncBinary() - _ = yym576 + if yyq574[4] { + yym588 := z.EncBinary() + _ = yym588 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8813,23 +9077,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq562[4] { + if yyq574[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym577 := z.EncBinary() - _ = yym577 + yym589 := z.EncBinary() + _ = yym589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq562[5] { - yym579 := z.EncBinary() - _ = yym579 + if yyq574[5] { + yym591 := z.EncBinary() + _ = yym591 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8838,19 +9102,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq562[5] { + if yyq574[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym580 := z.EncBinary() - _ = yym580 + yym592 := z.EncBinary() + _ = yym592 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr562 || yy2arr562 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8863,25 +9127,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym581 := z.DecBinary() - _ = yym581 + yym593 := z.DecBinary() + _ = yym593 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct582 := r.ContainerType() - if yyct582 == codecSelferValueTypeMap1234 { - yyl582 := r.ReadMapStart() - if yyl582 == 0 { + yyct594 := r.ContainerType() + if yyct594 == codecSelferValueTypeMap1234 { + yyl594 := r.ReadMapStart() + if yyl594 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl582, d) + x.codecDecodeSelfFromMap(yyl594, d) } - } else if yyct582 == codecSelferValueTypeArray1234 { - yyl582 := r.ReadArrayStart() - if yyl582 == 0 { + } else if yyct594 == codecSelferValueTypeArray1234 { + yyl594 := r.ReadArrayStart() + if yyl594 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl582, d) + x.codecDecodeSelfFromArray(yyl594, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8893,12 +9157,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys583Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys583Slc - var yyhl583 bool = l >= 0 - for yyj583 := 0; ; yyj583++ { - if yyhl583 { - if yyj583 >= l { + var yys595Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys595Slc + var yyhl595 bool = l >= 0 + for yyj595 := 0; ; yyj595++ { + if yyhl595 { + if yyj595 >= l { break } } else { @@ -8907,10 +9171,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys583Slc = r.DecodeBytes(yys583Slc, true, true) - yys583 := string(yys583Slc) + yys595Slc = r.DecodeBytes(yys595Slc, true, true) + yys595 := string(yys595Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys583 { + switch yys595 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -8948,9 +9212,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys583) - } // end switch yys583 - } // end for yyj583 + z.DecStructFieldNotFound(-1, yys595) + } // end switch yys595 + } // end for yyj595 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8958,16 +9222,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj590 int - var yyb590 bool - var yyhl590 bool = l >= 0 - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + var yyj602 int + var yyb602 bool + var yyhl602 bool = l >= 0 + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8977,13 +9241,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8993,13 +9257,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9009,13 +9273,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9025,13 +9289,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9041,13 +9305,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9058,17 +9322,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj590++ - if yyhl590 { - yyb590 = yyj590 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb590 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb590 { + if yyb602 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj590-1, "") + z.DecStructFieldNotFound(yyj602-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9080,37 +9344,37 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym597 := z.EncBinary() - _ = yym597 + yym609 := z.EncBinary() + _ = yym609 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep598 := !z.EncBinary() - yy2arr598 := z.EncBasicHandle().StructToArray - var yyq598 [4]bool - _, _, _ = yysep598, yyq598, yy2arr598 - const yyr598 bool = false - yyq598[3] = x.ReadOnly != false - var yynn598 int - if yyr598 || yy2arr598 { + yysep610 := !z.EncBinary() + yy2arr610 := z.EncBasicHandle().StructToArray + var yyq610 [4]bool + _, _, _ = yysep610, yyq610, yy2arr610 + const yyr610 bool = false + yyq610[3] = x.ReadOnly != false + var yynn610 int + if yyr610 || yy2arr610 { r.EncodeArrayStart(4) } else { - yynn598 = 3 - for _, b := range yyq598 { + yynn610 = 3 + for _, b := range yyq610 { if b { - yynn598++ + yynn610++ } } - r.EncodeMapStart(yynn598) - yynn598 = 0 + r.EncodeMapStart(yynn610) + yynn610 = 0 } - if yyr598 || yy2arr598 { + if yyr610 || yy2arr610 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym600 := z.EncBinary() - _ = yym600 + yym612 := z.EncBinary() + _ = yym612 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -9123,25 +9387,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym601 := z.EncBinary() - _ = yym601 + yym613 := z.EncBinary() + _ = yym613 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr598 || yy2arr598 { + if yyr610 || yy2arr610 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy603 := *x.Lun - yym604 := z.EncBinary() - _ = yym604 + yy615 := *x.Lun + yym616 := z.EncBinary() + _ = yym616 if false { } else { - r.EncodeInt(int64(yy603)) + r.EncodeInt(int64(yy615)) } } } else { @@ -9151,19 +9415,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy605 := *x.Lun - yym606 := z.EncBinary() - _ = yym606 + yy617 := *x.Lun + yym618 := z.EncBinary() + _ = yym618 if false { } else { - r.EncodeInt(int64(yy605)) + r.EncodeInt(int64(yy617)) } } } - if yyr598 || yy2arr598 { + if yyr610 || yy2arr610 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym608 := z.EncBinary() - _ = yym608 + yym620 := z.EncBinary() + _ = yym620 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9172,18 +9436,18 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym609 := z.EncBinary() - _ = yym609 + yym621 := z.EncBinary() + _ = yym621 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr598 || yy2arr598 { + if yyr610 || yy2arr610 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq598[3] { - yym611 := z.EncBinary() - _ = yym611 + if yyq610[3] { + yym623 := z.EncBinary() + _ = yym623 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9192,19 +9456,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq598[3] { + if yyq610[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym612 := z.EncBinary() - _ = yym612 + yym624 := z.EncBinary() + _ = yym624 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr598 || yy2arr598 { + if yyr610 || yy2arr610 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9217,25 +9481,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym613 := z.DecBinary() - _ = yym613 + yym625 := z.DecBinary() + _ = yym625 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct614 := r.ContainerType() - if yyct614 == codecSelferValueTypeMap1234 { - yyl614 := r.ReadMapStart() - if yyl614 == 0 { + yyct626 := r.ContainerType() + if yyct626 == codecSelferValueTypeMap1234 { + yyl626 := r.ReadMapStart() + if yyl626 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl614, d) + x.codecDecodeSelfFromMap(yyl626, d) } - } else if yyct614 == codecSelferValueTypeArray1234 { - yyl614 := r.ReadArrayStart() - if yyl614 == 0 { + } else if yyct626 == codecSelferValueTypeArray1234 { + yyl626 := r.ReadArrayStart() + if yyl626 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl614, d) + x.codecDecodeSelfFromArray(yyl626, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9247,12 +9511,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys615Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys615Slc - var yyhl615 bool = l >= 0 - for yyj615 := 0; ; yyj615++ { - if yyhl615 { - if yyj615 >= l { + var yys627Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys627Slc + var yyhl627 bool = l >= 0 + for yyj627 := 0; ; yyj627++ { + if yyhl627 { + if yyj627 >= l { break } } else { @@ -9261,20 +9525,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys615Slc = r.DecodeBytes(yys615Slc, true, true) - yys615 := string(yys615Slc) + yys627Slc = r.DecodeBytes(yys627Slc, true, true) + yys627 := string(yys627Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys615 { + switch yys627 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv616 := &x.TargetWWNs - yym617 := z.DecBinary() - _ = yym617 + yyv628 := &x.TargetWWNs + yym629 := z.DecBinary() + _ = yym629 if false { } else { - z.F.DecSliceStringX(yyv616, false, d) + z.F.DecSliceStringX(yyv628, false, d) } } case "lun": @@ -9286,8 +9550,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int) } - yym619 := z.DecBinary() - _ = yym619 + yym631 := z.DecBinary() + _ = yym631 if false { } else { *((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) @@ -9306,9 +9570,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys615) - } // end switch yys615 - } // end for yyj615 + z.DecStructFieldNotFound(-1, yys627) + } // end switch yys627 + } // end for yyj627 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9316,16 +9580,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj622 int - var yyb622 bool - var yyhl622 bool = l >= 0 - yyj622++ - if yyhl622 { - yyb622 = yyj622 > l + var yyj634 int + var yyb634 bool + var yyhl634 bool = l >= 0 + yyj634++ + if yyhl634 { + yyb634 = yyj634 > l } else { - yyb622 = r.CheckBreak() + yyb634 = r.CheckBreak() } - if yyb622 { + if yyb634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9333,21 +9597,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv623 := &x.TargetWWNs - yym624 := z.DecBinary() - _ = yym624 + yyv635 := &x.TargetWWNs + yym636 := z.DecBinary() + _ = yym636 if false { } else { - z.F.DecSliceStringX(yyv623, false, d) + z.F.DecSliceStringX(yyv635, false, d) } } - yyj622++ - if yyhl622 { - yyb622 = yyj622 > l + yyj634++ + if yyhl634 { + yyb634 = yyj634 > l } else { - yyb622 = r.CheckBreak() + yyb634 = r.CheckBreak() } - if yyb622 { + if yyb634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9360,20 +9624,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int) } - yym626 := z.DecBinary() - _ = yym626 + yym638 := z.DecBinary() + _ = yym638 if false { } else { *((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) } } - yyj622++ - if yyhl622 { - yyb622 = yyj622 > l + yyj634++ + if yyhl634 { + yyb634 = yyj634 > l } else { - yyb622 = r.CheckBreak() + yyb634 = r.CheckBreak() } - if yyb622 { + if yyb634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9383,13 +9647,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj622++ - if yyhl622 { - yyb622 = yyj622 > l + yyj634++ + if yyhl634 { + yyb634 = yyj634 > l } else { - yyb622 = r.CheckBreak() + yyb634 = r.CheckBreak() } - if yyb622 { + if yyb634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9400,17 +9664,17 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj622++ - if yyhl622 { - yyb622 = yyj622 > l + yyj634++ + if yyhl634 { + yyb634 = yyj634 > l } else { - yyb622 = r.CheckBreak() + yyb634 = r.CheckBreak() } - if yyb622 { + if yyb634 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj622-1, "") + z.DecStructFieldNotFound(yyj634-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9422,37 +9686,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym629 := z.EncBinary() - _ = yym629 + yym641 := z.EncBinary() + _ = yym641 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep630 := !z.EncBinary() - yy2arr630 := z.EncBasicHandle().StructToArray - var yyq630 [5]bool - _, _, _ = yysep630, yyq630, yy2arr630 - const yyr630 bool = false - yyq630[1] = x.FSType != "" - yyq630[2] = x.SecretRef != nil - yyq630[3] = x.ReadOnly != false - yyq630[4] = len(x.Options) != 0 - var yynn630 int - if yyr630 || yy2arr630 { + yysep642 := !z.EncBinary() + yy2arr642 := z.EncBasicHandle().StructToArray + var yyq642 [5]bool + _, _, _ = yysep642, yyq642, yy2arr642 + const yyr642 bool = false + yyq642[1] = x.FSType != "" + yyq642[2] = x.SecretRef != nil + yyq642[3] = x.ReadOnly != false + yyq642[4] = len(x.Options) != 0 + var yynn642 int + if yyr642 || yy2arr642 { r.EncodeArrayStart(5) } else { - yynn630 = 1 - for _, b := range yyq630 { + yynn642 = 1 + for _, b := range yyq642 { if b { - yynn630++ + yynn642++ } } - r.EncodeMapStart(yynn630) - yynn630 = 0 + r.EncodeMapStart(yynn642) + yynn642 = 0 } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym632 := z.EncBinary() - _ = yym632 + yym644 := z.EncBinary() + _ = yym644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -9461,18 +9725,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym633 := z.EncBinary() - _ = yym633 + yym645 := z.EncBinary() + _ = yym645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq630[1] { - yym635 := z.EncBinary() - _ = yym635 + if yyq642[1] { + yym647 := z.EncBinary() + _ = yym647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9481,21 +9745,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq630[1] { + if yyq642[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym636 := z.EncBinary() - _ = yym636 + yym648 := z.EncBinary() + _ = yym648 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq630[2] { + if yyq642[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -9505,7 +9769,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq630[2] { + if yyq642[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -9516,11 +9780,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq630[3] { - yym639 := z.EncBinary() - _ = yym639 + if yyq642[3] { + yym651 := z.EncBinary() + _ = yym651 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9529,26 +9793,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq630[3] { + if yyq642[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym640 := z.EncBinary() - _ = yym640 + yym652 := z.EncBinary() + _ = yym652 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq630[4] { + if yyq642[4] { if x.Options == nil { r.EncodeNil() } else { - yym642 := z.EncBinary() - _ = yym642 + yym654 := z.EncBinary() + _ = yym654 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -9558,15 +9822,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq630[4] { + if yyq642[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym655 := z.EncBinary() + _ = yym655 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -9574,7 +9838,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr630 || yy2arr630 { + if yyr642 || yy2arr642 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9587,25 +9851,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym644 := z.DecBinary() - _ = yym644 + yym656 := z.DecBinary() + _ = yym656 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct645 := r.ContainerType() - if yyct645 == codecSelferValueTypeMap1234 { - yyl645 := r.ReadMapStart() - if yyl645 == 0 { + yyct657 := r.ContainerType() + if yyct657 == codecSelferValueTypeMap1234 { + yyl657 := r.ReadMapStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl645, d) + x.codecDecodeSelfFromMap(yyl657, d) } - } else if yyct645 == codecSelferValueTypeArray1234 { - yyl645 := r.ReadArrayStart() - if yyl645 == 0 { + } else if yyct657 == codecSelferValueTypeArray1234 { + yyl657 := r.ReadArrayStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl645, d) + x.codecDecodeSelfFromArray(yyl657, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9617,12 +9881,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys646Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys646Slc - var yyhl646 bool = l >= 0 - for yyj646 := 0; ; yyj646++ { - if yyhl646 { - if yyj646 >= l { + var yys658Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys658Slc + var yyhl658 bool = l >= 0 + for yyj658 := 0; ; yyj658++ { + if yyhl658 { + if yyj658 >= l { break } } else { @@ -9631,10 +9895,10 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys646Slc = r.DecodeBytes(yys646Slc, true, true) - yys646 := string(yys646Slc) + yys658Slc = r.DecodeBytes(yys658Slc, true, true) + yys658 := string(yys658Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys646 { + switch yys658 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" @@ -9668,18 +9932,18 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Options = nil } else { - yyv651 := &x.Options - yym652 := z.DecBinary() - _ = yym652 + yyv663 := &x.Options + yym664 := z.DecBinary() + _ = yym664 if false { } else { - z.F.DecMapStringStringX(yyv651, false, d) + z.F.DecMapStringStringX(yyv663, false, d) } } default: - z.DecStructFieldNotFound(-1, yys646) - } // end switch yys646 - } // end for yyj646 + z.DecStructFieldNotFound(-1, yys658) + } // end switch yys658 + } // end for yyj658 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9687,16 +9951,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj653 int - var yyb653 bool - var yyhl653 bool = l >= 0 - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + var yyj665 int + var yyb665 bool + var yyhl665 bool = l >= 0 + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9706,13 +9970,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Driver = string(r.DecodeString()) } - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9722,13 +9986,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9743,13 +10007,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9759,13 +10023,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9773,26 +10037,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv658 := &x.Options - yym659 := z.DecBinary() - _ = yym659 + yyv670 := &x.Options + yym671 := z.DecBinary() + _ = yym671 if false { } else { - z.F.DecMapStringStringX(yyv658, false, d) + z.F.DecMapStringStringX(yyv670, false, d) } } for { - yyj653++ - if yyhl653 { - yyb653 = yyj653 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb653 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb653 { + if yyb665 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj653-1, "") + z.DecStructFieldNotFound(yyj665-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9804,36 +10068,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym660 := z.EncBinary() - _ = yym660 + yym672 := z.EncBinary() + _ = yym672 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep661 := !z.EncBinary() - yy2arr661 := z.EncBasicHandle().StructToArray - var yyq661 [4]bool - _, _, _ = yysep661, yyq661, yy2arr661 - const yyr661 bool = false - yyq661[1] = x.FSType != "" - yyq661[2] = x.Partition != 0 - yyq661[3] = x.ReadOnly != false - var yynn661 int - if yyr661 || yy2arr661 { + yysep673 := !z.EncBinary() + yy2arr673 := z.EncBasicHandle().StructToArray + var yyq673 [4]bool + _, _, _ = yysep673, yyq673, yy2arr673 + const yyr673 bool = false + yyq673[1] = x.FSType != "" + yyq673[2] = x.Partition != 0 + yyq673[3] = x.ReadOnly != false + var yynn673 int + if yyr673 || yy2arr673 { r.EncodeArrayStart(4) } else { - yynn661 = 1 - for _, b := range yyq661 { + yynn673 = 1 + for _, b := range yyq673 { if b { - yynn661++ + yynn673++ } } - r.EncodeMapStart(yynn661) - yynn661 = 0 + r.EncodeMapStart(yynn673) + yynn673 = 0 } - if yyr661 || yy2arr661 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym663 := z.EncBinary() - _ = yym663 + yym675 := z.EncBinary() + _ = yym675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -9842,18 +10106,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym664 := z.EncBinary() - _ = yym664 + yym676 := z.EncBinary() + _ = yym676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr661 || yy2arr661 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq661[1] { - yym666 := z.EncBinary() - _ = yym666 + if yyq673[1] { + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9862,23 +10126,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq661[1] { + if yyq673[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym667 := z.EncBinary() - _ = yym667 + yym679 := z.EncBinary() + _ = yym679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr661 || yy2arr661 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq661[2] { - yym669 := z.EncBinary() - _ = yym669 + if yyq673[2] { + yym681 := z.EncBinary() + _ = yym681 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -9887,23 +10151,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq661[2] { + if yyq673[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym670 := z.EncBinary() - _ = yym670 + yym682 := z.EncBinary() + _ = yym682 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr661 || yy2arr661 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq661[3] { - yym672 := z.EncBinary() - _ = yym672 + if yyq673[3] { + yym684 := z.EncBinary() + _ = yym684 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9912,19 +10176,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq661[3] { + if yyq673[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym673 := z.EncBinary() - _ = yym673 + yym685 := z.EncBinary() + _ = yym685 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr661 || yy2arr661 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9937,25 +10201,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym674 := z.DecBinary() - _ = yym674 + yym686 := z.DecBinary() + _ = yym686 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct675 := r.ContainerType() - if yyct675 == codecSelferValueTypeMap1234 { - yyl675 := r.ReadMapStart() - if yyl675 == 0 { + yyct687 := r.ContainerType() + if yyct687 == codecSelferValueTypeMap1234 { + yyl687 := r.ReadMapStart() + if yyl687 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl675, d) + x.codecDecodeSelfFromMap(yyl687, d) } - } else if yyct675 == codecSelferValueTypeArray1234 { - yyl675 := r.ReadArrayStart() - if yyl675 == 0 { + } else if yyct687 == codecSelferValueTypeArray1234 { + yyl687 := r.ReadArrayStart() + if yyl687 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl675, d) + x.codecDecodeSelfFromArray(yyl687, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9967,12 +10231,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys676Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys676Slc - var yyhl676 bool = l >= 0 - for yyj676 := 0; ; yyj676++ { - if yyhl676 { - if yyj676 >= l { + var yys688Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys688Slc + var yyhl688 bool = l >= 0 + for yyj688 := 0; ; yyj688++ { + if yyhl688 { + if yyj688 >= l { break } } else { @@ -9981,10 +10245,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys676Slc = r.DecodeBytes(yys676Slc, true, true) - yys676 := string(yys676Slc) + yys688Slc = r.DecodeBytes(yys688Slc, true, true) + yys688 := string(yys688Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys676 { + switch yys688 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -10010,9 +10274,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys676) - } // end switch yys676 - } // end for yyj676 + z.DecStructFieldNotFound(-1, yys688) + } // end switch yys688 + } // end for yyj688 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10020,16 +10284,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj681 int - var yyb681 bool - var yyhl681 bool = l >= 0 - yyj681++ - if yyhl681 { - yyb681 = yyj681 > l + var yyj693 int + var yyb693 bool + var yyhl693 bool = l >= 0 + yyj693++ + if yyhl693 { + yyb693 = yyj693 > l } else { - yyb681 = r.CheckBreak() + yyb693 = r.CheckBreak() } - if yyb681 { + if yyb693 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10039,13 +10303,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj681++ - if yyhl681 { - yyb681 = yyj681 > l + yyj693++ + if yyhl693 { + yyb693 = yyj693 > l } else { - yyb681 = r.CheckBreak() + yyb693 = r.CheckBreak() } - if yyb681 { + if yyb693 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10055,13 +10319,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj681++ - if yyhl681 { - yyb681 = yyj681 > l + yyj693++ + if yyhl693 { + yyb693 = yyj693 > l } else { - yyb681 = r.CheckBreak() + yyb693 = r.CheckBreak() } - if yyb681 { + if yyb693 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10071,13 +10335,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj681++ - if yyhl681 { - yyb681 = yyj681 > l + yyj693++ + if yyhl693 { + yyb693 = yyj693 > l } else { - yyb681 = r.CheckBreak() + yyb693 = r.CheckBreak() } - if yyb681 { + if yyb693 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10088,17 +10352,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj681++ - if yyhl681 { - yyb681 = yyj681 > l + yyj693++ + if yyhl693 { + yyb693 = yyj693 > l } else { - yyb681 = r.CheckBreak() + yyb693 = r.CheckBreak() } - if yyb681 { + if yyb693 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj681-1, "") + z.DecStructFieldNotFound(yyj693-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10110,35 +10374,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym686 := z.EncBinary() - _ = yym686 + yym698 := z.EncBinary() + _ = yym698 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep687 := !z.EncBinary() - yy2arr687 := z.EncBasicHandle().StructToArray - var yyq687 [3]bool - _, _, _ = yysep687, yyq687, yy2arr687 - const yyr687 bool = false - yyq687[1] = x.Revision != "" - yyq687[2] = x.Directory != "" - var yynn687 int - if yyr687 || yy2arr687 { + yysep699 := !z.EncBinary() + yy2arr699 := z.EncBasicHandle().StructToArray + var yyq699 [3]bool + _, _, _ = yysep699, yyq699, yy2arr699 + const yyr699 bool = false + yyq699[1] = x.Revision != "" + yyq699[2] = x.Directory != "" + var yynn699 int + if yyr699 || yy2arr699 { r.EncodeArrayStart(3) } else { - yynn687 = 1 - for _, b := range yyq687 { + yynn699 = 1 + for _, b := range yyq699 { if b { - yynn687++ + yynn699++ } } - r.EncodeMapStart(yynn687) - yynn687 = 0 + r.EncodeMapStart(yynn699) + yynn699 = 0 } - if yyr687 || yy2arr687 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym689 := z.EncBinary() - _ = yym689 + yym701 := z.EncBinary() + _ = yym701 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -10147,18 +10411,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym690 := z.EncBinary() - _ = yym690 + yym702 := z.EncBinary() + _ = yym702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr687 || yy2arr687 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq687[1] { - yym692 := z.EncBinary() - _ = yym692 + if yyq699[1] { + yym704 := z.EncBinary() + _ = yym704 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -10167,23 +10431,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq687[1] { + if yyq699[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym693 := z.EncBinary() - _ = yym693 + yym705 := z.EncBinary() + _ = yym705 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr687 || yy2arr687 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq687[2] { - yym695 := z.EncBinary() - _ = yym695 + if yyq699[2] { + yym707 := z.EncBinary() + _ = yym707 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -10192,19 +10456,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq687[2] { + if yyq699[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym696 := z.EncBinary() - _ = yym696 + yym708 := z.EncBinary() + _ = yym708 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr687 || yy2arr687 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10217,25 +10481,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym697 := z.DecBinary() - _ = yym697 + yym709 := z.DecBinary() + _ = yym709 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct698 := r.ContainerType() - if yyct698 == codecSelferValueTypeMap1234 { - yyl698 := r.ReadMapStart() - if yyl698 == 0 { + yyct710 := r.ContainerType() + if yyct710 == codecSelferValueTypeMap1234 { + yyl710 := r.ReadMapStart() + if yyl710 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl698, d) + x.codecDecodeSelfFromMap(yyl710, d) } - } else if yyct698 == codecSelferValueTypeArray1234 { - yyl698 := r.ReadArrayStart() - if yyl698 == 0 { + } else if yyct710 == codecSelferValueTypeArray1234 { + yyl710 := r.ReadArrayStart() + if yyl710 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl698, d) + x.codecDecodeSelfFromArray(yyl710, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10247,12 +10511,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys699Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys699Slc - var yyhl699 bool = l >= 0 - for yyj699 := 0; ; yyj699++ { - if yyhl699 { - if yyj699 >= l { + var yys711Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys711Slc + var yyhl711 bool = l >= 0 + for yyj711 := 0; ; yyj711++ { + if yyhl711 { + if yyj711 >= l { break } } else { @@ -10261,10 +10525,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys699Slc = r.DecodeBytes(yys699Slc, true, true) - yys699 := string(yys699Slc) + yys711Slc = r.DecodeBytes(yys711Slc, true, true) + yys711 := string(yys711Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys699 { + switch yys711 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -10284,9 +10548,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys699) - } // end switch yys699 - } // end for yyj699 + z.DecStructFieldNotFound(-1, yys711) + } // end switch yys711 + } // end for yyj711 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10294,16 +10558,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj703 int - var yyb703 bool - var yyhl703 bool = l >= 0 - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + var yyj715 int + var yyb715 bool + var yyhl715 bool = l >= 0 + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb703 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb703 { + if yyb715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10313,13 +10577,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb703 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb703 { + if yyb715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10329,13 +10593,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb703 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb703 { + if yyb715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10346,17 +10610,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb703 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb703 { + if yyb715 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj703-1, "") + z.DecStructFieldNotFound(yyj715-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10368,35 +10632,35 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym707 := z.EncBinary() - _ = yym707 + yym719 := z.EncBinary() + _ = yym719 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep708 := !z.EncBinary() - yy2arr708 := z.EncBasicHandle().StructToArray - var yyq708 [1]bool - _, _, _ = yysep708, yyq708, yy2arr708 - const yyr708 bool = false - yyq708[0] = x.SecretName != "" - var yynn708 int - if yyr708 || yy2arr708 { + yysep720 := !z.EncBinary() + yy2arr720 := z.EncBasicHandle().StructToArray + var yyq720 [1]bool + _, _, _ = yysep720, yyq720, yy2arr720 + const yyr720 bool = false + yyq720[0] = x.SecretName != "" + var yynn720 int + if yyr720 || yy2arr720 { r.EncodeArrayStart(1) } else { - yynn708 = 0 - for _, b := range yyq708 { + yynn720 = 0 + for _, b := range yyq720 { if b { - yynn708++ + yynn720++ } } - r.EncodeMapStart(yynn708) - yynn708 = 0 + r.EncodeMapStart(yynn720) + yynn720 = 0 } - if yyr708 || yy2arr708 { + if yyr720 || yy2arr720 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq708[0] { - yym710 := z.EncBinary() - _ = yym710 + if yyq720[0] { + yym722 := z.EncBinary() + _ = yym722 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -10405,19 +10669,19 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq708[0] { + if yyq720[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym711 := z.EncBinary() - _ = yym711 + yym723 := z.EncBinary() + _ = yym723 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr708 || yy2arr708 { + if yyr720 || yy2arr720 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10430,25 +10694,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym712 := z.DecBinary() - _ = yym712 + yym724 := z.DecBinary() + _ = yym724 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct713 := r.ContainerType() - if yyct713 == codecSelferValueTypeMap1234 { - yyl713 := r.ReadMapStart() - if yyl713 == 0 { + yyct725 := r.ContainerType() + if yyct725 == codecSelferValueTypeMap1234 { + yyl725 := r.ReadMapStart() + if yyl725 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl713, d) + x.codecDecodeSelfFromMap(yyl725, d) } - } else if yyct713 == codecSelferValueTypeArray1234 { - yyl713 := r.ReadArrayStart() - if yyl713 == 0 { + } else if yyct725 == codecSelferValueTypeArray1234 { + yyl725 := r.ReadArrayStart() + if yyl725 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl713, d) + x.codecDecodeSelfFromArray(yyl725, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10460,12 +10724,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys714Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys714Slc - var yyhl714 bool = l >= 0 - for yyj714 := 0; ; yyj714++ { - if yyhl714 { - if yyj714 >= l { + var yys726Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys726Slc + var yyhl726 bool = l >= 0 + for yyj726 := 0; ; yyj726++ { + if yyhl726 { + if yyj726 >= l { break } } else { @@ -10474,10 +10738,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys714Slc = r.DecodeBytes(yys714Slc, true, true) - yys714 := string(yys714Slc) + yys726Slc = r.DecodeBytes(yys726Slc, true, true) + yys726 := string(yys726Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys714 { + switch yys726 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -10485,9 +10749,9 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys714) - } // end switch yys714 - } // end for yyj714 + z.DecStructFieldNotFound(-1, yys726) + } // end switch yys726 + } // end for yyj726 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10495,16 +10759,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj716 int - var yyb716 bool - var yyhl716 bool = l >= 0 - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + var yyj728 int + var yyb728 bool + var yyhl728 bool = l >= 0 + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb716 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb716 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10515,17 +10779,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.SecretName = string(r.DecodeString()) } for { - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb716 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb716 { + if yyb728 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj716-1, "") + z.DecStructFieldNotFound(yyj728-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10537,34 +10801,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym718 := z.EncBinary() - _ = yym718 + yym730 := z.EncBinary() + _ = yym730 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep719 := !z.EncBinary() - yy2arr719 := z.EncBasicHandle().StructToArray - var yyq719 [3]bool - _, _, _ = yysep719, yyq719, yy2arr719 - const yyr719 bool = false - yyq719[2] = x.ReadOnly != false - var yynn719 int - if yyr719 || yy2arr719 { + yysep731 := !z.EncBinary() + yy2arr731 := z.EncBasicHandle().StructToArray + var yyq731 [3]bool + _, _, _ = yysep731, yyq731, yy2arr731 + const yyr731 bool = false + yyq731[2] = x.ReadOnly != false + var yynn731 int + if yyr731 || yy2arr731 { r.EncodeArrayStart(3) } else { - yynn719 = 2 - for _, b := range yyq719 { + yynn731 = 2 + for _, b := range yyq731 { if b { - yynn719++ + yynn731++ } } - r.EncodeMapStart(yynn719) - yynn719 = 0 + r.EncodeMapStart(yynn731) + yynn731 = 0 } - if yyr719 || yy2arr719 { + if yyr731 || yy2arr731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym721 := z.EncBinary() - _ = yym721 + yym733 := z.EncBinary() + _ = yym733 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -10573,17 +10837,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym722 := z.EncBinary() - _ = yym722 + yym734 := z.EncBinary() + _ = yym734 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr719 || yy2arr719 { + if yyr731 || yy2arr731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym724 := z.EncBinary() - _ = yym724 + yym736 := z.EncBinary() + _ = yym736 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10592,18 +10856,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym725 := z.EncBinary() - _ = yym725 + yym737 := z.EncBinary() + _ = yym737 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr719 || yy2arr719 { + if yyr731 || yy2arr731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq719[2] { - yym727 := z.EncBinary() - _ = yym727 + if yyq731[2] { + yym739 := z.EncBinary() + _ = yym739 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10612,19 +10876,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq719[2] { + if yyq731[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym728 := z.EncBinary() - _ = yym728 + yym740 := z.EncBinary() + _ = yym740 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr719 || yy2arr719 { + if yyr731 || yy2arr731 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10637,25 +10901,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym729 := z.DecBinary() - _ = yym729 + yym741 := z.DecBinary() + _ = yym741 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct730 := r.ContainerType() - if yyct730 == codecSelferValueTypeMap1234 { - yyl730 := r.ReadMapStart() - if yyl730 == 0 { + yyct742 := r.ContainerType() + if yyct742 == codecSelferValueTypeMap1234 { + yyl742 := r.ReadMapStart() + if yyl742 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl730, d) + x.codecDecodeSelfFromMap(yyl742, d) } - } else if yyct730 == codecSelferValueTypeArray1234 { - yyl730 := r.ReadArrayStart() - if yyl730 == 0 { + } else if yyct742 == codecSelferValueTypeArray1234 { + yyl742 := r.ReadArrayStart() + if yyl742 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl730, d) + x.codecDecodeSelfFromArray(yyl742, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10667,12 +10931,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys731Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys731Slc - var yyhl731 bool = l >= 0 - for yyj731 := 0; ; yyj731++ { - if yyhl731 { - if yyj731 >= l { + var yys743Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys743Slc + var yyhl743 bool = l >= 0 + for yyj743 := 0; ; yyj743++ { + if yyhl743 { + if yyj743 >= l { break } } else { @@ -10681,10 +10945,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys731Slc = r.DecodeBytes(yys731Slc, true, true) - yys731 := string(yys731Slc) + yys743Slc = r.DecodeBytes(yys743Slc, true, true) + yys743 := string(yys743Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys731 { + switch yys743 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -10704,9 +10968,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys731) - } // end switch yys731 - } // end for yyj731 + z.DecStructFieldNotFound(-1, yys743) + } // end switch yys743 + } // end for yyj743 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10714,16 +10978,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj735 int - var yyb735 bool - var yyhl735 bool = l >= 0 - yyj735++ - if yyhl735 { - yyb735 = yyj735 > l + var yyj747 int + var yyb747 bool + var yyhl747 bool = l >= 0 + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb735 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb735 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10733,13 +10997,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj735++ - if yyhl735 { - yyb735 = yyj735 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb735 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb735 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10749,13 +11013,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj735++ - if yyhl735 { - yyb735 = yyj735 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb735 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb735 { + if yyb747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10766,17 +11030,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj735++ - if yyhl735 { - yyb735 = yyj735 > l + yyj747++ + if yyhl747 { + yyb747 = yyj747 > l } else { - yyb735 = r.CheckBreak() + yyb747 = r.CheckBreak() } - if yyb735 { + if yyb747 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj735-1, "") + z.DecStructFieldNotFound(yyj747-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10788,34 +11052,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym739 := z.EncBinary() - _ = yym739 + yym751 := z.EncBinary() + _ = yym751 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep740 := !z.EncBinary() - yy2arr740 := z.EncBasicHandle().StructToArray - var yyq740 [3]bool - _, _, _ = yysep740, yyq740, yy2arr740 - const yyr740 bool = false - yyq740[2] = x.ReadOnly != false - var yynn740 int - if yyr740 || yy2arr740 { + yysep752 := !z.EncBinary() + yy2arr752 := z.EncBasicHandle().StructToArray + var yyq752 [3]bool + _, _, _ = yysep752, yyq752, yy2arr752 + const yyr752 bool = false + yyq752[2] = x.ReadOnly != false + var yynn752 int + if yyr752 || yy2arr752 { r.EncodeArrayStart(3) } else { - yynn740 = 2 - for _, b := range yyq740 { + yynn752 = 2 + for _, b := range yyq752 { if b { - yynn740++ + yynn752++ } } - r.EncodeMapStart(yynn740) - yynn740 = 0 + r.EncodeMapStart(yynn752) + yynn752 = 0 } - if yyr740 || yy2arr740 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym742 := z.EncBinary() - _ = yym742 + yym754 := z.EncBinary() + _ = yym754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -10824,17 +11088,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym743 := z.EncBinary() - _ = yym743 + yym755 := z.EncBinary() + _ = yym755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr740 || yy2arr740 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym745 := z.EncBinary() - _ = yym745 + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10843,18 +11107,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym746 := z.EncBinary() - _ = yym746 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr740 || yy2arr740 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq740[2] { - yym748 := z.EncBinary() - _ = yym748 + if yyq752[2] { + yym760 := z.EncBinary() + _ = yym760 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10863,19 +11127,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq740[2] { + if yyq752[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym749 := z.EncBinary() - _ = yym749 + yym761 := z.EncBinary() + _ = yym761 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr740 || yy2arr740 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10888,25 +11152,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym750 := z.DecBinary() - _ = yym750 + yym762 := z.DecBinary() + _ = yym762 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct751 := r.ContainerType() - if yyct751 == codecSelferValueTypeMap1234 { - yyl751 := r.ReadMapStart() - if yyl751 == 0 { + yyct763 := r.ContainerType() + if yyct763 == codecSelferValueTypeMap1234 { + yyl763 := r.ReadMapStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl751, d) + x.codecDecodeSelfFromMap(yyl763, d) } - } else if yyct751 == codecSelferValueTypeArray1234 { - yyl751 := r.ReadArrayStart() - if yyl751 == 0 { + } else if yyct763 == codecSelferValueTypeArray1234 { + yyl763 := r.ReadArrayStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl751, d) + x.codecDecodeSelfFromArray(yyl763, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10918,12 +11182,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys752Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys752Slc - var yyhl752 bool = l >= 0 - for yyj752 := 0; ; yyj752++ { - if yyhl752 { - if yyj752 >= l { + var yys764Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys764Slc + var yyhl764 bool = l >= 0 + for yyj764 := 0; ; yyj764++ { + if yyhl764 { + if yyj764 >= l { break } } else { @@ -10932,10 +11196,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys752Slc = r.DecodeBytes(yys752Slc, true, true) - yys752 := string(yys752Slc) + yys764Slc = r.DecodeBytes(yys764Slc, true, true) + yys764 := string(yys764Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys752 { + switch yys764 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -10955,9 +11219,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys752) - } // end switch yys752 - } // end for yyj752 + z.DecStructFieldNotFound(-1, yys764) + } // end switch yys764 + } // end for yyj764 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10965,16 +11229,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj756 int - var yyb756 bool - var yyhl756 bool = l >= 0 - yyj756++ - if yyhl756 { - yyb756 = yyj756 > l + var yyj768 int + var yyb768 bool + var yyhl768 bool = l >= 0 + yyj768++ + if yyhl768 { + yyb768 = yyj768 > l } else { - yyb756 = r.CheckBreak() + yyb768 = r.CheckBreak() } - if yyb756 { + if yyb768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10984,13 +11248,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj756++ - if yyhl756 { - yyb756 = yyj756 > l + yyj768++ + if yyhl768 { + yyb768 = yyj768 > l } else { - yyb756 = r.CheckBreak() + yyb768 = r.CheckBreak() } - if yyb756 { + if yyb768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11000,13 +11264,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj756++ - if yyhl756 { - yyb756 = yyj756 > l + yyj768++ + if yyhl768 { + yyb768 = yyj768 > l } else { - yyb756 = r.CheckBreak() + yyb768 = r.CheckBreak() } - if yyb756 { + if yyb768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11017,17 +11281,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj756++ - if yyhl756 { - yyb756 = yyj756 > l + yyj768++ + if yyhl768 { + yyb768 = yyj768 > l } else { - yyb756 = r.CheckBreak() + yyb768 = r.CheckBreak() } - if yyb756 { + if yyb768 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj756-1, "") + z.DecStructFieldNotFound(yyj768-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11039,38 +11303,38 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym760 := z.EncBinary() - _ = yym760 + yym772 := z.EncBinary() + _ = yym772 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep761 := !z.EncBinary() - yy2arr761 := z.EncBasicHandle().StructToArray - var yyq761 [8]bool - _, _, _ = yysep761, yyq761, yy2arr761 - const yyr761 bool = false - yyq761[2] = x.FSType != "" - yyq761[7] = x.ReadOnly != false - var yynn761 int - if yyr761 || yy2arr761 { + yysep773 := !z.EncBinary() + yy2arr773 := z.EncBasicHandle().StructToArray + var yyq773 [8]bool + _, _, _ = yysep773, yyq773, yy2arr773 + const yyr773 bool = false + yyq773[2] = x.FSType != "" + yyq773[7] = x.ReadOnly != false + var yynn773 int + if yyr773 || yy2arr773 { r.EncodeArrayStart(8) } else { - yynn761 = 6 - for _, b := range yyq761 { + yynn773 = 6 + for _, b := range yyq773 { if b { - yynn761++ + yynn773++ } } - r.EncodeMapStart(yynn761) - yynn761 = 0 + r.EncodeMapStart(yynn773) + yynn773 = 0 } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym763 := z.EncBinary() - _ = yym763 + yym775 := z.EncBinary() + _ = yym775 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -11083,18 +11347,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym764 := z.EncBinary() - _ = yym764 + yym776 := z.EncBinary() + _ = yym776 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym766 := z.EncBinary() - _ = yym766 + yym778 := z.EncBinary() + _ = yym778 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -11103,18 +11367,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym767 := z.EncBinary() - _ = yym767 + yym779 := z.EncBinary() + _ = yym779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq761[2] { - yym769 := z.EncBinary() - _ = yym769 + if yyq773[2] { + yym781 := z.EncBinary() + _ = yym781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11123,22 +11387,22 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq761[2] { + if yyq773[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym770 := z.EncBinary() - _ = yym770 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym772 := z.EncBinary() - _ = yym772 + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -11147,17 +11411,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym773 := z.EncBinary() - _ = yym773 + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym775 := z.EncBinary() - _ = yym775 + yym787 := z.EncBinary() + _ = yym787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -11166,17 +11430,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym776 := z.EncBinary() - _ = yym776 + yym788 := z.EncBinary() + _ = yym788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym778 := z.EncBinary() - _ = yym778 + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -11185,14 +11449,14 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym779 := z.EncBinary() - _ = yym779 + yym791 := z.EncBinary() + _ = yym791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SecretRef == nil { r.EncodeNil() @@ -11209,11 +11473,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { x.SecretRef.CodecEncodeSelf(e) } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq761[7] { - yym782 := z.EncBinary() - _ = yym782 + if yyq773[7] { + yym794 := z.EncBinary() + _ = yym794 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11222,19 +11486,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq761[7] { + if yyq773[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym783 := z.EncBinary() - _ = yym783 + yym795 := z.EncBinary() + _ = yym795 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr761 || yy2arr761 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11247,25 +11511,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym784 := z.DecBinary() - _ = yym784 + yym796 := z.DecBinary() + _ = yym796 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct785 := r.ContainerType() - if yyct785 == codecSelferValueTypeMap1234 { - yyl785 := r.ReadMapStart() - if yyl785 == 0 { + yyct797 := r.ContainerType() + if yyct797 == codecSelferValueTypeMap1234 { + yyl797 := r.ReadMapStart() + if yyl797 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl785, d) + x.codecDecodeSelfFromMap(yyl797, d) } - } else if yyct785 == codecSelferValueTypeArray1234 { - yyl785 := r.ReadArrayStart() - if yyl785 == 0 { + } else if yyct797 == codecSelferValueTypeArray1234 { + yyl797 := r.ReadArrayStart() + if yyl797 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl785, d) + x.codecDecodeSelfFromArray(yyl797, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11277,12 +11541,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys786Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys786Slc - var yyhl786 bool = l >= 0 - for yyj786 := 0; ; yyj786++ { - if yyhl786 { - if yyj786 >= l { + var yys798Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys798Slc + var yyhl798 bool = l >= 0 + for yyj798 := 0; ; yyj798++ { + if yyhl798 { + if yyj798 >= l { break } } else { @@ -11291,20 +11555,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys786Slc = r.DecodeBytes(yys786Slc, true, true) - yys786 := string(yys786Slc) + yys798Slc = r.DecodeBytes(yys798Slc, true, true) + yys798 := string(yys798Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys786 { + switch yys798 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv787 := &x.CephMonitors - yym788 := z.DecBinary() - _ = yym788 + yyv799 := &x.CephMonitors + yym800 := z.DecBinary() + _ = yym800 if false { } else { - z.F.DecSliceStringX(yyv787, false, d) + z.F.DecSliceStringX(yyv799, false, d) } } case "image": @@ -11355,9 +11619,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys786) - } // end switch yys786 - } // end for yyj786 + z.DecStructFieldNotFound(-1, yys798) + } // end switch yys798 + } // end for yyj798 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11365,16 +11629,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj796 int - var yyb796 bool - var yyhl796 bool = l >= 0 - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + var yyj808 int + var yyb808 bool + var yyhl808 bool = l >= 0 + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11382,21 +11646,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv797 := &x.CephMonitors - yym798 := z.DecBinary() - _ = yym798 + yyv809 := &x.CephMonitors + yym810 := z.DecBinary() + _ = yym810 if false { } else { - z.F.DecSliceStringX(yyv797, false, d) + z.F.DecSliceStringX(yyv809, false, d) } } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11406,13 +11670,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11422,13 +11686,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11438,13 +11702,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11454,13 +11718,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11470,13 +11734,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11491,13 +11755,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11508,17 +11772,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj796++ - if yyhl796 { - yyb796 = yyj796 > l + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l } else { - yyb796 = r.CheckBreak() + yyb808 = r.CheckBreak() } - if yyb796 { + if yyb808 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj796-1, "") + z.DecStructFieldNotFound(yyj808-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11530,35 +11794,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym806 := z.EncBinary() - _ = yym806 + yym818 := z.EncBinary() + _ = yym818 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep807 := !z.EncBinary() - yy2arr807 := z.EncBasicHandle().StructToArray - var yyq807 [3]bool - _, _, _ = yysep807, yyq807, yy2arr807 - const yyr807 bool = false - yyq807[1] = x.FSType != "" - yyq807[2] = x.ReadOnly != false - var yynn807 int - if yyr807 || yy2arr807 { + yysep819 := !z.EncBinary() + yy2arr819 := z.EncBasicHandle().StructToArray + var yyq819 [3]bool + _, _, _ = yysep819, yyq819, yy2arr819 + const yyr819 bool = false + yyq819[1] = x.FSType != "" + yyq819[2] = x.ReadOnly != false + var yynn819 int + if yyr819 || yy2arr819 { r.EncodeArrayStart(3) } else { - yynn807 = 1 - for _, b := range yyq807 { + yynn819 = 1 + for _, b := range yyq819 { if b { - yynn807++ + yynn819++ } } - r.EncodeMapStart(yynn807) - yynn807 = 0 + r.EncodeMapStart(yynn819) + yynn819 = 0 } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym809 := z.EncBinary() - _ = yym809 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -11567,18 +11831,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym810 := z.EncBinary() - _ = yym810 + yym822 := z.EncBinary() + _ = yym822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq807[1] { - yym812 := z.EncBinary() - _ = yym812 + if yyq819[1] { + yym824 := z.EncBinary() + _ = yym824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11587,23 +11851,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq807[1] { + if yyq819[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym813 := z.EncBinary() - _ = yym813 + yym825 := z.EncBinary() + _ = yym825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq807[2] { - yym815 := z.EncBinary() - _ = yym815 + if yyq819[2] { + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11612,19 +11876,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq807[2] { + if yyq819[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym816 := z.EncBinary() - _ = yym816 + yym828 := z.EncBinary() + _ = yym828 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11637,25 +11901,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym817 := z.DecBinary() - _ = yym817 + yym829 := z.DecBinary() + _ = yym829 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct818 := r.ContainerType() - if yyct818 == codecSelferValueTypeMap1234 { - yyl818 := r.ReadMapStart() - if yyl818 == 0 { + yyct830 := r.ContainerType() + if yyct830 == codecSelferValueTypeMap1234 { + yyl830 := r.ReadMapStart() + if yyl830 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl818, d) + x.codecDecodeSelfFromMap(yyl830, d) } - } else if yyct818 == codecSelferValueTypeArray1234 { - yyl818 := r.ReadArrayStart() - if yyl818 == 0 { + } else if yyct830 == codecSelferValueTypeArray1234 { + yyl830 := r.ReadArrayStart() + if yyl830 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl818, d) + x.codecDecodeSelfFromArray(yyl830, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11667,12 +11931,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys819Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys819Slc - var yyhl819 bool = l >= 0 - for yyj819 := 0; ; yyj819++ { - if yyhl819 { - if yyj819 >= l { + var yys831Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys831Slc + var yyhl831 bool = l >= 0 + for yyj831 := 0; ; yyj831++ { + if yyhl831 { + if yyj831 >= l { break } } else { @@ -11681,10 +11945,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys819Slc = r.DecodeBytes(yys819Slc, true, true) - yys819 := string(yys819Slc) + yys831Slc = r.DecodeBytes(yys831Slc, true, true) + yys831 := string(yys831Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys819 { + switch yys831 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -11704,9 +11968,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys819) - } // end switch yys819 - } // end for yyj819 + z.DecStructFieldNotFound(-1, yys831) + } // end switch yys831 + } // end for yyj831 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11714,16 +11978,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj823 int - var yyb823 bool - var yyhl823 bool = l >= 0 - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l + var yyj835 int + var yyb835 bool + var yyhl835 bool = l >= 0 + yyj835++ + if yyhl835 { + yyb835 = yyj835 > l } else { - yyb823 = r.CheckBreak() + yyb835 = r.CheckBreak() } - if yyb823 { + if yyb835 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11733,13 +11997,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l + yyj835++ + if yyhl835 { + yyb835 = yyj835 > l } else { - yyb823 = r.CheckBreak() + yyb835 = r.CheckBreak() } - if yyb823 { + if yyb835 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11749,13 +12013,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l + yyj835++ + if yyhl835 { + yyb835 = yyj835 > l } else { - yyb823 = r.CheckBreak() + yyb835 = r.CheckBreak() } - if yyb823 { + if yyb835 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11766,17 +12030,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l + yyj835++ + if yyhl835 { + yyb835 = yyj835 > l } else { - yyb823 = r.CheckBreak() + yyb835 = r.CheckBreak() } - if yyb823 { + if yyb835 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj823-1, "") + z.DecStructFieldNotFound(yyj835-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11788,41 +12052,41 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym827 := z.EncBinary() - _ = yym827 + yym839 := z.EncBinary() + _ = yym839 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep828 := !z.EncBinary() - yy2arr828 := z.EncBasicHandle().StructToArray - var yyq828 [6]bool - _, _, _ = yysep828, yyq828, yy2arr828 - const yyr828 bool = false - yyq828[1] = x.Path != "" - yyq828[2] = x.User != "" - yyq828[3] = x.SecretFile != "" - yyq828[4] = x.SecretRef != nil - yyq828[5] = x.ReadOnly != false - var yynn828 int - if yyr828 || yy2arr828 { + yysep840 := !z.EncBinary() + yy2arr840 := z.EncBasicHandle().StructToArray + var yyq840 [6]bool + _, _, _ = yysep840, yyq840, yy2arr840 + const yyr840 bool = false + yyq840[1] = x.Path != "" + yyq840[2] = x.User != "" + yyq840[3] = x.SecretFile != "" + yyq840[4] = x.SecretRef != nil + yyq840[5] = x.ReadOnly != false + var yynn840 int + if yyr840 || yy2arr840 { r.EncodeArrayStart(6) } else { - yynn828 = 1 - for _, b := range yyq828 { + yynn840 = 1 + for _, b := range yyq840 { if b { - yynn828++ + yynn840++ } } - r.EncodeMapStart(yynn828) - yynn828 = 0 + r.EncodeMapStart(yynn840) + yynn840 = 0 } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym830 := z.EncBinary() - _ = yym830 + yym842 := z.EncBinary() + _ = yym842 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -11835,19 +12099,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym831 := z.EncBinary() - _ = yym831 + yym843 := z.EncBinary() + _ = yym843 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq828[1] { - yym833 := z.EncBinary() - _ = yym833 + if yyq840[1] { + yym845 := z.EncBinary() + _ = yym845 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11856,23 +12120,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq828[1] { + if yyq840[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym834 := z.EncBinary() - _ = yym834 + yym846 := z.EncBinary() + _ = yym846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq828[2] { - yym836 := z.EncBinary() - _ = yym836 + if yyq840[2] { + yym848 := z.EncBinary() + _ = yym848 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -11881,23 +12145,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq828[2] { + if yyq840[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym837 := z.EncBinary() - _ = yym837 + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq828[3] { - yym839 := z.EncBinary() - _ = yym839 + if yyq840[3] { + yym851 := z.EncBinary() + _ = yym851 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -11906,21 +12170,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq828[3] { + if yyq840[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym840 := z.EncBinary() - _ = yym840 + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq828[4] { + if yyq840[4] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -11930,7 +12194,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq828[4] { + if yyq840[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -11941,11 +12205,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq828[5] { - yym843 := z.EncBinary() - _ = yym843 + if yyq840[5] { + yym855 := z.EncBinary() + _ = yym855 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11954,19 +12218,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq828[5] { + if yyq840[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym844 := z.EncBinary() - _ = yym844 + yym856 := z.EncBinary() + _ = yym856 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr828 || yy2arr828 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11979,25 +12243,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym845 := z.DecBinary() - _ = yym845 + yym857 := z.DecBinary() + _ = yym857 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct846 := r.ContainerType() - if yyct846 == codecSelferValueTypeMap1234 { - yyl846 := r.ReadMapStart() - if yyl846 == 0 { + yyct858 := r.ContainerType() + if yyct858 == codecSelferValueTypeMap1234 { + yyl858 := r.ReadMapStart() + if yyl858 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl846, d) + x.codecDecodeSelfFromMap(yyl858, d) } - } else if yyct846 == codecSelferValueTypeArray1234 { - yyl846 := r.ReadArrayStart() - if yyl846 == 0 { + } else if yyct858 == codecSelferValueTypeArray1234 { + yyl858 := r.ReadArrayStart() + if yyl858 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl846, d) + x.codecDecodeSelfFromArray(yyl858, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12009,12 +12273,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys847Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys847Slc - var yyhl847 bool = l >= 0 - for yyj847 := 0; ; yyj847++ { - if yyhl847 { - if yyj847 >= l { + var yys859Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys859Slc + var yyhl859 bool = l >= 0 + for yyj859 := 0; ; yyj859++ { + if yyhl859 { + if yyj859 >= l { break } } else { @@ -12023,20 +12287,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys847Slc = r.DecodeBytes(yys847Slc, true, true) - yys847 := string(yys847Slc) + yys859Slc = r.DecodeBytes(yys859Slc, true, true) + yys859 := string(yys859Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys847 { + switch yys859 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv848 := &x.Monitors - yym849 := z.DecBinary() - _ = yym849 + yyv860 := &x.Monitors + yym861 := z.DecBinary() + _ = yym861 if false { } else { - z.F.DecSliceStringX(yyv848, false, d) + z.F.DecSliceStringX(yyv860, false, d) } } case "path": @@ -12075,9 +12339,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys847) - } // end switch yys847 - } // end for yyj847 + z.DecStructFieldNotFound(-1, yys859) + } // end switch yys859 + } // end for yyj859 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12085,16 +12349,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj855 int - var yyb855 bool - var yyhl855 bool = l >= 0 - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + var yyj867 int + var yyb867 bool + var yyhl867 bool = l >= 0 + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12102,21 +12366,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv856 := &x.Monitors - yym857 := z.DecBinary() - _ = yym857 + yyv868 := &x.Monitors + yym869 := z.DecBinary() + _ = yym869 if false { } else { - z.F.DecSliceStringX(yyv856, false, d) + z.F.DecSliceStringX(yyv868, false, d) } } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12126,13 +12390,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Path = string(r.DecodeString()) } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12142,13 +12406,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12158,13 +12422,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12179,13 +12443,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12196,17 +12460,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb855 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb855 { + if yyb867 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj855-1, "") + z.DecStructFieldNotFound(yyj867-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12218,33 +12482,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym863 := z.EncBinary() - _ = yym863 + yym875 := z.EncBinary() + _ = yym875 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep864 := !z.EncBinary() - yy2arr864 := z.EncBasicHandle().StructToArray - var yyq864 [1]bool - _, _, _ = yysep864, yyq864, yy2arr864 - const yyr864 bool = false - var yynn864 int - if yyr864 || yy2arr864 { + yysep876 := !z.EncBinary() + yy2arr876 := z.EncBasicHandle().StructToArray + var yyq876 [1]bool + _, _, _ = yysep876, yyq876, yy2arr876 + const yyr876 bool = false + var yynn876 int + if yyr876 || yy2arr876 { r.EncodeArrayStart(1) } else { - yynn864 = 1 - for _, b := range yyq864 { + yynn876 = 1 + for _, b := range yyq876 { if b { - yynn864++ + yynn876++ } } - r.EncodeMapStart(yynn864) - yynn864 = 0 + r.EncodeMapStart(yynn876) + yynn876 = 0 } - if yyr864 || yy2arr864 { + if yyr876 || yy2arr876 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym866 := z.EncBinary() - _ = yym866 + yym878 := z.EncBinary() + _ = yym878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -12253,14 +12517,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym867 := z.EncBinary() - _ = yym867 + yym879 := z.EncBinary() + _ = yym879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr864 || yy2arr864 { + if yyr876 || yy2arr876 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12273,25 +12537,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym868 := z.DecBinary() - _ = yym868 + yym880 := z.DecBinary() + _ = yym880 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct869 := r.ContainerType() - if yyct869 == codecSelferValueTypeMap1234 { - yyl869 := r.ReadMapStart() - if yyl869 == 0 { + yyct881 := r.ContainerType() + if yyct881 == codecSelferValueTypeMap1234 { + yyl881 := r.ReadMapStart() + if yyl881 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl869, d) + x.codecDecodeSelfFromMap(yyl881, d) } - } else if yyct869 == codecSelferValueTypeArray1234 { - yyl869 := r.ReadArrayStart() - if yyl869 == 0 { + } else if yyct881 == codecSelferValueTypeArray1234 { + yyl881 := r.ReadArrayStart() + if yyl881 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl869, d) + x.codecDecodeSelfFromArray(yyl881, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12303,12 +12567,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys870Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys870Slc - var yyhl870 bool = l >= 0 - for yyj870 := 0; ; yyj870++ { - if yyhl870 { - if yyj870 >= l { + var yys882Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys882Slc + var yyhl882 bool = l >= 0 + for yyj882 := 0; ; yyj882++ { + if yyhl882 { + if yyj882 >= l { break } } else { @@ -12317,10 +12581,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys870Slc = r.DecodeBytes(yys870Slc, true, true) - yys870 := string(yys870Slc) + yys882Slc = r.DecodeBytes(yys882Slc, true, true) + yys882 := string(yys882Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys870 { + switch yys882 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -12328,196 +12592,13 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys870) - } // end switch yys870 - } // end for yyj870 + z.DecStructFieldNotFound(-1, yys882) + } // end switch yys882 + } // end for yyj882 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj872 int - var yyb872 bool - var yyhl872 bool = l >= 0 - yyj872++ - if yyhl872 { - yyb872 = yyj872 > l - } else { - yyb872 = r.CheckBreak() - } - if yyb872 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DatasetName = "" - } else { - x.DatasetName = string(r.DecodeString()) - } - for { - yyj872++ - if yyhl872 { - yyb872 = yyj872 > l - } else { - yyb872 = r.CheckBreak() - } - if yyb872 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj872-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym874 := z.EncBinary() - _ = yym874 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep875 := !z.EncBinary() - yy2arr875 := z.EncBasicHandle().StructToArray - var yyq875 [1]bool - _, _, _ = yysep875, yyq875, yy2arr875 - const yyr875 bool = false - yyq875[0] = len(x.Items) != 0 - var yynn875 int - if yyr875 || yy2arr875 { - r.EncodeArrayStart(1) - } else { - yynn875 = 0 - for _, b := range yyq875 { - if b { - yynn875++ - } - } - r.EncodeMapStart(yynn875) - yynn875 = 0 - } - if yyr875 || yy2arr875 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq875[0] { - if x.Items == nil { - r.EncodeNil() - } else { - yym877 := z.EncBinary() - _ = yym877 - if false { - } else { - h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq875[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym878 := z.EncBinary() - _ = yym878 - if false { - } else { - h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) - } - } - } - } - if yyr875 || yy2arr875 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym879 := z.DecBinary() - _ = yym879 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct880 := r.ContainerType() - if yyct880 == codecSelferValueTypeMap1234 { - yyl880 := r.ReadMapStart() - if yyl880 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl880, d) - } - } else if yyct880 == codecSelferValueTypeArray1234 { - yyl880 := r.ReadArrayStart() - if yyl880 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl880, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys881Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys881Slc - var yyhl881 bool = l >= 0 - for yyj881 := 0; ; yyj881++ { - if yyhl881 { - if yyj881 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys881Slc = r.DecodeBytes(yys881Slc, true, true) - yys881 := string(yys881Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys881 { - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv882 := &x.Items - yym883 := z.DecBinary() - _ = yym883 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv882), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys881) - } // end switch yys881 - } // end for yyj881 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -12536,15 +12617,9 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.DatasetName = "" } else { - yyv885 := &x.Items - yym886 := z.DecBinary() - _ = yym886 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv885), d) - } + x.DatasetName = string(r.DecodeString()) } for { yyj884++ @@ -12562,6 +12637,195 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym886 := z.EncBinary() + _ = yym886 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep887 := !z.EncBinary() + yy2arr887 := z.EncBasicHandle().StructToArray + var yyq887 [1]bool + _, _, _ = yysep887, yyq887, yy2arr887 + const yyr887 bool = false + yyq887[0] = len(x.Items) != 0 + var yynn887 int + if yyr887 || yy2arr887 { + r.EncodeArrayStart(1) + } else { + yynn887 = 0 + for _, b := range yyq887 { + if b { + yynn887++ + } + } + r.EncodeMapStart(yynn887) + yynn887 = 0 + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq887[0] { + if x.Items == nil { + r.EncodeNil() + } else { + yym889 := z.EncBinary() + _ = yym889 + if false { + } else { + h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq887[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym890 := z.EncBinary() + _ = yym890 + if false { + } else { + h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) + } + } + } + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym891 := z.DecBinary() + _ = yym891 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct892 := r.ContainerType() + if yyct892 == codecSelferValueTypeMap1234 { + yyl892 := r.ReadMapStart() + if yyl892 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl892, d) + } + } else if yyct892 == codecSelferValueTypeArray1234 { + yyl892 := r.ReadArrayStart() + if yyl892 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl892, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys893Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys893Slc + var yyhl893 bool = l >= 0 + for yyj893 := 0; ; yyj893++ { + if yyhl893 { + if yyj893 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys893Slc = r.DecodeBytes(yys893Slc, true, true) + yys893 := string(yys893Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys893 { + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv894 := &x.Items + yym895 := z.DecBinary() + _ = yym895 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv894), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys893) + } // end switch yys893 + } // end for yyj893 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj896 int + var yyb896 bool + var yyhl896 bool = l >= 0 + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l + } else { + yyb896 = r.CheckBreak() + } + if yyb896 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv897 := &x.Items + yym898 := z.DecBinary() + _ = yym898 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv897), d) + } + } + for { + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l + } else { + yyb896 = r.CheckBreak() + } + if yyb896 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj896-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -12569,33 +12833,33 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym887 := z.EncBinary() - _ = yym887 + yym899 := z.EncBinary() + _ = yym899 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep888 := !z.EncBinary() - yy2arr888 := z.EncBasicHandle().StructToArray - var yyq888 [2]bool - _, _, _ = yysep888, yyq888, yy2arr888 - const yyr888 bool = false - var yynn888 int - if yyr888 || yy2arr888 { + yysep900 := !z.EncBinary() + yy2arr900 := z.EncBasicHandle().StructToArray + var yyq900 [2]bool + _, _, _ = yysep900, yyq900, yy2arr900 + const yyr900 bool = false + var yynn900 int + if yyr900 || yy2arr900 { r.EncodeArrayStart(2) } else { - yynn888 = 2 - for _, b := range yyq888 { + yynn900 = 2 + for _, b := range yyq900 { if b { - yynn888++ + yynn900++ } } - r.EncodeMapStart(yynn888) - yynn888 = 0 + r.EncodeMapStart(yynn900) + yynn900 = 0 } - if yyr888 || yy2arr888 { + if yyr900 || yy2arr900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym890 := z.EncBinary() - _ = yym890 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -12604,25 +12868,25 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym891 := z.EncBinary() - _ = yym891 + yym903 := z.EncBinary() + _ = yym903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr888 || yy2arr888 { + if yyr900 || yy2arr900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy893 := &x.FieldRef - yy893.CodecEncodeSelf(e) + yy905 := &x.FieldRef + yy905.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy894 := &x.FieldRef - yy894.CodecEncodeSelf(e) + yy906 := &x.FieldRef + yy906.CodecEncodeSelf(e) } - if yyr888 || yy2arr888 { + if yyr900 || yy2arr900 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12635,25 +12899,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym895 := z.DecBinary() - _ = yym895 + yym907 := z.DecBinary() + _ = yym907 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct896 := r.ContainerType() - if yyct896 == codecSelferValueTypeMap1234 { - yyl896 := r.ReadMapStart() - if yyl896 == 0 { + yyct908 := r.ContainerType() + if yyct908 == codecSelferValueTypeMap1234 { + yyl908 := r.ReadMapStart() + if yyl908 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl896, d) + x.codecDecodeSelfFromMap(yyl908, d) } - } else if yyct896 == codecSelferValueTypeArray1234 { - yyl896 := r.ReadArrayStart() - if yyl896 == 0 { + } else if yyct908 == codecSelferValueTypeArray1234 { + yyl908 := r.ReadArrayStart() + if yyl908 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl896, d) + x.codecDecodeSelfFromArray(yyl908, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12665,12 +12929,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys897Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys897Slc - var yyhl897 bool = l >= 0 - for yyj897 := 0; ; yyj897++ { - if yyhl897 { - if yyj897 >= l { + var yys909Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys909Slc + var yyhl909 bool = l >= 0 + for yyj909 := 0; ; yyj909++ { + if yyhl909 { + if yyj909 >= l { break } } else { @@ -12679,10 +12943,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys897Slc = r.DecodeBytes(yys897Slc, true, true) - yys897 := string(yys897Slc) + yys909Slc = r.DecodeBytes(yys909Slc, true, true) + yys909 := string(yys909Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys897 { + switch yys909 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -12693,13 +12957,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv899 := &x.FieldRef - yyv899.CodecDecodeSelf(d) + yyv911 := &x.FieldRef + yyv911.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys897) - } // end switch yys897 - } // end for yyj897 + z.DecStructFieldNotFound(-1, yys909) + } // end switch yys909 + } // end for yyj909 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12707,16 +12971,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj900 int - var yyb900 bool - var yyhl900 bool = l >= 0 - yyj900++ - if yyhl900 { - yyb900 = yyj900 > l + var yyj912 int + var yyb912 bool + var yyhl912 bool = l >= 0 + yyj912++ + if yyhl912 { + yyb912 = yyj912 > l } else { - yyb900 = r.CheckBreak() + yyb912 = r.CheckBreak() } - if yyb900 { + if yyb912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12726,13 +12990,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj900++ - if yyhl900 { - yyb900 = yyj900 > l + yyj912++ + if yyhl912 { + yyb912 = yyj912 > l } else { - yyb900 = r.CheckBreak() + yyb912 = r.CheckBreak() } - if yyb900 { + if yyb912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12740,21 +13004,272 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv902 := &x.FieldRef - yyv902.CodecDecodeSelf(d) + yyv914 := &x.FieldRef + yyv914.CodecDecodeSelf(d) } for { - yyj900++ - if yyhl900 { - yyb900 = yyj900 > l + yyj912++ + if yyhl912 { + yyb912 = yyj912 > l } else { - yyb900 = r.CheckBreak() + yyb912 = r.CheckBreak() } - if yyb900 { + if yyb912 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj900-1, "") + z.DecStructFieldNotFound(yyj912-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym915 := z.EncBinary() + _ = yym915 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep916 := !z.EncBinary() + yy2arr916 := z.EncBasicHandle().StructToArray + var yyq916 [3]bool + _, _, _ = yysep916, yyq916, yy2arr916 + const yyr916 bool = false + yyq916[2] = x.ReadOnly != false + var yynn916 int + if yyr916 || yy2arr916 { + r.EncodeArrayStart(3) + } else { + yynn916 = 2 + for _, b := range yyq916 { + if b { + yynn916++ + } + } + r.EncodeMapStart(yynn916) + yynn916 = 0 + } + if yyr916 || yy2arr916 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym918 := z.EncBinary() + _ = yym918 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym919 := z.EncBinary() + _ = yym919 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } + if yyr916 || yy2arr916 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym921 := z.EncBinary() + _ = yym921 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("shareName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym922 := z.EncBinary() + _ = yym922 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) + } + } + if yyr916 || yy2arr916 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq916[2] { + yym924 := z.EncBinary() + _ = yym924 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq916[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("readOnly")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym925 := z.EncBinary() + _ = yym925 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } + } + if yyr916 || yy2arr916 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym926 := z.DecBinary() + _ = yym926 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct927 := r.ContainerType() + if yyct927 == codecSelferValueTypeMap1234 { + yyl927 := r.ReadMapStart() + if yyl927 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl927, d) + } + } else if yyct927 == codecSelferValueTypeArray1234 { + yyl927 := r.ReadArrayStart() + if yyl927 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl927, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys928Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys928Slc + var yyhl928 bool = l >= 0 + for yyj928 := 0; ; yyj928++ { + if yyhl928 { + if yyj928 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys928Slc = r.DecodeBytes(yys928Slc, true, true) + yys928 := string(yys928Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys928 { + case "secretName": + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + case "shareName": + if r.TryDecodeAsNil() { + x.ShareName = "" + } else { + x.ShareName = string(r.DecodeString()) + } + case "readOnly": + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys928) + } // end switch yys928 + } // end for yyj928 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj932 int + var yyb932 bool + var yyhl932 bool = l >= 0 + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l + } else { + yyb932 = r.CheckBreak() + } + if yyb932 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l + } else { + yyb932 = r.CheckBreak() + } + if yyb932 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ShareName = "" + } else { + x.ShareName = string(r.DecodeString()) + } + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l + } else { + yyb932 = r.CheckBreak() + } + if yyb932 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + for { + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l + } else { + yyb932 = r.CheckBreak() + } + if yyb932 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj932-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12766,38 +13281,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym903 := z.EncBinary() - _ = yym903 + yym936 := z.EncBinary() + _ = yym936 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep904 := !z.EncBinary() - yy2arr904 := z.EncBasicHandle().StructToArray - var yyq904 [5]bool - _, _, _ = yysep904, yyq904, yy2arr904 - const yyr904 bool = false - yyq904[0] = x.Name != "" - yyq904[1] = x.HostPort != 0 - yyq904[3] = x.Protocol != "" - yyq904[4] = x.HostIP != "" - var yynn904 int - if yyr904 || yy2arr904 { + yysep937 := !z.EncBinary() + yy2arr937 := z.EncBasicHandle().StructToArray + var yyq937 [5]bool + _, _, _ = yysep937, yyq937, yy2arr937 + const yyr937 bool = false + yyq937[0] = x.Name != "" + yyq937[1] = x.HostPort != 0 + yyq937[3] = x.Protocol != "" + yyq937[4] = x.HostIP != "" + var yynn937 int + if yyr937 || yy2arr937 { r.EncodeArrayStart(5) } else { - yynn904 = 1 - for _, b := range yyq904 { + yynn937 = 1 + for _, b := range yyq937 { if b { - yynn904++ + yynn937++ } } - r.EncodeMapStart(yynn904) - yynn904 = 0 + r.EncodeMapStart(yynn937) + yynn937 = 0 } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[0] { - yym906 := z.EncBinary() - _ = yym906 + if yyq937[0] { + yym939 := z.EncBinary() + _ = yym939 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12806,23 +13321,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq904[0] { + if yyq937[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym940 := z.EncBinary() + _ = yym940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[1] { - yym909 := z.EncBinary() - _ = yym909 + if yyq937[1] { + yym942 := z.EncBinary() + _ = yym942 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -12831,22 +13346,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[1] { + if yyq937[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym943 := z.EncBinary() + _ = yym943 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym912 := z.EncBinary() - _ = yym912 + yym945 := z.EncBinary() + _ = yym945 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -12855,33 +13370,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym913 := z.EncBinary() - _ = yym913 + yym946 := z.EncBinary() + _ = yym946 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[3] { + if yyq937[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq904[3] { + if yyq937[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[4] { - yym916 := z.EncBinary() - _ = yym916 + if yyq937[4] { + yym949 := z.EncBinary() + _ = yym949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -12890,19 +13405,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq904[4] { + if yyq937[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym917 := z.EncBinary() - _ = yym917 + yym950 := z.EncBinary() + _ = yym950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12915,25 +13430,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym918 := z.DecBinary() - _ = yym918 + yym951 := z.DecBinary() + _ = yym951 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct919 := r.ContainerType() - if yyct919 == codecSelferValueTypeMap1234 { - yyl919 := r.ReadMapStart() - if yyl919 == 0 { + yyct952 := r.ContainerType() + if yyct952 == codecSelferValueTypeMap1234 { + yyl952 := r.ReadMapStart() + if yyl952 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl919, d) + x.codecDecodeSelfFromMap(yyl952, d) } - } else if yyct919 == codecSelferValueTypeArray1234 { - yyl919 := r.ReadArrayStart() - if yyl919 == 0 { + } else if yyct952 == codecSelferValueTypeArray1234 { + yyl952 := r.ReadArrayStart() + if yyl952 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl919, d) + x.codecDecodeSelfFromArray(yyl952, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12945,12 +13460,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys920Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys920Slc - var yyhl920 bool = l >= 0 - for yyj920 := 0; ; yyj920++ { - if yyhl920 { - if yyj920 >= l { + var yys953Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys953Slc + var yyhl953 bool = l >= 0 + for yyj953 := 0; ; yyj953++ { + if yyhl953 { + if yyj953 >= l { break } } else { @@ -12959,10 +13474,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys920Slc = r.DecodeBytes(yys920Slc, true, true) - yys920 := string(yys920Slc) + yys953Slc = r.DecodeBytes(yys953Slc, true, true) + yys953 := string(yys953Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys920 { + switch yys953 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12994,9 +13509,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys920) - } // end switch yys920 - } // end for yyj920 + z.DecStructFieldNotFound(-1, yys953) + } // end switch yys953 + } // end for yyj953 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13004,16 +13519,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj926 int - var yyb926 bool - var yyhl926 bool = l >= 0 - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + var yyj959 int + var yyb959 bool + var yyhl959 bool = l >= 0 + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13023,13 +13538,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13039,13 +13554,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13055,13 +13570,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13071,13 +13586,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13088,17 +13603,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj959++ + if yyhl959 { + yyb959 = yyj959 > l } else { - yyb926 = r.CheckBreak() + yyb959 = r.CheckBreak() } - if yyb926 { + if yyb959 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj926-1, "") + z.DecStructFieldNotFound(yyj959-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13110,34 +13625,34 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym932 := z.EncBinary() - _ = yym932 + yym965 := z.EncBinary() + _ = yym965 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep933 := !z.EncBinary() - yy2arr933 := z.EncBasicHandle().StructToArray - var yyq933 [3]bool - _, _, _ = yysep933, yyq933, yy2arr933 - const yyr933 bool = false - yyq933[1] = x.ReadOnly != false - var yynn933 int - if yyr933 || yy2arr933 { + yysep966 := !z.EncBinary() + yy2arr966 := z.EncBasicHandle().StructToArray + var yyq966 [3]bool + _, _, _ = yysep966, yyq966, yy2arr966 + const yyr966 bool = false + yyq966[1] = x.ReadOnly != false + var yynn966 int + if yyr966 || yy2arr966 { r.EncodeArrayStart(3) } else { - yynn933 = 2 - for _, b := range yyq933 { + yynn966 = 2 + for _, b := range yyq966 { if b { - yynn933++ + yynn966++ } } - r.EncodeMapStart(yynn933) - yynn933 = 0 + r.EncodeMapStart(yynn966) + yynn966 = 0 } - if yyr933 || yy2arr933 { + if yyr966 || yy2arr966 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym935 := z.EncBinary() - _ = yym935 + yym968 := z.EncBinary() + _ = yym968 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -13146,18 +13661,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym936 := z.EncBinary() - _ = yym936 + yym969 := z.EncBinary() + _ = yym969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr933 || yy2arr933 { + if yyr966 || yy2arr966 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[1] { - yym938 := z.EncBinary() - _ = yym938 + if yyq966[1] { + yym971 := z.EncBinary() + _ = yym971 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13166,22 +13681,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[1] { + if yyq966[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym939 := z.EncBinary() - _ = yym939 + yym972 := z.EncBinary() + _ = yym972 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr933 || yy2arr933 { + if yyr966 || yy2arr966 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym941 := z.EncBinary() - _ = yym941 + yym974 := z.EncBinary() + _ = yym974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -13190,14 +13705,14 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym942 := z.EncBinary() - _ = yym942 + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr933 || yy2arr933 { + if yyr966 || yy2arr966 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13210,25 +13725,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym943 := z.DecBinary() - _ = yym943 + yym976 := z.DecBinary() + _ = yym976 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct944 := r.ContainerType() - if yyct944 == codecSelferValueTypeMap1234 { - yyl944 := r.ReadMapStart() - if yyl944 == 0 { + yyct977 := r.ContainerType() + if yyct977 == codecSelferValueTypeMap1234 { + yyl977 := r.ReadMapStart() + if yyl977 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl944, d) + x.codecDecodeSelfFromMap(yyl977, d) } - } else if yyct944 == codecSelferValueTypeArray1234 { - yyl944 := r.ReadArrayStart() - if yyl944 == 0 { + } else if yyct977 == codecSelferValueTypeArray1234 { + yyl977 := r.ReadArrayStart() + if yyl977 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl944, d) + x.codecDecodeSelfFromArray(yyl977, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13240,12 +13755,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys945Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys945Slc - var yyhl945 bool = l >= 0 - for yyj945 := 0; ; yyj945++ { - if yyhl945 { - if yyj945 >= l { + var yys978Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys978Slc + var yyhl978 bool = l >= 0 + for yyj978 := 0; ; yyj978++ { + if yyhl978 { + if yyj978 >= l { break } } else { @@ -13254,10 +13769,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys945Slc = r.DecodeBytes(yys945Slc, true, true) - yys945 := string(yys945Slc) + yys978Slc = r.DecodeBytes(yys978Slc, true, true) + yys978 := string(yys978Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys945 { + switch yys978 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -13277,9 +13792,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys945) - } // end switch yys945 - } // end for yyj945 + z.DecStructFieldNotFound(-1, yys978) + } // end switch yys978 + } // end for yyj978 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13287,16 +13802,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj949 int - var yyb949 bool - var yyhl949 bool = l >= 0 - yyj949++ - if yyhl949 { - yyb949 = yyj949 > l + var yyj982 int + var yyb982 bool + var yyhl982 bool = l >= 0 + yyj982++ + if yyhl982 { + yyb982 = yyj982 > l } else { - yyb949 = r.CheckBreak() + yyb982 = r.CheckBreak() } - if yyb949 { + if yyb982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13306,13 +13821,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj949++ - if yyhl949 { - yyb949 = yyj949 > l + yyj982++ + if yyhl982 { + yyb982 = yyj982 > l } else { - yyb949 = r.CheckBreak() + yyb982 = r.CheckBreak() } - if yyb949 { + if yyb982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13322,13 +13837,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj949++ - if yyhl949 { - yyb949 = yyj949 > l + yyj982++ + if yyhl982 { + yyb982 = yyj982 > l } else { - yyb949 = r.CheckBreak() + yyb982 = r.CheckBreak() } - if yyb949 { + if yyb982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13339,17 +13854,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } for { - yyj949++ - if yyhl949 { - yyb949 = yyj949 > l + yyj982++ + if yyhl982 { + yyb982 = yyj982 > l } else { - yyb949 = r.CheckBreak() + yyb982 = r.CheckBreak() } - if yyb949 { + if yyb982 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj949-1, "") + z.DecStructFieldNotFound(yyj982-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13361,35 +13876,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym953 := z.EncBinary() - _ = yym953 + yym986 := z.EncBinary() + _ = yym986 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep954 := !z.EncBinary() - yy2arr954 := z.EncBasicHandle().StructToArray - var yyq954 [3]bool - _, _, _ = yysep954, yyq954, yy2arr954 - const yyr954 bool = false - yyq954[1] = x.Value != "" - yyq954[2] = x.ValueFrom != nil - var yynn954 int - if yyr954 || yy2arr954 { + yysep987 := !z.EncBinary() + yy2arr987 := z.EncBasicHandle().StructToArray + var yyq987 [3]bool + _, _, _ = yysep987, yyq987, yy2arr987 + const yyr987 bool = false + yyq987[1] = x.Value != "" + yyq987[2] = x.ValueFrom != nil + var yynn987 int + if yyr987 || yy2arr987 { r.EncodeArrayStart(3) } else { - yynn954 = 1 - for _, b := range yyq954 { + yynn987 = 1 + for _, b := range yyq987 { if b { - yynn954++ + yynn987++ } } - r.EncodeMapStart(yynn954) - yynn954 = 0 + r.EncodeMapStart(yynn987) + yynn987 = 0 } - if yyr954 || yy2arr954 { + if yyr987 || yy2arr987 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym956 := z.EncBinary() - _ = yym956 + yym989 := z.EncBinary() + _ = yym989 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -13398,18 +13913,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym957 := z.EncBinary() - _ = yym957 + yym990 := z.EncBinary() + _ = yym990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr954 || yy2arr954 { + if yyr987 || yy2arr987 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq954[1] { - yym959 := z.EncBinary() - _ = yym959 + if yyq987[1] { + yym992 := z.EncBinary() + _ = yym992 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -13418,21 +13933,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq954[1] { + if yyq987[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym960 := z.EncBinary() - _ = yym960 + yym993 := z.EncBinary() + _ = yym993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr954 || yy2arr954 { + if yyr987 || yy2arr987 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq954[2] { + if yyq987[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -13442,7 +13957,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq954[2] { + if yyq987[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13453,7 +13968,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr954 || yy2arr954 { + if yyr987 || yy2arr987 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13466,25 +13981,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym962 := z.DecBinary() - _ = yym962 + yym995 := z.DecBinary() + _ = yym995 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct963 := r.ContainerType() - if yyct963 == codecSelferValueTypeMap1234 { - yyl963 := r.ReadMapStart() - if yyl963 == 0 { + yyct996 := r.ContainerType() + if yyct996 == codecSelferValueTypeMap1234 { + yyl996 := r.ReadMapStart() + if yyl996 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl963, d) + x.codecDecodeSelfFromMap(yyl996, d) } - } else if yyct963 == codecSelferValueTypeArray1234 { - yyl963 := r.ReadArrayStart() - if yyl963 == 0 { + } else if yyct996 == codecSelferValueTypeArray1234 { + yyl996 := r.ReadArrayStart() + if yyl996 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl963, d) + x.codecDecodeSelfFromArray(yyl996, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13496,12 +14011,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys964Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys964Slc - var yyhl964 bool = l >= 0 - for yyj964 := 0; ; yyj964++ { - if yyhl964 { - if yyj964 >= l { + var yys997Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys997Slc + var yyhl997 bool = l >= 0 + for yyj997 := 0; ; yyj997++ { + if yyhl997 { + if yyj997 >= l { break } } else { @@ -13510,10 +14025,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys964Slc = r.DecodeBytes(yys964Slc, true, true) - yys964 := string(yys964Slc) + yys997Slc = r.DecodeBytes(yys997Slc, true, true) + yys997 := string(yys997Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys964 { + switch yys997 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -13538,9 +14053,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys964) - } // end switch yys964 - } // end for yyj964 + z.DecStructFieldNotFound(-1, yys997) + } // end switch yys997 + } // end for yyj997 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13548,16 +14063,16 @@ func (x *EnvVar) 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 yyj1001 int + var yyb1001 bool + var yyhl1001 bool = l >= 0 + yyj1001++ + if yyhl1001 { + yyb1001 = yyj1001 > l } else { - yyb968 = r.CheckBreak() + yyb1001 = r.CheckBreak() } - if yyb968 { + if yyb1001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13567,13 +14082,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1001++ + if yyhl1001 { + yyb1001 = yyj1001 > l } else { - yyb968 = r.CheckBreak() + yyb1001 = r.CheckBreak() } - if yyb968 { + if yyb1001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13583,13 +14098,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1001++ + if yyhl1001 { + yyb1001 = yyj1001 > l } else { - yyb968 = r.CheckBreak() + yyb1001 = r.CheckBreak() } - if yyb968 { + if yyb1001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13605,17 +14120,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj968++ - if yyhl968 { - yyb968 = yyj968 > l + yyj1001++ + if yyhl1001 { + yyb1001 = yyj1001 > l } else { - yyb968 = r.CheckBreak() + yyb1001 = r.CheckBreak() } - if yyb968 { + if yyb1001 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj968-1, "") + z.DecStructFieldNotFound(yyj1001-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13627,35 +14142,35 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym972 := z.EncBinary() - _ = yym972 + yym1005 := z.EncBinary() + _ = yym1005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep973 := !z.EncBinary() - yy2arr973 := z.EncBasicHandle().StructToArray - var yyq973 [3]bool - _, _, _ = yysep973, yyq973, yy2arr973 - const yyr973 bool = false - yyq973[0] = x.FieldRef != nil - yyq973[1] = x.ConfigMapKeyRef != nil - yyq973[2] = x.SecretKeyRef != nil - var yynn973 int - if yyr973 || yy2arr973 { + yysep1006 := !z.EncBinary() + yy2arr1006 := z.EncBasicHandle().StructToArray + var yyq1006 [3]bool + _, _, _ = yysep1006, yyq1006, yy2arr1006 + const yyr1006 bool = false + yyq1006[0] = x.FieldRef != nil + yyq1006[1] = x.ConfigMapKeyRef != nil + yyq1006[2] = x.SecretKeyRef != nil + var yynn1006 int + if yyr1006 || yy2arr1006 { r.EncodeArrayStart(3) } else { - yynn973 = 0 - for _, b := range yyq973 { + yynn1006 = 0 + for _, b := range yyq1006 { if b { - yynn973++ + yynn1006++ } } - r.EncodeMapStart(yynn973) - yynn973 = 0 + r.EncodeMapStart(yynn1006) + yynn1006 = 0 } - if yyr973 || yy2arr973 { + if yyr1006 || yy2arr1006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[0] { + if yyq1006[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -13665,7 +14180,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq973[0] { + if yyq1006[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13676,9 +14191,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr973 || yy2arr973 { + if yyr1006 || yy2arr1006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[1] { + if yyq1006[1] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -13688,7 +14203,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq973[1] { + if yyq1006[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13699,9 +14214,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr973 || yy2arr973 { + if yyr1006 || yy2arr1006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[2] { + if yyq1006[2] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -13711,7 +14226,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq973[2] { + if yyq1006[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13722,7 +14237,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr973 || yy2arr973 { + if yyr1006 || yy2arr1006 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13735,25 +14250,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym977 := z.DecBinary() - _ = yym977 + yym1010 := z.DecBinary() + _ = yym1010 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct978 := r.ContainerType() - if yyct978 == codecSelferValueTypeMap1234 { - yyl978 := r.ReadMapStart() - if yyl978 == 0 { + yyct1011 := r.ContainerType() + if yyct1011 == codecSelferValueTypeMap1234 { + yyl1011 := r.ReadMapStart() + if yyl1011 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl978, d) + x.codecDecodeSelfFromMap(yyl1011, d) } - } else if yyct978 == codecSelferValueTypeArray1234 { - yyl978 := r.ReadArrayStart() - if yyl978 == 0 { + } else if yyct1011 == codecSelferValueTypeArray1234 { + yyl1011 := r.ReadArrayStart() + if yyl1011 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl978, d) + x.codecDecodeSelfFromArray(yyl1011, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13765,12 +14280,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys979Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys979Slc - var yyhl979 bool = l >= 0 - for yyj979 := 0; ; yyj979++ { - if yyhl979 { - if yyj979 >= l { + var yys1012Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1012Slc + var yyhl1012 bool = l >= 0 + for yyj1012 := 0; ; yyj1012++ { + if yyhl1012 { + if yyj1012 >= l { break } } else { @@ -13779,10 +14294,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys979Slc = r.DecodeBytes(yys979Slc, true, true) - yys979 := string(yys979Slc) + yys1012Slc = r.DecodeBytes(yys1012Slc, true, true) + yys1012 := string(yys1012Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys979 { + switch yys1012 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -13817,450 +14332,13 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys979) - } // end switch yys979 - } // end for yyj979 + z.DecStructFieldNotFound(-1, yys1012) + } // end switch yys1012 + } // end for yyj1012 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj983 int - var yyb983 bool - var yyhl983 bool = l >= 0 - yyj983++ - if yyhl983 { - yyb983 = yyj983 > l - } else { - yyb983 = r.CheckBreak() - } - if yyb983 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.FieldRef != nil { - x.FieldRef = nil - } - } else { - if x.FieldRef == nil { - x.FieldRef = new(ObjectFieldSelector) - } - x.FieldRef.CodecDecodeSelf(d) - } - yyj983++ - if yyhl983 { - yyb983 = yyj983 > l - } else { - yyb983 = r.CheckBreak() - } - if yyb983 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.ConfigMapKeyRef != nil { - x.ConfigMapKeyRef = nil - } - } else { - if x.ConfigMapKeyRef == nil { - x.ConfigMapKeyRef = new(ConfigMapKeySelector) - } - x.ConfigMapKeyRef.CodecDecodeSelf(d) - } - yyj983++ - if yyhl983 { - yyb983 = yyj983 > l - } else { - yyb983 = r.CheckBreak() - } - if yyb983 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.SecretKeyRef != nil { - x.SecretKeyRef = nil - } - } else { - if x.SecretKeyRef == nil { - x.SecretKeyRef = new(SecretKeySelector) - } - x.SecretKeyRef.CodecDecodeSelf(d) - } - for { - yyj983++ - if yyhl983 { - yyb983 = yyj983 > l - } else { - yyb983 = r.CheckBreak() - } - if yyb983 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj983-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym987 := z.EncBinary() - _ = yym987 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep988 := !z.EncBinary() - yy2arr988 := z.EncBasicHandle().StructToArray - var yyq988 [2]bool - _, _, _ = yysep988, yyq988, yy2arr988 - const yyr988 bool = false - var yynn988 int - if yyr988 || yy2arr988 { - r.EncodeArrayStart(2) - } else { - yynn988 = 2 - for _, b := range yyq988 { - if b { - yynn988++ - } - } - r.EncodeMapStart(yynn988) - yynn988 = 0 - } - if yyr988 || yy2arr988 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym990 := z.EncBinary() - _ = yym990 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym991 := z.EncBinary() - _ = yym991 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - if yyr988 || yy2arr988 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym993 := z.EncBinary() - _ = yym993 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym994 := z.EncBinary() - _ = yym994 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } - if yyr988 || yy2arr988 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym995 := z.DecBinary() - _ = yym995 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct996 := r.ContainerType() - if yyct996 == codecSelferValueTypeMap1234 { - yyl996 := r.ReadMapStart() - if yyl996 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl996, d) - } - } else if yyct996 == codecSelferValueTypeArray1234 { - yyl996 := r.ReadArrayStart() - if yyl996 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl996, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys997Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys997Slc - var yyhl997 bool = l >= 0 - for yyj997 := 0; ; yyj997++ { - if yyhl997 { - if yyj997 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys997Slc = r.DecodeBytes(yys997Slc, true, true) - yys997 := string(yys997Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys997 { - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "fieldPath": - if r.TryDecodeAsNil() { - x.FieldPath = "" - } else { - x.FieldPath = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys997) - } // end switch yys997 - } // end for yyj997 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1000 int - var yyb1000 bool - var yyhl1000 bool = l >= 0 - yyj1000++ - if yyhl1000 { - yyb1000 = yyj1000 > l - } else { - yyb1000 = r.CheckBreak() - } - if yyb1000 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1000++ - if yyhl1000 { - yyb1000 = yyj1000 > l - } else { - yyb1000 = r.CheckBreak() - } - if yyb1000 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FieldPath = "" - } else { - x.FieldPath = string(r.DecodeString()) - } - for { - yyj1000++ - if yyhl1000 { - yyb1000 = yyj1000 > l - } else { - yyb1000 = r.CheckBreak() - } - if yyb1000 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1000-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1003 := z.EncBinary() - _ = yym1003 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1004 := !z.EncBinary() - yy2arr1004 := z.EncBasicHandle().StructToArray - var yyq1004 [2]bool - _, _, _ = yysep1004, yyq1004, yy2arr1004 - const yyr1004 bool = false - var yynn1004 int - if yyr1004 || yy2arr1004 { - r.EncodeArrayStart(2) - } else { - yynn1004 = 2 - for _, b := range yyq1004 { - if b { - yynn1004++ - } - } - r.EncodeMapStart(yynn1004) - yynn1004 = 0 - } - if yyr1004 || yy2arr1004 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1006 := z.EncBinary() - _ = yym1006 - 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) - yym1007 := z.EncBinary() - _ = yym1007 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr1004 || yy2arr1004 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1009 := z.EncBinary() - _ = yym1009 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1010 := z.EncBinary() - _ = yym1010 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - if yyr1004 || yy2arr1004 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1011 := z.DecBinary() - _ = yym1011 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1012 := r.ContainerType() - if yyct1012 == codecSelferValueTypeMap1234 { - yyl1012 := r.ReadMapStart() - if yyl1012 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1012, d) - } - } else if yyct1012 == codecSelferValueTypeArray1234 { - yyl1012 := r.ReadArrayStart() - if yyl1012 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1012, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1013Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1013Slc - var yyhl1013 bool = l >= 0 - for yyj1013 := 0; ; yyj1013++ { - if yyhl1013 { - if yyj1013 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1013Slc = r.DecodeBytes(yys1013Slc, true, true) - yys1013 := string(yys1013Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1013 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "Name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1013) - } // end switch yys1013 - } // end for yyj1013 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -14279,9 +14357,14 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Key = "" + if x.FieldRef != nil { + x.FieldRef = nil + } } else { - x.Key = string(r.DecodeString()) + if x.FieldRef == nil { + x.FieldRef = new(ObjectFieldSelector) + } + x.FieldRef.CodecDecodeSelf(d) } yyj1016++ if yyhl1016 { @@ -14295,9 +14378,35 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Name = "" + if x.ConfigMapKeyRef != nil { + x.ConfigMapKeyRef = nil + } } else { - x.Name = string(r.DecodeString()) + if x.ConfigMapKeyRef == nil { + x.ConfigMapKeyRef = new(ConfigMapKeySelector) + } + x.ConfigMapKeyRef.CodecDecodeSelf(d) + } + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l + } else { + yyb1016 = r.CheckBreak() + } + if yyb1016 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SecretKeyRef != nil { + x.SecretKeyRef = nil + } + } else { + if x.SecretKeyRef == nil { + x.SecretKeyRef = new(SecretKeySelector) + } + x.SecretKeyRef.CodecDecodeSelf(d) } for { yyj1016++ @@ -14315,75 +14424,75 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1019 := z.EncBinary() - _ = yym1019 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1020 := !z.EncBinary() - yy2arr1020 := z.EncBasicHandle().StructToArray - var yyq1020 [2]bool - _, _, _ = yysep1020, yyq1020, yy2arr1020 - const yyr1020 bool = false - var yynn1020 int - if yyr1020 || yy2arr1020 { + yysep1021 := !z.EncBinary() + yy2arr1021 := z.EncBasicHandle().StructToArray + var yyq1021 [2]bool + _, _, _ = yysep1021, yyq1021, yy2arr1021 + const yyr1021 bool = false + var yynn1021 int + if yyr1021 || yy2arr1021 { r.EncodeArrayStart(2) } else { - yynn1020 = 2 - for _, b := range yyq1020 { + yynn1021 = 2 + for _, b := range yyq1021 { if b { - yynn1020++ + yynn1021++ } } - r.EncodeMapStart(yynn1020) - yynn1020 = 0 + r.EncodeMapStart(yynn1021) + yynn1021 = 0 } - if yyr1020 || yy2arr1020 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1022 := z.EncBinary() - _ = yym1022 - 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) yym1023 := z.EncBinary() _ = yym1023 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr1020 || yy2arr1020 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1025 := z.EncBinary() - _ = yym1025 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Name")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1024 := z.EncBinary() + _ = yym1024 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + if yyr1021 || yy2arr1021 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) yym1026 := z.EncBinary() _ = yym1026 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1027 := z.EncBinary() + _ = yym1027 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr1020 || yy2arr1020 { + if yyr1021 || yy2arr1021 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14392,29 +14501,29 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1027 := z.DecBinary() - _ = yym1027 + yym1028 := z.DecBinary() + _ = yym1028 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1028 := r.ContainerType() - if yyct1028 == codecSelferValueTypeMap1234 { - yyl1028 := r.ReadMapStart() - if yyl1028 == 0 { + yyct1029 := r.ContainerType() + if yyct1029 == codecSelferValueTypeMap1234 { + yyl1029 := r.ReadMapStart() + if yyl1029 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1028, d) + x.codecDecodeSelfFromMap(yyl1029, d) } - } else if yyct1028 == codecSelferValueTypeArray1234 { - yyl1028 := r.ReadArrayStart() - if yyl1028 == 0 { + } else if yyct1029 == codecSelferValueTypeArray1234 { + yyl1029 := r.ReadArrayStart() + if yyl1029 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1028, d) + x.codecDecodeSelfFromArray(yyl1029, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14422,16 +14531,16 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1029Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1029Slc - var yyhl1029 bool = l >= 0 - for yyj1029 := 0; ; yyj1029++ { - if yyhl1029 { - if yyj1029 >= l { + var yys1030Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1030Slc + var yyhl1030 bool = l >= 0 + for yyj1030 := 0; ; yyj1030++ { + if yyhl1030 { + if yyj1030 >= l { break } } else { @@ -14440,10 +14549,213 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1029Slc = r.DecodeBytes(yys1029Slc, true, true) - yys1029 := string(yys1029Slc) + yys1030Slc = r.DecodeBytes(yys1030Slc, true, true) + yys1030 := string(yys1030Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1029 { + switch yys1030 { + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "fieldPath": + if r.TryDecodeAsNil() { + x.FieldPath = "" + } else { + x.FieldPath = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1030) + } // end switch yys1030 + } // end for yyj1030 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ObjectFieldSelector) 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 + } else { + yyb1033 = r.CheckBreak() + } + if yyb1033 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l + } else { + yyb1033 = r.CheckBreak() + } + if yyb1033 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FieldPath = "" + } else { + x.FieldPath = string(r.DecodeString()) + } + for { + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l + } else { + yyb1033 = r.CheckBreak() + } + if yyb1033 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1033-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1036 := z.EncBinary() + _ = yym1036 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1037 := !z.EncBinary() + yy2arr1037 := z.EncBasicHandle().StructToArray + var yyq1037 [2]bool + _, _, _ = yysep1037, yyq1037, yy2arr1037 + const yyr1037 bool = false + var yynn1037 int + if yyr1037 || yy2arr1037 { + r.EncodeArrayStart(2) + } else { + yynn1037 = 2 + for _, b := range yyq1037 { + if b { + yynn1037++ + } + } + r.EncodeMapStart(yynn1037) + yynn1037 = 0 + } + if yyr1037 || yy2arr1037 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1039 := z.EncBinary() + _ = yym1039 + 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) + yym1040 := z.EncBinary() + _ = yym1040 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1037 || yy2arr1037 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1042 := z.EncBinary() + _ = yym1042 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1043 := z.EncBinary() + _ = yym1043 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + if yyr1037 || yy2arr1037 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1044 := z.DecBinary() + _ = yym1044 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1045 := r.ContainerType() + if yyct1045 == codecSelferValueTypeMap1234 { + yyl1045 := r.ReadMapStart() + if yyl1045 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1045, d) + } + } else if yyct1045 == codecSelferValueTypeArray1234 { + yyl1045 := r.ReadArrayStart() + if yyl1045 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1045, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1046Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1046Slc + var yyhl1046 bool = l >= 0 + for yyj1046 := 0; ; yyj1046++ { + if yyhl1046 { + if yyj1046 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1046Slc = r.DecodeBytes(yys1046Slc, true, true) + yys1046 := string(yys1046Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1046 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -14457,26 +14769,26 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1029) - } // end switch yys1029 - } // end for yyj1029 + z.DecStructFieldNotFound(-1, yys1046) + } // end switch yys1046 + } // end for yyj1046 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1032 int - var yyb1032 bool - var yyhl1032 bool = l >= 0 - yyj1032++ - if yyhl1032 { - yyb1032 = yyj1032 > l + var yyj1049 int + var yyb1049 bool + var yyhl1049 bool = l >= 0 + yyj1049++ + if yyhl1049 { + yyb1049 = yyj1049 > l } else { - yyb1032 = r.CheckBreak() + yyb1049 = r.CheckBreak() } - if yyb1032 { + if yyb1049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14486,13 +14798,13 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Key = string(r.DecodeString()) } - yyj1032++ - if yyhl1032 { - yyb1032 = yyj1032 > l + yyj1049++ + if yyhl1049 { + yyb1049 = yyj1049 > l } else { - yyb1032 = r.CheckBreak() + yyb1049 = r.CheckBreak() } - if yyb1032 { + if yyb1049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14503,17 +14815,220 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Name = string(r.DecodeString()) } for { - yyj1032++ - if yyhl1032 { - yyb1032 = yyj1032 > l + yyj1049++ + if yyhl1049 { + yyb1049 = yyj1049 > l } else { - yyb1032 = r.CheckBreak() + yyb1049 = r.CheckBreak() } - if yyb1032 { + if yyb1049 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1032-1, "") + z.DecStructFieldNotFound(yyj1049-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1052 := z.EncBinary() + _ = yym1052 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1053 := !z.EncBinary() + yy2arr1053 := z.EncBasicHandle().StructToArray + var yyq1053 [2]bool + _, _, _ = yysep1053, yyq1053, yy2arr1053 + const yyr1053 bool = false + var yynn1053 int + if yyr1053 || yy2arr1053 { + r.EncodeArrayStart(2) + } else { + yynn1053 = 2 + for _, b := range yyq1053 { + if b { + yynn1053++ + } + } + r.EncodeMapStart(yynn1053) + yynn1053 = 0 + } + if yyr1053 || yy2arr1053 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1055 := z.EncBinary() + _ = yym1055 + 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) + yym1056 := z.EncBinary() + _ = yym1056 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1053 || yy2arr1053 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1058 := z.EncBinary() + _ = yym1058 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1059 := z.EncBinary() + _ = yym1059 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + if yyr1053 || yy2arr1053 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1060 := z.DecBinary() + _ = yym1060 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1061 := r.ContainerType() + if yyct1061 == codecSelferValueTypeMap1234 { + yyl1061 := r.ReadMapStart() + if yyl1061 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1061, d) + } + } else if yyct1061 == codecSelferValueTypeArray1234 { + yyl1061 := r.ReadArrayStart() + if yyl1061 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1061, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1062Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1062Slc + var yyhl1062 bool = l >= 0 + for yyj1062 := 0; ; yyj1062++ { + if yyhl1062 { + if yyj1062 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1062Slc = r.DecodeBytes(yys1062Slc, true, true) + yys1062 := string(yys1062Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1062 { + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + case "Name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1062) + } // end switch yys1062 + } // end for yyj1062 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1065 int + var yyb1065 bool + var yyhl1065 bool = l >= 0 + yyj1065++ + if yyhl1065 { + yyb1065 = yyj1065 > l + } else { + yyb1065 = r.CheckBreak() + } + if yyb1065 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + yyj1065++ + if yyhl1065 { + yyb1065 = yyj1065 > l + } else { + yyb1065 = r.CheckBreak() + } + if yyb1065 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + for { + yyj1065++ + if yyhl1065 { + yyb1065 = yyj1065 > l + } else { + yyb1065 = r.CheckBreak() + } + if yyb1065 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1065-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14525,33 +15040,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1035 := z.EncBinary() - _ = yym1035 + yym1068 := z.EncBinary() + _ = yym1068 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1036 := !z.EncBinary() - yy2arr1036 := z.EncBasicHandle().StructToArray - var yyq1036 [2]bool - _, _, _ = yysep1036, yyq1036, yy2arr1036 - const yyr1036 bool = false - var yynn1036 int - if yyr1036 || yy2arr1036 { + yysep1069 := !z.EncBinary() + yy2arr1069 := z.EncBasicHandle().StructToArray + var yyq1069 [2]bool + _, _, _ = yysep1069, yyq1069, yy2arr1069 + const yyr1069 bool = false + var yynn1069 int + if yyr1069 || yy2arr1069 { r.EncodeArrayStart(2) } else { - yynn1036 = 2 - for _, b := range yyq1036 { + yynn1069 = 2 + for _, b := range yyq1069 { if b { - yynn1036++ + yynn1069++ } } - r.EncodeMapStart(yynn1036) - yynn1036 = 0 + r.EncodeMapStart(yynn1069) + yynn1069 = 0 } - if yyr1036 || yy2arr1036 { + if yyr1069 || yy2arr1069 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1038 := z.EncBinary() - _ = yym1038 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14560,17 +15075,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1039 := z.EncBinary() - _ = yym1039 + yym1072 := z.EncBinary() + _ = yym1072 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1036 || yy2arr1036 { + if yyr1069 || yy2arr1069 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1041 := z.EncBinary() - _ = yym1041 + yym1074 := z.EncBinary() + _ = yym1074 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -14579,14 +15094,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1042 := z.EncBinary() - _ = yym1042 + yym1075 := z.EncBinary() + _ = yym1075 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr1036 || yy2arr1036 { + if yyr1069 || yy2arr1069 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14599,25 +15114,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1043 := z.DecBinary() - _ = yym1043 + yym1076 := z.DecBinary() + _ = yym1076 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1044 := r.ContainerType() - if yyct1044 == codecSelferValueTypeMap1234 { - yyl1044 := r.ReadMapStart() - if yyl1044 == 0 { + yyct1077 := r.ContainerType() + if yyct1077 == codecSelferValueTypeMap1234 { + yyl1077 := r.ReadMapStart() + if yyl1077 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1044, d) + x.codecDecodeSelfFromMap(yyl1077, d) } - } else if yyct1044 == codecSelferValueTypeArray1234 { - yyl1044 := r.ReadArrayStart() - if yyl1044 == 0 { + } else if yyct1077 == codecSelferValueTypeArray1234 { + yyl1077 := r.ReadArrayStart() + if yyl1077 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1044, d) + x.codecDecodeSelfFromArray(yyl1077, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14629,12 +15144,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1045Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1045Slc - var yyhl1045 bool = l >= 0 - for yyj1045 := 0; ; yyj1045++ { - if yyhl1045 { - if yyj1045 >= l { + var yys1078Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1078Slc + var yyhl1078 bool = l >= 0 + for yyj1078 := 0; ; yyj1078++ { + if yyhl1078 { + if yyj1078 >= l { break } } else { @@ -14643,10 +15158,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1045Slc = r.DecodeBytes(yys1045Slc, true, true) - yys1045 := string(yys1045Slc) + yys1078Slc = r.DecodeBytes(yys1078Slc, true, true) + yys1078 := string(yys1078Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1045 { + switch yys1078 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -14660,9 +15175,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1045) - } // end switch yys1045 - } // end for yyj1045 + z.DecStructFieldNotFound(-1, yys1078) + } // end switch yys1078 + } // end for yyj1078 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14670,16 +15185,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1048 int - var yyb1048 bool - var yyhl1048 bool = l >= 0 - yyj1048++ - if yyhl1048 { - yyb1048 = yyj1048 > l + var yyj1081 int + var yyb1081 bool + var yyhl1081 bool = l >= 0 + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1048 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1048 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14689,13 +15204,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1048++ - if yyhl1048 { - yyb1048 = yyj1048 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1048 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1048 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14706,17 +15221,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj1048++ - if yyhl1048 { - yyb1048 = yyj1048 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1048 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1048 { + if yyb1081 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1048-1, "") + z.DecStructFieldNotFound(yyj1081-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14728,39 +15243,39 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1051 := z.EncBinary() - _ = yym1051 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1052 := !z.EncBinary() - yy2arr1052 := z.EncBasicHandle().StructToArray - var yyq1052 [5]bool - _, _, _ = yysep1052, yyq1052, yy2arr1052 - const yyr1052 bool = false - yyq1052[0] = x.Path != "" - yyq1052[1] = true - yyq1052[2] = x.Host != "" - yyq1052[3] = x.Scheme != "" - yyq1052[4] = len(x.HTTPHeaders) != 0 - var yynn1052 int - if yyr1052 || yy2arr1052 { + yysep1085 := !z.EncBinary() + yy2arr1085 := z.EncBasicHandle().StructToArray + var yyq1085 [5]bool + _, _, _ = yysep1085, yyq1085, yy2arr1085 + const yyr1085 bool = false + yyq1085[0] = x.Path != "" + yyq1085[1] = true + yyq1085[2] = x.Host != "" + yyq1085[3] = x.Scheme != "" + yyq1085[4] = len(x.HTTPHeaders) != 0 + var yynn1085 int + if yyr1085 || yy2arr1085 { r.EncodeArrayStart(5) } else { - yynn1052 = 0 - for _, b := range yyq1052 { + yynn1085 = 0 + for _, b := range yyq1085 { if b { - yynn1052++ + yynn1085++ } } - r.EncodeMapStart(yynn1052) - yynn1052 = 0 + r.EncodeMapStart(yynn1085) + yynn1085 = 0 } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[0] { - yym1054 := z.EncBinary() - _ = yym1054 + if yyq1085[0] { + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -14769,56 +15284,56 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1052[0] { + if yyq1085[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1055 := z.EncBinary() - _ = yym1055 + yym1088 := z.EncBinary() + _ = yym1088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[1] { - yy1057 := &x.Port - yym1058 := z.EncBinary() - _ = yym1058 + if yyq1085[1] { + yy1090 := &x.Port + yym1091 := z.EncBinary() + _ = yym1091 if false { - } else if z.HasExtensions() && z.EncExt(yy1057) { - } else if !yym1058 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1057) + } else if z.HasExtensions() && z.EncExt(yy1090) { + } else if !yym1091 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1090) } else { - z.EncFallback(yy1057) + z.EncFallback(yy1090) } } else { r.EncodeNil() } } else { - if yyq1052[1] { + if yyq1085[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1059 := &x.Port - yym1060 := z.EncBinary() - _ = yym1060 + yy1092 := &x.Port + yym1093 := z.EncBinary() + _ = yym1093 if false { - } else if z.HasExtensions() && z.EncExt(yy1059) { - } else if !yym1060 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1059) + } else if z.HasExtensions() && z.EncExt(yy1092) { + } else if !yym1093 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1092) } else { - z.EncFallback(yy1059) + z.EncFallback(yy1092) } } } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[2] { - yym1062 := z.EncBinary() - _ = yym1062 + if yyq1085[2] { + yym1095 := z.EncBinary() + _ = yym1095 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -14827,41 +15342,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1052[2] { + if yyq1085[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1063 := z.EncBinary() - _ = yym1063 + yym1096 := z.EncBinary() + _ = yym1096 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[3] { + if yyq1085[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1052[3] { + if yyq1085[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[4] { + if yyq1085[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1066 := z.EncBinary() - _ = yym1066 + yym1099 := z.EncBinary() + _ = yym1099 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -14871,15 +15386,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1052[4] { + if yyq1085[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1067 := z.EncBinary() - _ = yym1067 + yym1100 := z.EncBinary() + _ = yym1100 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -14887,7 +15402,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1052 || yy2arr1052 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14900,25 +15415,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1068 := z.DecBinary() - _ = yym1068 + yym1101 := z.DecBinary() + _ = yym1101 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1069 := r.ContainerType() - if yyct1069 == codecSelferValueTypeMap1234 { - yyl1069 := r.ReadMapStart() - if yyl1069 == 0 { + yyct1102 := r.ContainerType() + if yyct1102 == codecSelferValueTypeMap1234 { + yyl1102 := r.ReadMapStart() + if yyl1102 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1069, d) + x.codecDecodeSelfFromMap(yyl1102, d) } - } else if yyct1069 == codecSelferValueTypeArray1234 { - yyl1069 := r.ReadArrayStart() - if yyl1069 == 0 { + } else if yyct1102 == codecSelferValueTypeArray1234 { + yyl1102 := r.ReadArrayStart() + if yyl1102 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1069, d) + x.codecDecodeSelfFromArray(yyl1102, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14930,12 +15445,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1070Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1070Slc - var yyhl1070 bool = l >= 0 - for yyj1070 := 0; ; yyj1070++ { - if yyhl1070 { - if yyj1070 >= l { + var yys1103Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1103Slc + var yyhl1103 bool = l >= 0 + for yyj1103 := 0; ; yyj1103++ { + if yyhl1103 { + if yyj1103 >= l { break } } else { @@ -14944,10 +15459,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1070Slc = r.DecodeBytes(yys1070Slc, true, true) - yys1070 := string(yys1070Slc) + yys1103Slc = r.DecodeBytes(yys1103Slc, true, true) + yys1103 := string(yys1103Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1070 { + switch yys1103 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -14958,15 +15473,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1072 := &x.Port - yym1073 := z.DecBinary() - _ = yym1073 + yyv1105 := &x.Port + yym1106 := z.DecBinary() + _ = yym1106 if false { - } else if z.HasExtensions() && z.DecExt(yyv1072) { - } else if !yym1073 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1072) + } else if z.HasExtensions() && z.DecExt(yyv1105) { + } else if !yym1106 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1105) } else { - z.DecFallback(yyv1072, false) + z.DecFallback(yyv1105, false) } } case "host": @@ -14985,18 +15500,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1076 := &x.HTTPHeaders - yym1077 := z.DecBinary() - _ = yym1077 + yyv1109 := &x.HTTPHeaders + yym1110 := z.DecBinary() + _ = yym1110 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1076), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1109), d) } } default: - z.DecStructFieldNotFound(-1, yys1070) - } // end switch yys1070 - } // end for yyj1070 + z.DecStructFieldNotFound(-1, yys1103) + } // end switch yys1103 + } // end for yyj1103 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15004,16 +15519,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1078 int - var yyb1078 bool - var yyhl1078 bool = l >= 0 - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + var yyj1111 int + var yyb1111 bool + var yyhl1111 bool = l >= 0 + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15023,13 +15538,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15037,24 +15552,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1080 := &x.Port - yym1081 := z.DecBinary() - _ = yym1081 + yyv1113 := &x.Port + yym1114 := z.DecBinary() + _ = yym1114 if false { - } else if z.HasExtensions() && z.DecExt(yyv1080) { - } else if !yym1081 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1080) + } else if z.HasExtensions() && z.DecExt(yyv1113) { + } else if !yym1114 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1113) } else { - z.DecFallback(yyv1080, false) + z.DecFallback(yyv1113, false) } } - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15064,13 +15579,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15080,13 +15595,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15094,26 +15609,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1084 := &x.HTTPHeaders - yym1085 := z.DecBinary() - _ = yym1085 + yyv1117 := &x.HTTPHeaders + yym1118 := z.DecBinary() + _ = yym1118 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1084), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1117), d) } } for { - yyj1078++ - if yyhl1078 { - yyb1078 = yyj1078 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1078 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1078 { + if yyb1111 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1078-1, "") + z.DecStructFieldNotFound(yyj1111-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15122,8 +15637,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1086 := z.EncBinary() - _ = yym1086 + yym1119 := z.EncBinary() + _ = yym1119 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15135,8 +15650,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1087 := z.DecBinary() - _ = yym1087 + yym1120 := z.DecBinary() + _ = yym1120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15151,64 +15666,64 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1088 := z.EncBinary() - _ = yym1088 + yym1121 := z.EncBinary() + _ = yym1121 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1089 := !z.EncBinary() - yy2arr1089 := z.EncBasicHandle().StructToArray - var yyq1089 [1]bool - _, _, _ = yysep1089, yyq1089, yy2arr1089 - const yyr1089 bool = false - yyq1089[0] = true - var yynn1089 int - if yyr1089 || yy2arr1089 { + yysep1122 := !z.EncBinary() + yy2arr1122 := z.EncBasicHandle().StructToArray + var yyq1122 [1]bool + _, _, _ = yysep1122, yyq1122, yy2arr1122 + const yyr1122 bool = false + yyq1122[0] = true + var yynn1122 int + if yyr1122 || yy2arr1122 { r.EncodeArrayStart(1) } else { - yynn1089 = 0 - for _, b := range yyq1089 { + yynn1122 = 0 + for _, b := range yyq1122 { if b { - yynn1089++ + yynn1122++ } } - r.EncodeMapStart(yynn1089) - yynn1089 = 0 + r.EncodeMapStart(yynn1122) + yynn1122 = 0 } - if yyr1089 || yy2arr1089 { + if yyr1122 || yy2arr1122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1089[0] { - yy1091 := &x.Port - yym1092 := z.EncBinary() - _ = yym1092 + if yyq1122[0] { + yy1124 := &x.Port + yym1125 := z.EncBinary() + _ = yym1125 if false { - } else if z.HasExtensions() && z.EncExt(yy1091) { - } else if !yym1092 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1091) + } else if z.HasExtensions() && z.EncExt(yy1124) { + } else if !yym1125 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1124) } else { - z.EncFallback(yy1091) + z.EncFallback(yy1124) } } else { r.EncodeNil() } } else { - if yyq1089[0] { + if yyq1122[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1093 := &x.Port - yym1094 := z.EncBinary() - _ = yym1094 + yy1126 := &x.Port + yym1127 := z.EncBinary() + _ = yym1127 if false { - } else if z.HasExtensions() && z.EncExt(yy1093) { - } else if !yym1094 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1093) + } else if z.HasExtensions() && z.EncExt(yy1126) { + } else if !yym1127 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1126) } else { - z.EncFallback(yy1093) + z.EncFallback(yy1126) } } } - if yyr1089 || yy2arr1089 { + if yyr1122 || yy2arr1122 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15221,25 +15736,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1095 := z.DecBinary() - _ = yym1095 + yym1128 := z.DecBinary() + _ = yym1128 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1096 := r.ContainerType() - if yyct1096 == codecSelferValueTypeMap1234 { - yyl1096 := r.ReadMapStart() - if yyl1096 == 0 { + yyct1129 := r.ContainerType() + if yyct1129 == codecSelferValueTypeMap1234 { + yyl1129 := r.ReadMapStart() + if yyl1129 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1096, d) + x.codecDecodeSelfFromMap(yyl1129, d) } - } else if yyct1096 == codecSelferValueTypeArray1234 { - yyl1096 := r.ReadArrayStart() - if yyl1096 == 0 { + } else if yyct1129 == codecSelferValueTypeArray1234 { + yyl1129 := r.ReadArrayStart() + if yyl1129 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1096, d) + x.codecDecodeSelfFromArray(yyl1129, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15251,12 +15766,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1097Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1097Slc - var yyhl1097 bool = l >= 0 - for yyj1097 := 0; ; yyj1097++ { - if yyhl1097 { - if yyj1097 >= l { + var yys1130Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1130Slc + var yyhl1130 bool = l >= 0 + for yyj1130 := 0; ; yyj1130++ { + if yyhl1130 { + if yyj1130 >= l { break } } else { @@ -15265,29 +15780,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1097Slc = r.DecodeBytes(yys1097Slc, true, true) - yys1097 := string(yys1097Slc) + yys1130Slc = r.DecodeBytes(yys1130Slc, true, true) + yys1130 := string(yys1130Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1097 { + switch yys1130 { case "port": if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1098 := &x.Port - yym1099 := z.DecBinary() - _ = yym1099 + yyv1131 := &x.Port + yym1132 := z.DecBinary() + _ = yym1132 if false { - } else if z.HasExtensions() && z.DecExt(yyv1098) { - } else if !yym1099 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1098) + } else if z.HasExtensions() && z.DecExt(yyv1131) { + } else if !yym1132 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1131) } else { - z.DecFallback(yyv1098, false) + z.DecFallback(yyv1131, false) } } default: - z.DecStructFieldNotFound(-1, yys1097) - } // end switch yys1097 - } // end for yyj1097 + z.DecStructFieldNotFound(-1, yys1130) + } // end switch yys1130 + } // end for yyj1130 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15295,16 +15810,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1100 int - var yyb1100 bool - var yyhl1100 bool = l >= 0 - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + var yyj1133 int + var yyb1133 bool + var yyhl1133 bool = l >= 0 + yyj1133++ + if yyhl1133 { + yyb1133 = yyj1133 > l } else { - yyb1100 = r.CheckBreak() + yyb1133 = r.CheckBreak() } - if yyb1100 { + if yyb1133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15312,29 +15827,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1101 := &x.Port - yym1102 := z.DecBinary() - _ = yym1102 + yyv1134 := &x.Port + yym1135 := z.DecBinary() + _ = yym1135 if false { - } else if z.HasExtensions() && z.DecExt(yyv1101) { - } else if !yym1102 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1101) + } else if z.HasExtensions() && z.DecExt(yyv1134) { + } else if !yym1135 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1134) } else { - z.DecFallback(yyv1101, false) + z.DecFallback(yyv1134, false) } } for { - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + yyj1133++ + if yyhl1133 { + yyb1133 = yyj1133 > l } else { - yyb1100 = r.CheckBreak() + yyb1133 = r.CheckBreak() } - if yyb1100 { + if yyb1133 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1100-1, "") + z.DecStructFieldNotFound(yyj1133-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15346,38 +15861,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1103 := z.EncBinary() - _ = yym1103 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1104 := !z.EncBinary() - yy2arr1104 := z.EncBasicHandle().StructToArray - var yyq1104 [1]bool - _, _, _ = yysep1104, yyq1104, yy2arr1104 - const yyr1104 bool = false - yyq1104[0] = len(x.Command) != 0 - var yynn1104 int - if yyr1104 || yy2arr1104 { + yysep1137 := !z.EncBinary() + yy2arr1137 := z.EncBasicHandle().StructToArray + var yyq1137 [1]bool + _, _, _ = yysep1137, yyq1137, yy2arr1137 + const yyr1137 bool = false + yyq1137[0] = len(x.Command) != 0 + var yynn1137 int + if yyr1137 || yy2arr1137 { r.EncodeArrayStart(1) } else { - yynn1104 = 0 - for _, b := range yyq1104 { + yynn1137 = 0 + for _, b := range yyq1137 { if b { - yynn1104++ + yynn1137++ } } - r.EncodeMapStart(yynn1104) - yynn1104 = 0 + r.EncodeMapStart(yynn1137) + yynn1137 = 0 } - if yyr1104 || yy2arr1104 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1104[0] { + if yyq1137[0] { if x.Command == nil { r.EncodeNil() } else { - yym1106 := z.EncBinary() - _ = yym1106 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -15387,15 +15902,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1104[0] { + if yyq1137[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1107 := z.EncBinary() - _ = yym1107 + yym1140 := z.EncBinary() + _ = yym1140 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -15403,7 +15918,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1104 || yy2arr1104 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15416,25 +15931,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1108 := z.DecBinary() - _ = yym1108 + yym1141 := z.DecBinary() + _ = yym1141 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1109 := r.ContainerType() - if yyct1109 == codecSelferValueTypeMap1234 { - yyl1109 := r.ReadMapStart() - if yyl1109 == 0 { + yyct1142 := r.ContainerType() + if yyct1142 == codecSelferValueTypeMap1234 { + yyl1142 := r.ReadMapStart() + if yyl1142 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1109, d) + x.codecDecodeSelfFromMap(yyl1142, d) } - } else if yyct1109 == codecSelferValueTypeArray1234 { - yyl1109 := r.ReadArrayStart() - if yyl1109 == 0 { + } else if yyct1142 == codecSelferValueTypeArray1234 { + yyl1142 := r.ReadArrayStart() + if yyl1142 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1109, d) + x.codecDecodeSelfFromArray(yyl1142, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15446,12 +15961,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1110Slc - var yyhl1110 bool = l >= 0 - for yyj1110 := 0; ; yyj1110++ { - if yyhl1110 { - if yyj1110 >= l { + var yys1143Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1143Slc + var yyhl1143 bool = l >= 0 + for yyj1143 := 0; ; yyj1143++ { + if yyhl1143 { + if yyj1143 >= l { break } } else { @@ -15460,26 +15975,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1110Slc = r.DecodeBytes(yys1110Slc, true, true) - yys1110 := string(yys1110Slc) + yys1143Slc = r.DecodeBytes(yys1143Slc, true, true) + yys1143 := string(yys1143Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1110 { + switch yys1143 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1111 := &x.Command - yym1112 := z.DecBinary() - _ = yym1112 + yyv1144 := &x.Command + yym1145 := z.DecBinary() + _ = yym1145 if false { } else { - z.F.DecSliceStringX(yyv1111, false, d) + z.F.DecSliceStringX(yyv1144, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1110) - } // end switch yys1110 - } // end for yyj1110 + z.DecStructFieldNotFound(-1, yys1143) + } // end switch yys1143 + } // end for yyj1143 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15487,16 +16002,16 @@ func (x *ExecAction) 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 + var yyj1146 int + var yyb1146 bool + var yyhl1146 bool = l >= 0 + yyj1146++ + if yyhl1146 { + yyb1146 = yyj1146 > l } else { - yyb1113 = r.CheckBreak() + yyb1146 = r.CheckBreak() } - if yyb1113 { + if yyb1146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15504,26 +16019,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1114 := &x.Command - yym1115 := z.DecBinary() - _ = yym1115 + yyv1147 := &x.Command + yym1148 := z.DecBinary() + _ = yym1148 if false { } else { - z.F.DecSliceStringX(yyv1114, false, d) + z.F.DecSliceStringX(yyv1147, false, d) } } for { - yyj1113++ - if yyhl1113 { - yyb1113 = yyj1113 > l + yyj1146++ + if yyhl1146 { + yyb1146 = yyj1146 > l } else { - yyb1113 = r.CheckBreak() + yyb1146 = r.CheckBreak() } - if yyb1113 { + if yyb1146 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1113-1, "") + z.DecStructFieldNotFound(yyj1146-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15535,42 +16050,42 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1116 := z.EncBinary() - _ = yym1116 + yym1149 := z.EncBinary() + _ = yym1149 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1117 := !z.EncBinary() - yy2arr1117 := z.EncBasicHandle().StructToArray - var yyq1117 [8]bool - _, _, _ = yysep1117, yyq1117, yy2arr1117 - const yyr1117 bool = false - yyq1117[0] = x.InitialDelaySeconds != 0 - yyq1117[1] = x.TimeoutSeconds != 0 - yyq1117[2] = x.PeriodSeconds != 0 - yyq1117[3] = x.SuccessThreshold != 0 - yyq1117[4] = x.FailureThreshold != 0 - yyq1117[5] = x.Handler.Exec != nil && x.Exec != nil - yyq1117[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1117[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - var yynn1117 int - if yyr1117 || yy2arr1117 { + yysep1150 := !z.EncBinary() + yy2arr1150 := z.EncBasicHandle().StructToArray + var yyq1150 [8]bool + _, _, _ = yysep1150, yyq1150, yy2arr1150 + const yyr1150 bool = false + yyq1150[0] = x.InitialDelaySeconds != 0 + yyq1150[1] = x.TimeoutSeconds != 0 + yyq1150[2] = x.PeriodSeconds != 0 + yyq1150[3] = x.SuccessThreshold != 0 + yyq1150[4] = x.FailureThreshold != 0 + yyq1150[5] = x.Handler.Exec != nil && x.Exec != nil + yyq1150[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1150[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + var yynn1150 int + if yyr1150 || yy2arr1150 { r.EncodeArrayStart(8) } else { - yynn1117 = 0 - for _, b := range yyq1117 { + yynn1150 = 0 + for _, b := range yyq1150 { if b { - yynn1117++ + yynn1150++ } } - r.EncodeMapStart(yynn1117) - yynn1117 = 0 + r.EncodeMapStart(yynn1150) + yynn1150 = 0 } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[0] { - yym1119 := z.EncBinary() - _ = yym1119 + if yyq1150[0] { + yym1152 := z.EncBinary() + _ = yym1152 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -15579,23 +16094,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1117[0] { + if yyq1150[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1120 := z.EncBinary() - _ = yym1120 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) } } } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[1] { - yym1122 := z.EncBinary() - _ = yym1122 + if yyq1150[1] { + yym1155 := z.EncBinary() + _ = yym1155 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) @@ -15604,23 +16119,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1117[1] { + if yyq1150[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1123 := z.EncBinary() - _ = yym1123 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) } } } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[2] { - yym1125 := z.EncBinary() - _ = yym1125 + if yyq1150[2] { + yym1158 := z.EncBinary() + _ = yym1158 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) @@ -15629,23 +16144,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1117[2] { + if yyq1150[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1126 := z.EncBinary() - _ = yym1126 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) } } } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[3] { - yym1128 := z.EncBinary() - _ = yym1128 + if yyq1150[3] { + yym1161 := z.EncBinary() + _ = yym1161 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) @@ -15654,23 +16169,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1117[3] { + if yyq1150[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1129 := z.EncBinary() - _ = yym1129 + yym1162 := z.EncBinary() + _ = yym1162 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) } } } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[4] { - yym1131 := z.EncBinary() - _ = yym1131 + if yyq1150[4] { + yym1164 := z.EncBinary() + _ = yym1164 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) @@ -15679,30 +16194,30 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1117[4] { + if yyq1150[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1132 := z.EncBinary() - _ = yym1132 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - var yyn1133 bool + var yyn1166 bool if x.Handler.Exec == nil { - yyn1133 = true - goto LABEL1133 + yyn1166 = true + goto LABEL1166 } - LABEL1133: - if yyr1117 || yy2arr1117 { - if yyn1133 { + LABEL1166: + if yyr1150 || yy2arr1150 { + if yyn1166 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[5] { + if yyq1150[5] { if x.Exec == nil { r.EncodeNil() } else { @@ -15713,11 +16228,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1117[5] { + if yyq1150[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1133 { + if yyn1166 { r.EncodeNil() } else { if x.Exec == nil { @@ -15728,18 +16243,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1134 bool + var yyn1167 bool if x.Handler.HTTPGet == nil { - yyn1134 = true - goto LABEL1134 + yyn1167 = true + goto LABEL1167 } - LABEL1134: - if yyr1117 || yy2arr1117 { - if yyn1134 { + LABEL1167: + if yyr1150 || yy2arr1150 { + if yyn1167 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[6] { + if yyq1150[6] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -15750,11 +16265,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1117[6] { + if yyq1150[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1134 { + if yyn1167 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -15765,18 +16280,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1135 bool + var yyn1168 bool if x.Handler.TCPSocket == nil { - yyn1135 = true - goto LABEL1135 + yyn1168 = true + goto LABEL1168 } - LABEL1135: - if yyr1117 || yy2arr1117 { - if yyn1135 { + LABEL1168: + if yyr1150 || yy2arr1150 { + if yyn1168 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1117[7] { + if yyq1150[7] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -15787,11 +16302,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1117[7] { + if yyq1150[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1135 { + if yyn1168 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -15802,7 +16317,7 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1117 || yy2arr1117 { + if yyr1150 || yy2arr1150 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15815,25 +16330,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1136 := z.DecBinary() - _ = yym1136 + yym1169 := z.DecBinary() + _ = yym1169 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1137 := r.ContainerType() - if yyct1137 == codecSelferValueTypeMap1234 { - yyl1137 := r.ReadMapStart() - if yyl1137 == 0 { + yyct1170 := r.ContainerType() + if yyct1170 == codecSelferValueTypeMap1234 { + yyl1170 := r.ReadMapStart() + if yyl1170 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1137, d) + x.codecDecodeSelfFromMap(yyl1170, d) } - } else if yyct1137 == codecSelferValueTypeArray1234 { - yyl1137 := r.ReadArrayStart() - if yyl1137 == 0 { + } else if yyct1170 == codecSelferValueTypeArray1234 { + yyl1170 := r.ReadArrayStart() + if yyl1170 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1137, d) + x.codecDecodeSelfFromArray(yyl1170, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15845,12 +16360,12 @@ func (x *Probe) 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 yys1171Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1171Slc + var yyhl1171 bool = l >= 0 + for yyj1171 := 0; ; yyj1171++ { + if yyhl1171 { + if yyj1171 >= l { break } } else { @@ -15859,10 +16374,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1138Slc = r.DecodeBytes(yys1138Slc, true, true) - yys1138 := string(yys1138Slc) + yys1171Slc = r.DecodeBytes(yys1171Slc, true, true) + yys1171 := string(yys1171Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1138 { + switch yys1171 { case "initialDelaySeconds": if r.TryDecodeAsNil() { x.InitialDelaySeconds = 0 @@ -15936,9 +16451,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1138) - } // end switch yys1138 - } // end for yyj1138 + z.DecStructFieldNotFound(-1, yys1171) + } // end switch yys1171 + } // end for yyj1171 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15946,16 +16461,16 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1147 int - var yyb1147 bool - var yyhl1147 bool = l >= 0 - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + var yyj1180 int + var yyb1180 bool + var yyhl1180 bool = l >= 0 + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15965,13 +16480,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15981,13 +16496,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15997,13 +16512,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16013,13 +16528,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16032,13 +16547,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16056,13 +16571,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16080,13 +16595,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16102,17 +16617,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1147++ - if yyhl1147 { - yyb1147 = yyj1147 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb1147 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb1147 { + if yyb1180 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1147-1, "") + z.DecStructFieldNotFound(yyj1180-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16121,8 +16636,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1156 := z.EncBinary() - _ = yym1156 + yym1189 := z.EncBinary() + _ = yym1189 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16134,8 +16649,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1157 := z.DecBinary() - _ = yym1157 + yym1190 := z.DecBinary() + _ = yym1190 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16147,8 +16662,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1158 := z.EncBinary() - _ = yym1158 + yym1191 := z.EncBinary() + _ = yym1191 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16160,8 +16675,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1159 := z.DecBinary() - _ = yym1159 + yym1192 := z.DecBinary() + _ = yym1192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16176,39 +16691,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1160 := z.EncBinary() - _ = yym1160 + yym1193 := z.EncBinary() + _ = yym1193 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1161 := !z.EncBinary() - yy2arr1161 := z.EncBasicHandle().StructToArray - var yyq1161 [2]bool - _, _, _ = yysep1161, yyq1161, yy2arr1161 - const yyr1161 bool = false - yyq1161[0] = len(x.Add) != 0 - yyq1161[1] = len(x.Drop) != 0 - var yynn1161 int - if yyr1161 || yy2arr1161 { + yysep1194 := !z.EncBinary() + yy2arr1194 := z.EncBasicHandle().StructToArray + var yyq1194 [2]bool + _, _, _ = yysep1194, yyq1194, yy2arr1194 + const yyr1194 bool = false + yyq1194[0] = len(x.Add) != 0 + yyq1194[1] = len(x.Drop) != 0 + var yynn1194 int + if yyr1194 || yy2arr1194 { r.EncodeArrayStart(2) } else { - yynn1161 = 0 - for _, b := range yyq1161 { + yynn1194 = 0 + for _, b := range yyq1194 { if b { - yynn1161++ + yynn1194++ } } - r.EncodeMapStart(yynn1161) - yynn1161 = 0 + r.EncodeMapStart(yynn1194) + yynn1194 = 0 } - if yyr1161 || yy2arr1161 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1161[0] { + if yyq1194[0] { if x.Add == nil { r.EncodeNil() } else { - yym1163 := z.EncBinary() - _ = yym1163 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -16218,15 +16733,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1161[0] { + if yyq1194[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1164 := z.EncBinary() - _ = yym1164 + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -16234,14 +16749,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1161 || yy2arr1161 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1161[1] { + if yyq1194[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1166 := z.EncBinary() - _ = yym1166 + yym1199 := z.EncBinary() + _ = yym1199 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -16251,15 +16766,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1161[1] { + if yyq1194[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1167 := z.EncBinary() - _ = yym1167 + yym1200 := z.EncBinary() + _ = yym1200 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -16267,7 +16782,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1161 || yy2arr1161 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16280,25 +16795,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1168 := z.DecBinary() - _ = yym1168 + yym1201 := z.DecBinary() + _ = yym1201 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1169 := r.ContainerType() - if yyct1169 == codecSelferValueTypeMap1234 { - yyl1169 := r.ReadMapStart() - if yyl1169 == 0 { + yyct1202 := r.ContainerType() + if yyct1202 == codecSelferValueTypeMap1234 { + yyl1202 := r.ReadMapStart() + if yyl1202 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1169, d) + x.codecDecodeSelfFromMap(yyl1202, d) } - } else if yyct1169 == codecSelferValueTypeArray1234 { - yyl1169 := r.ReadArrayStart() - if yyl1169 == 0 { + } else if yyct1202 == codecSelferValueTypeArray1234 { + yyl1202 := r.ReadArrayStart() + if yyl1202 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1169, d) + x.codecDecodeSelfFromArray(yyl1202, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16310,12 +16825,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1170Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1170Slc - var yyhl1170 bool = l >= 0 - for yyj1170 := 0; ; yyj1170++ { - if yyhl1170 { - if yyj1170 >= l { + var yys1203Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1203Slc + var yyhl1203 bool = l >= 0 + for yyj1203 := 0; ; yyj1203++ { + if yyhl1203 { + if yyj1203 >= l { break } } else { @@ -16324,38 +16839,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1170Slc = r.DecodeBytes(yys1170Slc, true, true) - yys1170 := string(yys1170Slc) + yys1203Slc = r.DecodeBytes(yys1203Slc, true, true) + yys1203 := string(yys1203Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1170 { + switch yys1203 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1171 := &x.Add - yym1172 := z.DecBinary() - _ = yym1172 + yyv1204 := &x.Add + yym1205 := z.DecBinary() + _ = yym1205 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1171), d) + h.decSliceCapability((*[]Capability)(yyv1204), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1173 := &x.Drop - yym1174 := z.DecBinary() - _ = yym1174 + yyv1206 := &x.Drop + yym1207 := z.DecBinary() + _ = yym1207 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1173), d) + h.decSliceCapability((*[]Capability)(yyv1206), d) } } default: - z.DecStructFieldNotFound(-1, yys1170) - } // end switch yys1170 - } // end for yyj1170 + z.DecStructFieldNotFound(-1, yys1203) + } // end switch yys1203 + } // end for yyj1203 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16363,16 +16878,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1175 int - var yyb1175 bool - var yyhl1175 bool = l >= 0 - yyj1175++ - if yyhl1175 { - yyb1175 = yyj1175 > l + var yyj1208 int + var yyb1208 bool + var yyhl1208 bool = l >= 0 + yyj1208++ + if yyhl1208 { + yyb1208 = yyj1208 > l } else { - yyb1175 = r.CheckBreak() + yyb1208 = r.CheckBreak() } - if yyb1175 { + if yyb1208 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16380,21 +16895,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1176 := &x.Add - yym1177 := z.DecBinary() - _ = yym1177 + yyv1209 := &x.Add + yym1210 := z.DecBinary() + _ = yym1210 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1176), d) + h.decSliceCapability((*[]Capability)(yyv1209), d) } } - yyj1175++ - if yyhl1175 { - yyb1175 = yyj1175 > l + yyj1208++ + if yyhl1208 { + yyb1208 = yyj1208 > l } else { - yyb1175 = r.CheckBreak() + yyb1208 = r.CheckBreak() } - if yyb1175 { + if yyb1208 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16402,26 +16917,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1178 := &x.Drop - yym1179 := z.DecBinary() - _ = yym1179 + yyv1211 := &x.Drop + yym1212 := z.DecBinary() + _ = yym1212 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1178), d) + h.decSliceCapability((*[]Capability)(yyv1211), d) } } for { - yyj1175++ - if yyhl1175 { - yyb1175 = yyj1175 > l + yyj1208++ + if yyhl1208 { + yyb1208 = yyj1208 > l } else { - yyb1175 = r.CheckBreak() + yyb1208 = r.CheckBreak() } - if yyb1175 { + if yyb1208 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1175-1, "") + z.DecStructFieldNotFound(yyj1208-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16433,34 +16948,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1180 := z.EncBinary() - _ = yym1180 + yym1213 := z.EncBinary() + _ = yym1213 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1181 := !z.EncBinary() - yy2arr1181 := z.EncBasicHandle().StructToArray - var yyq1181 [2]bool - _, _, _ = yysep1181, yyq1181, yy2arr1181 - const yyr1181 bool = false - yyq1181[0] = len(x.Limits) != 0 - yyq1181[1] = len(x.Requests) != 0 - var yynn1181 int - if yyr1181 || yy2arr1181 { + yysep1214 := !z.EncBinary() + yy2arr1214 := z.EncBasicHandle().StructToArray + var yyq1214 [2]bool + _, _, _ = yysep1214, yyq1214, yy2arr1214 + const yyr1214 bool = false + yyq1214[0] = len(x.Limits) != 0 + yyq1214[1] = len(x.Requests) != 0 + var yynn1214 int + if yyr1214 || yy2arr1214 { r.EncodeArrayStart(2) } else { - yynn1181 = 0 - for _, b := range yyq1181 { + yynn1214 = 0 + for _, b := range yyq1214 { if b { - yynn1181++ + yynn1214++ } } - r.EncodeMapStart(yynn1181) - yynn1181 = 0 + r.EncodeMapStart(yynn1214) + yynn1214 = 0 } - if yyr1181 || yy2arr1181 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1181[0] { + if yyq1214[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -16470,7 +16985,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1181[0] { + if yyq1214[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16481,9 +16996,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1181 || yy2arr1181 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1181[1] { + if yyq1214[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -16493,7 +17008,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1181[1] { + if yyq1214[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16504,7 +17019,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1181 || yy2arr1181 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16517,25 +17032,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1184 := z.DecBinary() - _ = yym1184 + yym1217 := z.DecBinary() + _ = yym1217 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1185 := r.ContainerType() - if yyct1185 == codecSelferValueTypeMap1234 { - yyl1185 := r.ReadMapStart() - if yyl1185 == 0 { + yyct1218 := r.ContainerType() + if yyct1218 == codecSelferValueTypeMap1234 { + yyl1218 := r.ReadMapStart() + if yyl1218 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1185, d) + x.codecDecodeSelfFromMap(yyl1218, d) } - } else if yyct1185 == codecSelferValueTypeArray1234 { - yyl1185 := r.ReadArrayStart() - if yyl1185 == 0 { + } else if yyct1218 == codecSelferValueTypeArray1234 { + yyl1218 := r.ReadArrayStart() + if yyl1218 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1185, d) + x.codecDecodeSelfFromArray(yyl1218, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16547,12 +17062,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1186Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1186Slc - var yyhl1186 bool = l >= 0 - for yyj1186 := 0; ; yyj1186++ { - if yyhl1186 { - if yyj1186 >= l { + var yys1219Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1219Slc + var yyhl1219 bool = l >= 0 + for yyj1219 := 0; ; yyj1219++ { + if yyhl1219 { + if yyj1219 >= l { break } } else { @@ -16561,28 +17076,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1186Slc = r.DecodeBytes(yys1186Slc, true, true) - yys1186 := string(yys1186Slc) + yys1219Slc = r.DecodeBytes(yys1219Slc, true, true) + yys1219 := string(yys1219Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1186 { + switch yys1219 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1187 := &x.Limits - yyv1187.CodecDecodeSelf(d) + yyv1220 := &x.Limits + yyv1220.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1188 := &x.Requests - yyv1188.CodecDecodeSelf(d) + yyv1221 := &x.Requests + yyv1221.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1186) - } // end switch yys1186 - } // end for yyj1186 + z.DecStructFieldNotFound(-1, yys1219) + } // end switch yys1219 + } // end for yyj1219 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16590,16 +17105,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1189 int - var yyb1189 bool - var yyhl1189 bool = l >= 0 - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + var yyj1222 int + var yyb1222 bool + var yyhl1222 bool = l >= 0 + yyj1222++ + if yyhl1222 { + yyb1222 = yyj1222 > l } else { - yyb1189 = r.CheckBreak() + yyb1222 = r.CheckBreak() } - if yyb1189 { + if yyb1222 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16607,16 +17122,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1190 := &x.Limits - yyv1190.CodecDecodeSelf(d) + yyv1223 := &x.Limits + yyv1223.CodecDecodeSelf(d) } - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + yyj1222++ + if yyhl1222 { + yyb1222 = yyj1222 > l } else { - yyb1189 = r.CheckBreak() + yyb1222 = r.CheckBreak() } - if yyb1189 { + if yyb1222 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16624,21 +17139,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1191 := &x.Requests - yyv1191.CodecDecodeSelf(d) + yyv1224 := &x.Requests + yyv1224.CodecDecodeSelf(d) } for { - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + yyj1222++ + if yyhl1222 { + yyb1222 = yyj1222 > l } else { - yyb1189 = r.CheckBreak() + yyb1222 = r.CheckBreak() } - if yyb1189 { + if yyb1222 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1189-1, "") + z.DecStructFieldNotFound(yyj1222-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16650,48 +17165,48 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1192 := z.EncBinary() - _ = yym1192 + yym1225 := z.EncBinary() + _ = yym1225 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1193 := !z.EncBinary() - yy2arr1193 := z.EncBasicHandle().StructToArray - var yyq1193 [18]bool - _, _, _ = yysep1193, yyq1193, yy2arr1193 - const yyr1193 bool = false - yyq1193[2] = len(x.Command) != 0 - yyq1193[3] = len(x.Args) != 0 - yyq1193[4] = x.WorkingDir != "" - yyq1193[5] = len(x.Ports) != 0 - yyq1193[6] = len(x.Env) != 0 - yyq1193[7] = true - yyq1193[8] = len(x.VolumeMounts) != 0 - yyq1193[9] = x.LivenessProbe != nil - yyq1193[10] = x.ReadinessProbe != nil - yyq1193[11] = x.Lifecycle != nil - yyq1193[12] = x.TerminationMessagePath != "" - yyq1193[14] = x.SecurityContext != nil - yyq1193[15] = x.Stdin != false - yyq1193[16] = x.StdinOnce != false - yyq1193[17] = x.TTY != false - var yynn1193 int - if yyr1193 || yy2arr1193 { + yysep1226 := !z.EncBinary() + yy2arr1226 := z.EncBasicHandle().StructToArray + var yyq1226 [18]bool + _, _, _ = yysep1226, yyq1226, yy2arr1226 + const yyr1226 bool = false + yyq1226[2] = len(x.Command) != 0 + yyq1226[3] = len(x.Args) != 0 + yyq1226[4] = x.WorkingDir != "" + yyq1226[5] = len(x.Ports) != 0 + yyq1226[6] = len(x.Env) != 0 + yyq1226[7] = true + yyq1226[8] = len(x.VolumeMounts) != 0 + yyq1226[9] = x.LivenessProbe != nil + yyq1226[10] = x.ReadinessProbe != nil + yyq1226[11] = x.Lifecycle != nil + yyq1226[12] = x.TerminationMessagePath != "" + yyq1226[14] = x.SecurityContext != nil + yyq1226[15] = x.Stdin != false + yyq1226[16] = x.StdinOnce != false + yyq1226[17] = x.TTY != false + var yynn1226 int + if yyr1226 || yy2arr1226 { r.EncodeArrayStart(18) } else { - yynn1193 = 3 - for _, b := range yyq1193 { + yynn1226 = 3 + for _, b := range yyq1226 { if b { - yynn1193++ + yynn1226++ } } - r.EncodeMapStart(yynn1193) - yynn1193 = 0 + r.EncodeMapStart(yynn1226) + yynn1226 = 0 } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1195 := z.EncBinary() - _ = yym1195 + yym1228 := z.EncBinary() + _ = yym1228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16700,17 +17215,17 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1196 := z.EncBinary() - _ = yym1196 + yym1229 := z.EncBinary() + _ = yym1229 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1198 := z.EncBinary() - _ = yym1198 + yym1231 := z.EncBinary() + _ = yym1231 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -16719,21 +17234,21 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1199 := z.EncBinary() - _ = yym1199 + yym1232 := z.EncBinary() + _ = yym1232 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[2] { + if yyq1226[2] { if x.Command == nil { r.EncodeNil() } else { - yym1201 := z.EncBinary() - _ = yym1201 + yym1234 := z.EncBinary() + _ = yym1234 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -16743,15 +17258,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[2] { + if yyq1226[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1202 := z.EncBinary() - _ = yym1202 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -16759,14 +17274,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[3] { + if yyq1226[3] { if x.Args == nil { r.EncodeNil() } else { - yym1204 := z.EncBinary() - _ = yym1204 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -16776,15 +17291,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[3] { + if yyq1226[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1205 := z.EncBinary() - _ = yym1205 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -16792,11 +17307,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[4] { - yym1207 := z.EncBinary() - _ = yym1207 + if yyq1226[4] { + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -16805,26 +17320,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1193[4] { + if yyq1226[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1208 := z.EncBinary() - _ = yym1208 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[5] { + if yyq1226[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1210 := z.EncBinary() - _ = yym1210 + yym1243 := z.EncBinary() + _ = yym1243 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -16834,15 +17349,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[5] { + if yyq1226[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1211 := z.EncBinary() - _ = yym1211 + yym1244 := z.EncBinary() + _ = yym1244 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -16850,14 +17365,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[6] { + if yyq1226[6] { if x.Env == nil { r.EncodeNil() } else { - yym1213 := z.EncBinary() - _ = yym1213 + yym1246 := z.EncBinary() + _ = yym1246 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -16867,15 +17382,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[6] { + if yyq1226[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1214 := z.EncBinary() - _ = yym1214 + yym1247 := z.EncBinary() + _ = yym1247 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -16883,31 +17398,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[7] { - yy1216 := &x.Resources - yy1216.CodecEncodeSelf(e) + if yyq1226[7] { + yy1249 := &x.Resources + yy1249.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1193[7] { + if yyq1226[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1217 := &x.Resources - yy1217.CodecEncodeSelf(e) + yy1250 := &x.Resources + yy1250.CodecEncodeSelf(e) } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[8] { + if yyq1226[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1219 := z.EncBinary() - _ = yym1219 + yym1252 := z.EncBinary() + _ = yym1252 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -16917,15 +17432,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[8] { + if yyq1226[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1220 := z.EncBinary() - _ = yym1220 + yym1253 := z.EncBinary() + _ = yym1253 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -16933,9 +17448,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[9] { + if yyq1226[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -16945,7 +17460,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[9] { + if yyq1226[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16956,9 +17471,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[10] { + if yyq1226[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -16968,7 +17483,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[10] { + if yyq1226[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16979,9 +17494,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[11] { + if yyq1226[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -16991,7 +17506,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[11] { + if yyq1226[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17002,11 +17517,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[12] { - yym1225 := z.EncBinary() - _ = yym1225 + if yyq1226[12] { + yym1258 := z.EncBinary() + _ = yym1258 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -17015,19 +17530,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1193[12] { + if yyq1226[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1226 := z.EncBinary() - _ = yym1226 + yym1259 := z.EncBinary() + _ = yym1259 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.ImagePullPolicy.CodecEncodeSelf(e) } else { @@ -17036,9 +17551,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[14] { + if yyq1226[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -17048,7 +17563,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1193[14] { + if yyq1226[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17059,11 +17574,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[15] { - yym1230 := z.EncBinary() - _ = yym1230 + if yyq1226[15] { + yym1263 := z.EncBinary() + _ = yym1263 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -17072,23 +17587,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1193[15] { + if yyq1226[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1231 := z.EncBinary() - _ = yym1231 + yym1264 := z.EncBinary() + _ = yym1264 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[16] { - yym1233 := z.EncBinary() - _ = yym1233 + if yyq1226[16] { + yym1266 := z.EncBinary() + _ = yym1266 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -17097,23 +17612,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1193[16] { + if yyq1226[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1234 := z.EncBinary() - _ = yym1234 + yym1267 := z.EncBinary() + _ = yym1267 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1193[17] { - yym1236 := z.EncBinary() - _ = yym1236 + if yyq1226[17] { + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -17122,19 +17637,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1193[17] { + if yyq1226[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1237 := z.EncBinary() - _ = yym1237 + yym1270 := z.EncBinary() + _ = yym1270 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1193 || yy2arr1193 { + if yyr1226 || yy2arr1226 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17147,25 +17662,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1238 := z.DecBinary() - _ = yym1238 + yym1271 := z.DecBinary() + _ = yym1271 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1239 := r.ContainerType() - if yyct1239 == codecSelferValueTypeMap1234 { - yyl1239 := r.ReadMapStart() - if yyl1239 == 0 { + yyct1272 := r.ContainerType() + if yyct1272 == codecSelferValueTypeMap1234 { + yyl1272 := r.ReadMapStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1239, d) + x.codecDecodeSelfFromMap(yyl1272, d) } - } else if yyct1239 == codecSelferValueTypeArray1234 { - yyl1239 := r.ReadArrayStart() - if yyl1239 == 0 { + } else if yyct1272 == codecSelferValueTypeArray1234 { + yyl1272 := r.ReadArrayStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1239, d) + x.codecDecodeSelfFromArray(yyl1272, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17177,12 +17692,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1240Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1240Slc - var yyhl1240 bool = l >= 0 - for yyj1240 := 0; ; yyj1240++ { - if yyhl1240 { - if yyj1240 >= l { + var yys1273Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1273Slc + var yyhl1273 bool = l >= 0 + for yyj1273 := 0; ; yyj1273++ { + if yyhl1273 { + if yyj1273 >= l { break } } else { @@ -17191,10 +17706,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1240Slc = r.DecodeBytes(yys1240Slc, true, true) - yys1240 := string(yys1240Slc) + yys1273Slc = r.DecodeBytes(yys1273Slc, true, true) + yys1273 := string(yys1273Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1240 { + switch yys1273 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17211,24 +17726,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1243 := &x.Command - yym1244 := z.DecBinary() - _ = yym1244 + yyv1276 := &x.Command + yym1277 := z.DecBinary() + _ = yym1277 if false { } else { - z.F.DecSliceStringX(yyv1243, false, d) + z.F.DecSliceStringX(yyv1276, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1245 := &x.Args - yym1246 := z.DecBinary() - _ = yym1246 + yyv1278 := &x.Args + yym1279 := z.DecBinary() + _ = yym1279 if false { } else { - z.F.DecSliceStringX(yyv1245, false, d) + z.F.DecSliceStringX(yyv1278, false, d) } } case "workingDir": @@ -17241,43 +17756,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1248 := &x.Ports - yym1249 := z.DecBinary() - _ = yym1249 + yyv1281 := &x.Ports + yym1282 := z.DecBinary() + _ = yym1282 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1248), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1281), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1250 := &x.Env - yym1251 := z.DecBinary() - _ = yym1251 + yyv1283 := &x.Env + yym1284 := z.DecBinary() + _ = yym1284 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1250), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1283), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1252 := &x.Resources - yyv1252.CodecDecodeSelf(d) + yyv1285 := &x.Resources + yyv1285.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1253 := &x.VolumeMounts - yym1254 := z.DecBinary() - _ = yym1254 + yyv1286 := &x.VolumeMounts + yym1287 := z.DecBinary() + _ = yym1287 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1253), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1286), d) } } case "livenessProbe": @@ -17355,9 +17870,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1240) - } // end switch yys1240 - } // end for yyj1240 + z.DecStructFieldNotFound(-1, yys1273) + } // end switch yys1273 + } // end for yyj1273 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17365,16 +17880,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1264 int - var yyb1264 bool - var yyhl1264 bool = l >= 0 - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + var yyj1297 int + var yyb1297 bool + var yyhl1297 bool = l >= 0 + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17384,13 +17899,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17400,13 +17915,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17414,21 +17929,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1267 := &x.Command - yym1268 := z.DecBinary() - _ = yym1268 + yyv1300 := &x.Command + yym1301 := z.DecBinary() + _ = yym1301 if false { } else { - z.F.DecSliceStringX(yyv1267, false, d) + z.F.DecSliceStringX(yyv1300, false, d) } } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17436,21 +17951,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1269 := &x.Args - yym1270 := z.DecBinary() - _ = yym1270 + yyv1302 := &x.Args + yym1303 := z.DecBinary() + _ = yym1303 if false { } else { - z.F.DecSliceStringX(yyv1269, false, d) + z.F.DecSliceStringX(yyv1302, false, d) } } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17460,13 +17975,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17474,21 +17989,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1272 := &x.Ports - yym1273 := z.DecBinary() - _ = yym1273 + yyv1305 := &x.Ports + yym1306 := z.DecBinary() + _ = yym1306 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1272), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1305), d) } } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17496,21 +18011,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1274 := &x.Env - yym1275 := z.DecBinary() - _ = yym1275 + yyv1307 := &x.Env + yym1308 := z.DecBinary() + _ = yym1308 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1274), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1307), d) } } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17518,16 +18033,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1276 := &x.Resources - yyv1276.CodecDecodeSelf(d) + yyv1309 := &x.Resources + yyv1309.CodecDecodeSelf(d) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17535,21 +18050,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1277 := &x.VolumeMounts - yym1278 := z.DecBinary() - _ = yym1278 + yyv1310 := &x.VolumeMounts + yym1311 := z.DecBinary() + _ = yym1311 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1277), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1310), d) } } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17564,13 +18079,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17585,13 +18100,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17606,13 +18121,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17622,13 +18137,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17638,13 +18153,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17659,13 +18174,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17675,13 +18190,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17691,13 +18206,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17708,17 +18223,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1264++ - if yyhl1264 { - yyb1264 = yyj1264 > l + yyj1297++ + if yyhl1297 { + yyb1297 = yyj1297 > l } else { - yyb1264 = r.CheckBreak() + yyb1297 = r.CheckBreak() } - if yyb1264 { + if yyb1297 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1264-1, "") + z.DecStructFieldNotFound(yyj1297-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17730,35 +18245,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1288 := z.EncBinary() - _ = yym1288 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1289 := !z.EncBinary() - yy2arr1289 := z.EncBasicHandle().StructToArray - var yyq1289 [3]bool - _, _, _ = yysep1289, yyq1289, yy2arr1289 - const yyr1289 bool = false - yyq1289[0] = x.Exec != nil - yyq1289[1] = x.HTTPGet != nil - yyq1289[2] = x.TCPSocket != nil - var yynn1289 int - if yyr1289 || yy2arr1289 { + yysep1322 := !z.EncBinary() + yy2arr1322 := z.EncBasicHandle().StructToArray + var yyq1322 [3]bool + _, _, _ = yysep1322, yyq1322, yy2arr1322 + const yyr1322 bool = false + yyq1322[0] = x.Exec != nil + yyq1322[1] = x.HTTPGet != nil + yyq1322[2] = x.TCPSocket != nil + var yynn1322 int + if yyr1322 || yy2arr1322 { r.EncodeArrayStart(3) } else { - yynn1289 = 0 - for _, b := range yyq1289 { + yynn1322 = 0 + for _, b := range yyq1322 { if b { - yynn1289++ + yynn1322++ } } - r.EncodeMapStart(yynn1289) - yynn1289 = 0 + r.EncodeMapStart(yynn1322) + yynn1322 = 0 } - if yyr1289 || yy2arr1289 { + if yyr1322 || yy2arr1322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[0] { + if yyq1322[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -17768,7 +18283,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[0] { + if yyq1322[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17779,9 +18294,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1322 || yy2arr1322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[1] { + if yyq1322[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -17791,7 +18306,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[1] { + if yyq1322[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17802,9 +18317,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1322 || yy2arr1322 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[2] { + if yyq1322[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -17814,7 +18329,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[2] { + if yyq1322[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17825,7 +18340,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1322 || yy2arr1322 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17838,25 +18353,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1293 := z.DecBinary() - _ = yym1293 + yym1326 := z.DecBinary() + _ = yym1326 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1294 := r.ContainerType() - if yyct1294 == codecSelferValueTypeMap1234 { - yyl1294 := r.ReadMapStart() - if yyl1294 == 0 { + yyct1327 := r.ContainerType() + if yyct1327 == codecSelferValueTypeMap1234 { + yyl1327 := r.ReadMapStart() + if yyl1327 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1294, d) + x.codecDecodeSelfFromMap(yyl1327, d) } - } else if yyct1294 == codecSelferValueTypeArray1234 { - yyl1294 := r.ReadArrayStart() - if yyl1294 == 0 { + } else if yyct1327 == codecSelferValueTypeArray1234 { + yyl1327 := r.ReadArrayStart() + if yyl1327 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1294, d) + x.codecDecodeSelfFromArray(yyl1327, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17868,12 +18383,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1295Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1295Slc - var yyhl1295 bool = l >= 0 - for yyj1295 := 0; ; yyj1295++ { - if yyhl1295 { - if yyj1295 >= l { + var yys1328Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1328Slc + var yyhl1328 bool = l >= 0 + for yyj1328 := 0; ; yyj1328++ { + if yyhl1328 { + if yyj1328 >= l { break } } else { @@ -17882,10 +18397,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1295Slc = r.DecodeBytes(yys1295Slc, true, true) - yys1295 := string(yys1295Slc) + yys1328Slc = r.DecodeBytes(yys1328Slc, true, true) + yys1328 := string(yys1328Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1295 { + switch yys1328 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -17920,9 +18435,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1295) - } // end switch yys1295 - } // end for yyj1295 + z.DecStructFieldNotFound(-1, yys1328) + } // end switch yys1328 + } // end for yyj1328 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17930,16 +18445,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1299 int - var yyb1299 bool - var yyhl1299 bool = l >= 0 - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + var yyj1332 int + var yyb1332 bool + var yyhl1332 bool = l >= 0 + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1299 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1299 { + if yyb1332 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17954,13 +18469,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1299 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1299 { + if yyb1332 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17975,13 +18490,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1299 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1299 { + if yyb1332 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17997,17 +18512,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l } else { - yyb1299 = r.CheckBreak() + yyb1332 = r.CheckBreak() } - if yyb1299 { + if yyb1332 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1299-1, "") + z.DecStructFieldNotFound(yyj1332-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18019,34 +18534,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1303 := z.EncBinary() - _ = yym1303 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1304 := !z.EncBinary() - yy2arr1304 := z.EncBasicHandle().StructToArray - var yyq1304 [2]bool - _, _, _ = yysep1304, yyq1304, yy2arr1304 - const yyr1304 bool = false - yyq1304[0] = x.PostStart != nil - yyq1304[1] = x.PreStop != nil - var yynn1304 int - if yyr1304 || yy2arr1304 { + yysep1337 := !z.EncBinary() + yy2arr1337 := z.EncBasicHandle().StructToArray + var yyq1337 [2]bool + _, _, _ = yysep1337, yyq1337, yy2arr1337 + const yyr1337 bool = false + yyq1337[0] = x.PostStart != nil + yyq1337[1] = x.PreStop != nil + var yynn1337 int + if yyr1337 || yy2arr1337 { r.EncodeArrayStart(2) } else { - yynn1304 = 0 - for _, b := range yyq1304 { + yynn1337 = 0 + for _, b := range yyq1337 { if b { - yynn1304++ + yynn1337++ } } - r.EncodeMapStart(yynn1304) - yynn1304 = 0 + r.EncodeMapStart(yynn1337) + yynn1337 = 0 } - if yyr1304 || yy2arr1304 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1304[0] { + if yyq1337[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -18056,7 +18571,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1304[0] { + if yyq1337[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18067,9 +18582,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1304 || yy2arr1304 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1304[1] { + if yyq1337[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -18079,7 +18594,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1304[1] { + if yyq1337[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18090,7 +18605,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1304 || yy2arr1304 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18100,472 +18615,6 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1307 := z.DecBinary() - _ = yym1307 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1308 := r.ContainerType() - if yyct1308 == codecSelferValueTypeMap1234 { - yyl1308 := r.ReadMapStart() - if yyl1308 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1308, d) - } - } else if yyct1308 == codecSelferValueTypeArray1234 { - yyl1308 := r.ReadArrayStart() - if yyl1308 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1308, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1309Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1309Slc - var yyhl1309 bool = l >= 0 - for yyj1309 := 0; ; yyj1309++ { - if yyhl1309 { - if yyj1309 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1309Slc = r.DecodeBytes(yys1309Slc, true, true) - yys1309 := string(yys1309Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1309 { - case "postStart": - if r.TryDecodeAsNil() { - if x.PostStart != nil { - x.PostStart = nil - } - } else { - if x.PostStart == nil { - x.PostStart = new(Handler) - } - x.PostStart.CodecDecodeSelf(d) - } - case "preStop": - if r.TryDecodeAsNil() { - if x.PreStop != nil { - x.PreStop = nil - } - } else { - if x.PreStop == nil { - x.PreStop = new(Handler) - } - x.PreStop.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1309) - } // end switch yys1309 - } // end for yyj1309 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1312 int - var yyb1312 bool - var yyhl1312 bool = l >= 0 - yyj1312++ - if yyhl1312 { - yyb1312 = yyj1312 > l - } else { - yyb1312 = r.CheckBreak() - } - if yyb1312 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.PostStart != nil { - x.PostStart = nil - } - } else { - if x.PostStart == nil { - x.PostStart = new(Handler) - } - x.PostStart.CodecDecodeSelf(d) - } - yyj1312++ - if yyhl1312 { - yyb1312 = yyj1312 > l - } else { - yyb1312 = r.CheckBreak() - } - if yyb1312 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.PreStop != nil { - x.PreStop = nil - } - } else { - if x.PreStop == nil { - x.PreStop = new(Handler) - } - x.PreStop.CodecDecodeSelf(d) - } - for { - yyj1312++ - if yyhl1312 { - yyb1312 = yyj1312 > l - } else { - yyb1312 = r.CheckBreak() - } - if yyb1312 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1312-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1315 := z.EncBinary() - _ = yym1315 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1316 := z.DecBinary() - _ = yym1316 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1317 := z.EncBinary() - _ = yym1317 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1318 := !z.EncBinary() - yy2arr1318 := z.EncBasicHandle().StructToArray - var yyq1318 [2]bool - _, _, _ = yysep1318, yyq1318, yy2arr1318 - const yyr1318 bool = false - yyq1318[0] = x.Reason != "" - yyq1318[1] = x.Message != "" - var yynn1318 int - if yyr1318 || yy2arr1318 { - r.EncodeArrayStart(2) - } else { - yynn1318 = 0 - for _, b := range yyq1318 { - if b { - yynn1318++ - } - } - r.EncodeMapStart(yynn1318) - yynn1318 = 0 - } - if yyr1318 || yy2arr1318 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1318[0] { - yym1320 := z.EncBinary() - _ = yym1320 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1318[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1321 := z.EncBinary() - _ = yym1321 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr1318 || yy2arr1318 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1318[1] { - yym1323 := z.EncBinary() - _ = yym1323 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1318[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1324 := z.EncBinary() - _ = yym1324 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr1318 || yy2arr1318 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1325 := z.DecBinary() - _ = yym1325 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1326 := r.ContainerType() - if yyct1326 == codecSelferValueTypeMap1234 { - yyl1326 := r.ReadMapStart() - if yyl1326 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1326, d) - } - } else if yyct1326 == codecSelferValueTypeArray1234 { - yyl1326 := r.ReadArrayStart() - if yyl1326 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1326, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1327Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1327Slc - var yyhl1327 bool = l >= 0 - for yyj1327 := 0; ; yyj1327++ { - if yyhl1327 { - if yyj1327 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1327Slc = r.DecodeBytes(yys1327Slc, true, true) - yys1327 := string(yys1327Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1327 { - case "reason": - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - case "message": - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1327) - } // end switch yys1327 - } // end for yyj1327 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1330 int - var yyb1330 bool - var yyhl1330 bool = l >= 0 - yyj1330++ - if yyhl1330 { - yyb1330 = yyj1330 > l - } else { - yyb1330 = r.CheckBreak() - } - if yyb1330 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj1330++ - if yyhl1330 { - yyb1330 = yyj1330 > l - } else { - yyb1330 = r.CheckBreak() - } - if yyb1330 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - for { - yyj1330++ - if yyhl1330 { - yyb1330 = yyj1330 > l - } else { - yyb1330 = r.CheckBreak() - } - if yyb1330 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1330-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1333 := z.EncBinary() - _ = yym1333 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1334 := !z.EncBinary() - yy2arr1334 := z.EncBasicHandle().StructToArray - var yyq1334 [1]bool - _, _, _ = yysep1334, yyq1334, yy2arr1334 - const yyr1334 bool = false - yyq1334[0] = true - var yynn1334 int - if yyr1334 || yy2arr1334 { - r.EncodeArrayStart(1) - } else { - yynn1334 = 0 - for _, b := range yyq1334 { - if b { - yynn1334++ - } - } - r.EncodeMapStart(yynn1334) - yynn1334 = 0 - } - if yyr1334 || yy2arr1334 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1334[0] { - yy1336 := &x.StartedAt - yym1337 := z.EncBinary() - _ = yym1337 - if false { - } else if z.HasExtensions() && z.EncExt(yy1336) { - } else if yym1337 { - z.EncBinaryMarshal(yy1336) - } else if !yym1337 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1336) - } else { - z.EncFallback(yy1336) - } - } else { - r.EncodeNil() - } - } else { - if yyq1334[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("startedAt")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1338 := &x.StartedAt - yym1339 := z.EncBinary() - _ = yym1339 - if false { - } else if z.HasExtensions() && z.EncExt(yy1338) { - } else if yym1339 { - z.EncBinaryMarshal(yy1338) - } else if !yym1339 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1338) - } else { - z.EncFallback(yy1338) - } - } - } - if yyr1334 || yy2arr1334 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18595,7 +18644,7 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18617,22 +18666,27 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod yys1342 := string(yys1342Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1342 { - case "startedAt": + case "postStart": if r.TryDecodeAsNil() { - x.StartedAt = pkg2_unversioned.Time{} - } else { - yyv1343 := &x.StartedAt - yym1344 := z.DecBinary() - _ = yym1344 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1343) { - } else if yym1344 { - z.DecBinaryUnmarshal(yyv1343) - } else if !yym1344 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1343) - } else { - z.DecFallback(yyv1343, false) + if x.PostStart != nil { + x.PostStart = nil } + } else { + if x.PostStart == nil { + x.PostStart = new(Handler) + } + x.PostStart.CodecDecodeSelf(d) + } + case "preStop": + if r.TryDecodeAsNil() { + if x.PreStop != nil { + x.PreStop = nil + } + } else { + if x.PreStop == nil { + x.PreStop = new(Handler) + } + x.PreStop.CodecDecodeSelf(d) } default: z.DecStructFieldNotFound(-1, yys1342) @@ -18641,7 +18695,7 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18660,20 +18714,35 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.StartedAt = pkg2_unversioned.Time{} - } else { - yyv1346 := &x.StartedAt - yym1347 := z.DecBinary() - _ = yym1347 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1346) { - } else if yym1347 { - z.DecBinaryUnmarshal(yyv1346) - } else if !yym1347 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1346) - } else { - z.DecFallback(yyv1346, false) + if x.PostStart != nil { + x.PostStart = nil } + } else { + if x.PostStart == nil { + x.PostStart = new(Handler) + } + x.PostStart.CodecDecodeSelf(d) + } + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l + } else { + yyb1345 = r.CheckBreak() + } + if yyb1345 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.PreStop != nil { + x.PreStop = nil + } + } else { + if x.PreStop == nil { + x.PreStop = new(Handler) + } + x.PreStop.CodecDecodeSelf(d) } for { yyj1345++ @@ -18691,6 +18760,452 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1348 := z.EncBinary() + _ = yym1348 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1349 := z.DecBinary() + _ = yym1349 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1350 := z.EncBinary() + _ = yym1350 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1351 := !z.EncBinary() + yy2arr1351 := z.EncBasicHandle().StructToArray + var yyq1351 [2]bool + _, _, _ = yysep1351, yyq1351, yy2arr1351 + const yyr1351 bool = false + yyq1351[0] = x.Reason != "" + yyq1351[1] = x.Message != "" + var yynn1351 int + if yyr1351 || yy2arr1351 { + r.EncodeArrayStart(2) + } else { + yynn1351 = 0 + for _, b := range yyq1351 { + if b { + yynn1351++ + } + } + r.EncodeMapStart(yynn1351) + yynn1351 = 0 + } + if yyr1351 || yy2arr1351 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1351[0] { + yym1353 := z.EncBinary() + _ = yym1353 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1351[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1354 := z.EncBinary() + _ = yym1354 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr1351 || yy2arr1351 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1351[1] { + yym1356 := z.EncBinary() + _ = yym1356 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1351[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1357 := z.EncBinary() + _ = yym1357 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr1351 || yy2arr1351 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1358 := z.DecBinary() + _ = yym1358 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1359 := r.ContainerType() + if yyct1359 == codecSelferValueTypeMap1234 { + yyl1359 := r.ReadMapStart() + if yyl1359 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1359, d) + } + } else if yyct1359 == codecSelferValueTypeArray1234 { + yyl1359 := r.ReadArrayStart() + if yyl1359 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1359, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1360Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1360Slc + var yyhl1360 bool = l >= 0 + for yyj1360 := 0; ; yyj1360++ { + if yyhl1360 { + if yyj1360 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1360Slc = r.DecodeBytes(yys1360Slc, true, true) + yys1360 := string(yys1360Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1360 { + case "reason": + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1360) + } // end switch yys1360 + } // end for yyj1360 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1363 int + var yyb1363 bool + var yyhl1363 bool = l >= 0 + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l + } else { + yyb1363 = r.CheckBreak() + } + if yyb1363 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l + } else { + yyb1363 = r.CheckBreak() + } + if yyb1363 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj1363++ + if yyhl1363 { + yyb1363 = yyj1363 > l + } else { + yyb1363 = r.CheckBreak() + } + if yyb1363 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1363-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1366 := z.EncBinary() + _ = yym1366 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1367 := !z.EncBinary() + yy2arr1367 := z.EncBasicHandle().StructToArray + var yyq1367 [1]bool + _, _, _ = yysep1367, yyq1367, yy2arr1367 + const yyr1367 bool = false + yyq1367[0] = true + var yynn1367 int + if yyr1367 || yy2arr1367 { + r.EncodeArrayStart(1) + } else { + yynn1367 = 0 + for _, b := range yyq1367 { + if b { + yynn1367++ + } + } + r.EncodeMapStart(yynn1367) + yynn1367 = 0 + } + if yyr1367 || yy2arr1367 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1367[0] { + yy1369 := &x.StartedAt + yym1370 := z.EncBinary() + _ = yym1370 + if false { + } else if z.HasExtensions() && z.EncExt(yy1369) { + } else if yym1370 { + z.EncBinaryMarshal(yy1369) + } else if !yym1370 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1369) + } else { + z.EncFallback(yy1369) + } + } else { + r.EncodeNil() + } + } else { + if yyq1367[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("startedAt")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1371 := &x.StartedAt + yym1372 := z.EncBinary() + _ = yym1372 + if false { + } else if z.HasExtensions() && z.EncExt(yy1371) { + } else if yym1372 { + z.EncBinaryMarshal(yy1371) + } else if !yym1372 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1371) + } else { + z.EncFallback(yy1371) + } + } + } + if yyr1367 || yy2arr1367 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1373 := z.DecBinary() + _ = yym1373 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1374 := r.ContainerType() + if yyct1374 == codecSelferValueTypeMap1234 { + yyl1374 := r.ReadMapStart() + if yyl1374 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1374, d) + } + } else if yyct1374 == codecSelferValueTypeArray1234 { + yyl1374 := r.ReadArrayStart() + if yyl1374 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1374, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1375Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1375Slc + var yyhl1375 bool = l >= 0 + for yyj1375 := 0; ; yyj1375++ { + if yyhl1375 { + if yyj1375 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1375Slc = r.DecodeBytes(yys1375Slc, true, true) + yys1375 := string(yys1375Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1375 { + case "startedAt": + if r.TryDecodeAsNil() { + x.StartedAt = pkg2_unversioned.Time{} + } else { + yyv1376 := &x.StartedAt + yym1377 := z.DecBinary() + _ = yym1377 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1376) { + } else if yym1377 { + z.DecBinaryUnmarshal(yyv1376) + } else if !yym1377 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1376) + } else { + z.DecFallback(yyv1376, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1375) + } // end switch yys1375 + } // end for yyj1375 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1378 int + var yyb1378 bool + var yyhl1378 bool = l >= 0 + yyj1378++ + if yyhl1378 { + yyb1378 = yyj1378 > l + } else { + yyb1378 = r.CheckBreak() + } + if yyb1378 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StartedAt = pkg2_unversioned.Time{} + } else { + yyv1379 := &x.StartedAt + yym1380 := z.DecBinary() + _ = yym1380 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1379) { + } else if yym1380 { + z.DecBinaryUnmarshal(yyv1379) + } else if !yym1380 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1379) + } else { + z.DecFallback(yyv1379, false) + } + } + for { + yyj1378++ + if yyhl1378 { + yyb1378 = yyj1378 > l + } else { + yyb1378 = r.CheckBreak() + } + if yyb1378 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1378-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -18698,39 +19213,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1348 := z.EncBinary() - _ = yym1348 + yym1381 := z.EncBinary() + _ = yym1381 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1349 := !z.EncBinary() - yy2arr1349 := z.EncBasicHandle().StructToArray - var yyq1349 [7]bool - _, _, _ = yysep1349, yyq1349, yy2arr1349 - const yyr1349 bool = false - yyq1349[1] = x.Signal != 0 - yyq1349[2] = x.Reason != "" - yyq1349[3] = x.Message != "" - yyq1349[4] = true - yyq1349[5] = true - yyq1349[6] = x.ContainerID != "" - var yynn1349 int - if yyr1349 || yy2arr1349 { + yysep1382 := !z.EncBinary() + yy2arr1382 := z.EncBasicHandle().StructToArray + var yyq1382 [7]bool + _, _, _ = yysep1382, yyq1382, yy2arr1382 + const yyr1382 bool = false + yyq1382[1] = x.Signal != 0 + yyq1382[2] = x.Reason != "" + yyq1382[3] = x.Message != "" + yyq1382[4] = true + yyq1382[5] = true + yyq1382[6] = x.ContainerID != "" + var yynn1382 int + if yyr1382 || yy2arr1382 { r.EncodeArrayStart(7) } else { - yynn1349 = 1 - for _, b := range yyq1349 { + yynn1382 = 1 + for _, b := range yyq1382 { if b { - yynn1349++ + yynn1382++ } } - r.EncodeMapStart(yynn1349) - yynn1349 = 0 + r.EncodeMapStart(yynn1382) + yynn1382 = 0 } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1351 := z.EncBinary() - _ = yym1351 + yym1384 := z.EncBinary() + _ = yym1384 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -18739,18 +19254,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1352 := z.EncBinary() - _ = yym1352 + yym1385 := z.EncBinary() + _ = yym1385 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[1] { - yym1354 := z.EncBinary() - _ = yym1354 + if yyq1382[1] { + yym1387 := z.EncBinary() + _ = yym1387 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -18759,23 +19274,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1349[1] { + if yyq1382[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1355 := z.EncBinary() - _ = yym1355 + yym1388 := z.EncBinary() + _ = yym1388 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[2] { - yym1357 := z.EncBinary() - _ = yym1357 + if yyq1382[2] { + yym1390 := z.EncBinary() + _ = yym1390 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -18784,23 +19299,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1349[2] { + if yyq1382[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1358 := z.EncBinary() - _ = yym1358 + yym1391 := z.EncBinary() + _ = yym1391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[3] { - yym1360 := z.EncBinary() - _ = yym1360 + if yyq1382[3] { + yym1393 := z.EncBinary() + _ = yym1393 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -18809,97 +19324,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1349[3] { + if yyq1382[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1361 := z.EncBinary() - _ = yym1361 + yym1394 := z.EncBinary() + _ = yym1394 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[4] { - yy1363 := &x.StartedAt - yym1364 := z.EncBinary() - _ = yym1364 + if yyq1382[4] { + yy1396 := &x.StartedAt + yym1397 := z.EncBinary() + _ = yym1397 if false { - } else if z.HasExtensions() && z.EncExt(yy1363) { - } else if yym1364 { - z.EncBinaryMarshal(yy1363) - } else if !yym1364 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1363) + } else if z.HasExtensions() && z.EncExt(yy1396) { + } else if yym1397 { + z.EncBinaryMarshal(yy1396) + } else if !yym1397 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1396) } else { - z.EncFallback(yy1363) + z.EncFallback(yy1396) } } else { r.EncodeNil() } } else { - if yyq1349[4] { + if yyq1382[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1365 := &x.StartedAt - yym1366 := z.EncBinary() - _ = yym1366 + yy1398 := &x.StartedAt + yym1399 := z.EncBinary() + _ = yym1399 if false { - } else if z.HasExtensions() && z.EncExt(yy1365) { - } else if yym1366 { - z.EncBinaryMarshal(yy1365) - } else if !yym1366 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1365) + } else if z.HasExtensions() && z.EncExt(yy1398) { + } else if yym1399 { + z.EncBinaryMarshal(yy1398) + } else if !yym1399 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1398) } else { - z.EncFallback(yy1365) + z.EncFallback(yy1398) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[5] { - yy1368 := &x.FinishedAt - yym1369 := z.EncBinary() - _ = yym1369 + if yyq1382[5] { + yy1401 := &x.FinishedAt + yym1402 := z.EncBinary() + _ = yym1402 if false { - } else if z.HasExtensions() && z.EncExt(yy1368) { - } else if yym1369 { - z.EncBinaryMarshal(yy1368) - } else if !yym1369 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1368) + } else if z.HasExtensions() && z.EncExt(yy1401) { + } else if yym1402 { + z.EncBinaryMarshal(yy1401) + } else if !yym1402 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1401) } else { - z.EncFallback(yy1368) + z.EncFallback(yy1401) } } else { r.EncodeNil() } } else { - if yyq1349[5] { + if yyq1382[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1370 := &x.FinishedAt - yym1371 := z.EncBinary() - _ = yym1371 + yy1403 := &x.FinishedAt + yym1404 := z.EncBinary() + _ = yym1404 if false { - } else if z.HasExtensions() && z.EncExt(yy1370) { - } else if yym1371 { - z.EncBinaryMarshal(yy1370) - } else if !yym1371 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1370) + } else if z.HasExtensions() && z.EncExt(yy1403) { + } else if yym1404 { + z.EncBinaryMarshal(yy1403) + } else if !yym1404 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1403) } else { - z.EncFallback(yy1370) + z.EncFallback(yy1403) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1349[6] { - yym1373 := z.EncBinary() - _ = yym1373 + if yyq1382[6] { + yym1406 := z.EncBinary() + _ = yym1406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -18908,19 +19423,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1349[6] { + if yyq1382[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1374 := z.EncBinary() - _ = yym1374 + yym1407 := z.EncBinary() + _ = yym1407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1349 || yy2arr1349 { + if yyr1382 || yy2arr1382 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18933,25 +19448,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1375 := z.DecBinary() - _ = yym1375 + yym1408 := z.DecBinary() + _ = yym1408 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1376 := r.ContainerType() - if yyct1376 == codecSelferValueTypeMap1234 { - yyl1376 := r.ReadMapStart() - if yyl1376 == 0 { + yyct1409 := r.ContainerType() + if yyct1409 == codecSelferValueTypeMap1234 { + yyl1409 := r.ReadMapStart() + if yyl1409 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1376, d) + x.codecDecodeSelfFromMap(yyl1409, d) } - } else if yyct1376 == codecSelferValueTypeArray1234 { - yyl1376 := r.ReadArrayStart() - if yyl1376 == 0 { + } else if yyct1409 == codecSelferValueTypeArray1234 { + yyl1409 := r.ReadArrayStart() + if yyl1409 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1376, d) + x.codecDecodeSelfFromArray(yyl1409, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18963,12 +19478,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1377Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1377Slc - var yyhl1377 bool = l >= 0 - for yyj1377 := 0; ; yyj1377++ { - if yyhl1377 { - if yyj1377 >= l { + var yys1410Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1410Slc + var yyhl1410 bool = l >= 0 + for yyj1410 := 0; ; yyj1410++ { + if yyhl1410 { + if yyj1410 >= l { break } } else { @@ -18977,10 +19492,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1377Slc = r.DecodeBytes(yys1377Slc, true, true) - yys1377 := string(yys1377Slc) + yys1410Slc = r.DecodeBytes(yys1410Slc, true, true) + yys1410 := string(yys1410Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1377 { + switch yys1410 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -19009,34 +19524,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1382 := &x.StartedAt - yym1383 := z.DecBinary() - _ = yym1383 + yyv1415 := &x.StartedAt + yym1416 := z.DecBinary() + _ = yym1416 if false { - } else if z.HasExtensions() && z.DecExt(yyv1382) { - } else if yym1383 { - z.DecBinaryUnmarshal(yyv1382) - } else if !yym1383 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1382) + } else if z.HasExtensions() && z.DecExt(yyv1415) { + } else if yym1416 { + z.DecBinaryUnmarshal(yyv1415) + } else if !yym1416 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1415) } else { - z.DecFallback(yyv1382, false) + z.DecFallback(yyv1415, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1384 := &x.FinishedAt - yym1385 := z.DecBinary() - _ = yym1385 + yyv1417 := &x.FinishedAt + yym1418 := z.DecBinary() + _ = yym1418 if false { - } else if z.HasExtensions() && z.DecExt(yyv1384) { - } else if yym1385 { - z.DecBinaryUnmarshal(yyv1384) - } else if !yym1385 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1384) + } else if z.HasExtensions() && z.DecExt(yyv1417) { + } else if yym1418 { + z.DecBinaryUnmarshal(yyv1417) + } else if !yym1418 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1417) } else { - z.DecFallback(yyv1384, false) + z.DecFallback(yyv1417, false) } } case "containerID": @@ -19046,9 +19561,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1377) - } // end switch yys1377 - } // end for yyj1377 + z.DecStructFieldNotFound(-1, yys1410) + } // end switch yys1410 + } // end for yyj1410 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19056,16 +19571,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1387 int - var yyb1387 bool - var yyhl1387 bool = l >= 0 - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + var yyj1420 int + var yyb1420 bool + var yyhl1420 bool = l >= 0 + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19075,13 +19590,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19091,13 +19606,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19107,13 +19622,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19123,13 +19638,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19137,26 +19652,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1392 := &x.StartedAt - yym1393 := z.DecBinary() - _ = yym1393 + yyv1425 := &x.StartedAt + yym1426 := z.DecBinary() + _ = yym1426 if false { - } else if z.HasExtensions() && z.DecExt(yyv1392) { - } else if yym1393 { - z.DecBinaryUnmarshal(yyv1392) - } else if !yym1393 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1392) + } else if z.HasExtensions() && z.DecExt(yyv1425) { + } else if yym1426 { + z.DecBinaryUnmarshal(yyv1425) + } else if !yym1426 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1425) } else { - z.DecFallback(yyv1392, false) + z.DecFallback(yyv1425, false) } } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19164,26 +19679,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1394 := &x.FinishedAt - yym1395 := z.DecBinary() - _ = yym1395 + yyv1427 := &x.FinishedAt + yym1428 := z.DecBinary() + _ = yym1428 if false { - } else if z.HasExtensions() && z.DecExt(yyv1394) { - } else if yym1395 { - z.DecBinaryUnmarshal(yyv1394) - } else if !yym1395 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1394) + } else if z.HasExtensions() && z.DecExt(yyv1427) { + } else if yym1428 { + z.DecBinaryUnmarshal(yyv1427) + } else if !yym1428 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1427) } else { - z.DecFallback(yyv1394, false) + z.DecFallback(yyv1427, false) } } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19194,17 +19709,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1420++ + if yyhl1420 { + yyb1420 = yyj1420 > l } else { - yyb1387 = r.CheckBreak() + yyb1420 = r.CheckBreak() } - if yyb1387 { + if yyb1420 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1387-1, "") + z.DecStructFieldNotFound(yyj1420-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19216,35 +19731,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1397 := z.EncBinary() - _ = yym1397 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1398 := !z.EncBinary() - yy2arr1398 := z.EncBasicHandle().StructToArray - var yyq1398 [3]bool - _, _, _ = yysep1398, yyq1398, yy2arr1398 - const yyr1398 bool = false - yyq1398[0] = x.Waiting != nil - yyq1398[1] = x.Running != nil - yyq1398[2] = x.Terminated != nil - var yynn1398 int - if yyr1398 || yy2arr1398 { + yysep1431 := !z.EncBinary() + yy2arr1431 := z.EncBasicHandle().StructToArray + var yyq1431 [3]bool + _, _, _ = yysep1431, yyq1431, yy2arr1431 + const yyr1431 bool = false + yyq1431[0] = x.Waiting != nil + yyq1431[1] = x.Running != nil + yyq1431[2] = x.Terminated != nil + var yynn1431 int + if yyr1431 || yy2arr1431 { r.EncodeArrayStart(3) } else { - yynn1398 = 0 - for _, b := range yyq1398 { + yynn1431 = 0 + for _, b := range yyq1431 { if b { - yynn1398++ + yynn1431++ } } - r.EncodeMapStart(yynn1398) - yynn1398 = 0 + r.EncodeMapStart(yynn1431) + yynn1431 = 0 } - if yyr1398 || yy2arr1398 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[0] { + if yyq1431[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -19254,7 +19769,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1398[0] { + if yyq1431[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19265,9 +19780,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1398 || yy2arr1398 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[1] { + if yyq1431[1] { if x.Running == nil { r.EncodeNil() } else { @@ -19277,7 +19792,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1398[1] { + if yyq1431[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19288,9 +19803,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1398 || yy2arr1398 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[2] { + if yyq1431[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -19300,7 +19815,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1398[2] { + if yyq1431[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19311,7 +19826,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1398 || yy2arr1398 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19324,25 +19839,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1402 := z.DecBinary() - _ = yym1402 + yym1435 := z.DecBinary() + _ = yym1435 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1403 := r.ContainerType() - if yyct1403 == codecSelferValueTypeMap1234 { - yyl1403 := r.ReadMapStart() - if yyl1403 == 0 { + yyct1436 := r.ContainerType() + if yyct1436 == codecSelferValueTypeMap1234 { + yyl1436 := r.ReadMapStart() + if yyl1436 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1403, d) + x.codecDecodeSelfFromMap(yyl1436, d) } - } else if yyct1403 == codecSelferValueTypeArray1234 { - yyl1403 := r.ReadArrayStart() - if yyl1403 == 0 { + } else if yyct1436 == codecSelferValueTypeArray1234 { + yyl1436 := r.ReadArrayStart() + if yyl1436 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1403, d) + x.codecDecodeSelfFromArray(yyl1436, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19354,12 +19869,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1404Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1404Slc - var yyhl1404 bool = l >= 0 - for yyj1404 := 0; ; yyj1404++ { - if yyhl1404 { - if yyj1404 >= l { + var yys1437Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1437Slc + var yyhl1437 bool = l >= 0 + for yyj1437 := 0; ; yyj1437++ { + if yyhl1437 { + if yyj1437 >= l { break } } else { @@ -19368,10 +19883,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1404Slc = r.DecodeBytes(yys1404Slc, true, true) - yys1404 := string(yys1404Slc) + yys1437Slc = r.DecodeBytes(yys1437Slc, true, true) + yys1437 := string(yys1437Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1404 { + switch yys1437 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -19406,9 +19921,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1404) - } // end switch yys1404 - } // end for yyj1404 + z.DecStructFieldNotFound(-1, yys1437) + } // end switch yys1437 + } // end for yyj1437 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19416,16 +19931,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1408 int - var yyb1408 bool - var yyhl1408 bool = l >= 0 - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + var yyj1441 int + var yyb1441 bool + var yyhl1441 bool = l >= 0 + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1408 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1408 { + if yyb1441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19440,13 +19955,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1408 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1408 { + if yyb1441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19461,13 +19976,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1408 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1408 { + if yyb1441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19483,17 +19998,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1408 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1408 { + if yyb1441 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1408-1, "") + z.DecStructFieldNotFound(yyj1441-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19505,36 +20020,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1412 := z.EncBinary() - _ = yym1412 + yym1445 := z.EncBinary() + _ = yym1445 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1413 := !z.EncBinary() - yy2arr1413 := z.EncBasicHandle().StructToArray - var yyq1413 [8]bool - _, _, _ = yysep1413, yyq1413, yy2arr1413 - const yyr1413 bool = false - yyq1413[1] = true - yyq1413[2] = true - yyq1413[7] = x.ContainerID != "" - var yynn1413 int - if yyr1413 || yy2arr1413 { + yysep1446 := !z.EncBinary() + yy2arr1446 := z.EncBasicHandle().StructToArray + var yyq1446 [8]bool + _, _, _ = yysep1446, yyq1446, yy2arr1446 + const yyr1446 bool = false + yyq1446[1] = true + yyq1446[2] = true + yyq1446[7] = x.ContainerID != "" + var yynn1446 int + if yyr1446 || yy2arr1446 { r.EncodeArrayStart(8) } else { - yynn1413 = 5 - for _, b := range yyq1413 { + yynn1446 = 5 + for _, b := range yyq1446 { if b { - yynn1413++ + yynn1446++ } } - r.EncodeMapStart(yynn1413) - yynn1413 = 0 + r.EncodeMapStart(yynn1446) + yynn1446 = 0 } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1415 := z.EncBinary() - _ = yym1415 + yym1448 := z.EncBinary() + _ = yym1448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -19543,51 +20058,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1416 := z.EncBinary() - _ = yym1416 + yym1449 := z.EncBinary() + _ = yym1449 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1413[1] { - yy1418 := &x.State - yy1418.CodecEncodeSelf(e) + if yyq1446[1] { + yy1451 := &x.State + yy1451.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1413[1] { + if yyq1446[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1419 := &x.State - yy1419.CodecEncodeSelf(e) + yy1452 := &x.State + yy1452.CodecEncodeSelf(e) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1413[2] { - yy1421 := &x.LastTerminationState - yy1421.CodecEncodeSelf(e) + if yyq1446[2] { + yy1454 := &x.LastTerminationState + yy1454.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1413[2] { + if yyq1446[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1422 := &x.LastTerminationState - yy1422.CodecEncodeSelf(e) + yy1455 := &x.LastTerminationState + yy1455.CodecEncodeSelf(e) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1424 := z.EncBinary() - _ = yym1424 + yym1457 := z.EncBinary() + _ = yym1457 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -19596,17 +20111,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1425 := z.EncBinary() - _ = yym1425 + yym1458 := z.EncBinary() + _ = yym1458 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1427 := z.EncBinary() - _ = yym1427 + yym1460 := z.EncBinary() + _ = yym1460 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -19615,17 +20130,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1428 := z.EncBinary() - _ = yym1428 + yym1461 := z.EncBinary() + _ = yym1461 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1430 := z.EncBinary() - _ = yym1430 + yym1463 := z.EncBinary() + _ = yym1463 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -19634,17 +20149,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1431 := z.EncBinary() - _ = yym1431 + yym1464 := z.EncBinary() + _ = yym1464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1433 := z.EncBinary() - _ = yym1433 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -19653,18 +20168,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1434 := z.EncBinary() - _ = yym1434 + yym1467 := z.EncBinary() + _ = yym1467 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1413[7] { - yym1436 := z.EncBinary() - _ = yym1436 + if yyq1446[7] { + yym1469 := z.EncBinary() + _ = yym1469 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -19673,19 +20188,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1413[7] { + if yyq1446[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1437 := z.EncBinary() - _ = yym1437 + yym1470 := z.EncBinary() + _ = yym1470 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1413 || yy2arr1413 { + if yyr1446 || yy2arr1446 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19698,25 +20213,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1438 := z.DecBinary() - _ = yym1438 + yym1471 := z.DecBinary() + _ = yym1471 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1439 := r.ContainerType() - if yyct1439 == codecSelferValueTypeMap1234 { - yyl1439 := r.ReadMapStart() - if yyl1439 == 0 { + yyct1472 := r.ContainerType() + if yyct1472 == codecSelferValueTypeMap1234 { + yyl1472 := r.ReadMapStart() + if yyl1472 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1439, d) + x.codecDecodeSelfFromMap(yyl1472, d) } - } else if yyct1439 == codecSelferValueTypeArray1234 { - yyl1439 := r.ReadArrayStart() - if yyl1439 == 0 { + } else if yyct1472 == codecSelferValueTypeArray1234 { + yyl1472 := r.ReadArrayStart() + if yyl1472 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1439, d) + x.codecDecodeSelfFromArray(yyl1472, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19728,12 +20243,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1440Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1440Slc - var yyhl1440 bool = l >= 0 - for yyj1440 := 0; ; yyj1440++ { - if yyhl1440 { - if yyj1440 >= l { + var yys1473Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1473Slc + var yyhl1473 bool = l >= 0 + for yyj1473 := 0; ; yyj1473++ { + if yyhl1473 { + if yyj1473 >= l { break } } else { @@ -19742,10 +20257,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1440Slc = r.DecodeBytes(yys1440Slc, true, true) - yys1440 := string(yys1440Slc) + yys1473Slc = r.DecodeBytes(yys1473Slc, true, true) + yys1473 := string(yys1473Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1440 { + switch yys1473 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -19756,15 +20271,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1442 := &x.State - yyv1442.CodecDecodeSelf(d) + yyv1475 := &x.State + yyv1475.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1443 := &x.LastTerminationState - yyv1443.CodecDecodeSelf(d) + yyv1476 := &x.LastTerminationState + yyv1476.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -19797,9 +20312,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1440) - } // end switch yys1440 - } // end for yyj1440 + z.DecStructFieldNotFound(-1, yys1473) + } // end switch yys1473 + } // end for yyj1473 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19807,16 +20322,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1449 int - var yyb1449 bool - var yyhl1449 bool = l >= 0 - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + var yyj1482 int + var yyb1482 bool + var yyhl1482 bool = l >= 0 + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19826,13 +20341,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19840,16 +20355,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1451 := &x.State - yyv1451.CodecDecodeSelf(d) + yyv1484 := &x.State + yyv1484.CodecDecodeSelf(d) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19857,16 +20372,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1452 := &x.LastTerminationState - yyv1452.CodecDecodeSelf(d) + yyv1485 := &x.LastTerminationState + yyv1485.CodecDecodeSelf(d) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19876,13 +20391,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19892,13 +20407,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19908,13 +20423,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19924,13 +20439,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19941,17 +20456,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1449++ - if yyhl1449 { - yyb1449 = yyj1449 > l + yyj1482++ + if yyhl1482 { + yyb1482 = yyj1482 > l } else { - yyb1449 = r.CheckBreak() + yyb1482 = r.CheckBreak() } - if yyb1449 { + if yyb1482 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1449-1, "") + z.DecStructFieldNotFound(yyj1482-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19960,8 +20475,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1458 := z.EncBinary() - _ = yym1458 + yym1491 := z.EncBinary() + _ = yym1491 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19973,8 +20488,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1459 := z.DecBinary() - _ = yym1459 + yym1492 := z.DecBinary() + _ = yym1492 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19986,8 +20501,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1460 := z.EncBinary() - _ = yym1460 + yym1493 := z.EncBinary() + _ = yym1493 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19999,8 +20514,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1461 := z.DecBinary() - _ = yym1461 + yym1494 := z.DecBinary() + _ = yym1494 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20015,34 +20530,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1462 := z.EncBinary() - _ = yym1462 + yym1495 := z.EncBinary() + _ = yym1495 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1463 := !z.EncBinary() - yy2arr1463 := z.EncBasicHandle().StructToArray - var yyq1463 [6]bool - _, _, _ = yysep1463, yyq1463, yy2arr1463 - const yyr1463 bool = false - yyq1463[2] = true - yyq1463[3] = true - yyq1463[4] = x.Reason != "" - yyq1463[5] = x.Message != "" - var yynn1463 int - if yyr1463 || yy2arr1463 { + yysep1496 := !z.EncBinary() + yy2arr1496 := z.EncBasicHandle().StructToArray + var yyq1496 [6]bool + _, _, _ = yysep1496, yyq1496, yy2arr1496 + const yyr1496 bool = false + yyq1496[2] = true + yyq1496[3] = true + yyq1496[4] = x.Reason != "" + yyq1496[5] = x.Message != "" + var yynn1496 int + if yyr1496 || yy2arr1496 { r.EncodeArrayStart(6) } else { - yynn1463 = 2 - for _, b := range yyq1463 { + yynn1496 = 2 + for _, b := range yyq1496 { if b { - yynn1463++ + yynn1496++ } } - r.EncodeMapStart(yynn1463) - yynn1463 = 0 + r.EncodeMapStart(yynn1496) + yynn1496 = 0 } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -20051,7 +20566,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -20060,85 +20575,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1463[2] { - yy1467 := &x.LastProbeTime - yym1468 := z.EncBinary() - _ = yym1468 + if yyq1496[2] { + yy1500 := &x.LastProbeTime + yym1501 := z.EncBinary() + _ = yym1501 if false { - } else if z.HasExtensions() && z.EncExt(yy1467) { - } else if yym1468 { - z.EncBinaryMarshal(yy1467) - } else if !yym1468 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1467) + } else if z.HasExtensions() && z.EncExt(yy1500) { + } else if yym1501 { + z.EncBinaryMarshal(yy1500) + } else if !yym1501 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1500) } else { - z.EncFallback(yy1467) + z.EncFallback(yy1500) } } else { r.EncodeNil() } } else { - if yyq1463[2] { + if yyq1496[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1469 := &x.LastProbeTime - yym1470 := z.EncBinary() - _ = yym1470 + yy1502 := &x.LastProbeTime + yym1503 := z.EncBinary() + _ = yym1503 if false { - } else if z.HasExtensions() && z.EncExt(yy1469) { - } else if yym1470 { - z.EncBinaryMarshal(yy1469) - } else if !yym1470 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1469) + } else if z.HasExtensions() && z.EncExt(yy1502) { + } else if yym1503 { + z.EncBinaryMarshal(yy1502) + } else if !yym1503 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1502) } else { - z.EncFallback(yy1469) + z.EncFallback(yy1502) } } } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1463[3] { - yy1472 := &x.LastTransitionTime - yym1473 := z.EncBinary() - _ = yym1473 + if yyq1496[3] { + yy1505 := &x.LastTransitionTime + yym1506 := z.EncBinary() + _ = yym1506 if false { - } else if z.HasExtensions() && z.EncExt(yy1472) { - } else if yym1473 { - z.EncBinaryMarshal(yy1472) - } else if !yym1473 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1472) + } else if z.HasExtensions() && z.EncExt(yy1505) { + } else if yym1506 { + z.EncBinaryMarshal(yy1505) + } else if !yym1506 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1505) } else { - z.EncFallback(yy1472) + z.EncFallback(yy1505) } } else { r.EncodeNil() } } else { - if yyq1463[3] { + if yyq1496[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1474 := &x.LastTransitionTime - yym1475 := z.EncBinary() - _ = yym1475 + yy1507 := &x.LastTransitionTime + yym1508 := z.EncBinary() + _ = yym1508 if false { - } else if z.HasExtensions() && z.EncExt(yy1474) { - } else if yym1475 { - z.EncBinaryMarshal(yy1474) - } else if !yym1475 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1474) + } else if z.HasExtensions() && z.EncExt(yy1507) { + } else if yym1508 { + z.EncBinaryMarshal(yy1507) + } else if !yym1508 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1507) } else { - z.EncFallback(yy1474) + z.EncFallback(yy1507) } } } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1463[4] { - yym1477 := z.EncBinary() - _ = yym1477 + if yyq1496[4] { + yym1510 := z.EncBinary() + _ = yym1510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20147,23 +20662,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1463[4] { + if yyq1496[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1478 := z.EncBinary() - _ = yym1478 + yym1511 := z.EncBinary() + _ = yym1511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1463[5] { - yym1480 := z.EncBinary() - _ = yym1480 + if yyq1496[5] { + yym1513 := z.EncBinary() + _ = yym1513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20172,19 +20687,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1463[5] { + if yyq1496[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1481 := z.EncBinary() - _ = yym1481 + yym1514 := z.EncBinary() + _ = yym1514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1463 || yy2arr1463 { + if yyr1496 || yy2arr1496 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20197,25 +20712,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1482 := z.DecBinary() - _ = yym1482 + yym1515 := z.DecBinary() + _ = yym1515 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1483 := r.ContainerType() - if yyct1483 == codecSelferValueTypeMap1234 { - yyl1483 := r.ReadMapStart() - if yyl1483 == 0 { + yyct1516 := r.ContainerType() + if yyct1516 == codecSelferValueTypeMap1234 { + yyl1516 := r.ReadMapStart() + if yyl1516 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1483, d) + x.codecDecodeSelfFromMap(yyl1516, d) } - } else if yyct1483 == codecSelferValueTypeArray1234 { - yyl1483 := r.ReadArrayStart() - if yyl1483 == 0 { + } else if yyct1516 == codecSelferValueTypeArray1234 { + yyl1516 := r.ReadArrayStart() + if yyl1516 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1483, d) + x.codecDecodeSelfFromArray(yyl1516, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20227,12 +20742,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1484Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1484Slc - var yyhl1484 bool = l >= 0 - for yyj1484 := 0; ; yyj1484++ { - if yyhl1484 { - if yyj1484 >= l { + var yys1517Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1517Slc + var yyhl1517 bool = l >= 0 + for yyj1517 := 0; ; yyj1517++ { + if yyhl1517 { + if yyj1517 >= l { break } } else { @@ -20241,10 +20756,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1484Slc = r.DecodeBytes(yys1484Slc, true, true) - yys1484 := string(yys1484Slc) + yys1517Slc = r.DecodeBytes(yys1517Slc, true, true) + yys1517 := string(yys1517Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1484 { + switch yys1517 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -20261,34 +20776,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1487 := &x.LastProbeTime - yym1488 := z.DecBinary() - _ = yym1488 + yyv1520 := &x.LastProbeTime + yym1521 := z.DecBinary() + _ = yym1521 if false { - } else if z.HasExtensions() && z.DecExt(yyv1487) { - } else if yym1488 { - z.DecBinaryUnmarshal(yyv1487) - } else if !yym1488 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1487) + } else if z.HasExtensions() && z.DecExt(yyv1520) { + } else if yym1521 { + z.DecBinaryUnmarshal(yyv1520) + } else if !yym1521 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1520) } else { - z.DecFallback(yyv1487, false) + z.DecFallback(yyv1520, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1489 := &x.LastTransitionTime - yym1490 := z.DecBinary() - _ = yym1490 + yyv1522 := &x.LastTransitionTime + yym1523 := z.DecBinary() + _ = yym1523 if false { - } else if z.HasExtensions() && z.DecExt(yyv1489) { - } else if yym1490 { - z.DecBinaryUnmarshal(yyv1489) - } else if !yym1490 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1489) + } else if z.HasExtensions() && z.DecExt(yyv1522) { + } else if yym1523 { + z.DecBinaryUnmarshal(yyv1522) + } else if !yym1523 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1522) } else { - z.DecFallback(yyv1489, false) + z.DecFallback(yyv1522, false) } } case "reason": @@ -20304,9 +20819,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1484) - } // end switch yys1484 - } // end for yyj1484 + z.DecStructFieldNotFound(-1, yys1517) + } // end switch yys1517 + } // end for yyj1517 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20314,16 +20829,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1493 int - var yyb1493 bool - var yyhl1493 bool = l >= 0 - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + var yyj1526 int + var yyb1526 bool + var yyhl1526 bool = l >= 0 + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20333,13 +20848,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20349,13 +20864,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20363,26 +20878,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1496 := &x.LastProbeTime - yym1497 := z.DecBinary() - _ = yym1497 + yyv1529 := &x.LastProbeTime + yym1530 := z.DecBinary() + _ = yym1530 if false { - } else if z.HasExtensions() && z.DecExt(yyv1496) { - } else if yym1497 { - z.DecBinaryUnmarshal(yyv1496) - } else if !yym1497 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1496) + } else if z.HasExtensions() && z.DecExt(yyv1529) { + } else if yym1530 { + z.DecBinaryUnmarshal(yyv1529) + } else if !yym1530 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1529) } else { - z.DecFallback(yyv1496, false) + z.DecFallback(yyv1529, false) } } - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20390,26 +20905,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1498 := &x.LastTransitionTime - yym1499 := z.DecBinary() - _ = yym1499 + yyv1531 := &x.LastTransitionTime + yym1532 := z.DecBinary() + _ = yym1532 if false { - } else if z.HasExtensions() && z.DecExt(yyv1498) { - } else if yym1499 { - z.DecBinaryUnmarshal(yyv1498) - } else if !yym1499 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1498) + } else if z.HasExtensions() && z.DecExt(yyv1531) { + } else if yym1532 { + z.DecBinaryUnmarshal(yyv1531) + } else if !yym1532 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1531) } else { - z.DecFallback(yyv1498, false) + z.DecFallback(yyv1531, false) } } - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20419,13 +20934,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20436,17 +20951,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1493++ - if yyhl1493 { - yyb1493 = yyj1493 > l + yyj1526++ + if yyhl1526 { + yyb1526 = yyj1526 > l } else { - yyb1493 = r.CheckBreak() + yyb1526 = r.CheckBreak() } - if yyb1493 { + if yyb1526 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1493-1, "") + z.DecStructFieldNotFound(yyj1526-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20455,8 +20970,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1502 := z.EncBinary() - _ = yym1502 + yym1535 := z.EncBinary() + _ = yym1535 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20468,8 +20983,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1503 := z.DecBinary() - _ = yym1503 + yym1536 := z.DecBinary() + _ = yym1536 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20484,68 +20999,68 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1504 := z.EncBinary() - _ = yym1504 + yym1537 := z.EncBinary() + _ = yym1537 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1505 := !z.EncBinary() - yy2arr1505 := z.EncBasicHandle().StructToArray - var yyq1505 [4]bool - _, _, _ = yysep1505, yyq1505, yy2arr1505 - const yyr1505 bool = false - yyq1505[0] = true - yyq1505[2] = x.Kind != "" - yyq1505[3] = x.APIVersion != "" - var yynn1505 int - if yyr1505 || yy2arr1505 { + yysep1538 := !z.EncBinary() + yy2arr1538 := z.EncBasicHandle().StructToArray + var yyq1538 [4]bool + _, _, _ = yysep1538, yyq1538, yy2arr1538 + const yyr1538 bool = false + yyq1538[0] = true + yyq1538[2] = x.Kind != "" + yyq1538[3] = x.APIVersion != "" + var yynn1538 int + if yyr1538 || yy2arr1538 { r.EncodeArrayStart(4) } else { - yynn1505 = 1 - for _, b := range yyq1505 { + yynn1538 = 1 + for _, b := range yyq1538 { if b { - yynn1505++ + yynn1538++ } } - r.EncodeMapStart(yynn1505) - yynn1505 = 0 + r.EncodeMapStart(yynn1538) + yynn1538 = 0 } - if yyr1505 || yy2arr1505 { + if yyr1538 || yy2arr1538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1505[0] { - yy1507 := &x.ListMeta - yym1508 := z.EncBinary() - _ = yym1508 + if yyq1538[0] { + yy1540 := &x.ListMeta + yym1541 := z.EncBinary() + _ = yym1541 if false { - } else if z.HasExtensions() && z.EncExt(yy1507) { + } else if z.HasExtensions() && z.EncExt(yy1540) { } else { - z.EncFallback(yy1507) + z.EncFallback(yy1540) } } else { r.EncodeNil() } } else { - if yyq1505[0] { + if yyq1538[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1509 := &x.ListMeta - yym1510 := z.EncBinary() - _ = yym1510 + yy1542 := &x.ListMeta + yym1543 := z.EncBinary() + _ = yym1543 if false { - } else if z.HasExtensions() && z.EncExt(yy1509) { + } else if z.HasExtensions() && z.EncExt(yy1542) { } else { - z.EncFallback(yy1509) + z.EncFallback(yy1542) } } } - if yyr1505 || yy2arr1505 { + if yyr1538 || yy2arr1538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1512 := z.EncBinary() - _ = yym1512 + yym1545 := z.EncBinary() + _ = yym1545 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -20558,19 +21073,19 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1513 := z.EncBinary() - _ = yym1513 + yym1546 := z.EncBinary() + _ = yym1546 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr1505 || yy2arr1505 { + if yyr1538 || yy2arr1538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1505[2] { - yym1515 := z.EncBinary() - _ = yym1515 + if yyq1538[2] { + yym1548 := z.EncBinary() + _ = yym1548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20579,23 +21094,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1505[2] { + if yyq1538[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1516 := z.EncBinary() - _ = yym1516 + yym1549 := z.EncBinary() + _ = yym1549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1505 || yy2arr1505 { + if yyr1538 || yy2arr1538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1505[3] { - yym1518 := z.EncBinary() - _ = yym1518 + if yyq1538[3] { + yym1551 := z.EncBinary() + _ = yym1551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20604,19 +21119,19 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1505[3] { + if yyq1538[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1519 := z.EncBinary() - _ = yym1519 + yym1552 := z.EncBinary() + _ = yym1552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1505 || yy2arr1505 { + if yyr1538 || yy2arr1538 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20629,25 +21144,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1520 := z.DecBinary() - _ = yym1520 + yym1553 := z.DecBinary() + _ = yym1553 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1521 := r.ContainerType() - if yyct1521 == codecSelferValueTypeMap1234 { - yyl1521 := r.ReadMapStart() - if yyl1521 == 0 { + yyct1554 := r.ContainerType() + if yyct1554 == codecSelferValueTypeMap1234 { + yyl1554 := r.ReadMapStart() + if yyl1554 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1521, d) + x.codecDecodeSelfFromMap(yyl1554, d) } - } else if yyct1521 == codecSelferValueTypeArray1234 { - yyl1521 := r.ReadArrayStart() - if yyl1521 == 0 { + } else if yyct1554 == codecSelferValueTypeArray1234 { + yyl1554 := r.ReadArrayStart() + if yyl1554 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1521, d) + x.codecDecodeSelfFromArray(yyl1554, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20659,12 +21174,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1522Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1522Slc - var yyhl1522 bool = l >= 0 - for yyj1522 := 0; ; yyj1522++ { - if yyhl1522 { - if yyj1522 >= l { + var yys1555Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1555Slc + var yyhl1555 bool = l >= 0 + for yyj1555 := 0; ; yyj1555++ { + if yyhl1555 { + if yyj1555 >= l { break } } else { @@ -20673,33 +21188,33 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1522Slc = r.DecodeBytes(yys1522Slc, true, true) - yys1522 := string(yys1522Slc) + yys1555Slc = r.DecodeBytes(yys1555Slc, true, true) + yys1555 := string(yys1555Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1522 { + switch yys1555 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1523 := &x.ListMeta - yym1524 := z.DecBinary() - _ = yym1524 + yyv1556 := &x.ListMeta + yym1557 := z.DecBinary() + _ = yym1557 if false { - } else if z.HasExtensions() && z.DecExt(yyv1523) { + } else if z.HasExtensions() && z.DecExt(yyv1556) { } else { - z.DecFallback(yyv1523, false) + z.DecFallback(yyv1556, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1525 := &x.Items - yym1526 := z.DecBinary() - _ = yym1526 + yyv1558 := &x.Items + yym1559 := z.DecBinary() + _ = yym1559 if false { } else { - h.decSlicePod((*[]Pod)(yyv1525), d) + h.decSlicePod((*[]Pod)(yyv1558), d) } } case "kind": @@ -20715,9 +21230,9 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1522) - } // end switch yys1522 - } // end for yyj1522 + z.DecStructFieldNotFound(-1, yys1555) + } // end switch yys1555 + } // end for yyj1555 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20725,16 +21240,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1529 int - var yyb1529 bool - var yyhl1529 bool = l >= 0 - yyj1529++ - if yyhl1529 { - yyb1529 = yyj1529 > l + var yyj1562 int + var yyb1562 bool + var yyhl1562 bool = l >= 0 + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1529 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1529 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20742,22 +21257,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1530 := &x.ListMeta - yym1531 := z.DecBinary() - _ = yym1531 + yyv1563 := &x.ListMeta + yym1564 := z.DecBinary() + _ = yym1564 if false { - } else if z.HasExtensions() && z.DecExt(yyv1530) { + } else if z.HasExtensions() && z.DecExt(yyv1563) { } else { - z.DecFallback(yyv1530, false) + z.DecFallback(yyv1563, false) } } - yyj1529++ - if yyhl1529 { - yyb1529 = yyj1529 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1529 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1529 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20765,21 +21280,21 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1532 := &x.Items - yym1533 := z.DecBinary() - _ = yym1533 + yyv1565 := &x.Items + yym1566 := z.DecBinary() + _ = yym1566 if false { } else { - h.decSlicePod((*[]Pod)(yyv1532), d) + h.decSlicePod((*[]Pod)(yyv1565), d) } } - yyj1529++ - if yyhl1529 { - yyb1529 = yyj1529 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1529 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1529 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20789,13 +21304,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1529++ - if yyhl1529 { - yyb1529 = yyj1529 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1529 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1529 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20806,17 +21321,17 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1529++ - if yyhl1529 { - yyb1529 = yyj1529 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1529 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1529 { + if yyb1562 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1529-1, "") + z.DecStructFieldNotFound(yyj1562-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20825,8 +21340,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1536 := z.EncBinary() - _ = yym1536 + yym1569 := z.EncBinary() + _ = yym1569 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20838,8 +21353,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1537 := z.DecBinary() - _ = yym1537 + yym1570 := z.DecBinary() + _ = yym1570 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20854,36 +21369,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1538 := z.EncBinary() - _ = yym1538 + yym1571 := z.EncBinary() + _ = yym1571 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1539 := !z.EncBinary() - yy2arr1539 := z.EncBasicHandle().StructToArray - var yyq1539 [1]bool - _, _, _ = yysep1539, yyq1539, yy2arr1539 - const yyr1539 bool = false - var yynn1539 int - if yyr1539 || yy2arr1539 { + yysep1572 := !z.EncBinary() + yy2arr1572 := z.EncBasicHandle().StructToArray + var yyq1572 [1]bool + _, _, _ = yysep1572, yyq1572, yy2arr1572 + const yyr1572 bool = false + var yynn1572 int + if yyr1572 || yy2arr1572 { r.EncodeArrayStart(1) } else { - yynn1539 = 1 - for _, b := range yyq1539 { + yynn1572 = 1 + for _, b := range yyq1572 { if b { - yynn1539++ + yynn1572++ } } - r.EncodeMapStart(yynn1539) - yynn1539 = 0 + r.EncodeMapStart(yynn1572) + yynn1572 = 0 } - if yyr1539 || yy2arr1539 { + if yyr1572 || yy2arr1572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1541 := z.EncBinary() - _ = yym1541 + yym1574 := z.EncBinary() + _ = yym1574 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -20896,15 +21411,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1542 := z.EncBinary() - _ = yym1542 + yym1575 := z.EncBinary() + _ = yym1575 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr1539 || yy2arr1539 { + if yyr1572 || yy2arr1572 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20917,25 +21432,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1543 := z.DecBinary() - _ = yym1543 + yym1576 := z.DecBinary() + _ = yym1576 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1544 := r.ContainerType() - if yyct1544 == codecSelferValueTypeMap1234 { - yyl1544 := r.ReadMapStart() - if yyl1544 == 0 { + yyct1577 := r.ContainerType() + if yyct1577 == codecSelferValueTypeMap1234 { + yyl1577 := r.ReadMapStart() + if yyl1577 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1544, d) + x.codecDecodeSelfFromMap(yyl1577, d) } - } else if yyct1544 == codecSelferValueTypeArray1234 { - yyl1544 := r.ReadArrayStart() - if yyl1544 == 0 { + } else if yyct1577 == codecSelferValueTypeArray1234 { + yyl1577 := r.ReadArrayStart() + if yyl1577 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1544, d) + x.codecDecodeSelfFromArray(yyl1577, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20947,12 +21462,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1545Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1545Slc - var yyhl1545 bool = l >= 0 - for yyj1545 := 0; ; yyj1545++ { - if yyhl1545 { - if yyj1545 >= l { + var yys1578Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1578Slc + var yyhl1578 bool = l >= 0 + for yyj1578 := 0; ; yyj1578++ { + if yyhl1578 { + if yyj1578 >= l { break } } else { @@ -20961,26 +21476,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1545Slc = r.DecodeBytes(yys1545Slc, true, true) - yys1545 := string(yys1545Slc) + yys1578Slc = r.DecodeBytes(yys1578Slc, true, true) + yys1578 := string(yys1578Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1545 { + switch yys1578 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1546 := &x.NodeSelectorTerms - yym1547 := z.DecBinary() - _ = yym1547 + yyv1579 := &x.NodeSelectorTerms + yym1580 := z.DecBinary() + _ = yym1580 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1546), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1579), d) } } default: - z.DecStructFieldNotFound(-1, yys1545) - } // end switch yys1545 - } // end for yyj1545 + z.DecStructFieldNotFound(-1, yys1578) + } // end switch yys1578 + } // end for yyj1578 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20988,16 +21503,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1548 int - var yyb1548 bool - var yyhl1548 bool = l >= 0 - yyj1548++ - if yyhl1548 { - yyb1548 = yyj1548 > l + var yyj1581 int + var yyb1581 bool + var yyhl1581 bool = l >= 0 + yyj1581++ + if yyhl1581 { + yyb1581 = yyj1581 > l } else { - yyb1548 = r.CheckBreak() + yyb1581 = r.CheckBreak() } - if yyb1548 { + if yyb1581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21005,26 +21520,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1549 := &x.NodeSelectorTerms - yym1550 := z.DecBinary() - _ = yym1550 + yyv1582 := &x.NodeSelectorTerms + yym1583 := z.DecBinary() + _ = yym1583 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1549), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1582), d) } } for { - yyj1548++ - if yyhl1548 { - yyb1548 = yyj1548 > l + yyj1581++ + if yyhl1581 { + yyb1581 = yyj1581 > l } else { - yyb1548 = r.CheckBreak() + yyb1581 = r.CheckBreak() } - if yyb1548 { + if yyb1581 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1548-1, "") + z.DecStructFieldNotFound(yyj1581-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21036,36 +21551,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1551 := z.EncBinary() - _ = yym1551 + yym1584 := z.EncBinary() + _ = yym1584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1552 := !z.EncBinary() - yy2arr1552 := z.EncBasicHandle().StructToArray - var yyq1552 [1]bool - _, _, _ = yysep1552, yyq1552, yy2arr1552 - const yyr1552 bool = false - var yynn1552 int - if yyr1552 || yy2arr1552 { + yysep1585 := !z.EncBinary() + yy2arr1585 := z.EncBasicHandle().StructToArray + var yyq1585 [1]bool + _, _, _ = yysep1585, yyq1585, yy2arr1585 + const yyr1585 bool = false + var yynn1585 int + if yyr1585 || yy2arr1585 { r.EncodeArrayStart(1) } else { - yynn1552 = 1 - for _, b := range yyq1552 { + yynn1585 = 1 + for _, b := range yyq1585 { if b { - yynn1552++ + yynn1585++ } } - r.EncodeMapStart(yynn1552) - yynn1552 = 0 + r.EncodeMapStart(yynn1585) + yynn1585 = 0 } - if yyr1552 || yy2arr1552 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1554 := z.EncBinary() - _ = yym1554 + yym1587 := z.EncBinary() + _ = yym1587 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -21078,15 +21593,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1555 := z.EncBinary() - _ = yym1555 + yym1588 := z.EncBinary() + _ = yym1588 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr1552 || yy2arr1552 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21099,25 +21614,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1556 := z.DecBinary() - _ = yym1556 + yym1589 := z.DecBinary() + _ = yym1589 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1557 := r.ContainerType() - if yyct1557 == codecSelferValueTypeMap1234 { - yyl1557 := r.ReadMapStart() - if yyl1557 == 0 { + yyct1590 := r.ContainerType() + if yyct1590 == codecSelferValueTypeMap1234 { + yyl1590 := r.ReadMapStart() + if yyl1590 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1557, d) + x.codecDecodeSelfFromMap(yyl1590, d) } - } else if yyct1557 == codecSelferValueTypeArray1234 { - yyl1557 := r.ReadArrayStart() - if yyl1557 == 0 { + } else if yyct1590 == codecSelferValueTypeArray1234 { + yyl1590 := r.ReadArrayStart() + if yyl1590 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1557, d) + x.codecDecodeSelfFromArray(yyl1590, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21129,12 +21644,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1558Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1558Slc - var yyhl1558 bool = l >= 0 - for yyj1558 := 0; ; yyj1558++ { - if yyhl1558 { - if yyj1558 >= l { + var yys1591Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1591Slc + var yyhl1591 bool = l >= 0 + for yyj1591 := 0; ; yyj1591++ { + if yyhl1591 { + if yyj1591 >= l { break } } else { @@ -21143,495 +21658,30 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1558Slc = r.DecodeBytes(yys1558Slc, true, true) - yys1558 := string(yys1558Slc) + yys1591Slc = r.DecodeBytes(yys1591Slc, true, true) + yys1591 := string(yys1591Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1558 { + switch yys1591 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1559 := &x.MatchExpressions - yym1560 := z.DecBinary() - _ = yym1560 + yyv1592 := &x.MatchExpressions + yym1593 := z.DecBinary() + _ = yym1593 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1559), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1592), d) } } default: - z.DecStructFieldNotFound(-1, yys1558) - } // end switch yys1558 - } // end for yyj1558 + z.DecStructFieldNotFound(-1, yys1591) + } // end switch yys1591 + } // end for yyj1591 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1561 int - var yyb1561 bool - var yyhl1561 bool = l >= 0 - yyj1561++ - if yyhl1561 { - yyb1561 = yyj1561 > l - } else { - yyb1561 = r.CheckBreak() - } - if yyb1561 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv1562 := &x.MatchExpressions - yym1563 := z.DecBinary() - _ = yym1563 - if false { - } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1562), d) - } - } - for { - yyj1561++ - if yyhl1561 { - yyb1561 = yyj1561 > l - } else { - yyb1561 = r.CheckBreak() - } - if yyb1561 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1561-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1564 := z.EncBinary() - _ = yym1564 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1565 := !z.EncBinary() - yy2arr1565 := z.EncBasicHandle().StructToArray - var yyq1565 [3]bool - _, _, _ = yysep1565, yyq1565, yy2arr1565 - const yyr1565 bool = false - yyq1565[2] = len(x.Values) != 0 - var yynn1565 int - if yyr1565 || yy2arr1565 { - r.EncodeArrayStart(3) - } else { - yynn1565 = 2 - for _, b := range yyq1565 { - if b { - yynn1565++ - } - } - r.EncodeMapStart(yynn1565) - yynn1565 = 0 - } - if yyr1565 || yy2arr1565 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1567 := z.EncBinary() - _ = yym1567 - 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) - yym1568 := z.EncBinary() - _ = yym1568 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr1565 || yy2arr1565 { - 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 yyr1565 || yy2arr1565 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1565[2] { - if x.Values == nil { - r.EncodeNil() - } else { - yym1571 := z.EncBinary() - _ = yym1571 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1565[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("values")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Values == nil { - r.EncodeNil() - } else { - yym1572 := z.EncBinary() - _ = yym1572 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } - } - if yyr1565 || yy2arr1565 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1573 := z.DecBinary() - _ = yym1573 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1574 := r.ContainerType() - if yyct1574 == codecSelferValueTypeMap1234 { - yyl1574 := r.ReadMapStart() - if yyl1574 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1574, d) - } - } else if yyct1574 == codecSelferValueTypeArray1234 { - yyl1574 := r.ReadArrayStart() - if yyl1574 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1574, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1575Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1575Slc - var yyhl1575 bool = l >= 0 - for yyj1575 := 0; ; yyj1575++ { - if yyhl1575 { - if yyj1575 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1575Slc = r.DecodeBytes(yys1575Slc, true, true) - yys1575 := string(yys1575Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1575 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "operator": - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) - } - case "values": - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1578 := &x.Values - yym1579 := z.DecBinary() - _ = yym1579 - if false { - } else { - z.F.DecSliceStringX(yyv1578, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1575) - } // end switch yys1575 - } // end for yyj1575 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1580 int - var yyb1580 bool - var yyhl1580 bool = l >= 0 - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l - } else { - yyb1580 = r.CheckBreak() - } - if yyb1580 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l - } else { - yyb1580 = r.CheckBreak() - } - if yyb1580 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) - } - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l - } else { - yyb1580 = r.CheckBreak() - } - if yyb1580 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1583 := &x.Values - yym1584 := z.DecBinary() - _ = yym1584 - if false { - } else { - z.F.DecSliceStringX(yyv1583, false, d) - } - } - for { - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l - } else { - yyb1580 = r.CheckBreak() - } - if yyb1580 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1580-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1585 := z.EncBinary() - _ = yym1585 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1586 := z.DecBinary() - _ = yym1586 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1587 := z.EncBinary() - _ = yym1587 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1588 := !z.EncBinary() - yy2arr1588 := z.EncBasicHandle().StructToArray - var yyq1588 [1]bool - _, _, _ = yysep1588, yyq1588, yy2arr1588 - const yyr1588 bool = false - yyq1588[0] = x.NodeAffinity != nil - var yynn1588 int - if yyr1588 || yy2arr1588 { - r.EncodeArrayStart(1) - } else { - yynn1588 = 0 - for _, b := range yyq1588 { - if b { - yynn1588++ - } - } - r.EncodeMapStart(yynn1588) - yynn1588 = 0 - } - if yyr1588 || yy2arr1588 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1588[0] { - if x.NodeAffinity == nil { - r.EncodeNil() - } else { - x.NodeAffinity.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq1588[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.NodeAffinity == nil { - r.EncodeNil() - } else { - x.NodeAffinity.CodecEncodeSelf(e) - } - } - } - if yyr1588 || yy2arr1588 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1590 := z.DecBinary() - _ = yym1590 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1591 := r.ContainerType() - if yyct1591 == codecSelferValueTypeMap1234 { - yyl1591 := r.ReadMapStart() - if yyl1591 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1591, d) - } - } else if yyct1591 == codecSelferValueTypeArray1234 { - yyl1591 := r.ReadArrayStart() - if yyl1591 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1591, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1592Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1592Slc - var yyhl1592 bool = l >= 0 - for yyj1592 := 0; ; yyj1592++ { - if yyhl1592 { - if yyj1592 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1592Slc = r.DecodeBytes(yys1592Slc, true, true) - yys1592 := string(yys1592Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1592 { - case "nodeAffinity": - if r.TryDecodeAsNil() { - if x.NodeAffinity != nil { - x.NodeAffinity = nil - } - } else { - if x.NodeAffinity == nil { - x.NodeAffinity = new(NodeAffinity) - } - x.NodeAffinity.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1592) - } // end switch yys1592 - } // end for yyj1592 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -21650,14 +21700,15 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.NodeAffinity != nil { - x.NodeAffinity = nil - } + x.MatchExpressions = nil } else { - if x.NodeAffinity == nil { - x.NodeAffinity = new(NodeAffinity) + yyv1595 := &x.MatchExpressions + yym1596 := z.DecBinary() + _ = yym1596 + if false { + } else { + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1595), d) } - x.NodeAffinity.CodecDecodeSelf(d) } for { yyj1594++ @@ -21675,119 +21726,99 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1596 := z.EncBinary() - _ = yym1596 + yym1597 := z.EncBinary() + _ = yym1597 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1597 := !z.EncBinary() - yy2arr1597 := z.EncBasicHandle().StructToArray - var yyq1597 [3]bool - _, _, _ = yysep1597, yyq1597, yy2arr1597 - const yyr1597 bool = false - yyq1597[0] = x.RequiredDuringSchedulingRequiredDuringExecution != nil - yyq1597[1] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq1597[2] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1597 int - if yyr1597 || yy2arr1597 { + yysep1598 := !z.EncBinary() + yy2arr1598 := z.EncBasicHandle().StructToArray + var yyq1598 [3]bool + _, _, _ = yysep1598, yyq1598, yy2arr1598 + const yyr1598 bool = false + yyq1598[2] = len(x.Values) != 0 + var yynn1598 int + if yyr1598 || yy2arr1598 { r.EncodeArrayStart(3) } else { - yynn1597 = 0 - for _, b := range yyq1597 { + yynn1598 = 2 + for _, b := range yyq1598 { if b { - yynn1597++ + yynn1598++ } } - r.EncodeMapStart(yynn1597) - yynn1597 = 0 + r.EncodeMapStart(yynn1598) + yynn1598 = 0 } - if yyr1597 || yy2arr1597 { + if yyr1598 || yy2arr1598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1597[0] { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) - } + yym1600 := z.EncBinary() + _ = yym1600 + if false { } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } else { - if yyq1597[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingRequiredDuringExecution")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) - } - } - } - if yyr1597 || yy2arr1597 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1597[1] { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) - } + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1601 := z.EncBinary() + _ = yym1601 + if false { } else { - r.EncodeNil() - } - } else { - if yyq1597[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1597 || yy2arr1597 { + if yyr1598 || yy2arr1598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1597[2] { - if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + x.Operator.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("operator")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Operator.CodecEncodeSelf(e) + } + if yyr1598 || yy2arr1598 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1598[2] { + if x.Values == nil { r.EncodeNil() } else { - yym1601 := z.EncBinary() - _ = yym1601 + yym1604 := z.EncBinary() + _ = yym1604 if false { } else { - h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + z.F.EncSliceStringV(x.Values, false, e) } } } else { r.EncodeNil() } } else { - if yyq1597[2] { + if yyq1598[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) + r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + if x.Values == nil { r.EncodeNil() } else { - yym1602 := z.EncBinary() - _ = yym1602 + yym1605 := z.EncBinary() + _ = yym1605 if false { } else { - h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + z.F.EncSliceStringV(x.Values, false, e) } } } } - if yyr1597 || yy2arr1597 { + if yyr1598 || yy2arr1598 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21796,29 +21827,29 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1603 := z.DecBinary() - _ = yym1603 + yym1606 := z.DecBinary() + _ = yym1606 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1604 := r.ContainerType() - if yyct1604 == codecSelferValueTypeMap1234 { - yyl1604 := r.ReadMapStart() - if yyl1604 == 0 { + yyct1607 := r.ContainerType() + if yyct1607 == codecSelferValueTypeMap1234 { + yyl1607 := r.ReadMapStart() + if yyl1607 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1604, d) + x.codecDecodeSelfFromMap(yyl1607, d) } - } else if yyct1604 == codecSelferValueTypeArray1234 { - yyl1604 := r.ReadArrayStart() - if yyl1604 == 0 { + } else if yyct1607 == codecSelferValueTypeArray1234 { + yyl1607 := r.ReadArrayStart() + if yyl1607 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1604, d) + x.codecDecodeSelfFromArray(yyl1607, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21826,16 +21857,16 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1605Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1605Slc - var yyhl1605 bool = l >= 0 - for yyj1605 := 0; ; yyj1605++ { - if yyhl1605 { - if yyj1605 >= l { + var yys1608Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1608Slc + var yyhl1608 bool = l >= 0 + for yyj1608 := 0; ; yyj1608++ { + if yyhl1608 { + if yyj1608 >= l { break } } else { @@ -21844,199 +21875,199 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1605Slc = r.DecodeBytes(yys1605Slc, true, true) - yys1605 := string(yys1605Slc) + yys1608Slc = r.DecodeBytes(yys1608Slc, true, true) + yys1608 := string(yys1608Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1605 { - case "requiredDuringSchedulingRequiredDuringExecution": + switch yys1608 { + case "key": if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingRequiredDuringExecution != nil { - x.RequiredDuringSchedulingRequiredDuringExecution = nil - } + x.Key = "" } else { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + x.Key = string(r.DecodeString()) } - case "requiredDuringSchedulingIgnoredDuringExecution": + case "operator": if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = nil - } + x.Operator = "" } else { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + x.Operator = NodeSelectorOperator(r.DecodeString()) } - case "preferredDuringSchedulingIgnoredDuringExecution": + case "values": if r.TryDecodeAsNil() { - x.PreferredDuringSchedulingIgnoredDuringExecution = nil + x.Values = nil } else { - yyv1608 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1609 := z.DecBinary() - _ = yym1609 + yyv1611 := &x.Values + yym1612 := z.DecBinary() + _ = yym1612 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1608), d) + z.F.DecSliceStringX(yyv1611, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1605) - } // end switch yys1605 - } // end for yyj1605 + z.DecStructFieldNotFound(-1, yys1608) + } // end switch yys1608 + } // end for yyj1608 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1610 int - var yyb1610 bool - var yyhl1610 bool = l >= 0 - yyj1610++ - if yyhl1610 { - yyb1610 = yyj1610 > l + var yyj1613 int + var yyb1613 bool + var yyhl1613 bool = l >= 0 + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1610 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1610 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingRequiredDuringExecution != nil { - x.RequiredDuringSchedulingRequiredDuringExecution = nil - } + x.Key = "" } else { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + x.Key = string(r.DecodeString()) } - yyj1610++ - if yyhl1610 { - yyb1610 = yyj1610 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1610 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1610 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = nil - } + x.Operator = "" } else { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj1610++ - if yyhl1610 { - yyb1610 = yyj1610 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1610 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1610 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PreferredDuringSchedulingIgnoredDuringExecution = nil + x.Values = nil } else { - yyv1613 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1614 := z.DecBinary() - _ = yym1614 + yyv1616 := &x.Values + yym1617 := z.DecBinary() + _ = yym1617 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1613), d) + z.F.DecSliceStringX(yyv1616, false, d) } } for { - yyj1610++ - if yyhl1610 { - yyb1610 = yyj1610 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1610 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1610 { + if yyb1613 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1610-1, "") + z.DecStructFieldNotFound(yyj1613-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { +func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1618 := z.EncBinary() + _ = yym1618 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1619 := z.DecBinary() + _ = yym1619 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1615 := z.EncBinary() - _ = yym1615 + yym1620 := z.EncBinary() + _ = yym1620 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1616 := !z.EncBinary() - yy2arr1616 := z.EncBasicHandle().StructToArray - var yyq1616 [2]bool - _, _, _ = yysep1616, yyq1616, yy2arr1616 - const yyr1616 bool = false - var yynn1616 int - if yyr1616 || yy2arr1616 { - r.EncodeArrayStart(2) + yysep1621 := !z.EncBinary() + yy2arr1621 := z.EncBasicHandle().StructToArray + var yyq1621 [1]bool + _, _, _ = yysep1621, yyq1621, yy2arr1621 + const yyr1621 bool = false + yyq1621[0] = x.NodeAffinity != nil + var yynn1621 int + if yyr1621 || yy2arr1621 { + r.EncodeArrayStart(1) } else { - yynn1616 = 2 - for _, b := range yyq1616 { + yynn1621 = 0 + for _, b := range yyq1621 { if b { - yynn1616++ + yynn1621++ } } - r.EncodeMapStart(yynn1616) - yynn1616 = 0 + r.EncodeMapStart(yynn1621) + yynn1621 = 0 } - if yyr1616 || yy2arr1616 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1618 := z.EncBinary() - _ = yym1618 - if false { + if yyq1621[0] { + if x.NodeAffinity == nil { + r.EncodeNil() + } else { + x.NodeAffinity.CodecEncodeSelf(e) + } } else { - r.EncodeInt(int64(x.Weight)) + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("weight")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1619 := z.EncBinary() - _ = yym1619 - if false { - } else { - r.EncodeInt(int64(x.Weight)) + if yyq1621[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.NodeAffinity == nil { + r.EncodeNil() + } else { + x.NodeAffinity.CodecEncodeSelf(e) + } } } - if yyr1616 || yy2arr1616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1621 := &x.Preference - yy1621.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("preference")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1622 := &x.Preference - yy1622.CodecEncodeSelf(e) - } - if yyr1616 || yy2arr1616 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22045,7 +22076,7 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22075,7 +22106,7 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22097,6 +22128,490 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec yys1625 := string(yys1625Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1625 { + case "nodeAffinity": + if r.TryDecodeAsNil() { + if x.NodeAffinity != nil { + x.NodeAffinity = nil + } + } else { + if x.NodeAffinity == nil { + x.NodeAffinity = new(NodeAffinity) + } + x.NodeAffinity.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1625) + } // end switch yys1625 + } // end for yyj1625 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1627 int + var yyb1627 bool + var yyhl1627 bool = l >= 0 + yyj1627++ + if yyhl1627 { + yyb1627 = yyj1627 > l + } else { + yyb1627 = r.CheckBreak() + } + if yyb1627 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.NodeAffinity != nil { + x.NodeAffinity = nil + } + } else { + if x.NodeAffinity == nil { + x.NodeAffinity = new(NodeAffinity) + } + x.NodeAffinity.CodecDecodeSelf(d) + } + for { + yyj1627++ + if yyhl1627 { + yyb1627 = yyj1627 > l + } else { + yyb1627 = r.CheckBreak() + } + if yyb1627 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1627-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1629 := z.EncBinary() + _ = yym1629 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1630 := !z.EncBinary() + yy2arr1630 := z.EncBasicHandle().StructToArray + var yyq1630 [3]bool + _, _, _ = yysep1630, yyq1630, yy2arr1630 + const yyr1630 bool = false + yyq1630[0] = x.RequiredDuringSchedulingRequiredDuringExecution != nil + yyq1630[1] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1630[2] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1630 int + if yyr1630 || yy2arr1630 { + r.EncodeArrayStart(3) + } else { + yynn1630 = 0 + for _, b := range yyq1630 { + if b { + yynn1630++ + } + } + r.EncodeMapStart(yynn1630) + yynn1630 = 0 + } + if yyr1630 || yy2arr1630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1630[0] { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1630[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingRequiredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) + } + } + } + if yyr1630 || yy2arr1630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1630[1] { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1630[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) + } + } + } + if yyr1630 || yy2arr1630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1630[2] { + if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + yym1634 := z.EncBinary() + _ = yym1634 + if false { + } else { + h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1630[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + yym1635 := z.EncBinary() + _ = yym1635 + if false { + } else { + h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + } + } + } + } + if yyr1630 || yy2arr1630 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1636 := z.DecBinary() + _ = yym1636 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1637 := r.ContainerType() + if yyct1637 == codecSelferValueTypeMap1234 { + yyl1637 := r.ReadMapStart() + if yyl1637 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1637, d) + } + } else if yyct1637 == codecSelferValueTypeArray1234 { + yyl1637 := r.ReadArrayStart() + if yyl1637 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1637, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1638Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1638Slc + var yyhl1638 bool = l >= 0 + for yyj1638 := 0; ; yyj1638++ { + if yyhl1638 { + if yyj1638 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1638Slc = r.DecodeBytes(yys1638Slc, true, true) + yys1638 := string(yys1638Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1638 { + case "requiredDuringSchedulingRequiredDuringExecution": + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingRequiredDuringExecution != nil { + x.RequiredDuringSchedulingRequiredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + } + case "requiredDuringSchedulingIgnoredDuringExecution": + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + } + case "preferredDuringSchedulingIgnoredDuringExecution": + if r.TryDecodeAsNil() { + x.PreferredDuringSchedulingIgnoredDuringExecution = nil + } else { + yyv1641 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1642 := z.DecBinary() + _ = yym1642 + if false { + } else { + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1641), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1638) + } // end switch yys1638 + } // end for yyj1638 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1643 int + var yyb1643 bool + var yyhl1643 bool = l >= 0 + yyj1643++ + if yyhl1643 { + yyb1643 = yyj1643 > l + } else { + yyb1643 = r.CheckBreak() + } + if yyb1643 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingRequiredDuringExecution != nil { + x.RequiredDuringSchedulingRequiredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + } + yyj1643++ + if yyhl1643 { + yyb1643 = yyj1643 > l + } else { + yyb1643 = r.CheckBreak() + } + if yyb1643 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + } + yyj1643++ + if yyhl1643 { + yyb1643 = yyj1643 > l + } else { + yyb1643 = r.CheckBreak() + } + if yyb1643 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PreferredDuringSchedulingIgnoredDuringExecution = nil + } else { + yyv1646 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1647 := z.DecBinary() + _ = yym1647 + if false { + } else { + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1646), d) + } + } + for { + yyj1643++ + if yyhl1643 { + yyb1643 = yyj1643 > l + } else { + yyb1643 = r.CheckBreak() + } + if yyb1643 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1643-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1648 := z.EncBinary() + _ = yym1648 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1649 := !z.EncBinary() + yy2arr1649 := z.EncBasicHandle().StructToArray + var yyq1649 [2]bool + _, _, _ = yysep1649, yyq1649, yy2arr1649 + const yyr1649 bool = false + var yynn1649 int + if yyr1649 || yy2arr1649 { + r.EncodeArrayStart(2) + } else { + yynn1649 = 2 + for _, b := range yyq1649 { + if b { + yynn1649++ + } + } + r.EncodeMapStart(yynn1649) + yynn1649 = 0 + } + if yyr1649 || yy2arr1649 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1651 := z.EncBinary() + _ = yym1651 + if false { + } else { + r.EncodeInt(int64(x.Weight)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("weight")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1652 := z.EncBinary() + _ = yym1652 + if false { + } else { + r.EncodeInt(int64(x.Weight)) + } + } + if yyr1649 || yy2arr1649 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1654 := &x.Preference + yy1654.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("preference")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1655 := &x.Preference + yy1655.CodecEncodeSelf(e) + } + if yyr1649 || yy2arr1649 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1656 := z.DecBinary() + _ = yym1656 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1657 := r.ContainerType() + if yyct1657 == codecSelferValueTypeMap1234 { + yyl1657 := r.ReadMapStart() + if yyl1657 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1657, d) + } + } else if yyct1657 == codecSelferValueTypeArray1234 { + yyl1657 := r.ReadArrayStart() + if yyl1657 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1657, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1658Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1658Slc + var yyhl1658 bool = l >= 0 + for yyj1658 := 0; ; yyj1658++ { + if yyhl1658 { + if yyj1658 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1658Slc = r.DecodeBytes(yys1658Slc, true, true) + yys1658 := string(yys1658Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1658 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -22107,13 +22622,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1627 := &x.Preference - yyv1627.CodecDecodeSelf(d) + yyv1660 := &x.Preference + yyv1660.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1625) - } // end switch yys1625 - } // end for yyj1625 + z.DecStructFieldNotFound(-1, yys1658) + } // end switch yys1658 + } // end for yyj1658 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22121,16 +22636,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1628 int - var yyb1628 bool - var yyhl1628 bool = l >= 0 - yyj1628++ - if yyhl1628 { - yyb1628 = yyj1628 > l + var yyj1661 int + var yyb1661 bool + var yyhl1661 bool = l >= 0 + yyj1661++ + if yyhl1661 { + yyb1661 = yyj1661 > l } else { - yyb1628 = r.CheckBreak() + yyb1661 = r.CheckBreak() } - if yyb1628 { + if yyb1661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22140,13 +22655,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1628++ - if yyhl1628 { - yyb1628 = yyj1628 > l + yyj1661++ + if yyhl1661 { + yyb1661 = yyj1661 > l } else { - yyb1628 = r.CheckBreak() + yyb1661 = r.CheckBreak() } - if yyb1628 { + if yyb1661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22154,21 +22669,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1630 := &x.Preference - yyv1630.CodecDecodeSelf(d) + yyv1663 := &x.Preference + yyv1663.CodecDecodeSelf(d) } for { - yyj1628++ - if yyhl1628 { - yyb1628 = yyj1628 > l + yyj1661++ + if yyhl1661 { + yyb1661 = yyj1661 > l } else { - yyb1628 = r.CheckBreak() + yyb1661 = r.CheckBreak() } - if yyb1628 { + if yyb1661 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1628-1, "") + z.DecStructFieldNotFound(yyj1661-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22180,44 +22695,44 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1631 := z.EncBinary() - _ = yym1631 + yym1664 := z.EncBinary() + _ = yym1664 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1632 := !z.EncBinary() - yy2arr1632 := z.EncBasicHandle().StructToArray - var yyq1632 [11]bool - _, _, _ = yysep1632, yyq1632, yy2arr1632 - const yyr1632 bool = false - yyq1632[2] = x.RestartPolicy != "" - yyq1632[3] = x.TerminationGracePeriodSeconds != nil - yyq1632[4] = x.ActiveDeadlineSeconds != nil - yyq1632[5] = x.DNSPolicy != "" - yyq1632[6] = len(x.NodeSelector) != 0 - yyq1632[8] = x.NodeName != "" - yyq1632[9] = x.SecurityContext != nil - yyq1632[10] = len(x.ImagePullSecrets) != 0 - var yynn1632 int - if yyr1632 || yy2arr1632 { + yysep1665 := !z.EncBinary() + yy2arr1665 := z.EncBasicHandle().StructToArray + var yyq1665 [11]bool + _, _, _ = yysep1665, yyq1665, yy2arr1665 + const yyr1665 bool = false + yyq1665[2] = x.RestartPolicy != "" + yyq1665[3] = x.TerminationGracePeriodSeconds != nil + yyq1665[4] = x.ActiveDeadlineSeconds != nil + yyq1665[5] = x.DNSPolicy != "" + yyq1665[6] = len(x.NodeSelector) != 0 + yyq1665[8] = x.NodeName != "" + yyq1665[9] = x.SecurityContext != nil + yyq1665[10] = len(x.ImagePullSecrets) != 0 + var yynn1665 int + if yyr1665 || yy2arr1665 { r.EncodeArrayStart(11) } else { - yynn1632 = 3 - for _, b := range yyq1632 { + yynn1665 = 3 + for _, b := range yyq1665 { if b { - yynn1632++ + yynn1665++ } } - r.EncodeMapStart(yynn1632) - yynn1632 = 0 + r.EncodeMapStart(yynn1665) + yynn1665 = 0 } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1634 := z.EncBinary() - _ = yym1634 + yym1667 := z.EncBinary() + _ = yym1667 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -22230,21 +22745,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Volumes == nil { r.EncodeNil() } else { - yym1635 := z.EncBinary() - _ = yym1635 + yym1668 := z.EncBinary() + _ = yym1668 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym1637 := z.EncBinary() - _ = yym1637 + yym1670 := z.EncBinary() + _ = yym1670 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -22257,122 +22772,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym1638 := z.EncBinary() - _ = yym1638 + yym1671 := z.EncBinary() + _ = yym1671 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[2] { + if yyq1665[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1632[2] { + if yyq1665[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[3] { + if yyq1665[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1641 := *x.TerminationGracePeriodSeconds - yym1642 := z.EncBinary() - _ = yym1642 + yy1674 := *x.TerminationGracePeriodSeconds + yym1675 := z.EncBinary() + _ = yym1675 if false { } else { - r.EncodeInt(int64(yy1641)) + r.EncodeInt(int64(yy1674)) } } } else { r.EncodeNil() } } else { - if yyq1632[3] { + if yyq1665[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1643 := *x.TerminationGracePeriodSeconds - yym1644 := z.EncBinary() - _ = yym1644 + yy1676 := *x.TerminationGracePeriodSeconds + yym1677 := z.EncBinary() + _ = yym1677 if false { } else { - r.EncodeInt(int64(yy1643)) + r.EncodeInt(int64(yy1676)) } } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[4] { + if yyq1665[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1646 := *x.ActiveDeadlineSeconds - yym1647 := z.EncBinary() - _ = yym1647 + yy1679 := *x.ActiveDeadlineSeconds + yym1680 := z.EncBinary() + _ = yym1680 if false { } else { - r.EncodeInt(int64(yy1646)) + r.EncodeInt(int64(yy1679)) } } } else { r.EncodeNil() } } else { - if yyq1632[4] { + if yyq1665[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1648 := *x.ActiveDeadlineSeconds - yym1649 := z.EncBinary() - _ = yym1649 + yy1681 := *x.ActiveDeadlineSeconds + yym1682 := z.EncBinary() + _ = yym1682 if false { } else { - r.EncodeInt(int64(yy1648)) + r.EncodeInt(int64(yy1681)) } } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[5] { + if yyq1665[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1632[5] { + if yyq1665[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[6] { + if yyq1665[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym1652 := z.EncBinary() - _ = yym1652 + yym1685 := z.EncBinary() + _ = yym1685 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -22382,15 +22897,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1632[6] { + if yyq1665[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym1653 := z.EncBinary() - _ = yym1653 + yym1686 := z.EncBinary() + _ = yym1686 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -22398,10 +22913,10 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1655 := z.EncBinary() - _ = yym1655 + yym1688 := z.EncBinary() + _ = yym1688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -22410,18 +22925,18 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1656 := z.EncBinary() - _ = yym1656 + yym1689 := z.EncBinary() + _ = yym1689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[8] { - yym1658 := z.EncBinary() - _ = yym1658 + if yyq1665[8] { + yym1691 := z.EncBinary() + _ = yym1691 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -22430,21 +22945,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1632[8] { + if yyq1665[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1659 := z.EncBinary() - _ = yym1659 + yym1692 := z.EncBinary() + _ = yym1692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[9] { + if yyq1665[9] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -22454,7 +22969,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1632[9] { + if yyq1665[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22465,14 +22980,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[10] { + if yyq1665[10] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1662 := z.EncBinary() - _ = yym1662 + yym1695 := z.EncBinary() + _ = yym1695 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -22482,15 +22997,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1632[10] { + if yyq1665[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1663 := z.EncBinary() - _ = yym1663 + yym1696 := z.EncBinary() + _ = yym1696 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -22498,7 +23013,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1632 || yy2arr1632 { + if yyr1665 || yy2arr1665 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22511,25 +23026,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1664 := z.DecBinary() - _ = yym1664 + yym1697 := z.DecBinary() + _ = yym1697 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1665 := r.ContainerType() - if yyct1665 == codecSelferValueTypeMap1234 { - yyl1665 := r.ReadMapStart() - if yyl1665 == 0 { + yyct1698 := r.ContainerType() + if yyct1698 == codecSelferValueTypeMap1234 { + yyl1698 := r.ReadMapStart() + if yyl1698 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1665, d) + x.codecDecodeSelfFromMap(yyl1698, d) } - } else if yyct1665 == codecSelferValueTypeArray1234 { - yyl1665 := r.ReadArrayStart() - if yyl1665 == 0 { + } else if yyct1698 == codecSelferValueTypeArray1234 { + yyl1698 := r.ReadArrayStart() + if yyl1698 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1665, d) + x.codecDecodeSelfFromArray(yyl1698, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22541,12 +23056,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1666Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1666Slc - var yyhl1666 bool = l >= 0 - for yyj1666 := 0; ; yyj1666++ { - if yyhl1666 { - if yyj1666 >= l { + var yys1699Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1699Slc + var yyhl1699 bool = l >= 0 + for yyj1699 := 0; ; yyj1699++ { + if yyhl1699 { + if yyj1699 >= l { break } } else { @@ -22555,32 +23070,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1666Slc = r.DecodeBytes(yys1666Slc, true, true) - yys1666 := string(yys1666Slc) + yys1699Slc = r.DecodeBytes(yys1699Slc, true, true) + yys1699 := string(yys1699Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1666 { + switch yys1699 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1667 := &x.Volumes - yym1668 := z.DecBinary() - _ = yym1668 + yyv1700 := &x.Volumes + yym1701 := z.DecBinary() + _ = yym1701 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1667), d) + h.decSliceVolume((*[]Volume)(yyv1700), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1669 := &x.Containers - yym1670 := z.DecBinary() - _ = yym1670 + yyv1702 := &x.Containers + yym1703 := z.DecBinary() + _ = yym1703 if false { } else { - h.decSliceContainer((*[]Container)(yyv1669), d) + h.decSliceContainer((*[]Container)(yyv1702), d) } } case "restartPolicy": @@ -22598,8 +23113,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1673 := z.DecBinary() - _ = yym1673 + yym1706 := z.DecBinary() + _ = yym1706 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -22614,8 +23129,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1675 := z.DecBinary() - _ = yym1675 + yym1708 := z.DecBinary() + _ = yym1708 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -22631,12 +23146,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1677 := &x.NodeSelector - yym1678 := z.DecBinary() - _ = yym1678 + yyv1710 := &x.NodeSelector + yym1711 := z.DecBinary() + _ = yym1711 if false { } else { - z.F.DecMapStringStringX(yyv1677, false, d) + z.F.DecMapStringStringX(yyv1710, false, d) } } case "serviceAccountName": @@ -22666,18 +23181,18 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1682 := &x.ImagePullSecrets - yym1683 := z.DecBinary() - _ = yym1683 + yyv1715 := &x.ImagePullSecrets + yym1716 := z.DecBinary() + _ = yym1716 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1682), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1715), d) } } default: - z.DecStructFieldNotFound(-1, yys1666) - } // end switch yys1666 - } // end for yyj1666 + z.DecStructFieldNotFound(-1, yys1699) + } // end switch yys1699 + } // end for yyj1699 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22685,16 +23200,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1684 int - var yyb1684 bool - var yyhl1684 bool = l >= 0 - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + var yyj1717 int + var yyb1717 bool + var yyhl1717 bool = l >= 0 + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22702,21 +23217,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1685 := &x.Volumes - yym1686 := z.DecBinary() - _ = yym1686 + yyv1718 := &x.Volumes + yym1719 := z.DecBinary() + _ = yym1719 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1685), d) + h.decSliceVolume((*[]Volume)(yyv1718), d) } } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22724,21 +23239,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1687 := &x.Containers - yym1688 := z.DecBinary() - _ = yym1688 + yyv1720 := &x.Containers + yym1721 := z.DecBinary() + _ = yym1721 if false { } else { - h.decSliceContainer((*[]Container)(yyv1687), d) + h.decSliceContainer((*[]Container)(yyv1720), d) } } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22748,13 +23263,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22767,20 +23282,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1691 := z.DecBinary() - _ = yym1691 + yym1724 := z.DecBinary() + _ = yym1724 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22793,20 +23308,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1693 := z.DecBinary() - _ = yym1693 + yym1726 := z.DecBinary() + _ = yym1726 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22816,13 +23331,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22830,21 +23345,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1695 := &x.NodeSelector - yym1696 := z.DecBinary() - _ = yym1696 + yyv1728 := &x.NodeSelector + yym1729 := z.DecBinary() + _ = yym1729 if false { } else { - z.F.DecMapStringStringX(yyv1695, false, d) + z.F.DecMapStringStringX(yyv1728, false, d) } } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22854,13 +23369,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22870,13 +23385,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22891,13 +23406,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22905,26 +23420,26 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1700 := &x.ImagePullSecrets - yym1701 := z.DecBinary() - _ = yym1701 + yyv1733 := &x.ImagePullSecrets + yym1734 := z.DecBinary() + _ = yym1734 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1700), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1733), d) } } for { - yyj1684++ - if yyhl1684 { - yyb1684 = yyj1684 > l + yyj1717++ + if yyhl1717 { + yyb1717 = yyj1717 > l } else { - yyb1684 = r.CheckBreak() + yyb1717 = r.CheckBreak() } - if yyb1684 { + if yyb1717 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1684-1, "") + z.DecStructFieldNotFound(yyj1717-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22936,42 +23451,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1702 := z.EncBinary() - _ = yym1702 + yym1735 := z.EncBinary() + _ = yym1735 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1703 := !z.EncBinary() - yy2arr1703 := z.EncBasicHandle().StructToArray - var yyq1703 [8]bool - _, _, _ = yysep1703, yyq1703, yy2arr1703 - const yyr1703 bool = false - yyq1703[0] = x.HostNetwork != false - yyq1703[1] = x.HostPID != false - yyq1703[2] = x.HostIPC != false - yyq1703[3] = x.SELinuxOptions != nil - yyq1703[4] = x.RunAsUser != nil - yyq1703[5] = x.RunAsNonRoot != nil - yyq1703[6] = len(x.SupplementalGroups) != 0 - yyq1703[7] = x.FSGroup != nil - var yynn1703 int - if yyr1703 || yy2arr1703 { + yysep1736 := !z.EncBinary() + yy2arr1736 := z.EncBasicHandle().StructToArray + var yyq1736 [8]bool + _, _, _ = yysep1736, yyq1736, yy2arr1736 + const yyr1736 bool = false + yyq1736[0] = x.HostNetwork != false + yyq1736[1] = x.HostPID != false + yyq1736[2] = x.HostIPC != false + yyq1736[3] = x.SELinuxOptions != nil + yyq1736[4] = x.RunAsUser != nil + yyq1736[5] = x.RunAsNonRoot != nil + yyq1736[6] = len(x.SupplementalGroups) != 0 + yyq1736[7] = x.FSGroup != nil + var yynn1736 int + if yyr1736 || yy2arr1736 { r.EncodeArrayStart(8) } else { - yynn1703 = 0 - for _, b := range yyq1703 { + yynn1736 = 0 + for _, b := range yyq1736 { if b { - yynn1703++ + yynn1736++ } } - r.EncodeMapStart(yynn1703) - yynn1703 = 0 + r.EncodeMapStart(yynn1736) + yynn1736 = 0 } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[0] { - yym1705 := z.EncBinary() - _ = yym1705 + if yyq1736[0] { + yym1738 := z.EncBinary() + _ = yym1738 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -22980,23 +23495,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1703[0] { + if yyq1736[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1706 := z.EncBinary() - _ = yym1706 + yym1739 := z.EncBinary() + _ = yym1739 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[1] { - yym1708 := z.EncBinary() - _ = yym1708 + if yyq1736[1] { + yym1741 := z.EncBinary() + _ = yym1741 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -23005,23 +23520,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1703[1] { + if yyq1736[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1709 := z.EncBinary() - _ = yym1709 + yym1742 := z.EncBinary() + _ = yym1742 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[2] { - yym1711 := z.EncBinary() - _ = yym1711 + if yyq1736[2] { + yym1744 := z.EncBinary() + _ = yym1744 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -23030,21 +23545,21 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1703[2] { + if yyq1736[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1712 := z.EncBinary() - _ = yym1712 + yym1745 := z.EncBinary() + _ = yym1745 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[3] { + if yyq1736[3] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -23054,7 +23569,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1703[3] { + if yyq1736[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23065,84 +23580,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[4] { + if yyq1736[4] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy1715 := *x.RunAsUser - yym1716 := z.EncBinary() - _ = yym1716 + yy1748 := *x.RunAsUser + yym1749 := z.EncBinary() + _ = yym1749 if false { } else { - r.EncodeInt(int64(yy1715)) + r.EncodeInt(int64(yy1748)) } } } else { r.EncodeNil() } } else { - if yyq1703[4] { + if yyq1736[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy1717 := *x.RunAsUser - yym1718 := z.EncBinary() - _ = yym1718 + yy1750 := *x.RunAsUser + yym1751 := z.EncBinary() + _ = yym1751 if false { } else { - r.EncodeInt(int64(yy1717)) + r.EncodeInt(int64(yy1750)) } } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[5] { + if yyq1736[5] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1720 := *x.RunAsNonRoot - yym1721 := z.EncBinary() - _ = yym1721 + yy1753 := *x.RunAsNonRoot + yym1754 := z.EncBinary() + _ = yym1754 if false { } else { - r.EncodeBool(bool(yy1720)) + r.EncodeBool(bool(yy1753)) } } } else { r.EncodeNil() } } else { - if yyq1703[5] { + if yyq1736[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1722 := *x.RunAsNonRoot - yym1723 := z.EncBinary() - _ = yym1723 + yy1755 := *x.RunAsNonRoot + yym1756 := z.EncBinary() + _ = yym1756 if false { } else { - r.EncodeBool(bool(yy1722)) + r.EncodeBool(bool(yy1755)) } } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[6] { + if yyq1736[6] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1725 := z.EncBinary() - _ = yym1725 + yym1758 := z.EncBinary() + _ = yym1758 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -23152,15 +23667,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1703[6] { + if yyq1736[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1726 := z.EncBinary() - _ = yym1726 + yym1759 := z.EncBinary() + _ = yym1759 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -23168,42 +23683,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1703[7] { + if yyq1736[7] { if x.FSGroup == nil { r.EncodeNil() } else { - yy1728 := *x.FSGroup - yym1729 := z.EncBinary() - _ = yym1729 + yy1761 := *x.FSGroup + yym1762 := z.EncBinary() + _ = yym1762 if false { } else { - r.EncodeInt(int64(yy1728)) + r.EncodeInt(int64(yy1761)) } } } else { r.EncodeNil() } } else { - if yyq1703[7] { + if yyq1736[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy1730 := *x.FSGroup - yym1731 := z.EncBinary() - _ = yym1731 + yy1763 := *x.FSGroup + yym1764 := z.EncBinary() + _ = yym1764 if false { } else { - r.EncodeInt(int64(yy1730)) + r.EncodeInt(int64(yy1763)) } } } } - if yyr1703 || yy2arr1703 { + if yyr1736 || yy2arr1736 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23216,25 +23731,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1732 := z.DecBinary() - _ = yym1732 + yym1765 := z.DecBinary() + _ = yym1765 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1733 := r.ContainerType() - if yyct1733 == codecSelferValueTypeMap1234 { - yyl1733 := r.ReadMapStart() - if yyl1733 == 0 { + yyct1766 := r.ContainerType() + if yyct1766 == codecSelferValueTypeMap1234 { + yyl1766 := r.ReadMapStart() + if yyl1766 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1733, d) + x.codecDecodeSelfFromMap(yyl1766, d) } - } else if yyct1733 == codecSelferValueTypeArray1234 { - yyl1733 := r.ReadArrayStart() - if yyl1733 == 0 { + } else if yyct1766 == codecSelferValueTypeArray1234 { + yyl1766 := r.ReadArrayStart() + if yyl1766 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1733, d) + x.codecDecodeSelfFromArray(yyl1766, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23246,12 +23761,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1734Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1734Slc - var yyhl1734 bool = l >= 0 - for yyj1734 := 0; ; yyj1734++ { - if yyhl1734 { - if yyj1734 >= l { + var yys1767Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1767Slc + var yyhl1767 bool = l >= 0 + for yyj1767 := 0; ; yyj1767++ { + if yyhl1767 { + if yyj1767 >= l { break } } else { @@ -23260,10 +23775,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1734Slc = r.DecodeBytes(yys1734Slc, true, true) - yys1734 := string(yys1734Slc) + yys1767Slc = r.DecodeBytes(yys1767Slc, true, true) + yys1767 := string(yys1767Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1734 { + switch yys1767 { case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false @@ -23302,8 +23817,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1740 := z.DecBinary() - _ = yym1740 + yym1773 := z.DecBinary() + _ = yym1773 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -23318,8 +23833,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1742 := z.DecBinary() - _ = yym1742 + yym1775 := z.DecBinary() + _ = yym1775 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -23329,12 +23844,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1743 := &x.SupplementalGroups - yym1744 := z.DecBinary() - _ = yym1744 + yyv1776 := &x.SupplementalGroups + yym1777 := z.DecBinary() + _ = yym1777 if false { } else { - z.F.DecSliceInt64X(yyv1743, false, d) + z.F.DecSliceInt64X(yyv1776, false, d) } } case "fsGroup": @@ -23346,17 +23861,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1746 := z.DecBinary() - _ = yym1746 + yym1779 := z.DecBinary() + _ = yym1779 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1734) - } // end switch yys1734 - } // end for yyj1734 + z.DecStructFieldNotFound(-1, yys1767) + } // end switch yys1767 + } // end for yyj1767 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23364,16 +23879,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1747 int - var yyb1747 bool - var yyhl1747 bool = l >= 0 - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + var yyj1780 int + var yyb1780 bool + var yyhl1780 bool = l >= 0 + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23383,13 +23898,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23399,13 +23914,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostPID = bool(r.DecodeBool()) } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23415,13 +23930,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23436,13 +23951,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23455,20 +23970,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1753 := z.DecBinary() - _ = yym1753 + yym1786 := z.DecBinary() + _ = yym1786 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23481,20 +23996,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1755 := z.DecBinary() - _ = yym1755 + yym1788 := z.DecBinary() + _ = yym1788 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23502,21 +24017,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1756 := &x.SupplementalGroups - yym1757 := z.DecBinary() - _ = yym1757 + yyv1789 := &x.SupplementalGroups + yym1790 := z.DecBinary() + _ = yym1790 if false { } else { - z.F.DecSliceInt64X(yyv1756, false, d) + z.F.DecSliceInt64X(yyv1789, false, d) } } - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23529,25 +24044,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1759 := z.DecBinary() - _ = yym1759 + yym1792 := z.DecBinary() + _ = yym1792 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj1747++ - if yyhl1747 { - yyb1747 = yyj1747 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb1747 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb1747 { + if yyb1780 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1747-1, "") + z.DecStructFieldNotFound(yyj1780-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23559,60 +24074,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1760 := z.EncBinary() - _ = yym1760 + yym1793 := z.EncBinary() + _ = yym1793 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1761 := !z.EncBinary() - yy2arr1761 := z.EncBasicHandle().StructToArray - var yyq1761 [8]bool - _, _, _ = yysep1761, yyq1761, yy2arr1761 - const yyr1761 bool = false - yyq1761[0] = x.Phase != "" - yyq1761[1] = len(x.Conditions) != 0 - yyq1761[2] = x.Message != "" - yyq1761[3] = x.Reason != "" - yyq1761[4] = x.HostIP != "" - yyq1761[5] = x.PodIP != "" - yyq1761[6] = x.StartTime != nil - yyq1761[7] = len(x.ContainerStatuses) != 0 - var yynn1761 int - if yyr1761 || yy2arr1761 { + yysep1794 := !z.EncBinary() + yy2arr1794 := z.EncBasicHandle().StructToArray + var yyq1794 [8]bool + _, _, _ = yysep1794, yyq1794, yy2arr1794 + const yyr1794 bool = false + yyq1794[0] = x.Phase != "" + yyq1794[1] = len(x.Conditions) != 0 + yyq1794[2] = x.Message != "" + yyq1794[3] = x.Reason != "" + yyq1794[4] = x.HostIP != "" + yyq1794[5] = x.PodIP != "" + yyq1794[6] = x.StartTime != nil + yyq1794[7] = len(x.ContainerStatuses) != 0 + var yynn1794 int + if yyr1794 || yy2arr1794 { r.EncodeArrayStart(8) } else { - yynn1761 = 0 - for _, b := range yyq1761 { + yynn1794 = 0 + for _, b := range yyq1794 { if b { - yynn1761++ + yynn1794++ } } - r.EncodeMapStart(yynn1761) - yynn1761 = 0 + r.EncodeMapStart(yynn1794) + yynn1794 = 0 } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[0] { + if yyq1794[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1761[0] { + if yyq1794[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[1] { + if yyq1794[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym1764 := z.EncBinary() - _ = yym1764 + yym1797 := z.EncBinary() + _ = yym1797 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -23622,15 +24137,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1761[1] { + if yyq1794[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1765 := z.EncBinary() - _ = yym1765 + yym1798 := z.EncBinary() + _ = yym1798 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -23638,11 +24153,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[2] { - yym1767 := z.EncBinary() - _ = yym1767 + if yyq1794[2] { + yym1800 := z.EncBinary() + _ = yym1800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -23651,23 +24166,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1761[2] { + if yyq1794[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1768 := z.EncBinary() - _ = yym1768 + yym1801 := z.EncBinary() + _ = yym1801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[3] { - yym1770 := z.EncBinary() - _ = yym1770 + if yyq1794[3] { + yym1803 := z.EncBinary() + _ = yym1803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -23676,23 +24191,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1761[3] { + if yyq1794[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1771 := z.EncBinary() - _ = yym1771 + yym1804 := z.EncBinary() + _ = yym1804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[4] { - yym1773 := z.EncBinary() - _ = yym1773 + if yyq1794[4] { + yym1806 := z.EncBinary() + _ = yym1806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -23701,23 +24216,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1761[4] { + if yyq1794[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1774 := z.EncBinary() - _ = yym1774 + yym1807 := z.EncBinary() + _ = yym1807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[5] { - yym1776 := z.EncBinary() - _ = yym1776 + if yyq1794[5] { + yym1809 := z.EncBinary() + _ = yym1809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -23726,31 +24241,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1761[5] { + if yyq1794[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1777 := z.EncBinary() - _ = yym1777 + yym1810 := z.EncBinary() + _ = yym1810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[6] { + if yyq1794[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym1779 := z.EncBinary() - _ = yym1779 + yym1812 := z.EncBinary() + _ = yym1812 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1779 { + } else if yym1812 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1779 && z.IsJSONHandle() { + } else if !yym1812 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -23760,20 +24275,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1761[6] { + if yyq1794[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym1780 := z.EncBinary() - _ = yym1780 + yym1813 := z.EncBinary() + _ = yym1813 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1780 { + } else if yym1813 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1780 && z.IsJSONHandle() { + } else if !yym1813 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -23781,14 +24296,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[7] { + if yyq1794[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1782 := z.EncBinary() - _ = yym1782 + yym1815 := z.EncBinary() + _ = yym1815 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -23798,15 +24313,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1761[7] { + if yyq1794[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1783 := z.EncBinary() - _ = yym1783 + yym1816 := z.EncBinary() + _ = yym1816 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -23814,7 +24329,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1761 || yy2arr1761 { + if yyr1794 || yy2arr1794 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23827,25 +24342,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1784 := z.DecBinary() - _ = yym1784 + yym1817 := z.DecBinary() + _ = yym1817 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1785 := r.ContainerType() - if yyct1785 == codecSelferValueTypeMap1234 { - yyl1785 := r.ReadMapStart() - if yyl1785 == 0 { + yyct1818 := r.ContainerType() + if yyct1818 == codecSelferValueTypeMap1234 { + yyl1818 := r.ReadMapStart() + if yyl1818 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1785, d) + x.codecDecodeSelfFromMap(yyl1818, d) } - } else if yyct1785 == codecSelferValueTypeArray1234 { - yyl1785 := r.ReadArrayStart() - if yyl1785 == 0 { + } else if yyct1818 == codecSelferValueTypeArray1234 { + yyl1818 := r.ReadArrayStart() + if yyl1818 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1785, d) + x.codecDecodeSelfFromArray(yyl1818, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23857,12 +24372,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1786Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1786Slc - var yyhl1786 bool = l >= 0 - for yyj1786 := 0; ; yyj1786++ { - if yyhl1786 { - if yyj1786 >= l { + var yys1819Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1819Slc + var yyhl1819 bool = l >= 0 + for yyj1819 := 0; ; yyj1819++ { + if yyhl1819 { + if yyj1819 >= l { break } } else { @@ -23871,10 +24386,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1786Slc = r.DecodeBytes(yys1786Slc, true, true) - yys1786 := string(yys1786Slc) + yys1819Slc = r.DecodeBytes(yys1819Slc, true, true) + yys1819 := string(yys1819Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1786 { + switch yys1819 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -23885,12 +24400,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1788 := &x.Conditions - yym1789 := z.DecBinary() - _ = yym1789 + yyv1821 := &x.Conditions + yym1822 := z.DecBinary() + _ = yym1822 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1788), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1821), d) } } case "message": @@ -23926,13 +24441,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1795 := z.DecBinary() - _ = yym1795 + yym1828 := z.DecBinary() + _ = yym1828 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1795 { + } else if yym1828 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1795 && z.IsJSONHandle() { + } else if !yym1828 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -23942,412 +24457,22 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1796 := &x.ContainerStatuses - yym1797 := z.DecBinary() - _ = yym1797 + yyv1829 := &x.ContainerStatuses + yym1830 := z.DecBinary() + _ = yym1830 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1796), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1829), d) } } default: - z.DecStructFieldNotFound(-1, yys1786) - } // end switch yys1786 - } // end for yyj1786 + z.DecStructFieldNotFound(-1, yys1819) + } // end switch yys1819 + } // end for yyj1819 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1798 int - var yyb1798 bool - var yyhl1798 bool = l >= 0 - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = PodPhase(r.DecodeString()) - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv1800 := &x.Conditions - yym1801 := z.DecBinary() - _ = yym1801 - if false { - } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1800), d) - } - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostIP = "" - } else { - x.HostIP = string(r.DecodeString()) - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodIP = "" - } else { - x.PodIP = string(r.DecodeString()) - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.StartTime != nil { - x.StartTime = nil - } - } else { - if x.StartTime == nil { - x.StartTime = new(pkg2_unversioned.Time) - } - yym1807 := z.DecBinary() - _ = yym1807 - if false { - } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1807 { - z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1807 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.StartTime) - } else { - z.DecFallback(x.StartTime, false) - } - } - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContainerStatuses = nil - } else { - yyv1808 := &x.ContainerStatuses - yym1809 := z.DecBinary() - _ = yym1809 - if false { - } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1808), d) - } - } - for { - yyj1798++ - if yyhl1798 { - yyb1798 = yyj1798 > l - } else { - yyb1798 = r.CheckBreak() - } - if yyb1798 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1798-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1810 := z.EncBinary() - _ = yym1810 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1811 := !z.EncBinary() - yy2arr1811 := z.EncBasicHandle().StructToArray - var yyq1811 [4]bool - _, _, _ = yysep1811, yyq1811, yy2arr1811 - const yyr1811 bool = false - yyq1811[0] = true - yyq1811[1] = true - yyq1811[2] = x.Kind != "" - yyq1811[3] = x.APIVersion != "" - var yynn1811 int - if yyr1811 || yy2arr1811 { - r.EncodeArrayStart(4) - } else { - yynn1811 = 0 - for _, b := range yyq1811 { - if b { - yynn1811++ - } - } - r.EncodeMapStart(yynn1811) - yynn1811 = 0 - } - if yyr1811 || yy2arr1811 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1811[0] { - yy1813 := &x.ObjectMeta - yy1813.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1811[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1814 := &x.ObjectMeta - yy1814.CodecEncodeSelf(e) - } - } - if yyr1811 || yy2arr1811 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1811[1] { - yy1816 := &x.Status - yy1816.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1811[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1817 := &x.Status - yy1817.CodecEncodeSelf(e) - } - } - if yyr1811 || yy2arr1811 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1811[2] { - yym1819 := z.EncBinary() - _ = yym1819 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1811[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1820 := z.EncBinary() - _ = yym1820 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1811 || yy2arr1811 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1811[3] { - yym1822 := z.EncBinary() - _ = yym1822 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1811[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1823 := z.EncBinary() - _ = yym1823 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1811 || yy2arr1811 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1824 := z.DecBinary() - _ = yym1824 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1825 := r.ContainerType() - if yyct1825 == codecSelferValueTypeMap1234 { - yyl1825 := r.ReadMapStart() - if yyl1825 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1825, d) - } - } else if yyct1825 == codecSelferValueTypeArray1234 { - yyl1825 := r.ReadArrayStart() - if yyl1825 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1825, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1826Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1826Slc - var yyhl1826 bool = l >= 0 - for yyj1826 := 0; ; yyj1826++ { - if yyhl1826 { - if yyj1826 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1826Slc = r.DecodeBytes(yys1826Slc, true, true) - yys1826 := string(yys1826Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1826 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1827 := &x.ObjectMeta - yyv1827.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv1828 := &x.Status - yyv1828.CodecDecodeSelf(d) - } - 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()) - } - default: - z.DecStructFieldNotFound(-1, yys1826) - } // end switch yys1826 - } // end for yyj1826 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -24366,10 +24491,9 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.Phase = "" } else { - yyv1832 := &x.ObjectMeta - yyv1832.CodecDecodeSelf(d) + x.Phase = PodPhase(r.DecodeString()) } yyj1831++ if yyhl1831 { @@ -24383,10 +24507,15 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = PodStatus{} + x.Conditions = nil } else { - yyv1833 := &x.Status - yyv1833.CodecDecodeSelf(d) + yyv1833 := &x.Conditions + yym1834 := z.DecBinary() + _ = yym1834 + if false { + } else { + h.decSlicePodCondition((*[]PodCondition)(yyv1833), d) + } } yyj1831++ if yyhl1831 { @@ -24400,9 +24529,9 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Message = "" } else { - x.Kind = string(r.DecodeString()) + x.Message = string(r.DecodeString()) } yyj1831++ if yyhl1831 { @@ -24416,9 +24545,94 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Reason = "" } else { - x.APIVersion = string(r.DecodeString()) + x.Reason = string(r.DecodeString()) + } + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l + } else { + yyb1831 = r.CheckBreak() + } + if yyb1831 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostIP = "" + } else { + x.HostIP = string(r.DecodeString()) + } + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l + } else { + yyb1831 = r.CheckBreak() + } + if yyb1831 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodIP = "" + } else { + x.PodIP = string(r.DecodeString()) + } + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l + } else { + yyb1831 = r.CheckBreak() + } + if yyb1831 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.StartTime != nil { + x.StartTime = nil + } + } else { + if x.StartTime == nil { + x.StartTime = new(pkg2_unversioned.Time) + } + yym1840 := z.DecBinary() + _ = yym1840 + if false { + } else if z.HasExtensions() && z.DecExt(x.StartTime) { + } else if yym1840 { + z.DecBinaryUnmarshal(x.StartTime) + } else if !yym1840 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.StartTime) + } else { + z.DecFallback(x.StartTime, false) + } + } + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l + } else { + yyb1831 = r.CheckBreak() + } + if yyb1831 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContainerStatuses = nil + } else { + yyv1841 := &x.ContainerStatuses + yym1842 := z.DecBinary() + _ = yym1842 + if false { + } else { + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1841), d) + } } for { yyj1831++ @@ -24436,6 +24650,307 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1843 := z.EncBinary() + _ = yym1843 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1844 := !z.EncBinary() + yy2arr1844 := z.EncBasicHandle().StructToArray + var yyq1844 [4]bool + _, _, _ = yysep1844, yyq1844, yy2arr1844 + const yyr1844 bool = false + yyq1844[0] = true + yyq1844[1] = true + yyq1844[2] = x.Kind != "" + yyq1844[3] = x.APIVersion != "" + var yynn1844 int + if yyr1844 || yy2arr1844 { + r.EncodeArrayStart(4) + } else { + yynn1844 = 0 + for _, b := range yyq1844 { + if b { + yynn1844++ + } + } + r.EncodeMapStart(yynn1844) + yynn1844 = 0 + } + if yyr1844 || yy2arr1844 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1844[0] { + yy1846 := &x.ObjectMeta + yy1846.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1844[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1847 := &x.ObjectMeta + yy1847.CodecEncodeSelf(e) + } + } + if yyr1844 || yy2arr1844 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1844[1] { + yy1849 := &x.Status + yy1849.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1844[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1850 := &x.Status + yy1850.CodecEncodeSelf(e) + } + } + if yyr1844 || yy2arr1844 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1844[2] { + yym1852 := z.EncBinary() + _ = yym1852 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1844[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1853 := z.EncBinary() + _ = yym1853 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1844 || yy2arr1844 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1844[3] { + yym1855 := z.EncBinary() + _ = yym1855 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1844[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1856 := z.EncBinary() + _ = yym1856 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1844 || yy2arr1844 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1857 := z.DecBinary() + _ = yym1857 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1858 := r.ContainerType() + if yyct1858 == codecSelferValueTypeMap1234 { + yyl1858 := r.ReadMapStart() + if yyl1858 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1858, d) + } + } else if yyct1858 == codecSelferValueTypeArray1234 { + yyl1858 := r.ReadArrayStart() + if yyl1858 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1858, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1859Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1859Slc + var yyhl1859 bool = l >= 0 + for yyj1859 := 0; ; yyj1859++ { + if yyhl1859 { + if yyj1859 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1859Slc = r.DecodeBytes(yys1859Slc, true, true) + yys1859 := string(yys1859Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1859 { + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1860 := &x.ObjectMeta + yyv1860.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv1861 := &x.Status + yyv1861.CodecDecodeSelf(d) + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys1859) + } // end switch yys1859 + } // end for yyj1859 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1864 int + var yyb1864 bool + var yyhl1864 bool = l >= 0 + yyj1864++ + if yyhl1864 { + yyb1864 = yyj1864 > l + } else { + yyb1864 = r.CheckBreak() + } + if yyb1864 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1865 := &x.ObjectMeta + yyv1865.CodecDecodeSelf(d) + } + yyj1864++ + if yyhl1864 { + yyb1864 = yyj1864 > l + } else { + yyb1864 = r.CheckBreak() + } + if yyb1864 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv1866 := &x.Status + yyv1866.CodecDecodeSelf(d) + } + yyj1864++ + if yyhl1864 { + yyb1864 = yyj1864 > l + } else { + yyb1864 = r.CheckBreak() + } + if yyb1864 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1864++ + if yyhl1864 { + yyb1864 = yyj1864 > l + } else { + yyb1864 = r.CheckBreak() + } + if yyb1864 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj1864++ + if yyhl1864 { + yyb1864 = yyj1864 > l + } else { + yyb1864 = r.CheckBreak() + } + if yyb1864 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1864-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -24443,90 +24958,90 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1836 := z.EncBinary() - _ = yym1836 + yym1869 := z.EncBinary() + _ = yym1869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1837 := !z.EncBinary() - yy2arr1837 := z.EncBasicHandle().StructToArray - var yyq1837 [5]bool - _, _, _ = yysep1837, yyq1837, yy2arr1837 - const yyr1837 bool = false - yyq1837[0] = true - yyq1837[1] = true - yyq1837[2] = true - yyq1837[3] = x.Kind != "" - yyq1837[4] = x.APIVersion != "" - var yynn1837 int - if yyr1837 || yy2arr1837 { + yysep1870 := !z.EncBinary() + yy2arr1870 := z.EncBasicHandle().StructToArray + var yyq1870 [5]bool + _, _, _ = yysep1870, yyq1870, yy2arr1870 + const yyr1870 bool = false + yyq1870[0] = true + yyq1870[1] = true + yyq1870[2] = true + yyq1870[3] = x.Kind != "" + yyq1870[4] = x.APIVersion != "" + var yynn1870 int + if yyr1870 || yy2arr1870 { r.EncodeArrayStart(5) } else { - yynn1837 = 0 - for _, b := range yyq1837 { + yynn1870 = 0 + for _, b := range yyq1870 { if b { - yynn1837++ + yynn1870++ } } - r.EncodeMapStart(yynn1837) - yynn1837 = 0 + r.EncodeMapStart(yynn1870) + yynn1870 = 0 } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1837[0] { - yy1839 := &x.ObjectMeta - yy1839.CodecEncodeSelf(e) + if yyq1870[0] { + yy1872 := &x.ObjectMeta + yy1872.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1837[0] { + if yyq1870[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1840 := &x.ObjectMeta - yy1840.CodecEncodeSelf(e) + yy1873 := &x.ObjectMeta + yy1873.CodecEncodeSelf(e) } } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1837[1] { - yy1842 := &x.Spec - yy1842.CodecEncodeSelf(e) + if yyq1870[1] { + yy1875 := &x.Spec + yy1875.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1837[1] { + if yyq1870[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1843 := &x.Spec - yy1843.CodecEncodeSelf(e) + yy1876 := &x.Spec + yy1876.CodecEncodeSelf(e) } } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1837[2] { - yy1845 := &x.Status - yy1845.CodecEncodeSelf(e) + if yyq1870[2] { + yy1878 := &x.Status + yy1878.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1837[2] { + if yyq1870[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1846 := &x.Status - yy1846.CodecEncodeSelf(e) + yy1879 := &x.Status + yy1879.CodecEncodeSelf(e) } } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1837[3] { - yym1848 := z.EncBinary() - _ = yym1848 + if yyq1870[3] { + yym1881 := z.EncBinary() + _ = yym1881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -24535,23 +25050,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1837[3] { + if yyq1870[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1849 := z.EncBinary() - _ = yym1849 + yym1882 := z.EncBinary() + _ = yym1882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1837[4] { - yym1851 := z.EncBinary() - _ = yym1851 + if yyq1870[4] { + yym1884 := z.EncBinary() + _ = yym1884 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -24560,19 +25075,19 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1837[4] { + if yyq1870[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1852 := z.EncBinary() - _ = yym1852 + yym1885 := z.EncBinary() + _ = yym1885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1837 || yy2arr1837 { + if yyr1870 || yy2arr1870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24585,25 +25100,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1853 := z.DecBinary() - _ = yym1853 + yym1886 := z.DecBinary() + _ = yym1886 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1854 := r.ContainerType() - if yyct1854 == codecSelferValueTypeMap1234 { - yyl1854 := r.ReadMapStart() - if yyl1854 == 0 { + yyct1887 := r.ContainerType() + if yyct1887 == codecSelferValueTypeMap1234 { + yyl1887 := r.ReadMapStart() + if yyl1887 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1854, d) + x.codecDecodeSelfFromMap(yyl1887, d) } - } else if yyct1854 == codecSelferValueTypeArray1234 { - yyl1854 := r.ReadArrayStart() - if yyl1854 == 0 { + } else if yyct1887 == codecSelferValueTypeArray1234 { + yyl1887 := r.ReadArrayStart() + if yyl1887 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1854, d) + x.codecDecodeSelfFromArray(yyl1887, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24615,12 +25130,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1855Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1855Slc - var yyhl1855 bool = l >= 0 - for yyj1855 := 0; ; yyj1855++ { - if yyhl1855 { - if yyj1855 >= l { + var yys1888Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1888Slc + var yyhl1888 bool = l >= 0 + for yyj1888 := 0; ; yyj1888++ { + if yyhl1888 { + if yyj1888 >= l { break } } else { @@ -24629,30 +25144,30 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1855Slc = r.DecodeBytes(yys1855Slc, true, true) - yys1855 := string(yys1855Slc) + yys1888Slc = r.DecodeBytes(yys1888Slc, true, true) + yys1888 := string(yys1888Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1855 { + switch yys1888 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1856 := &x.ObjectMeta - yyv1856.CodecDecodeSelf(d) + yyv1889 := &x.ObjectMeta + yyv1889.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1857 := &x.Spec - yyv1857.CodecDecodeSelf(d) + yyv1890 := &x.Spec + yyv1890.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1858 := &x.Status - yyv1858.CodecDecodeSelf(d) + yyv1891 := &x.Status + yyv1891.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -24667,9 +25182,9 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1855) - } // end switch yys1855 - } // end for yyj1855 + z.DecStructFieldNotFound(-1, yys1888) + } // end switch yys1888 + } // end for yyj1888 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24677,16 +25192,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1861 int - var yyb1861 bool - var yyhl1861 bool = l >= 0 - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + var yyj1894 int + var yyb1894 bool + var yyhl1894 bool = l >= 0 + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24694,16 +25209,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1862 := &x.ObjectMeta - yyv1862.CodecDecodeSelf(d) + yyv1895 := &x.ObjectMeta + yyv1895.CodecDecodeSelf(d) } - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24711,16 +25226,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1863 := &x.Spec - yyv1863.CodecDecodeSelf(d) + yyv1896 := &x.Spec + yyv1896.CodecDecodeSelf(d) } - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24728,16 +25243,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1864 := &x.Status - yyv1864.CodecDecodeSelf(d) + yyv1897 := &x.Status + yyv1897.CodecDecodeSelf(d) } - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24747,13 +25262,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24764,17 +25279,17 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1861++ - if yyhl1861 { - yyb1861 = yyj1861 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1861 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1861 { + if yyb1894 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1861-1, "") + z.DecStructFieldNotFound(yyj1894-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24786,66 +25301,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1867 := z.EncBinary() - _ = yym1867 + yym1900 := z.EncBinary() + _ = yym1900 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1868 := !z.EncBinary() - yy2arr1868 := z.EncBasicHandle().StructToArray - var yyq1868 [2]bool - _, _, _ = yysep1868, yyq1868, yy2arr1868 - const yyr1868 bool = false - yyq1868[0] = true - yyq1868[1] = true - var yynn1868 int - if yyr1868 || yy2arr1868 { + yysep1901 := !z.EncBinary() + yy2arr1901 := z.EncBasicHandle().StructToArray + var yyq1901 [2]bool + _, _, _ = yysep1901, yyq1901, yy2arr1901 + const yyr1901 bool = false + yyq1901[0] = true + yyq1901[1] = true + var yynn1901 int + if yyr1901 || yy2arr1901 { r.EncodeArrayStart(2) } else { - yynn1868 = 0 - for _, b := range yyq1868 { + yynn1901 = 0 + for _, b := range yyq1901 { if b { - yynn1868++ + yynn1901++ } } - r.EncodeMapStart(yynn1868) - yynn1868 = 0 + r.EncodeMapStart(yynn1901) + yynn1901 = 0 } - if yyr1868 || yy2arr1868 { + if yyr1901 || yy2arr1901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1868[0] { - yy1870 := &x.ObjectMeta - yy1870.CodecEncodeSelf(e) + if yyq1901[0] { + yy1903 := &x.ObjectMeta + yy1903.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1868[0] { + if yyq1901[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1871 := &x.ObjectMeta - yy1871.CodecEncodeSelf(e) + yy1904 := &x.ObjectMeta + yy1904.CodecEncodeSelf(e) } } - if yyr1868 || yy2arr1868 { + if yyr1901 || yy2arr1901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1868[1] { - yy1873 := &x.Spec - yy1873.CodecEncodeSelf(e) + if yyq1901[1] { + yy1906 := &x.Spec + yy1906.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1868[1] { + if yyq1901[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1874 := &x.Spec - yy1874.CodecEncodeSelf(e) + yy1907 := &x.Spec + yy1907.CodecEncodeSelf(e) } } - if yyr1868 || yy2arr1868 { + if yyr1901 || yy2arr1901 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24858,25 +25373,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1875 := z.DecBinary() - _ = yym1875 + yym1908 := z.DecBinary() + _ = yym1908 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1876 := r.ContainerType() - if yyct1876 == codecSelferValueTypeMap1234 { - yyl1876 := r.ReadMapStart() - if yyl1876 == 0 { + yyct1909 := r.ContainerType() + if yyct1909 == codecSelferValueTypeMap1234 { + yyl1909 := r.ReadMapStart() + if yyl1909 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1876, d) + x.codecDecodeSelfFromMap(yyl1909, d) } - } else if yyct1876 == codecSelferValueTypeArray1234 { - yyl1876 := r.ReadArrayStart() - if yyl1876 == 0 { + } else if yyct1909 == codecSelferValueTypeArray1234 { + yyl1909 := r.ReadArrayStart() + if yyl1909 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1876, d) + x.codecDecodeSelfFromArray(yyl1909, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24888,12 +25403,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1877Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1877Slc - var yyhl1877 bool = l >= 0 - for yyj1877 := 0; ; yyj1877++ { - if yyhl1877 { - if yyj1877 >= l { + var yys1910Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1910Slc + var yyhl1910 bool = l >= 0 + for yyj1910 := 0; ; yyj1910++ { + if yyhl1910 { + if yyj1910 >= l { break } } else { @@ -24902,28 +25417,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1877Slc = r.DecodeBytes(yys1877Slc, true, true) - yys1877 := string(yys1877Slc) + yys1910Slc = r.DecodeBytes(yys1910Slc, true, true) + yys1910 := string(yys1910Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1877 { + switch yys1910 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1878 := &x.ObjectMeta - yyv1878.CodecDecodeSelf(d) + yyv1911 := &x.ObjectMeta + yyv1911.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1879 := &x.Spec - yyv1879.CodecDecodeSelf(d) + yyv1912 := &x.Spec + yyv1912.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1877) - } // end switch yys1877 - } // end for yyj1877 + z.DecStructFieldNotFound(-1, yys1910) + } // end switch yys1910 + } // end for yyj1910 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24931,16 +25446,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1880 int - var yyb1880 bool - var yyhl1880 bool = l >= 0 - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + var yyj1913 int + var yyb1913 bool + var yyhl1913 bool = l >= 0 + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24948,16 +25463,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1881 := &x.ObjectMeta - yyv1881.CodecDecodeSelf(d) + yyv1914 := &x.ObjectMeta + yyv1914.CodecDecodeSelf(d) } - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24965,21 +25480,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1882 := &x.Spec - yyv1882.CodecDecodeSelf(d) + yyv1915 := &x.Spec + yyv1915.CodecDecodeSelf(d) } for { - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1880-1, "") + z.DecStructFieldNotFound(yyj1913-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24991,72 +25506,72 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1883 := z.EncBinary() - _ = yym1883 + yym1916 := z.EncBinary() + _ = yym1916 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1884 := !z.EncBinary() - yy2arr1884 := z.EncBasicHandle().StructToArray - var yyq1884 [4]bool - _, _, _ = yysep1884, yyq1884, yy2arr1884 - const yyr1884 bool = false - yyq1884[0] = true - yyq1884[1] = true - yyq1884[2] = x.Kind != "" - yyq1884[3] = x.APIVersion != "" - var yynn1884 int - if yyr1884 || yy2arr1884 { + yysep1917 := !z.EncBinary() + yy2arr1917 := z.EncBasicHandle().StructToArray + var yyq1917 [4]bool + _, _, _ = yysep1917, yyq1917, yy2arr1917 + const yyr1917 bool = false + yyq1917[0] = true + yyq1917[1] = true + yyq1917[2] = x.Kind != "" + yyq1917[3] = x.APIVersion != "" + var yynn1917 int + if yyr1917 || yy2arr1917 { r.EncodeArrayStart(4) } else { - yynn1884 = 0 - for _, b := range yyq1884 { + yynn1917 = 0 + for _, b := range yyq1917 { if b { - yynn1884++ + yynn1917++ } } - r.EncodeMapStart(yynn1884) - yynn1884 = 0 + r.EncodeMapStart(yynn1917) + yynn1917 = 0 } - if yyr1884 || yy2arr1884 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1884[0] { - yy1886 := &x.ObjectMeta - yy1886.CodecEncodeSelf(e) + if yyq1917[0] { + yy1919 := &x.ObjectMeta + yy1919.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1884[0] { + if yyq1917[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1887 := &x.ObjectMeta - yy1887.CodecEncodeSelf(e) + yy1920 := &x.ObjectMeta + yy1920.CodecEncodeSelf(e) } } - if yyr1884 || yy2arr1884 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1884[1] { - yy1889 := &x.Template - yy1889.CodecEncodeSelf(e) + if yyq1917[1] { + yy1922 := &x.Template + yy1922.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1884[1] { + if yyq1917[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1890 := &x.Template - yy1890.CodecEncodeSelf(e) + yy1923 := &x.Template + yy1923.CodecEncodeSelf(e) } } - if yyr1884 || yy2arr1884 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1884[2] { - yym1892 := z.EncBinary() - _ = yym1892 + if yyq1917[2] { + yym1925 := z.EncBinary() + _ = yym1925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25065,23 +25580,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1884[2] { + if yyq1917[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1893 := z.EncBinary() - _ = yym1893 + yym1926 := z.EncBinary() + _ = yym1926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1884 || yy2arr1884 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1884[3] { - yym1895 := z.EncBinary() - _ = yym1895 + if yyq1917[3] { + yym1928 := z.EncBinary() + _ = yym1928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25090,19 +25605,19 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1884[3] { + if yyq1917[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1896 := z.EncBinary() - _ = yym1896 + yym1929 := z.EncBinary() + _ = yym1929 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1884 || yy2arr1884 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25115,25 +25630,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1897 := z.DecBinary() - _ = yym1897 + yym1930 := z.DecBinary() + _ = yym1930 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1898 := r.ContainerType() - if yyct1898 == codecSelferValueTypeMap1234 { - yyl1898 := r.ReadMapStart() - if yyl1898 == 0 { + yyct1931 := r.ContainerType() + if yyct1931 == codecSelferValueTypeMap1234 { + yyl1931 := r.ReadMapStart() + if yyl1931 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1898, d) + x.codecDecodeSelfFromMap(yyl1931, d) } - } else if yyct1898 == codecSelferValueTypeArray1234 { - yyl1898 := r.ReadArrayStart() - if yyl1898 == 0 { + } else if yyct1931 == codecSelferValueTypeArray1234 { + yyl1931 := r.ReadArrayStart() + if yyl1931 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1898, d) + x.codecDecodeSelfFromArray(yyl1931, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25145,12 +25660,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1899Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1899Slc - var yyhl1899 bool = l >= 0 - for yyj1899 := 0; ; yyj1899++ { - if yyhl1899 { - if yyj1899 >= l { + var yys1932Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1932Slc + var yyhl1932 bool = l >= 0 + for yyj1932 := 0; ; yyj1932++ { + if yyhl1932 { + if yyj1932 >= l { break } } else { @@ -25159,23 +25674,23 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1899Slc = r.DecodeBytes(yys1899Slc, true, true) - yys1899 := string(yys1899Slc) + yys1932Slc = r.DecodeBytes(yys1932Slc, true, true) + yys1932 := string(yys1932Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1899 { + switch yys1932 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1900 := &x.ObjectMeta - yyv1900.CodecDecodeSelf(d) + yyv1933 := &x.ObjectMeta + yyv1933.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1901 := &x.Template - yyv1901.CodecDecodeSelf(d) + yyv1934 := &x.Template + yyv1934.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -25190,9 +25705,9 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1899) - } // end switch yys1899 - } // end for yyj1899 + z.DecStructFieldNotFound(-1, yys1932) + } // end switch yys1932 + } // end for yyj1932 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25200,16 +25715,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1904 int - var yyb1904 bool - var yyhl1904 bool = l >= 0 - yyj1904++ - if yyhl1904 { - yyb1904 = yyj1904 > l + var yyj1937 int + var yyb1937 bool + var yyhl1937 bool = l >= 0 + yyj1937++ + if yyhl1937 { + yyb1937 = yyj1937 > l } else { - yyb1904 = r.CheckBreak() + yyb1937 = r.CheckBreak() } - if yyb1904 { + if yyb1937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25217,16 +25732,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1905 := &x.ObjectMeta - yyv1905.CodecDecodeSelf(d) + yyv1938 := &x.ObjectMeta + yyv1938.CodecDecodeSelf(d) } - yyj1904++ - if yyhl1904 { - yyb1904 = yyj1904 > l + yyj1937++ + if yyhl1937 { + yyb1937 = yyj1937 > l } else { - yyb1904 = r.CheckBreak() + yyb1937 = r.CheckBreak() } - if yyb1904 { + if yyb1937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25234,16 +25749,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1906 := &x.Template - yyv1906.CodecDecodeSelf(d) + yyv1939 := &x.Template + yyv1939.CodecDecodeSelf(d) } - yyj1904++ - if yyhl1904 { - yyb1904 = yyj1904 > l + yyj1937++ + if yyhl1937 { + yyb1937 = yyj1937 > l } else { - yyb1904 = r.CheckBreak() + yyb1937 = r.CheckBreak() } - if yyb1904 { + if yyb1937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25253,13 +25768,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1904++ - if yyhl1904 { - yyb1904 = yyj1904 > l + yyj1937++ + if yyhl1937 { + yyb1937 = yyj1937 > l } else { - yyb1904 = r.CheckBreak() + yyb1937 = r.CheckBreak() } - if yyb1904 { + if yyb1937 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25270,17 +25785,17 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1904++ - if yyhl1904 { - yyb1904 = yyj1904 > l + yyj1937++ + if yyhl1937 { + yyb1937 = yyj1937 > l } else { - yyb1904 = r.CheckBreak() + yyb1937 = r.CheckBreak() } - if yyb1904 { + if yyb1937 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1904-1, "") + z.DecStructFieldNotFound(yyj1937-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25292,68 +25807,68 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1909 := z.EncBinary() - _ = yym1909 + yym1942 := z.EncBinary() + _ = yym1942 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1910 := !z.EncBinary() - yy2arr1910 := z.EncBasicHandle().StructToArray - var yyq1910 [4]bool - _, _, _ = yysep1910, yyq1910, yy2arr1910 - const yyr1910 bool = false - yyq1910[0] = true - yyq1910[2] = x.Kind != "" - yyq1910[3] = x.APIVersion != "" - var yynn1910 int - if yyr1910 || yy2arr1910 { + yysep1943 := !z.EncBinary() + yy2arr1943 := z.EncBasicHandle().StructToArray + var yyq1943 [4]bool + _, _, _ = yysep1943, yyq1943, yy2arr1943 + const yyr1943 bool = false + yyq1943[0] = true + yyq1943[2] = x.Kind != "" + yyq1943[3] = x.APIVersion != "" + var yynn1943 int + if yyr1943 || yy2arr1943 { r.EncodeArrayStart(4) } else { - yynn1910 = 1 - for _, b := range yyq1910 { + yynn1943 = 1 + for _, b := range yyq1943 { if b { - yynn1910++ + yynn1943++ } } - r.EncodeMapStart(yynn1910) - yynn1910 = 0 + r.EncodeMapStart(yynn1943) + yynn1943 = 0 } - if yyr1910 || yy2arr1910 { + if yyr1943 || yy2arr1943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1910[0] { - yy1912 := &x.ListMeta - yym1913 := z.EncBinary() - _ = yym1913 + if yyq1943[0] { + yy1945 := &x.ListMeta + yym1946 := z.EncBinary() + _ = yym1946 if false { - } else if z.HasExtensions() && z.EncExt(yy1912) { + } else if z.HasExtensions() && z.EncExt(yy1945) { } else { - z.EncFallback(yy1912) + z.EncFallback(yy1945) } } else { r.EncodeNil() } } else { - if yyq1910[0] { + if yyq1943[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1914 := &x.ListMeta - yym1915 := z.EncBinary() - _ = yym1915 + yy1947 := &x.ListMeta + yym1948 := z.EncBinary() + _ = yym1948 if false { - } else if z.HasExtensions() && z.EncExt(yy1914) { + } else if z.HasExtensions() && z.EncExt(yy1947) { } else { - z.EncFallback(yy1914) + z.EncFallback(yy1947) } } } - if yyr1910 || yy2arr1910 { + if yyr1943 || yy2arr1943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1917 := z.EncBinary() - _ = yym1917 + yym1950 := z.EncBinary() + _ = yym1950 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -25366,19 +25881,19 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1918 := z.EncBinary() - _ = yym1918 + yym1951 := z.EncBinary() + _ = yym1951 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr1910 || yy2arr1910 { + if yyr1943 || yy2arr1943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1910[2] { - yym1920 := z.EncBinary() - _ = yym1920 + if yyq1943[2] { + yym1953 := z.EncBinary() + _ = yym1953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25387,23 +25902,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1910[2] { + if yyq1943[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1921 := z.EncBinary() - _ = yym1921 + yym1954 := z.EncBinary() + _ = yym1954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1910 || yy2arr1910 { + if yyr1943 || yy2arr1943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1910[3] { - yym1923 := z.EncBinary() - _ = yym1923 + if yyq1943[3] { + yym1956 := z.EncBinary() + _ = yym1956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25412,19 +25927,19 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1910[3] { + if yyq1943[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1924 := z.EncBinary() - _ = yym1924 + yym1957 := z.EncBinary() + _ = yym1957 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1910 || yy2arr1910 { + if yyr1943 || yy2arr1943 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25437,25 +25952,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1925 := z.DecBinary() - _ = yym1925 + yym1958 := z.DecBinary() + _ = yym1958 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1926 := r.ContainerType() - if yyct1926 == codecSelferValueTypeMap1234 { - yyl1926 := r.ReadMapStart() - if yyl1926 == 0 { + yyct1959 := r.ContainerType() + if yyct1959 == codecSelferValueTypeMap1234 { + yyl1959 := r.ReadMapStart() + if yyl1959 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1926, d) + x.codecDecodeSelfFromMap(yyl1959, d) } - } else if yyct1926 == codecSelferValueTypeArray1234 { - yyl1926 := r.ReadArrayStart() - if yyl1926 == 0 { + } else if yyct1959 == codecSelferValueTypeArray1234 { + yyl1959 := r.ReadArrayStart() + if yyl1959 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1926, d) + x.codecDecodeSelfFromArray(yyl1959, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25467,12 +25982,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1927Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1927Slc - var yyhl1927 bool = l >= 0 - for yyj1927 := 0; ; yyj1927++ { - if yyhl1927 { - if yyj1927 >= l { + var yys1960Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1960Slc + var yyhl1960 bool = l >= 0 + for yyj1960 := 0; ; yyj1960++ { + if yyhl1960 { + if yyj1960 >= l { break } } else { @@ -25481,33 +25996,33 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1927Slc = r.DecodeBytes(yys1927Slc, true, true) - yys1927 := string(yys1927Slc) + yys1960Slc = r.DecodeBytes(yys1960Slc, true, true) + yys1960 := string(yys1960Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1927 { + switch yys1960 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1928 := &x.ListMeta - yym1929 := z.DecBinary() - _ = yym1929 + yyv1961 := &x.ListMeta + yym1962 := z.DecBinary() + _ = yym1962 if false { - } else if z.HasExtensions() && z.DecExt(yyv1928) { + } else if z.HasExtensions() && z.DecExt(yyv1961) { } else { - z.DecFallback(yyv1928, false) + z.DecFallback(yyv1961, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1930 := &x.Items - yym1931 := z.DecBinary() - _ = yym1931 + yyv1963 := &x.Items + yym1964 := z.DecBinary() + _ = yym1964 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1930), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1963), d) } } case "kind": @@ -25523,9 +26038,9 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1927) - } // end switch yys1927 - } // end for yyj1927 + z.DecStructFieldNotFound(-1, yys1960) + } // end switch yys1960 + } // end for yyj1960 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25533,16 +26048,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1934 int - var yyb1934 bool - var yyhl1934 bool = l >= 0 - yyj1934++ - if yyhl1934 { - yyb1934 = yyj1934 > l + var yyj1967 int + var yyb1967 bool + var yyhl1967 bool = l >= 0 + yyj1967++ + if yyhl1967 { + yyb1967 = yyj1967 > l } else { - yyb1934 = r.CheckBreak() + yyb1967 = r.CheckBreak() } - if yyb1934 { + if yyb1967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25550,22 +26065,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1935 := &x.ListMeta - yym1936 := z.DecBinary() - _ = yym1936 + yyv1968 := &x.ListMeta + yym1969 := z.DecBinary() + _ = yym1969 if false { - } else if z.HasExtensions() && z.DecExt(yyv1935) { + } else if z.HasExtensions() && z.DecExt(yyv1968) { } else { - z.DecFallback(yyv1935, false) + z.DecFallback(yyv1968, false) } } - yyj1934++ - if yyhl1934 { - yyb1934 = yyj1934 > l + yyj1967++ + if yyhl1967 { + yyb1967 = yyj1967 > l } else { - yyb1934 = r.CheckBreak() + yyb1967 = r.CheckBreak() } - if yyb1934 { + if yyb1967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25573,21 +26088,21 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1937 := &x.Items - yym1938 := z.DecBinary() - _ = yym1938 + yyv1970 := &x.Items + yym1971 := z.DecBinary() + _ = yym1971 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1937), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1970), d) } } - yyj1934++ - if yyhl1934 { - yyb1934 = yyj1934 > l + yyj1967++ + if yyhl1967 { + yyb1967 = yyj1967 > l } else { - yyb1934 = r.CheckBreak() + yyb1967 = r.CheckBreak() } - if yyb1934 { + if yyb1967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25597,13 +26112,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj1934++ - if yyhl1934 { - yyb1934 = yyj1934 > l + yyj1967++ + if yyhl1967 { + yyb1967 = yyj1967 > l } else { - yyb1934 = r.CheckBreak() + yyb1967 = r.CheckBreak() } - if yyb1934 { + if yyb1967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25614,17 +26129,17 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj1934++ - if yyhl1934 { - yyb1934 = yyj1934 > l + yyj1967++ + if yyhl1967 { + yyb1967 = yyj1967 > l } else { - yyb1934 = r.CheckBreak() + yyb1967 = r.CheckBreak() } - if yyb1934 { + if yyb1967 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1934-1, "") + z.DecStructFieldNotFound(yyj1967-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25636,34 +26151,34 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1941 := z.EncBinary() - _ = yym1941 + yym1974 := z.EncBinary() + _ = yym1974 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1942 := !z.EncBinary() - yy2arr1942 := z.EncBasicHandle().StructToArray - var yyq1942 [3]bool - _, _, _ = yysep1942, yyq1942, yy2arr1942 - const yyr1942 bool = false - yyq1942[2] = x.Template != nil - var yynn1942 int - if yyr1942 || yy2arr1942 { + yysep1975 := !z.EncBinary() + yy2arr1975 := z.EncBasicHandle().StructToArray + var yyq1975 [3]bool + _, _, _ = yysep1975, yyq1975, yy2arr1975 + const yyr1975 bool = false + yyq1975[2] = x.Template != nil + var yynn1975 int + if yyr1975 || yy2arr1975 { r.EncodeArrayStart(3) } else { - yynn1942 = 2 - for _, b := range yyq1942 { + yynn1975 = 2 + for _, b := range yyq1975 { if b { - yynn1942++ + yynn1975++ } } - r.EncodeMapStart(yynn1942) - yynn1942 = 0 + r.EncodeMapStart(yynn1975) + yynn1975 = 0 } - if yyr1942 || yy2arr1942 { + if yyr1975 || yy2arr1975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1944 := z.EncBinary() - _ = yym1944 + yym1977 := z.EncBinary() + _ = yym1977 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -25672,20 +26187,20 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1945 := z.EncBinary() - _ = yym1945 + yym1978 := z.EncBinary() + _ = yym1978 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1942 || yy2arr1942 { + if yyr1975 || yy2arr1975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym1947 := z.EncBinary() - _ = yym1947 + yym1980 := z.EncBinary() + _ = yym1980 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -25698,17 +26213,17 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym1948 := z.EncBinary() - _ = yym1948 + yym1981 := z.EncBinary() + _ = yym1981 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr1942 || yy2arr1942 { + if yyr1975 || yy2arr1975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1942[2] { + if yyq1975[2] { if x.Template == nil { r.EncodeNil() } else { @@ -25718,7 +26233,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1942[2] { + if yyq1975[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25729,7 +26244,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1942 || yy2arr1942 { + if yyr1975 || yy2arr1975 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25742,25 +26257,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1950 := z.DecBinary() - _ = yym1950 + yym1983 := z.DecBinary() + _ = yym1983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1951 := r.ContainerType() - if yyct1951 == codecSelferValueTypeMap1234 { - yyl1951 := r.ReadMapStart() - if yyl1951 == 0 { + yyct1984 := r.ContainerType() + if yyct1984 == codecSelferValueTypeMap1234 { + yyl1984 := r.ReadMapStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1951, d) + x.codecDecodeSelfFromMap(yyl1984, d) } - } else if yyct1951 == codecSelferValueTypeArray1234 { - yyl1951 := r.ReadArrayStart() - if yyl1951 == 0 { + } else if yyct1984 == codecSelferValueTypeArray1234 { + yyl1984 := r.ReadArrayStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1951, d) + x.codecDecodeSelfFromArray(yyl1984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25772,12 +26287,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1952Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1952Slc - var yyhl1952 bool = l >= 0 - for yyj1952 := 0; ; yyj1952++ { - if yyhl1952 { - if yyj1952 >= l { + var yys1985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1985Slc + var yyhl1985 bool = l >= 0 + for yyj1985 := 0; ; yyj1985++ { + if yyhl1985 { + if yyj1985 >= l { break } } else { @@ -25786,10 +26301,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1952Slc = r.DecodeBytes(yys1952Slc, true, true) - yys1952 := string(yys1952Slc) + yys1985Slc = r.DecodeBytes(yys1985Slc, true, true) + yys1985 := string(yys1985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1952 { + switch yys1985 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -25800,12 +26315,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1954 := &x.Selector - yym1955 := z.DecBinary() - _ = yym1955 + yyv1987 := &x.Selector + yym1988 := z.DecBinary() + _ = yym1988 if false { } else { - z.F.DecMapStringStringX(yyv1954, false, d) + z.F.DecMapStringStringX(yyv1987, false, d) } } case "template": @@ -25820,9 +26335,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1952) - } // end switch yys1952 - } // end for yyj1952 + z.DecStructFieldNotFound(-1, yys1985) + } // end switch yys1985 + } // end for yyj1985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25830,16 +26345,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1957 int - var yyb1957 bool - var yyhl1957 bool = l >= 0 - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + var yyj1990 int + var yyb1990 bool + var yyhl1990 bool = l >= 0 + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1957 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1957 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25849,13 +26364,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1957 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1957 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25863,21 +26378,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1959 := &x.Selector - yym1960 := z.DecBinary() - _ = yym1960 + yyv1992 := &x.Selector + yym1993 := z.DecBinary() + _ = yym1993 if false { } else { - z.F.DecMapStringStringX(yyv1959, false, d) + z.F.DecMapStringStringX(yyv1992, false, d) } } - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1957 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1957 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25893,17 +26408,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1957 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1957 { + if yyb1990 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1957-1, "") + z.DecStructFieldNotFound(yyj1990-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25915,34 +26430,34 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1962 := z.EncBinary() - _ = yym1962 + yym1995 := z.EncBinary() + _ = yym1995 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1963 := !z.EncBinary() - yy2arr1963 := z.EncBasicHandle().StructToArray - var yyq1963 [2]bool - _, _, _ = yysep1963, yyq1963, yy2arr1963 - const yyr1963 bool = false - yyq1963[1] = x.ObservedGeneration != 0 - var yynn1963 int - if yyr1963 || yy2arr1963 { + yysep1996 := !z.EncBinary() + yy2arr1996 := z.EncBasicHandle().StructToArray + var yyq1996 [2]bool + _, _, _ = yysep1996, yyq1996, yy2arr1996 + const yyr1996 bool = false + yyq1996[1] = x.ObservedGeneration != 0 + var yynn1996 int + if yyr1996 || yy2arr1996 { r.EncodeArrayStart(2) } else { - yynn1963 = 1 - for _, b := range yyq1963 { + yynn1996 = 1 + for _, b := range yyq1996 { if b { - yynn1963++ + yynn1996++ } } - r.EncodeMapStart(yynn1963) - yynn1963 = 0 + r.EncodeMapStart(yynn1996) + yynn1996 = 0 } - if yyr1963 || yy2arr1963 { + if yyr1996 || yy2arr1996 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1965 := z.EncBinary() - _ = yym1965 + yym1998 := z.EncBinary() + _ = yym1998 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -25951,18 +26466,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1966 := z.EncBinary() - _ = yym1966 + yym1999 := z.EncBinary() + _ = yym1999 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1963 || yy2arr1963 { + if yyr1996 || yy2arr1996 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1963[1] { - yym1968 := z.EncBinary() - _ = yym1968 + if yyq1996[1] { + yym2001 := z.EncBinary() + _ = yym2001 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -25971,19 +26486,19 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1963[1] { + if yyq1996[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1969 := z.EncBinary() - _ = yym1969 + yym2002 := z.EncBinary() + _ = yym2002 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1963 || yy2arr1963 { + if yyr1996 || yy2arr1996 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25996,25 +26511,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1970 := z.DecBinary() - _ = yym1970 + yym2003 := z.DecBinary() + _ = yym2003 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1971 := r.ContainerType() - if yyct1971 == codecSelferValueTypeMap1234 { - yyl1971 := r.ReadMapStart() - if yyl1971 == 0 { + yyct2004 := r.ContainerType() + if yyct2004 == codecSelferValueTypeMap1234 { + yyl2004 := r.ReadMapStart() + if yyl2004 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1971, d) + x.codecDecodeSelfFromMap(yyl2004, d) } - } else if yyct1971 == codecSelferValueTypeArray1234 { - yyl1971 := r.ReadArrayStart() - if yyl1971 == 0 { + } else if yyct2004 == codecSelferValueTypeArray1234 { + yyl2004 := r.ReadArrayStart() + if yyl2004 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1971, d) + x.codecDecodeSelfFromArray(yyl2004, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26026,12 +26541,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1972Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1972Slc - var yyhl1972 bool = l >= 0 - for yyj1972 := 0; ; yyj1972++ { - if yyhl1972 { - if yyj1972 >= l { + var yys2005Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2005Slc + var yyhl2005 bool = l >= 0 + for yyj2005 := 0; ; yyj2005++ { + if yyhl2005 { + if yyj2005 >= l { break } } else { @@ -26040,10 +26555,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1972Slc = r.DecodeBytes(yys1972Slc, true, true) - yys1972 := string(yys1972Slc) + yys2005Slc = r.DecodeBytes(yys2005Slc, true, true) + yys2005 := string(yys2005Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1972 { + switch yys2005 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -26057,9 +26572,9 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1972) - } // end switch yys1972 - } // end for yyj1972 + z.DecStructFieldNotFound(-1, yys2005) + } // end switch yys2005 + } // end for yyj2005 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26067,16 +26582,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1975 int - var yyb1975 bool - var yyhl1975 bool = l >= 0 - yyj1975++ - if yyhl1975 { - yyb1975 = yyj1975 > l + var yyj2008 int + var yyb2008 bool + var yyhl2008 bool = l >= 0 + yyj2008++ + if yyhl2008 { + yyb2008 = yyj2008 > l } else { - yyb1975 = r.CheckBreak() + yyb2008 = r.CheckBreak() } - if yyb1975 { + if yyb2008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26086,13 +26601,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1975++ - if yyhl1975 { - yyb1975 = yyj1975 > l + yyj2008++ + if yyhl2008 { + yyb2008 = yyj2008 > l } else { - yyb1975 = r.CheckBreak() + yyb2008 = r.CheckBreak() } - if yyb1975 { + if yyb2008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26103,17 +26618,17 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj1975++ - if yyhl1975 { - yyb1975 = yyj1975 > l + yyj2008++ + if yyhl2008 { + yyb2008 = yyj2008 > l } else { - yyb1975 = r.CheckBreak() + yyb2008 = r.CheckBreak() } - if yyb1975 { + if yyb2008 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1975-1, "") + z.DecStructFieldNotFound(yyj2008-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26125,90 +26640,90 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1978 := z.EncBinary() - _ = yym1978 + yym2011 := z.EncBinary() + _ = yym2011 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1979 := !z.EncBinary() - yy2arr1979 := z.EncBasicHandle().StructToArray - var yyq1979 [5]bool - _, _, _ = yysep1979, yyq1979, yy2arr1979 - const yyr1979 bool = false - yyq1979[0] = true - yyq1979[1] = true - yyq1979[2] = true - yyq1979[3] = x.Kind != "" - yyq1979[4] = x.APIVersion != "" - var yynn1979 int - if yyr1979 || yy2arr1979 { + yysep2012 := !z.EncBinary() + yy2arr2012 := z.EncBasicHandle().StructToArray + var yyq2012 [5]bool + _, _, _ = yysep2012, yyq2012, yy2arr2012 + const yyr2012 bool = false + yyq2012[0] = true + yyq2012[1] = true + yyq2012[2] = true + yyq2012[3] = x.Kind != "" + yyq2012[4] = x.APIVersion != "" + var yynn2012 int + if yyr2012 || yy2arr2012 { r.EncodeArrayStart(5) } else { - yynn1979 = 0 - for _, b := range yyq1979 { + yynn2012 = 0 + for _, b := range yyq2012 { if b { - yynn1979++ + yynn2012++ } } - r.EncodeMapStart(yynn1979) - yynn1979 = 0 + r.EncodeMapStart(yynn2012) + yynn2012 = 0 } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1979[0] { - yy1981 := &x.ObjectMeta - yy1981.CodecEncodeSelf(e) + if yyq2012[0] { + yy2014 := &x.ObjectMeta + yy2014.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1979[0] { + if yyq2012[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1982 := &x.ObjectMeta - yy1982.CodecEncodeSelf(e) + yy2015 := &x.ObjectMeta + yy2015.CodecEncodeSelf(e) } } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1979[1] { - yy1984 := &x.Spec - yy1984.CodecEncodeSelf(e) + if yyq2012[1] { + yy2017 := &x.Spec + yy2017.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1979[1] { + if yyq2012[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1985 := &x.Spec - yy1985.CodecEncodeSelf(e) + yy2018 := &x.Spec + yy2018.CodecEncodeSelf(e) } } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1979[2] { - yy1987 := &x.Status - yy1987.CodecEncodeSelf(e) + if yyq2012[2] { + yy2020 := &x.Status + yy2020.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1979[2] { + if yyq2012[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1988 := &x.Status - yy1988.CodecEncodeSelf(e) + yy2021 := &x.Status + yy2021.CodecEncodeSelf(e) } } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1979[3] { - yym1990 := z.EncBinary() - _ = yym1990 + if yyq2012[3] { + yym2023 := z.EncBinary() + _ = yym2023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26217,23 +26732,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1979[3] { + if yyq2012[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1991 := z.EncBinary() - _ = yym1991 + yym2024 := z.EncBinary() + _ = yym2024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1979[4] { - yym1993 := z.EncBinary() - _ = yym1993 + if yyq2012[4] { + yym2026 := z.EncBinary() + _ = yym2026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26242,19 +26757,19 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1979[4] { + if yyq2012[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1994 := z.EncBinary() - _ = yym1994 + yym2027 := z.EncBinary() + _ = yym2027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1979 || yy2arr1979 { + if yyr2012 || yy2arr2012 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26267,25 +26782,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1995 := z.DecBinary() - _ = yym1995 + yym2028 := z.DecBinary() + _ = yym2028 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1996 := r.ContainerType() - if yyct1996 == codecSelferValueTypeMap1234 { - yyl1996 := r.ReadMapStart() - if yyl1996 == 0 { + yyct2029 := r.ContainerType() + if yyct2029 == codecSelferValueTypeMap1234 { + yyl2029 := r.ReadMapStart() + if yyl2029 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1996, d) + x.codecDecodeSelfFromMap(yyl2029, d) } - } else if yyct1996 == codecSelferValueTypeArray1234 { - yyl1996 := r.ReadArrayStart() - if yyl1996 == 0 { + } else if yyct2029 == codecSelferValueTypeArray1234 { + yyl2029 := r.ReadArrayStart() + if yyl2029 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1996, d) + x.codecDecodeSelfFromArray(yyl2029, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26297,12 +26812,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1997Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1997Slc - var yyhl1997 bool = l >= 0 - for yyj1997 := 0; ; yyj1997++ { - if yyhl1997 { - if yyj1997 >= l { + var yys2030Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2030Slc + var yyhl2030 bool = l >= 0 + for yyj2030 := 0; ; yyj2030++ { + if yyhl2030 { + if yyj2030 >= l { break } } else { @@ -26311,30 +26826,30 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1997Slc = r.DecodeBytes(yys1997Slc, true, true) - yys1997 := string(yys1997Slc) + yys2030Slc = r.DecodeBytes(yys2030Slc, true, true) + yys2030 := string(yys2030Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1997 { + switch yys2030 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1998 := &x.ObjectMeta - yyv1998.CodecDecodeSelf(d) + yyv2031 := &x.ObjectMeta + yyv2031.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1999 := &x.Spec - yyv1999.CodecDecodeSelf(d) + yyv2032 := &x.Spec + yyv2032.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2000 := &x.Status - yyv2000.CodecDecodeSelf(d) + yyv2033 := &x.Status + yyv2033.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -26349,9 +26864,9 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1997) - } // end switch yys1997 - } // end for yyj1997 + z.DecStructFieldNotFound(-1, yys2030) + } // end switch yys2030 + } // end for yyj2030 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26359,16 +26874,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2003 int - var yyb2003 bool - var yyhl2003 bool = l >= 0 - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + var yyj2036 int + var yyb2036 bool + var yyhl2036 bool = l >= 0 + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26376,16 +26891,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2004 := &x.ObjectMeta - yyv2004.CodecDecodeSelf(d) + yyv2037 := &x.ObjectMeta + yyv2037.CodecDecodeSelf(d) } - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26393,16 +26908,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2005 := &x.Spec - yyv2005.CodecDecodeSelf(d) + yyv2038 := &x.Spec + yyv2038.CodecDecodeSelf(d) } - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26410,16 +26925,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2006 := &x.Status - yyv2006.CodecDecodeSelf(d) + yyv2039 := &x.Status + yyv2039.CodecDecodeSelf(d) } - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26429,13 +26944,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26446,17 +26961,17 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.APIVersion = string(r.DecodeString()) } for { - yyj2003++ - if yyhl2003 { - yyb2003 = yyj2003 > l + yyj2036++ + if yyhl2036 { + yyb2036 = yyj2036 > l } else { - yyb2003 = r.CheckBreak() + yyb2036 = r.CheckBreak() } - if yyb2003 { + if yyb2036 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2003-1, "") + z.DecStructFieldNotFound(yyj2036-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26468,68 +26983,68 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2009 := z.EncBinary() - _ = yym2009 + yym2042 := z.EncBinary() + _ = yym2042 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2010 := !z.EncBinary() - yy2arr2010 := z.EncBasicHandle().StructToArray - var yyq2010 [4]bool - _, _, _ = yysep2010, yyq2010, yy2arr2010 - const yyr2010 bool = false - yyq2010[0] = true - yyq2010[2] = x.Kind != "" - yyq2010[3] = x.APIVersion != "" - var yynn2010 int - if yyr2010 || yy2arr2010 { + yysep2043 := !z.EncBinary() + yy2arr2043 := z.EncBasicHandle().StructToArray + var yyq2043 [4]bool + _, _, _ = yysep2043, yyq2043, yy2arr2043 + const yyr2043 bool = false + yyq2043[0] = true + yyq2043[2] = x.Kind != "" + yyq2043[3] = x.APIVersion != "" + var yynn2043 int + if yyr2043 || yy2arr2043 { r.EncodeArrayStart(4) } else { - yynn2010 = 1 - for _, b := range yyq2010 { + yynn2043 = 1 + for _, b := range yyq2043 { if b { - yynn2010++ + yynn2043++ } } - r.EncodeMapStart(yynn2010) - yynn2010 = 0 + r.EncodeMapStart(yynn2043) + yynn2043 = 0 } - if yyr2010 || yy2arr2010 { + if yyr2043 || yy2arr2043 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[0] { - yy2012 := &x.ListMeta - yym2013 := z.EncBinary() - _ = yym2013 + if yyq2043[0] { + yy2045 := &x.ListMeta + yym2046 := z.EncBinary() + _ = yym2046 if false { - } else if z.HasExtensions() && z.EncExt(yy2012) { + } else if z.HasExtensions() && z.EncExt(yy2045) { } else { - z.EncFallback(yy2012) + z.EncFallback(yy2045) } } else { r.EncodeNil() } } else { - if yyq2010[0] { + if yyq2043[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2014 := &x.ListMeta - yym2015 := z.EncBinary() - _ = yym2015 + yy2047 := &x.ListMeta + yym2048 := z.EncBinary() + _ = yym2048 if false { - } else if z.HasExtensions() && z.EncExt(yy2014) { + } else if z.HasExtensions() && z.EncExt(yy2047) { } else { - z.EncFallback(yy2014) + z.EncFallback(yy2047) } } } - if yyr2010 || yy2arr2010 { + if yyr2043 || yy2arr2043 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2017 := z.EncBinary() - _ = yym2017 + yym2050 := z.EncBinary() + _ = yym2050 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -26542,19 +27057,19 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2018 := z.EncBinary() - _ = yym2018 + yym2051 := z.EncBinary() + _ = yym2051 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2010 || yy2arr2010 { + if yyr2043 || yy2arr2043 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[2] { - yym2020 := z.EncBinary() - _ = yym2020 + if yyq2043[2] { + yym2053 := z.EncBinary() + _ = yym2053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26563,23 +27078,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2010[2] { + if yyq2043[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2021 := z.EncBinary() - _ = yym2021 + yym2054 := z.EncBinary() + _ = yym2054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2010 || yy2arr2010 { + if yyr2043 || yy2arr2043 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[3] { - yym2023 := z.EncBinary() - _ = yym2023 + if yyq2043[3] { + yym2056 := z.EncBinary() + _ = yym2056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26588,19 +27103,19 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2010[3] { + if yyq2043[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2024 := z.EncBinary() - _ = yym2024 + yym2057 := z.EncBinary() + _ = yym2057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2010 || yy2arr2010 { + if yyr2043 || yy2arr2043 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26613,25 +27128,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2025 := z.DecBinary() - _ = yym2025 + yym2058 := z.DecBinary() + _ = yym2058 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2026 := r.ContainerType() - if yyct2026 == codecSelferValueTypeMap1234 { - yyl2026 := r.ReadMapStart() - if yyl2026 == 0 { + yyct2059 := r.ContainerType() + if yyct2059 == codecSelferValueTypeMap1234 { + yyl2059 := r.ReadMapStart() + if yyl2059 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2026, d) + x.codecDecodeSelfFromMap(yyl2059, d) } - } else if yyct2026 == codecSelferValueTypeArray1234 { - yyl2026 := r.ReadArrayStart() - if yyl2026 == 0 { + } else if yyct2059 == codecSelferValueTypeArray1234 { + yyl2059 := r.ReadArrayStart() + if yyl2059 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2026, d) + x.codecDecodeSelfFromArray(yyl2059, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26643,12 +27158,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2027Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2027Slc - var yyhl2027 bool = l >= 0 - for yyj2027 := 0; ; yyj2027++ { - if yyhl2027 { - if yyj2027 >= l { + var yys2060Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2060Slc + var yyhl2060 bool = l >= 0 + for yyj2060 := 0; ; yyj2060++ { + if yyhl2060 { + if yyj2060 >= l { break } } else { @@ -26657,33 +27172,33 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2027Slc = r.DecodeBytes(yys2027Slc, true, true) - yys2027 := string(yys2027Slc) + yys2060Slc = r.DecodeBytes(yys2060Slc, true, true) + yys2060 := string(yys2060Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2027 { + switch yys2060 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2028 := &x.ListMeta - yym2029 := z.DecBinary() - _ = yym2029 + yyv2061 := &x.ListMeta + yym2062 := z.DecBinary() + _ = yym2062 if false { - } else if z.HasExtensions() && z.DecExt(yyv2028) { + } else if z.HasExtensions() && z.DecExt(yyv2061) { } else { - z.DecFallback(yyv2028, false) + z.DecFallback(yyv2061, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2030 := &x.Items - yym2031 := z.DecBinary() - _ = yym2031 + yyv2063 := &x.Items + yym2064 := z.DecBinary() + _ = yym2064 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2030), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2063), d) } } case "kind": @@ -26699,9 +27214,9 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2027) - } // end switch yys2027 - } // end for yyj2027 + z.DecStructFieldNotFound(-1, yys2060) + } // end switch yys2060 + } // end for yyj2060 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26709,16 +27224,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2034 int - var yyb2034 bool - var yyhl2034 bool = l >= 0 - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + var yyj2067 int + var yyb2067 bool + var yyhl2067 bool = l >= 0 + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26726,22 +27241,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2035 := &x.ListMeta - yym2036 := z.DecBinary() - _ = yym2036 + yyv2068 := &x.ListMeta + yym2069 := z.DecBinary() + _ = yym2069 if false { - } else if z.HasExtensions() && z.DecExt(yyv2035) { + } else if z.HasExtensions() && z.DecExt(yyv2068) { } else { - z.DecFallback(yyv2035, false) + z.DecFallback(yyv2068, false) } } - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26749,21 +27264,21 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2037 := &x.Items - yym2038 := z.DecBinary() - _ = yym2038 + yyv2070 := &x.Items + yym2071 := z.DecBinary() + _ = yym2071 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2037), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2070), d) } } - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26773,13 +27288,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26790,17 +27305,17 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } for { - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2034-1, "") + z.DecStructFieldNotFound(yyj2067-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26812,68 +27327,68 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2041 := z.EncBinary() - _ = yym2041 + yym2074 := z.EncBinary() + _ = yym2074 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2042 := !z.EncBinary() - yy2arr2042 := z.EncBasicHandle().StructToArray - var yyq2042 [4]bool - _, _, _ = yysep2042, yyq2042, yy2arr2042 - const yyr2042 bool = false - yyq2042[0] = true - yyq2042[2] = x.Kind != "" - yyq2042[3] = x.APIVersion != "" - var yynn2042 int - if yyr2042 || yy2arr2042 { + yysep2075 := !z.EncBinary() + yy2arr2075 := z.EncBasicHandle().StructToArray + var yyq2075 [4]bool + _, _, _ = yysep2075, yyq2075, yy2arr2075 + const yyr2075 bool = false + yyq2075[0] = true + yyq2075[2] = x.Kind != "" + yyq2075[3] = x.APIVersion != "" + var yynn2075 int + if yyr2075 || yy2arr2075 { r.EncodeArrayStart(4) } else { - yynn2042 = 1 - for _, b := range yyq2042 { + yynn2075 = 1 + for _, b := range yyq2075 { if b { - yynn2042++ + yynn2075++ } } - r.EncodeMapStart(yynn2042) - yynn2042 = 0 + r.EncodeMapStart(yynn2075) + yynn2075 = 0 } - if yyr2042 || yy2arr2042 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2042[0] { - yy2044 := &x.ListMeta - yym2045 := z.EncBinary() - _ = yym2045 + if yyq2075[0] { + yy2077 := &x.ListMeta + yym2078 := z.EncBinary() + _ = yym2078 if false { - } else if z.HasExtensions() && z.EncExt(yy2044) { + } else if z.HasExtensions() && z.EncExt(yy2077) { } else { - z.EncFallback(yy2044) + z.EncFallback(yy2077) } } else { r.EncodeNil() } } else { - if yyq2042[0] { + if yyq2075[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2046 := &x.ListMeta - yym2047 := z.EncBinary() - _ = yym2047 + yy2079 := &x.ListMeta + yym2080 := z.EncBinary() + _ = yym2080 if false { - } else if z.HasExtensions() && z.EncExt(yy2046) { + } else if z.HasExtensions() && z.EncExt(yy2079) { } else { - z.EncFallback(yy2046) + z.EncFallback(yy2079) } } } - if yyr2042 || yy2arr2042 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2049 := z.EncBinary() - _ = yym2049 + yym2082 := z.EncBinary() + _ = yym2082 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -26886,19 +27401,19 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2050 := z.EncBinary() - _ = yym2050 + yym2083 := z.EncBinary() + _ = yym2083 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2042 || yy2arr2042 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2042[2] { - yym2052 := z.EncBinary() - _ = yym2052 + if yyq2075[2] { + yym2085 := z.EncBinary() + _ = yym2085 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26907,23 +27422,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2042[2] { + if yyq2075[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2053 := z.EncBinary() - _ = yym2053 + yym2086 := z.EncBinary() + _ = yym2086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2042 || yy2arr2042 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2042[3] { - yym2055 := z.EncBinary() - _ = yym2055 + if yyq2075[3] { + yym2088 := z.EncBinary() + _ = yym2088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26932,19 +27447,19 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2042[3] { + if yyq2075[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2056 := z.EncBinary() - _ = yym2056 + yym2089 := z.EncBinary() + _ = yym2089 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2042 || yy2arr2042 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26957,25 +27472,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2057 := z.DecBinary() - _ = yym2057 + yym2090 := z.DecBinary() + _ = yym2090 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2058 := r.ContainerType() - if yyct2058 == codecSelferValueTypeMap1234 { - yyl2058 := r.ReadMapStart() - if yyl2058 == 0 { + yyct2091 := r.ContainerType() + if yyct2091 == codecSelferValueTypeMap1234 { + yyl2091 := r.ReadMapStart() + if yyl2091 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2058, d) + x.codecDecodeSelfFromMap(yyl2091, d) } - } else if yyct2058 == codecSelferValueTypeArray1234 { - yyl2058 := r.ReadArrayStart() - if yyl2058 == 0 { + } else if yyct2091 == codecSelferValueTypeArray1234 { + yyl2091 := r.ReadArrayStart() + if yyl2091 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2058, d) + x.codecDecodeSelfFromArray(yyl2091, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26987,12 +27502,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2059Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2059Slc - var yyhl2059 bool = l >= 0 - for yyj2059 := 0; ; yyj2059++ { - if yyhl2059 { - if yyj2059 >= l { + var yys2092Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2092Slc + var yyhl2092 bool = l >= 0 + for yyj2092 := 0; ; yyj2092++ { + if yyhl2092 { + if yyj2092 >= l { break } } else { @@ -27001,33 +27516,33 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2059Slc = r.DecodeBytes(yys2059Slc, true, true) - yys2059 := string(yys2059Slc) + yys2092Slc = r.DecodeBytes(yys2092Slc, true, true) + yys2092 := string(yys2092Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2059 { + switch yys2092 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2060 := &x.ListMeta - yym2061 := z.DecBinary() - _ = yym2061 + yyv2093 := &x.ListMeta + yym2094 := z.DecBinary() + _ = yym2094 if false { - } else if z.HasExtensions() && z.DecExt(yyv2060) { + } else if z.HasExtensions() && z.DecExt(yyv2093) { } else { - z.DecFallback(yyv2060, false) + z.DecFallback(yyv2093, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2062 := &x.Items - yym2063 := z.DecBinary() - _ = yym2063 + yyv2095 := &x.Items + yym2096 := z.DecBinary() + _ = yym2096 if false { } else { - h.decSliceService((*[]Service)(yyv2062), d) + h.decSliceService((*[]Service)(yyv2095), d) } } case "kind": @@ -27043,9 +27558,9 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2059) - } // end switch yys2059 - } // end for yyj2059 + z.DecStructFieldNotFound(-1, yys2092) + } // end switch yys2092 + } // end for yyj2092 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27053,16 +27568,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2066 int - var yyb2066 bool - var yyhl2066 bool = l >= 0 - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + var yyj2099 int + var yyb2099 bool + var yyhl2099 bool = l >= 0 + yyj2099++ + if yyhl2099 { + yyb2099 = yyj2099 > l } else { - yyb2066 = r.CheckBreak() + yyb2099 = r.CheckBreak() } - if yyb2066 { + if yyb2099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27070,22 +27585,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2067 := &x.ListMeta - yym2068 := z.DecBinary() - _ = yym2068 + yyv2100 := &x.ListMeta + yym2101 := z.DecBinary() + _ = yym2101 if false { - } else if z.HasExtensions() && z.DecExt(yyv2067) { + } else if z.HasExtensions() && z.DecExt(yyv2100) { } else { - z.DecFallback(yyv2067, false) + z.DecFallback(yyv2100, false) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2099++ + if yyhl2099 { + yyb2099 = yyj2099 > l } else { - yyb2066 = r.CheckBreak() + yyb2099 = r.CheckBreak() } - if yyb2066 { + if yyb2099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27093,21 +27608,21 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2069 := &x.Items - yym2070 := z.DecBinary() - _ = yym2070 + yyv2102 := &x.Items + yym2103 := z.DecBinary() + _ = yym2103 if false { } else { - h.decSliceService((*[]Service)(yyv2069), d) + h.decSliceService((*[]Service)(yyv2102), d) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2099++ + if yyhl2099 { + yyb2099 = yyj2099 > l } else { - yyb2066 = r.CheckBreak() + yyb2099 = r.CheckBreak() } - if yyb2066 { + if yyb2099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27117,13 +27632,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2099++ + if yyhl2099 { + yyb2099 = yyj2099 > l } else { - yyb2066 = r.CheckBreak() + yyb2099 = r.CheckBreak() } - if yyb2066 { + if yyb2099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27134,17 +27649,17 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2099++ + if yyhl2099 { + yyb2099 = yyj2099 > l } else { - yyb2066 = r.CheckBreak() + yyb2099 = r.CheckBreak() } - if yyb2066 { + if yyb2099 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2066-1, "") + z.DecStructFieldNotFound(yyj2099-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27153,8 +27668,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2073 := z.EncBinary() - _ = yym2073 + yym2106 := z.EncBinary() + _ = yym2106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27166,8 +27681,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2074 := z.DecBinary() - _ = yym2074 + yym2107 := z.DecBinary() + _ = yym2107 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27179,8 +27694,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2075 := z.EncBinary() - _ = yym2075 + yym2108 := z.EncBinary() + _ = yym2108 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27192,8 +27707,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2076 := z.DecBinary() - _ = yym2076 + yym2109 := z.DecBinary() + _ = yym2109 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27208,48 +27723,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2077 := z.EncBinary() - _ = yym2077 + yym2110 := z.EncBinary() + _ = yym2110 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2078 := !z.EncBinary() - yy2arr2078 := z.EncBasicHandle().StructToArray - var yyq2078 [1]bool - _, _, _ = yysep2078, yyq2078, yy2arr2078 - const yyr2078 bool = false - yyq2078[0] = true - var yynn2078 int - if yyr2078 || yy2arr2078 { + yysep2111 := !z.EncBinary() + yy2arr2111 := z.EncBasicHandle().StructToArray + var yyq2111 [1]bool + _, _, _ = yysep2111, yyq2111, yy2arr2111 + const yyr2111 bool = false + yyq2111[0] = true + var yynn2111 int + if yyr2111 || yy2arr2111 { r.EncodeArrayStart(1) } else { - yynn2078 = 0 - for _, b := range yyq2078 { + yynn2111 = 0 + for _, b := range yyq2111 { if b { - yynn2078++ + yynn2111++ } } - r.EncodeMapStart(yynn2078) - yynn2078 = 0 + r.EncodeMapStart(yynn2111) + yynn2111 = 0 } - if yyr2078 || yy2arr2078 { + if yyr2111 || yy2arr2111 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2078[0] { - yy2080 := &x.LoadBalancer - yy2080.CodecEncodeSelf(e) + if yyq2111[0] { + yy2113 := &x.LoadBalancer + yy2113.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2078[0] { + if yyq2111[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2081 := &x.LoadBalancer - yy2081.CodecEncodeSelf(e) + yy2114 := &x.LoadBalancer + yy2114.CodecEncodeSelf(e) } } - if yyr2078 || yy2arr2078 { + if yyr2111 || yy2arr2111 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27262,25 +27777,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2082 := z.DecBinary() - _ = yym2082 + yym2115 := z.DecBinary() + _ = yym2115 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2083 := r.ContainerType() - if yyct2083 == codecSelferValueTypeMap1234 { - yyl2083 := r.ReadMapStart() - if yyl2083 == 0 { + yyct2116 := r.ContainerType() + if yyct2116 == codecSelferValueTypeMap1234 { + yyl2116 := r.ReadMapStart() + if yyl2116 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2083, d) + x.codecDecodeSelfFromMap(yyl2116, d) } - } else if yyct2083 == codecSelferValueTypeArray1234 { - yyl2083 := r.ReadArrayStart() - if yyl2083 == 0 { + } else if yyct2116 == codecSelferValueTypeArray1234 { + yyl2116 := r.ReadArrayStart() + if yyl2116 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2083, d) + x.codecDecodeSelfFromArray(yyl2116, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27292,12 +27807,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2084Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2084Slc - var yyhl2084 bool = l >= 0 - for yyj2084 := 0; ; yyj2084++ { - if yyhl2084 { - if yyj2084 >= l { + var yys2117Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2117Slc + var yyhl2117 bool = l >= 0 + for yyj2117 := 0; ; yyj2117++ { + if yyhl2117 { + if yyj2117 >= l { break } } else { @@ -27306,21 +27821,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2084Slc = r.DecodeBytes(yys2084Slc, true, true) - yys2084 := string(yys2084Slc) + yys2117Slc = r.DecodeBytes(yys2117Slc, true, true) + yys2117 := string(yys2117Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2084 { + switch yys2117 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2085 := &x.LoadBalancer - yyv2085.CodecDecodeSelf(d) + yyv2118 := &x.LoadBalancer + yyv2118.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2084) - } // end switch yys2084 - } // end for yyj2084 + z.DecStructFieldNotFound(-1, yys2117) + } // end switch yys2117 + } // end for yyj2117 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27328,16 +27843,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2086 int - var yyb2086 bool - var yyhl2086 bool = l >= 0 - yyj2086++ - if yyhl2086 { - yyb2086 = yyj2086 > l + var yyj2119 int + var yyb2119 bool + var yyhl2119 bool = l >= 0 + yyj2119++ + if yyhl2119 { + yyb2119 = yyj2119 > l } else { - yyb2086 = r.CheckBreak() + yyb2119 = r.CheckBreak() } - if yyb2086 { + if yyb2119 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27345,21 +27860,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2087 := &x.LoadBalancer - yyv2087.CodecDecodeSelf(d) + yyv2120 := &x.LoadBalancer + yyv2120.CodecDecodeSelf(d) } for { - yyj2086++ - if yyhl2086 { - yyb2086 = yyj2086 > l + yyj2119++ + if yyhl2119 { + yyb2119 = yyj2119 > l } else { - yyb2086 = r.CheckBreak() + yyb2119 = r.CheckBreak() } - if yyb2086 { + if yyb2119 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2086-1, "") + z.DecStructFieldNotFound(yyj2119-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27371,38 +27886,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2088 := z.EncBinary() - _ = yym2088 + yym2121 := z.EncBinary() + _ = yym2121 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2089 := !z.EncBinary() - yy2arr2089 := z.EncBasicHandle().StructToArray - var yyq2089 [1]bool - _, _, _ = yysep2089, yyq2089, yy2arr2089 - const yyr2089 bool = false - yyq2089[0] = len(x.Ingress) != 0 - var yynn2089 int - if yyr2089 || yy2arr2089 { + yysep2122 := !z.EncBinary() + yy2arr2122 := z.EncBasicHandle().StructToArray + var yyq2122 [1]bool + _, _, _ = yysep2122, yyq2122, yy2arr2122 + const yyr2122 bool = false + yyq2122[0] = len(x.Ingress) != 0 + var yynn2122 int + if yyr2122 || yy2arr2122 { r.EncodeArrayStart(1) } else { - yynn2089 = 0 - for _, b := range yyq2089 { + yynn2122 = 0 + for _, b := range yyq2122 { if b { - yynn2089++ + yynn2122++ } } - r.EncodeMapStart(yynn2089) - yynn2089 = 0 + r.EncodeMapStart(yynn2122) + yynn2122 = 0 } - if yyr2089 || yy2arr2089 { + if yyr2122 || yy2arr2122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2089[0] { + if yyq2122[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2091 := z.EncBinary() - _ = yym2091 + yym2124 := z.EncBinary() + _ = yym2124 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -27412,15 +27927,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2089[0] { + if yyq2122[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2092 := z.EncBinary() - _ = yym2092 + yym2125 := z.EncBinary() + _ = yym2125 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -27428,7 +27943,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2089 || yy2arr2089 { + if yyr2122 || yy2arr2122 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27441,25 +27956,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2093 := z.DecBinary() - _ = yym2093 + yym2126 := z.DecBinary() + _ = yym2126 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2094 := r.ContainerType() - if yyct2094 == codecSelferValueTypeMap1234 { - yyl2094 := r.ReadMapStart() - if yyl2094 == 0 { + yyct2127 := r.ContainerType() + if yyct2127 == codecSelferValueTypeMap1234 { + yyl2127 := r.ReadMapStart() + if yyl2127 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2094, d) + x.codecDecodeSelfFromMap(yyl2127, d) } - } else if yyct2094 == codecSelferValueTypeArray1234 { - yyl2094 := r.ReadArrayStart() - if yyl2094 == 0 { + } else if yyct2127 == codecSelferValueTypeArray1234 { + yyl2127 := r.ReadArrayStart() + if yyl2127 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2094, d) + x.codecDecodeSelfFromArray(yyl2127, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27471,12 +27986,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2095Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2095Slc - var yyhl2095 bool = l >= 0 - for yyj2095 := 0; ; yyj2095++ { - if yyhl2095 { - if yyj2095 >= l { + var yys2128Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2128Slc + var yyhl2128 bool = l >= 0 + for yyj2128 := 0; ; yyj2128++ { + if yyhl2128 { + if yyj2128 >= l { break } } else { @@ -27485,26 +28000,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2095Slc = r.DecodeBytes(yys2095Slc, true, true) - yys2095 := string(yys2095Slc) + yys2128Slc = r.DecodeBytes(yys2128Slc, true, true) + yys2128 := string(yys2128Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2095 { + switch yys2128 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2096 := &x.Ingress - yym2097 := z.DecBinary() - _ = yym2097 + yyv2129 := &x.Ingress + yym2130 := z.DecBinary() + _ = yym2130 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2096), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2129), d) } } default: - z.DecStructFieldNotFound(-1, yys2095) - } // end switch yys2095 - } // end for yyj2095 + z.DecStructFieldNotFound(-1, yys2128) + } // end switch yys2128 + } // end for yyj2128 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27512,16 +28027,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2098 int - var yyb2098 bool - var yyhl2098 bool = l >= 0 - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + var yyj2131 int + var yyb2131 bool + var yyhl2131 bool = l >= 0 + yyj2131++ + if yyhl2131 { + yyb2131 = yyj2131 > l } else { - yyb2098 = r.CheckBreak() + yyb2131 = r.CheckBreak() } - if yyb2098 { + if yyb2131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27529,26 +28044,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2099 := &x.Ingress - yym2100 := z.DecBinary() - _ = yym2100 + yyv2132 := &x.Ingress + yym2133 := z.DecBinary() + _ = yym2133 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2099), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2132), d) } } for { - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + yyj2131++ + if yyhl2131 { + yyb2131 = yyj2131 > l } else { - yyb2098 = r.CheckBreak() + yyb2131 = r.CheckBreak() } - if yyb2098 { + if yyb2131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2098-1, "") + z.DecStructFieldNotFound(yyj2131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27560,36 +28075,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2101 := z.EncBinary() - _ = yym2101 + yym2134 := z.EncBinary() + _ = yym2134 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2102 := !z.EncBinary() - yy2arr2102 := z.EncBasicHandle().StructToArray - var yyq2102 [2]bool - _, _, _ = yysep2102, yyq2102, yy2arr2102 - const yyr2102 bool = false - yyq2102[0] = x.IP != "" - yyq2102[1] = x.Hostname != "" - var yynn2102 int - if yyr2102 || yy2arr2102 { + yysep2135 := !z.EncBinary() + yy2arr2135 := z.EncBasicHandle().StructToArray + var yyq2135 [2]bool + _, _, _ = yysep2135, yyq2135, yy2arr2135 + const yyr2135 bool = false + yyq2135[0] = x.IP != "" + yyq2135[1] = x.Hostname != "" + var yynn2135 int + if yyr2135 || yy2arr2135 { r.EncodeArrayStart(2) } else { - yynn2102 = 0 - for _, b := range yyq2102 { + yynn2135 = 0 + for _, b := range yyq2135 { if b { - yynn2102++ + yynn2135++ } } - r.EncodeMapStart(yynn2102) - yynn2102 = 0 + r.EncodeMapStart(yynn2135) + yynn2135 = 0 } - if yyr2102 || yy2arr2102 { + if yyr2135 || yy2arr2135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2102[0] { - yym2104 := z.EncBinary() - _ = yym2104 + if yyq2135[0] { + yym2137 := z.EncBinary() + _ = yym2137 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -27598,23 +28113,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2102[0] { + if yyq2135[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2105 := z.EncBinary() - _ = yym2105 + yym2138 := z.EncBinary() + _ = yym2138 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2102 || yy2arr2102 { + if yyr2135 || yy2arr2135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2102[1] { - yym2107 := z.EncBinary() - _ = yym2107 + if yyq2135[1] { + yym2140 := z.EncBinary() + _ = yym2140 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -27623,19 +28138,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2102[1] { + if yyq2135[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2108 := z.EncBinary() - _ = yym2108 + yym2141 := z.EncBinary() + _ = yym2141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2102 || yy2arr2102 { + if yyr2135 || yy2arr2135 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27648,25 +28163,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2109 := z.DecBinary() - _ = yym2109 + yym2142 := z.DecBinary() + _ = yym2142 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2110 := r.ContainerType() - if yyct2110 == codecSelferValueTypeMap1234 { - yyl2110 := r.ReadMapStart() - if yyl2110 == 0 { + yyct2143 := r.ContainerType() + if yyct2143 == codecSelferValueTypeMap1234 { + yyl2143 := r.ReadMapStart() + if yyl2143 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2110, d) + x.codecDecodeSelfFromMap(yyl2143, d) } - } else if yyct2110 == codecSelferValueTypeArray1234 { - yyl2110 := r.ReadArrayStart() - if yyl2110 == 0 { + } else if yyct2143 == codecSelferValueTypeArray1234 { + yyl2143 := r.ReadArrayStart() + if yyl2143 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2110, d) + x.codecDecodeSelfFromArray(yyl2143, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27678,12 +28193,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2111Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2111Slc - var yyhl2111 bool = l >= 0 - for yyj2111 := 0; ; yyj2111++ { - if yyhl2111 { - if yyj2111 >= l { + var yys2144Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2144Slc + var yyhl2144 bool = l >= 0 + for yyj2144 := 0; ; yyj2144++ { + if yyhl2144 { + if yyj2144 >= l { break } } else { @@ -27692,10 +28207,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2111Slc = r.DecodeBytes(yys2111Slc, true, true) - yys2111 := string(yys2111Slc) + yys2144Slc = r.DecodeBytes(yys2144Slc, true, true) + yys2144 := string(yys2144Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2111 { + switch yys2144 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -27709,9 +28224,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2111) - } // end switch yys2111 - } // end for yyj2111 + z.DecStructFieldNotFound(-1, yys2144) + } // end switch yys2144 + } // end for yyj2144 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27719,16 +28234,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2114 int - var yyb2114 bool - var yyhl2114 bool = l >= 0 - yyj2114++ - if yyhl2114 { - yyb2114 = yyj2114 > l + var yyj2147 int + var yyb2147 bool + var yyhl2147 bool = l >= 0 + yyj2147++ + if yyhl2147 { + yyb2147 = yyj2147 > l } else { - yyb2114 = r.CheckBreak() + yyb2147 = r.CheckBreak() } - if yyb2114 { + if yyb2147 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27738,13 +28253,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2114++ - if yyhl2114 { - yyb2114 = yyj2114 > l + yyj2147++ + if yyhl2147 { + yyb2147 = yyj2147 > l } else { - yyb2114 = r.CheckBreak() + yyb2147 = r.CheckBreak() } - if yyb2114 { + if yyb2147 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27755,17 +28270,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2114++ - if yyhl2114 { - yyb2114 = yyj2114 > l + yyj2147++ + if yyhl2147 { + yyb2147 = yyj2147 > l } else { - yyb2114 = r.CheckBreak() + yyb2147 = r.CheckBreak() } - if yyb2114 { + if yyb2147 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2114-1, "") + z.DecStructFieldNotFound(yyj2147-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27777,56 +28292,56 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2117 := z.EncBinary() - _ = yym2117 + yym2150 := z.EncBinary() + _ = yym2150 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2118 := !z.EncBinary() - yy2arr2118 := z.EncBasicHandle().StructToArray - var yyq2118 [7]bool - _, _, _ = yysep2118, yyq2118, yy2arr2118 - const yyr2118 bool = false - yyq2118[0] = x.Type != "" - yyq2118[3] = x.ClusterIP != "" - yyq2118[4] = len(x.ExternalIPs) != 0 - yyq2118[5] = x.LoadBalancerIP != "" - yyq2118[6] = x.SessionAffinity != "" - var yynn2118 int - if yyr2118 || yy2arr2118 { + yysep2151 := !z.EncBinary() + yy2arr2151 := z.EncBasicHandle().StructToArray + var yyq2151 [7]bool + _, _, _ = yysep2151, yyq2151, yy2arr2151 + const yyr2151 bool = false + yyq2151[0] = x.Type != "" + yyq2151[3] = x.ClusterIP != "" + yyq2151[4] = len(x.ExternalIPs) != 0 + yyq2151[5] = x.LoadBalancerIP != "" + yyq2151[6] = x.SessionAffinity != "" + var yynn2151 int + if yyr2151 || yy2arr2151 { r.EncodeArrayStart(7) } else { - yynn2118 = 2 - for _, b := range yyq2118 { + yynn2151 = 2 + for _, b := range yyq2151 { if b { - yynn2118++ + yynn2151++ } } - r.EncodeMapStart(yynn2118) - yynn2118 = 0 + r.EncodeMapStart(yynn2151) + yynn2151 = 0 } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2118[0] { + if yyq2151[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2118[0] { + if yyq2151[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2121 := z.EncBinary() - _ = yym2121 + yym2154 := z.EncBinary() + _ = yym2154 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -27839,21 +28354,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2122 := z.EncBinary() - _ = yym2122 + yym2155 := z.EncBinary() + _ = yym2155 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym2124 := z.EncBinary() - _ = yym2124 + yym2157 := z.EncBinary() + _ = yym2157 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -27866,19 +28381,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym2125 := z.EncBinary() - _ = yym2125 + yym2158 := z.EncBinary() + _ = yym2158 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2118[3] { - yym2127 := z.EncBinary() - _ = yym2127 + if yyq2151[3] { + yym2160 := z.EncBinary() + _ = yym2160 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -27887,26 +28402,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2118[3] { + if yyq2151[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2128 := z.EncBinary() - _ = yym2128 + yym2161 := z.EncBinary() + _ = yym2161 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2118[4] { + if yyq2151[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2130 := z.EncBinary() - _ = yym2130 + yym2163 := z.EncBinary() + _ = yym2163 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -27916,15 +28431,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2118[4] { + if yyq2151[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2131 := z.EncBinary() - _ = yym2131 + yym2164 := z.EncBinary() + _ = yym2164 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -27932,11 +28447,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2118[5] { - yym2133 := z.EncBinary() - _ = yym2133 + if yyq2151[5] { + yym2166 := z.EncBinary() + _ = yym2166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -27945,34 +28460,34 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2118[5] { + if yyq2151[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2134 := z.EncBinary() - _ = yym2134 + yym2167 := z.EncBinary() + _ = yym2167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2118[6] { + if yyq2151[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2118[6] { + if yyq2151[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2118 || yy2arr2118 { + if yyr2151 || yy2arr2151 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27985,25 +28500,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2136 := z.DecBinary() - _ = yym2136 + yym2169 := z.DecBinary() + _ = yym2169 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2137 := r.ContainerType() - if yyct2137 == codecSelferValueTypeMap1234 { - yyl2137 := r.ReadMapStart() - if yyl2137 == 0 { + yyct2170 := r.ContainerType() + if yyct2170 == codecSelferValueTypeMap1234 { + yyl2170 := r.ReadMapStart() + if yyl2170 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2137, d) + x.codecDecodeSelfFromMap(yyl2170, d) } - } else if yyct2137 == codecSelferValueTypeArray1234 { - yyl2137 := r.ReadArrayStart() - if yyl2137 == 0 { + } else if yyct2170 == codecSelferValueTypeArray1234 { + yyl2170 := r.ReadArrayStart() + if yyl2170 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2137, d) + x.codecDecodeSelfFromArray(yyl2170, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28015,12 +28530,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2138Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2138Slc - var yyhl2138 bool = l >= 0 - for yyj2138 := 0; ; yyj2138++ { - if yyhl2138 { - if yyj2138 >= l { + var yys2171Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2171Slc + var yyhl2171 bool = l >= 0 + for yyj2171 := 0; ; yyj2171++ { + if yyhl2171 { + if yyj2171 >= l { break } } else { @@ -28029,10 +28544,10 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2138Slc = r.DecodeBytes(yys2138Slc, true, true) - yys2138 := string(yys2138Slc) + yys2171Slc = r.DecodeBytes(yys2171Slc, true, true) + yys2171 := string(yys2171Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2138 { + switch yys2171 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -28043,24 +28558,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2140 := &x.Ports - yym2141 := z.DecBinary() - _ = yym2141 + yyv2173 := &x.Ports + yym2174 := z.DecBinary() + _ = yym2174 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2140), d) + h.decSliceServicePort((*[]ServicePort)(yyv2173), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2142 := &x.Selector - yym2143 := z.DecBinary() - _ = yym2143 + yyv2175 := &x.Selector + yym2176 := z.DecBinary() + _ = yym2176 if false { } else { - z.F.DecMapStringStringX(yyv2142, false, d) + z.F.DecMapStringStringX(yyv2175, false, d) } } case "clusterIP": @@ -28073,12 +28588,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2145 := &x.ExternalIPs - yym2146 := z.DecBinary() - _ = yym2146 + yyv2178 := &x.ExternalIPs + yym2179 := z.DecBinary() + _ = yym2179 if false { } else { - z.F.DecSliceStringX(yyv2145, false, d) + z.F.DecSliceStringX(yyv2178, false, d) } } case "loadBalancerIP": @@ -28094,9 +28609,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2138) - } // end switch yys2138 - } // end for yyj2138 + z.DecStructFieldNotFound(-1, yys2171) + } // end switch yys2171 + } // end for yyj2171 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28104,16 +28619,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2149 int - var yyb2149 bool - var yyhl2149 bool = l >= 0 - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + var yyj2182 int + var yyb2182 bool + var yyhl2182 bool = l >= 0 + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28123,13 +28638,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28137,21 +28652,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2151 := &x.Ports - yym2152 := z.DecBinary() - _ = yym2152 + yyv2184 := &x.Ports + yym2185 := z.DecBinary() + _ = yym2185 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2151), d) + h.decSliceServicePort((*[]ServicePort)(yyv2184), d) } } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28159,21 +28674,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2153 := &x.Selector - yym2154 := z.DecBinary() - _ = yym2154 + yyv2186 := &x.Selector + yym2187 := z.DecBinary() + _ = yym2187 if false { } else { - z.F.DecMapStringStringX(yyv2153, false, d) + z.F.DecMapStringStringX(yyv2186, false, d) } } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28183,13 +28698,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28197,21 +28712,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2156 := &x.ExternalIPs - yym2157 := z.DecBinary() - _ = yym2157 + yyv2189 := &x.ExternalIPs + yym2190 := z.DecBinary() + _ = yym2190 if false { } else { - z.F.DecSliceStringX(yyv2156, false, d) + z.F.DecSliceStringX(yyv2189, false, d) } } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28221,13 +28736,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28238,364 +28753,22 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } for { - yyj2149++ - if yyhl2149 { - yyb2149 = yyj2149 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb2149 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb2149 { + if yyb2182 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2149-1, "") + z.DecStructFieldNotFound(yyj2182-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2160 := z.EncBinary() - _ = yym2160 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2161 := !z.EncBinary() - yy2arr2161 := z.EncBasicHandle().StructToArray - var yyq2161 [5]bool - _, _, _ = yysep2161, yyq2161, yy2arr2161 - const yyr2161 bool = false - var yynn2161 int - if yyr2161 || yy2arr2161 { - r.EncodeArrayStart(5) - } else { - yynn2161 = 5 - for _, b := range yyq2161 { - if b { - yynn2161++ - } - } - r.EncodeMapStart(yynn2161) - yynn2161 = 0 - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2163 := z.EncBinary() - _ = yym2163 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2164 := z.EncBinary() - _ = yym2164 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Protocol.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Protocol.CodecEncodeSelf(e) - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2167 := z.EncBinary() - _ = yym2167 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2168 := z.EncBinary() - _ = yym2168 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2170 := &x.TargetPort - yym2171 := z.EncBinary() - _ = yym2171 - if false { - } else if z.HasExtensions() && z.EncExt(yy2170) { - } else if !yym2171 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2170) - } else { - z.EncFallback(yy2170) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("targetPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2172 := &x.TargetPort - yym2173 := z.EncBinary() - _ = yym2173 - if false { - } else if z.HasExtensions() && z.EncExt(yy2172) { - } else if !yym2173 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2172) - } else { - z.EncFallback(yy2172) - } - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2175 := z.EncBinary() - _ = yym2175 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2176 := z.EncBinary() - _ = yym2176 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } - if yyr2161 || yy2arr2161 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2177 := z.DecBinary() - _ = yym2177 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2178 := r.ContainerType() - if yyct2178 == codecSelferValueTypeMap1234 { - yyl2178 := r.ReadMapStart() - if yyl2178 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2178, d) - } - } else if yyct2178 == codecSelferValueTypeArray1234 { - yyl2178 := r.ReadArrayStart() - if yyl2178 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2178, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2179Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2179Slc - var yyhl2179 bool = l >= 0 - for yyj2179 := 0; ; yyj2179++ { - if yyhl2179 { - if yyj2179 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2179Slc = r.DecodeBytes(yys2179Slc, true, true) - yys2179 := string(yys2179Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2179 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "protocol": - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - case "port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "targetPort": - if r.TryDecodeAsNil() { - x.TargetPort = pkg5_intstr.IntOrString{} - } else { - yyv2183 := &x.TargetPort - yym2184 := z.DecBinary() - _ = yym2184 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2183) { - } else if !yym2184 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2183) - } else { - z.DecFallback(yyv2183, false) - } - } - case "nodePort": - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) - } - default: - z.DecStructFieldNotFound(-1, yys2179) - } // end switch yys2179 - } // end for yyj2179 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2186 int - var yyb2186 bool - var yyhl2186 bool = l >= 0 - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetPort = pkg5_intstr.IntOrString{} - } else { - yyv2190 := &x.TargetPort - yym2191 := z.DecBinary() - _ = yym2191 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2190) { - } else if !yym2191 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2190) - } else { - z.DecFallback(yyv2190, false) - } - } - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) - } - for { - yyj2186++ - if yyhl2186 { - yyb2186 = yyj2186 > l - } else { - yyb2186 = r.CheckBreak() - } - if yyb2186 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2186-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -28612,16 +28785,11 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2194 [5]bool _, _, _ = yysep2194, yyq2194, yy2arr2194 const yyr2194 bool = false - yyq2194[0] = true - yyq2194[1] = true - yyq2194[2] = true - yyq2194[3] = x.Kind != "" - yyq2194[4] = x.APIVersion != "" var yynn2194 int if yyr2194 || yy2arr2194 { r.EncodeArrayStart(5) } else { - yynn2194 = 0 + yynn2194 = 5 for _, b := range yyq2194 { if b { yynn2194++ @@ -28632,103 +28800,95 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2194 || yy2arr2194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2194[0] { - yy2196 := &x.ObjectMeta - yy2196.CodecEncodeSelf(e) + yym2196 := z.EncBinary() + _ = yym2196 + if false { } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } else { - if yyq2194[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2197 := &x.ObjectMeta - yy2197.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2197 := z.EncBinary() + _ = yym2197 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } if yyr2194 || yy2arr2194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2194[1] { - yy2199 := &x.Spec - yy2199.CodecEncodeSelf(e) + x.Protocol.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Protocol.CodecEncodeSelf(e) + } + if yyr2194 || yy2arr2194 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2200 := z.EncBinary() + _ = yym2200 + if false { } else { - r.EncodeNil() + r.EncodeInt(int64(x.Port)) } } else { - if yyq2194[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2200 := &x.Spec - yy2200.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2201 := z.EncBinary() + _ = yym2201 + if false { + } else { + r.EncodeInt(int64(x.Port)) } } if yyr2194 || yy2arr2194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2194[2] { - yy2202 := &x.Status - yy2202.CodecEncodeSelf(e) + yy2203 := &x.TargetPort + yym2204 := z.EncBinary() + _ = yym2204 + if false { + } else if z.HasExtensions() && z.EncExt(yy2203) { + } else if !yym2204 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2203) } else { - r.EncodeNil() + z.EncFallback(yy2203) } } else { - if yyq2194[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2203 := &x.Status - yy2203.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("targetPort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2205 := &x.TargetPort + yym2206 := z.EncBinary() + _ = yym2206 + if false { + } else if z.HasExtensions() && z.EncExt(yy2205) { + } else if !yym2206 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2205) + } else { + z.EncFallback(yy2205) } } if yyr2194 || yy2arr2194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2194[3] { - yym2205 := z.EncBinary() - _ = yym2205 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + yym2208 := z.EncBinary() + _ = yym2208 + if false { } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeInt(int64(x.NodePort)) } } else { - if yyq2194[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2206 := z.EncBinary() - _ = yym2206 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2194 || yy2arr2194 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2194[4] { - yym2208 := z.EncBinary() - _ = yym2208 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodePort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2209 := z.EncBinary() + _ = yym2209 + if false { } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2194[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2209 := z.EncBinary() - _ = yym2209 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + r.EncodeInt(int64(x.NodePort)) } } if yyr2194 || yy2arr2194 { @@ -28740,7 +28900,7 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28770,7 +28930,7 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28792,38 +28952,44 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2212 := string(yys2212Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2212 { - case "metadata": + case "name": if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.Name = "" } else { - yyv2213 := &x.ObjectMeta - yyv2213.CodecDecodeSelf(d) + x.Name = string(r.DecodeString()) } - case "spec": + case "protocol": if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} + x.Protocol = "" } else { - yyv2214 := &x.Spec - yyv2214.CodecDecodeSelf(d) + x.Protocol = Protocol(r.DecodeString()) } - case "status": + case "port": if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} + x.Port = 0 } else { - yyv2215 := &x.Status - yyv2215.CodecDecodeSelf(d) + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } - case "kind": + case "targetPort": if r.TryDecodeAsNil() { - x.Kind = "" + x.TargetPort = pkg5_intstr.IntOrString{} } else { - x.Kind = string(r.DecodeString()) + yyv2216 := &x.TargetPort + yym2217 := z.DecBinary() + _ = yym2217 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2216) { + } else if !yym2217 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2216) + } else { + z.DecFallback(yyv2216, false) + } } - case "apiVersion": + case "nodePort": if r.TryDecodeAsNil() { - x.APIVersion = "" + x.NodePort = 0 } else { - x.APIVersion = string(r.DecodeString()) + x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) } default: z.DecStructFieldNotFound(-1, yys2212) @@ -28832,228 +28998,209 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2218 int - var yyb2218 bool - var yyhl2218 bool = l >= 0 - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + var yyj2219 int + var yyb2219 bool + var yyhl2219 bool = l >= 0 + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.Name = "" } else { - yyv2219 := &x.ObjectMeta - yyv2219.CodecDecodeSelf(d) + x.Name = string(r.DecodeString()) } - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} + x.Protocol = "" } else { - yyv2220 := &x.Spec - yyv2220.CodecDecodeSelf(d) + x.Protocol = Protocol(r.DecodeString()) } - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} + x.Port = 0 } else { - yyv2221 := &x.Status - yyv2221.CodecDecodeSelf(d) + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.TargetPort = pkg5_intstr.IntOrString{} } else { - x.Kind = string(r.DecodeString()) + yyv2223 := &x.TargetPort + yym2224 := z.DecBinary() + _ = yym2224 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2223) { + } else if !yym2224 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2223) + } else { + z.DecFallback(yyv2223, false) + } } - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.NodePort = 0 } else { - x.APIVersion = string(r.DecodeString()) + x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj2218++ - if yyhl2218 { - yyb2218 = yyj2218 > l + yyj2219++ + if yyhl2219 { + yyb2219 = yyj2219 > l } else { - yyb2218 = r.CheckBreak() + yyb2219 = r.CheckBreak() } - if yyb2218 { + if yyb2219 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2218-1, "") + z.DecStructFieldNotFound(yyj2219-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2224 := z.EncBinary() - _ = yym2224 + yym2226 := z.EncBinary() + _ = yym2226 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2225 := !z.EncBinary() - yy2arr2225 := z.EncBasicHandle().StructToArray - var yyq2225 [5]bool - _, _, _ = yysep2225, yyq2225, yy2arr2225 - const yyr2225 bool = false - yyq2225[0] = true - yyq2225[2] = len(x.ImagePullSecrets) != 0 - yyq2225[3] = x.Kind != "" - yyq2225[4] = x.APIVersion != "" - var yynn2225 int - if yyr2225 || yy2arr2225 { + yysep2227 := !z.EncBinary() + yy2arr2227 := z.EncBasicHandle().StructToArray + var yyq2227 [5]bool + _, _, _ = yysep2227, yyq2227, yy2arr2227 + const yyr2227 bool = false + yyq2227[0] = true + yyq2227[1] = true + yyq2227[2] = true + yyq2227[3] = x.Kind != "" + yyq2227[4] = x.APIVersion != "" + var yynn2227 int + if yyr2227 || yy2arr2227 { r.EncodeArrayStart(5) } else { - yynn2225 = 1 - for _, b := range yyq2225 { + yynn2227 = 0 + for _, b := range yyq2227 { if b { - yynn2225++ + yynn2227++ } } - r.EncodeMapStart(yynn2225) - yynn2225 = 0 + r.EncodeMapStart(yynn2227) + yynn2227 = 0 } - if yyr2225 || yy2arr2225 { + if yyr2227 || yy2arr2227 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[0] { - yy2227 := &x.ObjectMeta - yy2227.CodecEncodeSelf(e) + if yyq2227[0] { + yy2229 := &x.ObjectMeta + yy2229.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2225[0] { + if yyq2227[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2228 := &x.ObjectMeta - yy2228.CodecEncodeSelf(e) + yy2230 := &x.ObjectMeta + yy2230.CodecEncodeSelf(e) } } - if yyr2225 || yy2arr2225 { + if yyr2227 || yy2arr2227 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Secrets == nil { - r.EncodeNil() - } else { - yym2230 := z.EncBinary() - _ = yym2230 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secrets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Secrets == nil { - r.EncodeNil() - } else { - yym2231 := z.EncBinary() - _ = yym2231 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } - } - } - if yyr2225 || yy2arr2225 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[2] { - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2233 := z.EncBinary() - _ = yym2233 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } + if yyq2227[1] { + yy2232 := &x.Spec + yy2232.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2225[2] { + if yyq2227[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2234 := z.EncBinary() - _ = yym2234 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } + yy2233 := &x.Spec + yy2233.CodecEncodeSelf(e) } } - if yyr2225 || yy2arr2225 { + if yyr2227 || yy2arr2227 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[3] { - yym2236 := z.EncBinary() - _ = yym2236 + if yyq2227[2] { + yy2235 := &x.Status + yy2235.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2227[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2236 := &x.Status + yy2236.CodecEncodeSelf(e) + } + } + if yyr2227 || yy2arr2227 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2227[3] { + yym2238 := z.EncBinary() + _ = yym2238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29062,24 +29209,24 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[3] { + if yyq2227[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2237 := z.EncBinary() - _ = yym2237 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2225 || yy2arr2225 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[4] { yym2239 := z.EncBinary() _ = yym2239 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2227 || yy2arr2227 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2227[4] { + yym2241 := z.EncBinary() + _ = yym2241 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } @@ -29087,19 +29234,19 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[4] { + if yyq2227[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2240 := z.EncBinary() - _ = yym2240 + yym2242 := z.EncBinary() + _ = yym2242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2225 || yy2arr2225 { + if yyr2227 || yy2arr2227 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29108,29 +29255,29 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2241 := z.DecBinary() - _ = yym2241 + yym2243 := z.DecBinary() + _ = yym2243 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2242 := r.ContainerType() - if yyct2242 == codecSelferValueTypeMap1234 { - yyl2242 := r.ReadMapStart() - if yyl2242 == 0 { + yyct2244 := r.ContainerType() + if yyct2244 == codecSelferValueTypeMap1234 { + yyl2244 := r.ReadMapStart() + if yyl2244 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2242, d) + x.codecDecodeSelfFromMap(yyl2244, d) } - } else if yyct2242 == codecSelferValueTypeArray1234 { - yyl2242 := r.ReadArrayStart() - if yyl2242 == 0 { + } else if yyct2244 == codecSelferValueTypeArray1234 { + yyl2244 := r.ReadArrayStart() + if yyl2244 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2242, d) + x.codecDecodeSelfFromArray(yyl2244, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29138,16 +29285,16 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2243Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2243Slc - var yyhl2243 bool = l >= 0 - for yyj2243 := 0; ; yyj2243++ { - if yyhl2243 { - if yyj2243 >= l { + var yys2245Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2245Slc + var yyhl2245 bool = l >= 0 + for yyj2245 := 0; ; yyj2245++ { + if yyhl2245 { + if yyj2245 >= l { break } } else { @@ -29156,40 +29303,30 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2243Slc = r.DecodeBytes(yys2243Slc, true, true) - yys2243 := string(yys2243Slc) + yys2245Slc = r.DecodeBytes(yys2245Slc, true, true) + yys2245 := string(yys2245Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2243 { + switch yys2245 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2244 := &x.ObjectMeta - yyv2244.CodecDecodeSelf(d) + yyv2246 := &x.ObjectMeta + yyv2246.CodecDecodeSelf(d) } - case "secrets": + case "spec": if r.TryDecodeAsNil() { - x.Secrets = nil + x.Spec = ServiceSpec{} } else { - yyv2245 := &x.Secrets - yym2246 := z.DecBinary() - _ = yym2246 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2245), d) - } + yyv2247 := &x.Spec + yyv2247.CodecDecodeSelf(d) } - case "imagePullSecrets": + case "status": if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil + x.Status = ServiceStatus{} } else { - yyv2247 := &x.ImagePullSecrets - yym2248 := z.DecBinary() - _ = yym2248 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2247), d) - } + yyv2248 := &x.Status + yyv2248.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -29204,13 +29341,13 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2243) - } // end switch yys2243 - } // end for yyj2243 + z.DecStructFieldNotFound(-1, yys2245) + } // end switch yys2245 + } // end for yyj2245 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -29246,15 +29383,10 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Secrets = nil + x.Spec = ServiceSpec{} } else { - yyv2253 := &x.Secrets - yym2254 := z.DecBinary() - _ = yym2254 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2253), d) - } + yyv2253 := &x.Spec + yyv2253.CodecDecodeSelf(d) } yyj2251++ if yyhl2251 { @@ -29268,15 +29400,10 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil + x.Status = ServiceStatus{} } else { - yyv2255 := &x.ImagePullSecrets - yym2256 := z.DecBinary() - _ = yym2256 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2255), d) - } + yyv2254 := &x.Status + yyv2254.CodecDecodeSelf(d) } yyj2251++ if yyhl2251 { @@ -29326,146 +29453,168 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2259 := z.EncBinary() - _ = yym2259 + yym2257 := z.EncBinary() + _ = yym2257 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2260 := !z.EncBinary() - yy2arr2260 := z.EncBasicHandle().StructToArray - var yyq2260 [4]bool - _, _, _ = yysep2260, yyq2260, yy2arr2260 - const yyr2260 bool = false - yyq2260[0] = true - yyq2260[2] = x.Kind != "" - yyq2260[3] = x.APIVersion != "" - var yynn2260 int - if yyr2260 || yy2arr2260 { - r.EncodeArrayStart(4) + yysep2258 := !z.EncBinary() + yy2arr2258 := z.EncBasicHandle().StructToArray + var yyq2258 [5]bool + _, _, _ = yysep2258, yyq2258, yy2arr2258 + const yyr2258 bool = false + yyq2258[0] = true + yyq2258[2] = len(x.ImagePullSecrets) != 0 + yyq2258[3] = x.Kind != "" + yyq2258[4] = x.APIVersion != "" + var yynn2258 int + if yyr2258 || yy2arr2258 { + r.EncodeArrayStart(5) } else { - yynn2260 = 1 - for _, b := range yyq2260 { + yynn2258 = 1 + for _, b := range yyq2258 { if b { - yynn2260++ + yynn2258++ } } - r.EncodeMapStart(yynn2260) - yynn2260 = 0 + r.EncodeMapStart(yynn2258) + yynn2258 = 0 } - if yyr2260 || yy2arr2260 { + if yyr2258 || yy2arr2258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2260[0] { - yy2262 := &x.ListMeta - yym2263 := z.EncBinary() - _ = yym2263 - if false { - } else if z.HasExtensions() && z.EncExt(yy2262) { - } else { - z.EncFallback(yy2262) - } + if yyq2258[0] { + yy2260 := &x.ObjectMeta + yy2260.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2260[0] { + if yyq2258[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2264 := &x.ListMeta - yym2265 := z.EncBinary() - _ = yym2265 - if false { - } else if z.HasExtensions() && z.EncExt(yy2264) { - } else { - z.EncFallback(yy2264) - } + yy2261 := &x.ObjectMeta + yy2261.CodecEncodeSelf(e) } } - if yyr2260 || yy2arr2260 { + if yyr2258 || yy2arr2258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { + if x.Secrets == nil { r.EncodeNil() } else { - yym2267 := z.EncBinary() - _ = yym2267 + yym2263 := z.EncBinary() + _ = yym2263 if false { } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) + r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { + if x.Secrets == nil { r.EncodeNil() } else { - yym2268 := z.EncBinary() - _ = yym2268 + yym2264 := z.EncBinary() + _ = yym2264 if false { } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } - if yyr2260 || yy2arr2260 { + if yyr2258 || yy2arr2258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2260[2] { + if yyq2258[2] { + if x.ImagePullSecrets == nil { + r.EncodeNil() + } else { + yym2266 := z.EncBinary() + _ = yym2266 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2258[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ImagePullSecrets == nil { + r.EncodeNil() + } else { + yym2267 := z.EncBinary() + _ = yym2267 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } + } + if yyr2258 || yy2arr2258 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2258[3] { + yym2269 := z.EncBinary() + _ = yym2269 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2258[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2270 := z.EncBinary() _ = yym2270 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } + } + } + if yyr2258 || yy2arr2258 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2258[4] { + yym2272 := z.EncBinary() + _ = yym2272 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2260[2] { + if yyq2258[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2271 := z.EncBinary() - _ = yym2271 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2260 || yy2arr2260 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2260[3] { yym2273 := z.EncBinary() _ = yym2273 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2260[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2274 := z.EncBinary() - _ = yym2274 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } } } - if yyr2260 || yy2arr2260 { + if yyr2258 || yy2arr2258 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29474,29 +29623,29 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2275 := z.DecBinary() - _ = yym2275 + yym2274 := z.DecBinary() + _ = yym2274 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2276 := r.ContainerType() - if yyct2276 == codecSelferValueTypeMap1234 { - yyl2276 := r.ReadMapStart() - if yyl2276 == 0 { + yyct2275 := r.ContainerType() + if yyct2275 == codecSelferValueTypeMap1234 { + yyl2275 := r.ReadMapStart() + if yyl2275 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2276, d) + x.codecDecodeSelfFromMap(yyl2275, d) } - } else if yyct2276 == codecSelferValueTypeArray1234 { - yyl2276 := r.ReadArrayStart() - if yyl2276 == 0 { + } else if yyct2275 == codecSelferValueTypeArray1234 { + yyl2275 := r.ReadArrayStart() + if yyl2275 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2276, d) + x.codecDecodeSelfFromArray(yyl2275, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29504,16 +29653,16 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2277Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2277Slc - var yyhl2277 bool = l >= 0 - for yyj2277 := 0; ; yyj2277++ { - if yyhl2277 { - if yyj2277 >= l { + var yys2276Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2276Slc + var yyhl2276 bool = l >= 0 + for yyj2276 := 0; ; yyj2276++ { + if yyhl2276 { + if yyj2276 >= l { break } } else { @@ -29522,33 +29671,39 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2277Slc = r.DecodeBytes(yys2277Slc, true, true) - yys2277 := string(yys2277Slc) + yys2276Slc = r.DecodeBytes(yys2276Slc, true, true) + yys2276 := string(yys2276Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2277 { + switch yys2276 { case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} + x.ObjectMeta = ObjectMeta{} } else { - yyv2278 := &x.ListMeta + yyv2277 := &x.ObjectMeta + yyv2277.CodecDecodeSelf(d) + } + case "secrets": + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2278 := &x.Secrets yym2279 := z.DecBinary() _ = yym2279 if false { - } else if z.HasExtensions() && z.DecExt(yyv2278) { } else { - z.DecFallback(yyv2278, false) + h.decSliceObjectReference((*[]ObjectReference)(yyv2278), d) } } - case "items": + case "imagePullSecrets": if r.TryDecodeAsNil() { - x.Items = nil + x.ImagePullSecrets = nil } else { - yyv2280 := &x.Items + yyv2280 := &x.ImagePullSecrets yym2281 := z.DecBinary() _ = yym2281 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2280), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2280), d) } } case "kind": @@ -29564,13 +29719,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2277) - } // end switch yys2277 - } // end for yyj2277 + z.DecStructFieldNotFound(-1, yys2276) + } // end switch yys2276 + } // end for yyj2276 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -29589,15 +29744,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} + x.ObjectMeta = ObjectMeta{} } else { - yyv2285 := &x.ListMeta - yym2286 := z.DecBinary() - _ = yym2286 + yyv2285 := &x.ObjectMeta + yyv2285.CodecDecodeSelf(d) + } + yyj2284++ + if yyhl2284 { + yyb2284 = yyj2284 > l + } else { + yyb2284 = r.CheckBreak() + } + if yyb2284 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2286 := &x.Secrets + yym2287 := z.DecBinary() + _ = yym2287 if false { - } else if z.HasExtensions() && z.DecExt(yyv2285) { } else { - z.DecFallback(yyv2285, false) + h.decSliceObjectReference((*[]ObjectReference)(yyv2286), d) } } yyj2284++ @@ -29612,14 +29783,14 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.ImagePullSecrets = nil } else { - yyv2287 := &x.Items - yym2288 := z.DecBinary() - _ = yym2288 + yyv2288 := &x.ImagePullSecrets + yym2289 := z.DecBinary() + _ = yym2289 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2287), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2288), d) } } yyj2284++ @@ -29670,134 +29841,146 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2291 := z.EncBinary() - _ = yym2291 + yym2292 := z.EncBinary() + _ = yym2292 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2292 := !z.EncBinary() - yy2arr2292 := z.EncBasicHandle().StructToArray - var yyq2292 [4]bool - _, _, _ = yysep2292, yyq2292, yy2arr2292 - const yyr2292 bool = false - yyq2292[0] = true - yyq2292[2] = x.Kind != "" - yyq2292[3] = x.APIVersion != "" - var yynn2292 int - if yyr2292 || yy2arr2292 { + yysep2293 := !z.EncBinary() + yy2arr2293 := z.EncBasicHandle().StructToArray + var yyq2293 [4]bool + _, _, _ = yysep2293, yyq2293, yy2arr2293 + const yyr2293 bool = false + yyq2293[0] = true + yyq2293[2] = x.Kind != "" + yyq2293[3] = x.APIVersion != "" + var yynn2293 int + if yyr2293 || yy2arr2293 { r.EncodeArrayStart(4) } else { - yynn2292 = 1 - for _, b := range yyq2292 { + yynn2293 = 1 + for _, b := range yyq2293 { if b { - yynn2292++ + yynn2293++ } } - r.EncodeMapStart(yynn2292) - yynn2292 = 0 + r.EncodeMapStart(yynn2293) + yynn2293 = 0 } - if yyr2292 || yy2arr2292 { + if yyr2293 || yy2arr2293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2292[0] { - yy2294 := &x.ObjectMeta - yy2294.CodecEncodeSelf(e) + if yyq2293[0] { + yy2295 := &x.ListMeta + yym2296 := z.EncBinary() + _ = yym2296 + if false { + } else if z.HasExtensions() && z.EncExt(yy2295) { + } else { + z.EncFallback(yy2295) + } } else { r.EncodeNil() } } else { - if yyq2292[0] { + if yyq2293[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2295 := &x.ObjectMeta - yy2295.CodecEncodeSelf(e) - } - } - if yyr2292 || yy2arr2292 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Subsets == nil { - r.EncodeNil() - } else { - yym2297 := z.EncBinary() - _ = yym2297 - if false { - } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Subsets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Subsets == nil { - r.EncodeNil() - } else { + yy2297 := &x.ListMeta yym2298 := z.EncBinary() _ = yym2298 if false { + } else if z.HasExtensions() && z.EncExt(yy2297) { } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + z.EncFallback(yy2297) } } } - if yyr2292 || yy2arr2292 { + if yyr2293 || yy2arr2293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2292[2] { + if x.Items == nil { + r.EncodeNil() + } else { yym2300 := z.EncBinary() _ = yym2300 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2292[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { yym2301 := z.EncBinary() _ = yym2301 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2292 || yy2arr2292 { + if yyr2293 || yy2arr2293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2292[3] { + if yyq2293[2] { yym2303 := z.EncBinary() _ = yym2303 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2292[3] { + if yyq2293[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2304 := z.EncBinary() _ = yym2304 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2293 || yy2arr2293 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2293[3] { + yym2306 := z.EncBinary() + _ = yym2306 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2293[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2307 := z.EncBinary() + _ = yym2307 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2292 || yy2arr2292 { + if yyr2293 || yy2arr2293 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29806,29 +29989,29 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2305 := z.DecBinary() - _ = yym2305 + yym2308 := z.DecBinary() + _ = yym2308 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2306 := r.ContainerType() - if yyct2306 == codecSelferValueTypeMap1234 { - yyl2306 := r.ReadMapStart() - if yyl2306 == 0 { + yyct2309 := r.ContainerType() + if yyct2309 == codecSelferValueTypeMap1234 { + yyl2309 := r.ReadMapStart() + if yyl2309 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2306, d) + x.codecDecodeSelfFromMap(yyl2309, d) } - } else if yyct2306 == codecSelferValueTypeArray1234 { - yyl2306 := r.ReadArrayStart() - if yyl2306 == 0 { + } else if yyct2309 == codecSelferValueTypeArray1234 { + yyl2309 := r.ReadArrayStart() + if yyl2309 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2306, d) + x.codecDecodeSelfFromArray(yyl2309, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29836,16 +30019,16 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2307Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2307Slc - var yyhl2307 bool = l >= 0 - for yyj2307 := 0; ; yyj2307++ { - if yyhl2307 { - if yyj2307 >= l { + var yys2310Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2310Slc + var yyhl2310 bool = l >= 0 + for yyj2310 := 0; ; yyj2310++ { + if yyhl2310 { + if yyj2310 >= l { break } } else { @@ -29854,27 +30037,33 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2307Slc = r.DecodeBytes(yys2307Slc, true, true) - yys2307 := string(yys2307Slc) + yys2310Slc = r.DecodeBytes(yys2310Slc, true, true) + yys2310 := string(yys2310Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2307 { + switch yys2310 { case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2308 := &x.ObjectMeta - yyv2308.CodecDecodeSelf(d) + yyv2311 := &x.ListMeta + yym2312 := z.DecBinary() + _ = yym2312 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2311) { + } else { + z.DecFallback(yyv2311, false) + } } - case "Subsets": + case "items": if r.TryDecodeAsNil() { - x.Subsets = nil + x.Items = nil } else { - yyv2309 := &x.Subsets - yym2310 := z.DecBinary() - _ = yym2310 + yyv2313 := &x.Items + yym2314 := z.DecBinary() + _ = yym2314 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2309), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2313), d) } } case "kind": @@ -29890,65 +30079,71 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2307) - } // end switch yys2307 - } // end for yyj2307 + z.DecStructFieldNotFound(-1, yys2310) + } // end switch yys2310 + } // end for yyj2310 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2313 int - var yyb2313 bool - var yyhl2313 bool = l >= 0 - yyj2313++ - if yyhl2313 { - yyb2313 = yyj2313 > l + var yyj2317 int + var yyb2317 bool + var yyhl2317 bool = l >= 0 + yyj2317++ + if yyhl2317 { + yyb2317 = yyj2317 > l } else { - yyb2313 = r.CheckBreak() + yyb2317 = r.CheckBreak() } - if yyb2313 { + if yyb2317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2314 := &x.ObjectMeta - yyv2314.CodecDecodeSelf(d) - } - yyj2313++ - if yyhl2313 { - yyb2313 = yyj2313 > l - } else { - yyb2313 = r.CheckBreak() - } - if yyb2313 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv2315 := &x.Subsets - yym2316 := z.DecBinary() - _ = yym2316 + yyv2318 := &x.ListMeta + yym2319 := z.DecBinary() + _ = yym2319 if false { + } else if z.HasExtensions() && z.DecExt(yyv2318) { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2315), d) + z.DecFallback(yyv2318, false) } } - yyj2313++ - if yyhl2313 { - yyb2313 = yyj2313 > l + yyj2317++ + if yyhl2317 { + yyb2317 = yyj2317 > l } else { - yyb2313 = r.CheckBreak() + yyb2317 = r.CheckBreak() } - if yyb2313 { + if yyb2317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2320 := &x.Items + yym2321 := z.DecBinary() + _ = yym2321 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2320), d) + } + } + yyj2317++ + if yyhl2317 { + yyb2317 = yyj2317 > l + } else { + yyb2317 = r.CheckBreak() + } + if yyb2317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29958,13 +30153,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2313++ - if yyhl2313 { - yyb2313 = yyj2313 > l + yyj2317++ + if yyhl2317 { + yyb2317 = yyj2317 > l } else { - yyb2313 = r.CheckBreak() + yyb2317 = r.CheckBreak() } - if yyb2313 { + if yyb2317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29975,17 +30170,337 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2313++ - if yyhl2313 { - yyb2313 = yyj2313 > l + yyj2317++ + if yyhl2317 { + yyb2317 = yyj2317 > l } else { - yyb2313 = r.CheckBreak() + yyb2317 = r.CheckBreak() } - if yyb2313 { + if yyb2317 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2313-1, "") + z.DecStructFieldNotFound(yyj2317-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2324 := z.EncBinary() + _ = yym2324 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2325 := !z.EncBinary() + yy2arr2325 := z.EncBasicHandle().StructToArray + var yyq2325 [4]bool + _, _, _ = yysep2325, yyq2325, yy2arr2325 + const yyr2325 bool = false + yyq2325[0] = true + yyq2325[2] = x.Kind != "" + yyq2325[3] = x.APIVersion != "" + var yynn2325 int + if yyr2325 || yy2arr2325 { + r.EncodeArrayStart(4) + } else { + yynn2325 = 1 + for _, b := range yyq2325 { + if b { + yynn2325++ + } + } + r.EncodeMapStart(yynn2325) + yynn2325 = 0 + } + if yyr2325 || yy2arr2325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2325[0] { + yy2327 := &x.ObjectMeta + yy2327.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2325[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2328 := &x.ObjectMeta + yy2328.CodecEncodeSelf(e) + } + } + if yyr2325 || yy2arr2325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2330 := z.EncBinary() + _ = yym2330 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Subsets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2331 := z.EncBinary() + _ = yym2331 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } + if yyr2325 || yy2arr2325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2325[2] { + yym2333 := z.EncBinary() + _ = yym2333 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2325[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2334 := z.EncBinary() + _ = yym2334 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2325 || yy2arr2325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2325[3] { + yym2336 := z.EncBinary() + _ = yym2336 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2325[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2337 := z.EncBinary() + _ = yym2337 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2325 || yy2arr2325 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2338 := z.DecBinary() + _ = yym2338 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2339 := r.ContainerType() + if yyct2339 == codecSelferValueTypeMap1234 { + yyl2339 := r.ReadMapStart() + if yyl2339 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2339, d) + } + } else if yyct2339 == codecSelferValueTypeArray1234 { + yyl2339 := r.ReadArrayStart() + if yyl2339 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2339, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2340Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2340Slc + var yyhl2340 bool = l >= 0 + for yyj2340 := 0; ; yyj2340++ { + if yyhl2340 { + if yyj2340 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2340Slc = r.DecodeBytes(yys2340Slc, true, true) + yys2340 := string(yys2340Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2340 { + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2341 := &x.ObjectMeta + yyv2341.CodecDecodeSelf(d) + } + case "Subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2342 := &x.Subsets + yym2343 := z.DecBinary() + _ = yym2343 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2342), d) + } + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys2340) + } // end switch yys2340 + } // end for yyj2340 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2346 int + var yyb2346 bool + var yyhl2346 bool = l >= 0 + yyj2346++ + if yyhl2346 { + yyb2346 = yyj2346 > l + } else { + yyb2346 = r.CheckBreak() + } + if yyb2346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2347 := &x.ObjectMeta + yyv2347.CodecDecodeSelf(d) + } + yyj2346++ + if yyhl2346 { + yyb2346 = yyj2346 > l + } else { + yyb2346 = r.CheckBreak() + } + if yyb2346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2348 := &x.Subsets + yym2349 := z.DecBinary() + _ = yym2349 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2348), d) + } + } + yyj2346++ + if yyhl2346 { + yyb2346 = yyj2346 > l + } else { + yyb2346 = r.CheckBreak() + } + if yyb2346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2346++ + if yyhl2346 { + yyb2346 = yyj2346 > l + } else { + yyb2346 = r.CheckBreak() + } + if yyb2346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj2346++ + if yyhl2346 { + yyb2346 = yyj2346 > l + } else { + yyb2346 = r.CheckBreak() + } + if yyb2346 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2346-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29997,36 +30512,36 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2319 := z.EncBinary() - _ = yym2319 + yym2352 := z.EncBinary() + _ = yym2352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2320 := !z.EncBinary() - yy2arr2320 := z.EncBasicHandle().StructToArray - var yyq2320 [3]bool - _, _, _ = yysep2320, yyq2320, yy2arr2320 - const yyr2320 bool = false - var yynn2320 int - if yyr2320 || yy2arr2320 { + yysep2353 := !z.EncBinary() + yy2arr2353 := z.EncBasicHandle().StructToArray + var yyq2353 [3]bool + _, _, _ = yysep2353, yyq2353, yy2arr2353 + const yyr2353 bool = false + var yynn2353 int + if yyr2353 || yy2arr2353 { r.EncodeArrayStart(3) } else { - yynn2320 = 3 - for _, b := range yyq2320 { + yynn2353 = 3 + for _, b := range yyq2353 { if b { - yynn2320++ + yynn2353++ } } - r.EncodeMapStart(yynn2320) - yynn2320 = 0 + r.EncodeMapStart(yynn2353) + yynn2353 = 0 } - if yyr2320 || yy2arr2320 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2322 := z.EncBinary() - _ = yym2322 + yym2355 := z.EncBinary() + _ = yym2355 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -30039,21 +30554,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Addresses == nil { r.EncodeNil() } else { - yym2323 := z.EncBinary() - _ = yym2323 + yym2356 := z.EncBinary() + _ = yym2356 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) } } } - if yyr2320 || yy2arr2320 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2325 := z.EncBinary() - _ = yym2325 + yym2358 := z.EncBinary() + _ = yym2358 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -30066,21 +30581,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2326 := z.EncBinary() - _ = yym2326 + yym2359 := z.EncBinary() + _ = yym2359 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) } } } - if yyr2320 || yy2arr2320 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2328 := z.EncBinary() - _ = yym2328 + yym2361 := z.EncBinary() + _ = yym2361 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -30093,15 +30608,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2329 := z.EncBinary() - _ = yym2329 + yym2362 := z.EncBinary() + _ = yym2362 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) } } } - if yyr2320 || yy2arr2320 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30114,25 +30629,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2330 := z.DecBinary() - _ = yym2330 + yym2363 := z.DecBinary() + _ = yym2363 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2331 := r.ContainerType() - if yyct2331 == codecSelferValueTypeMap1234 { - yyl2331 := r.ReadMapStart() - if yyl2331 == 0 { + yyct2364 := r.ContainerType() + if yyct2364 == codecSelferValueTypeMap1234 { + yyl2364 := r.ReadMapStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2331, d) + x.codecDecodeSelfFromMap(yyl2364, d) } - } else if yyct2331 == codecSelferValueTypeArray1234 { - yyl2331 := r.ReadArrayStart() - if yyl2331 == 0 { + } else if yyct2364 == codecSelferValueTypeArray1234 { + yyl2364 := r.ReadArrayStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2331, d) + x.codecDecodeSelfFromArray(yyl2364, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30144,12 +30659,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2332Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2332Slc - var yyhl2332 bool = l >= 0 - for yyj2332 := 0; ; yyj2332++ { - if yyhl2332 { - if yyj2332 >= l { + var yys2365Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2365Slc + var yyhl2365 bool = l >= 0 + for yyj2365 := 0; ; yyj2365++ { + if yyhl2365 { + if yyj2365 >= l { break } } else { @@ -30158,50 +30673,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2332Slc = r.DecodeBytes(yys2332Slc, true, true) - yys2332 := string(yys2332Slc) + yys2365Slc = r.DecodeBytes(yys2365Slc, true, true) + yys2365 := string(yys2365Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2332 { + switch yys2365 { case "Addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2333 := &x.Addresses - yym2334 := z.DecBinary() - _ = yym2334 + yyv2366 := &x.Addresses + yym2367 := z.DecBinary() + _ = yym2367 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2333), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2366), d) } } case "NotReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2335 := &x.NotReadyAddresses - yym2336 := z.DecBinary() - _ = yym2336 + yyv2368 := &x.NotReadyAddresses + yym2369 := z.DecBinary() + _ = yym2369 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2335), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2368), d) } } case "Ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2337 := &x.Ports - yym2338 := z.DecBinary() - _ = yym2338 + yyv2370 := &x.Ports + yym2371 := z.DecBinary() + _ = yym2371 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2337), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2370), d) } } default: - z.DecStructFieldNotFound(-1, yys2332) - } // end switch yys2332 - } // end for yyj2332 + z.DecStructFieldNotFound(-1, yys2365) + } // end switch yys2365 + } // end for yyj2365 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30209,16 +30724,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2339 int - var yyb2339 bool - var yyhl2339 bool = l >= 0 - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + var yyj2372 int + var yyb2372 bool + var yyhl2372 bool = l >= 0 + yyj2372++ + if yyhl2372 { + yyb2372 = yyj2372 > l } else { - yyb2339 = r.CheckBreak() + yyb2372 = r.CheckBreak() } - if yyb2339 { + if yyb2372 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30226,21 +30741,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2340 := &x.Addresses - yym2341 := z.DecBinary() - _ = yym2341 + yyv2373 := &x.Addresses + yym2374 := z.DecBinary() + _ = yym2374 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2340), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2373), d) } } - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2372++ + if yyhl2372 { + yyb2372 = yyj2372 > l } else { - yyb2339 = r.CheckBreak() + yyb2372 = r.CheckBreak() } - if yyb2339 { + if yyb2372 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30248,21 +30763,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2342 := &x.NotReadyAddresses - yym2343 := z.DecBinary() - _ = yym2343 + yyv2375 := &x.NotReadyAddresses + yym2376 := z.DecBinary() + _ = yym2376 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2342), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2375), d) } } - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2372++ + if yyhl2372 { + yyb2372 = yyj2372 > l } else { - yyb2339 = r.CheckBreak() + yyb2372 = r.CheckBreak() } - if yyb2339 { + if yyb2372 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30270,26 +30785,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2344 := &x.Ports - yym2345 := z.DecBinary() - _ = yym2345 + yyv2377 := &x.Ports + yym2378 := z.DecBinary() + _ = yym2378 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2344), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2377), d) } } for { - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2372++ + if yyhl2372 { + yyb2372 = yyj2372 > l } else { - yyb2339 = r.CheckBreak() + yyb2372 = r.CheckBreak() } - if yyb2339 { + if yyb2372 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2339-1, "") + z.DecStructFieldNotFound(yyj2372-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30301,33 +30816,33 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2346 := z.EncBinary() - _ = yym2346 + yym2379 := z.EncBinary() + _ = yym2379 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2347 := !z.EncBinary() - yy2arr2347 := z.EncBasicHandle().StructToArray - var yyq2347 [2]bool - _, _, _ = yysep2347, yyq2347, yy2arr2347 - const yyr2347 bool = false - var yynn2347 int - if yyr2347 || yy2arr2347 { + yysep2380 := !z.EncBinary() + yy2arr2380 := z.EncBasicHandle().StructToArray + var yyq2380 [2]bool + _, _, _ = yysep2380, yyq2380, yy2arr2380 + const yyr2380 bool = false + var yynn2380 int + if yyr2380 || yy2arr2380 { r.EncodeArrayStart(2) } else { - yynn2347 = 2 - for _, b := range yyq2347 { + yynn2380 = 2 + for _, b := range yyq2380 { if b { - yynn2347++ + yynn2380++ } } - r.EncodeMapStart(yynn2347) - yynn2347 = 0 + r.EncodeMapStart(yynn2380) + yynn2380 = 0 } - if yyr2347 || yy2arr2347 { + if yyr2380 || yy2arr2380 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2349 := z.EncBinary() - _ = yym2349 + yym2382 := z.EncBinary() + _ = yym2382 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -30336,14 +30851,14 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("IP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2350 := z.EncBinary() - _ = yym2350 + yym2383 := z.EncBinary() + _ = yym2383 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2347 || yy2arr2347 { + if yyr2380 || yy2arr2380 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetRef == nil { r.EncodeNil() @@ -30360,7 +30875,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { x.TargetRef.CodecEncodeSelf(e) } } - if yyr2347 || yy2arr2347 { + if yyr2380 || yy2arr2380 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30373,25 +30888,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2352 := z.DecBinary() - _ = yym2352 + yym2385 := z.DecBinary() + _ = yym2385 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2353 := r.ContainerType() - if yyct2353 == codecSelferValueTypeMap1234 { - yyl2353 := r.ReadMapStart() - if yyl2353 == 0 { + yyct2386 := r.ContainerType() + if yyct2386 == codecSelferValueTypeMap1234 { + yyl2386 := r.ReadMapStart() + if yyl2386 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2353, d) + x.codecDecodeSelfFromMap(yyl2386, d) } - } else if yyct2353 == codecSelferValueTypeArray1234 { - yyl2353 := r.ReadArrayStart() - if yyl2353 == 0 { + } else if yyct2386 == codecSelferValueTypeArray1234 { + yyl2386 := r.ReadArrayStart() + if yyl2386 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2353, d) + x.codecDecodeSelfFromArray(yyl2386, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30403,12 +30918,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2354Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2354Slc - var yyhl2354 bool = l >= 0 - for yyj2354 := 0; ; yyj2354++ { - if yyhl2354 { - if yyj2354 >= l { + var yys2387Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2387Slc + var yyhl2387 bool = l >= 0 + for yyj2387 := 0; ; yyj2387++ { + if yyhl2387 { + if yyj2387 >= l { break } } else { @@ -30417,10 +30932,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2354Slc = r.DecodeBytes(yys2354Slc, true, true) - yys2354 := string(yys2354Slc) + yys2387Slc = r.DecodeBytes(yys2387Slc, true, true) + yys2387 := string(yys2387Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2354 { + switch yys2387 { case "IP": if r.TryDecodeAsNil() { x.IP = "" @@ -30439,9 +30954,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2354) - } // end switch yys2354 - } // end for yyj2354 + z.DecStructFieldNotFound(-1, yys2387) + } // end switch yys2387 + } // end for yyj2387 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30449,16 +30964,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2357 int - var yyb2357 bool - var yyhl2357 bool = l >= 0 - yyj2357++ - if yyhl2357 { - yyb2357 = yyj2357 > l + var yyj2390 int + var yyb2390 bool + var yyhl2390 bool = l >= 0 + yyj2390++ + if yyhl2390 { + yyb2390 = yyj2390 > l } else { - yyb2357 = r.CheckBreak() + yyb2390 = r.CheckBreak() } - if yyb2357 { + if yyb2390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30468,13 +30983,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2357++ - if yyhl2357 { - yyb2357 = yyj2357 > l + yyj2390++ + if yyhl2390 { + yyb2390 = yyj2390 > l } else { - yyb2357 = r.CheckBreak() + yyb2390 = r.CheckBreak() } - if yyb2357 { + if yyb2390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30490,17 +31005,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2357++ - if yyhl2357 { - yyb2357 = yyj2357 > l + yyj2390++ + if yyhl2390 { + yyb2390 = yyj2390 > l } else { - yyb2357 = r.CheckBreak() + yyb2390 = r.CheckBreak() } - if yyb2357 { + if yyb2390 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2357-1, "") + z.DecStructFieldNotFound(yyj2390-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30512,33 +31027,33 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2360 := z.EncBinary() - _ = yym2360 + yym2393 := z.EncBinary() + _ = yym2393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2361 := !z.EncBinary() - yy2arr2361 := z.EncBasicHandle().StructToArray - var yyq2361 [3]bool - _, _, _ = yysep2361, yyq2361, yy2arr2361 - const yyr2361 bool = false - var yynn2361 int - if yyr2361 || yy2arr2361 { + yysep2394 := !z.EncBinary() + yy2arr2394 := z.EncBasicHandle().StructToArray + var yyq2394 [3]bool + _, _, _ = yysep2394, yyq2394, yy2arr2394 + const yyr2394 bool = false + var yynn2394 int + if yyr2394 || yy2arr2394 { r.EncodeArrayStart(3) } else { - yynn2361 = 3 - for _, b := range yyq2361 { + yynn2394 = 3 + for _, b := range yyq2394 { if b { - yynn2361++ + yynn2394++ } } - r.EncodeMapStart(yynn2361) - yynn2361 = 0 + r.EncodeMapStart(yynn2394) + yynn2394 = 0 } - if yyr2361 || yy2arr2361 { + if yyr2394 || yy2arr2394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2363 := z.EncBinary() - _ = yym2363 + yym2396 := z.EncBinary() + _ = yym2396 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -30547,17 +31062,17 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2364 := z.EncBinary() - _ = yym2364 + yym2397 := z.EncBinary() + _ = yym2397 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2361 || yy2arr2361 { + if yyr2394 || yy2arr2394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2366 := z.EncBinary() - _ = yym2366 + yym2399 := z.EncBinary() + _ = yym2399 if false { } else { r.EncodeInt(int64(x.Port)) @@ -30566,14 +31081,14 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2367 := z.EncBinary() - _ = yym2367 + yym2400 := z.EncBinary() + _ = yym2400 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2361 || yy2arr2361 { + if yyr2394 || yy2arr2394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -30582,7 +31097,7 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2361 || yy2arr2361 { + if yyr2394 || yy2arr2394 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30595,25 +31110,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2369 := z.DecBinary() - _ = yym2369 + yym2402 := z.DecBinary() + _ = yym2402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2370 := r.ContainerType() - if yyct2370 == codecSelferValueTypeMap1234 { - yyl2370 := r.ReadMapStart() - if yyl2370 == 0 { + yyct2403 := r.ContainerType() + if yyct2403 == codecSelferValueTypeMap1234 { + yyl2403 := r.ReadMapStart() + if yyl2403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2370, d) + x.codecDecodeSelfFromMap(yyl2403, d) } - } else if yyct2370 == codecSelferValueTypeArray1234 { - yyl2370 := r.ReadArrayStart() - if yyl2370 == 0 { + } else if yyct2403 == codecSelferValueTypeArray1234 { + yyl2403 := r.ReadArrayStart() + if yyl2403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2370, d) + x.codecDecodeSelfFromArray(yyl2403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30625,12 +31140,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2371Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2371Slc - var yyhl2371 bool = l >= 0 - for yyj2371 := 0; ; yyj2371++ { - if yyhl2371 { - if yyj2371 >= l { + var yys2404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2404Slc + var yyhl2404 bool = l >= 0 + for yyj2404 := 0; ; yyj2404++ { + if yyhl2404 { + if yyj2404 >= l { break } } else { @@ -30639,10 +31154,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2371Slc = r.DecodeBytes(yys2371Slc, true, true) - yys2371 := string(yys2371Slc) + yys2404Slc = r.DecodeBytes(yys2404Slc, true, true) + yys2404 := string(yys2404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2371 { + switch yys2404 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -30662,9 +31177,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2371) - } // end switch yys2371 - } // end for yyj2371 + z.DecStructFieldNotFound(-1, yys2404) + } // end switch yys2404 + } // end for yyj2404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30672,16 +31187,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2375 int - var yyb2375 bool - var yyhl2375 bool = l >= 0 - yyj2375++ - if yyhl2375 { - yyb2375 = yyj2375 > l + var yyj2408 int + var yyb2408 bool + var yyhl2408 bool = l >= 0 + yyj2408++ + if yyhl2408 { + yyb2408 = yyj2408 > l } else { - yyb2375 = r.CheckBreak() + yyb2408 = r.CheckBreak() } - if yyb2375 { + if yyb2408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30691,13 +31206,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2375++ - if yyhl2375 { - yyb2375 = yyj2375 > l + yyj2408++ + if yyhl2408 { + yyb2408 = yyj2408 > l } else { - yyb2375 = r.CheckBreak() + yyb2408 = r.CheckBreak() } - if yyb2375 { + if yyb2408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30707,13 +31222,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj2375++ - if yyhl2375 { - yyb2375 = yyj2375 > l + yyj2408++ + if yyhl2408 { + yyb2408 = yyj2408 > l } else { - yyb2375 = r.CheckBreak() + yyb2408 = r.CheckBreak() } - if yyb2375 { + if yyb2408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30724,17 +31239,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2375++ - if yyhl2375 { - yyb2375 = yyj2375 > l + yyj2408++ + if yyhl2408 { + yyb2408 = yyj2408 > l } else { - yyb2375 = r.CheckBreak() + yyb2408 = r.CheckBreak() } - if yyb2375 { + if yyb2408 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2375-1, "") + z.DecStructFieldNotFound(yyj2408-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30746,68 +31261,68 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2379 := z.EncBinary() - _ = yym2379 + yym2412 := z.EncBinary() + _ = yym2412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2380 := !z.EncBinary() - yy2arr2380 := z.EncBasicHandle().StructToArray - var yyq2380 [4]bool - _, _, _ = yysep2380, yyq2380, yy2arr2380 - const yyr2380 bool = false - yyq2380[0] = true - yyq2380[2] = x.Kind != "" - yyq2380[3] = x.APIVersion != "" - var yynn2380 int - if yyr2380 || yy2arr2380 { + yysep2413 := !z.EncBinary() + yy2arr2413 := z.EncBasicHandle().StructToArray + var yyq2413 [4]bool + _, _, _ = yysep2413, yyq2413, yy2arr2413 + const yyr2413 bool = false + yyq2413[0] = true + yyq2413[2] = x.Kind != "" + yyq2413[3] = x.APIVersion != "" + var yynn2413 int + if yyr2413 || yy2arr2413 { r.EncodeArrayStart(4) } else { - yynn2380 = 1 - for _, b := range yyq2380 { + yynn2413 = 1 + for _, b := range yyq2413 { if b { - yynn2380++ + yynn2413++ } } - r.EncodeMapStart(yynn2380) - yynn2380 = 0 + r.EncodeMapStart(yynn2413) + yynn2413 = 0 } - if yyr2380 || yy2arr2380 { + if yyr2413 || yy2arr2413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2380[0] { - yy2382 := &x.ListMeta - yym2383 := z.EncBinary() - _ = yym2383 + if yyq2413[0] { + yy2415 := &x.ListMeta + yym2416 := z.EncBinary() + _ = yym2416 if false { - } else if z.HasExtensions() && z.EncExt(yy2382) { + } else if z.HasExtensions() && z.EncExt(yy2415) { } else { - z.EncFallback(yy2382) + z.EncFallback(yy2415) } } else { r.EncodeNil() } } else { - if yyq2380[0] { + if yyq2413[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2384 := &x.ListMeta - yym2385 := z.EncBinary() - _ = yym2385 + yy2417 := &x.ListMeta + yym2418 := z.EncBinary() + _ = yym2418 if false { - } else if z.HasExtensions() && z.EncExt(yy2384) { + } else if z.HasExtensions() && z.EncExt(yy2417) { } else { - z.EncFallback(yy2384) + z.EncFallback(yy2417) } } } - if yyr2380 || yy2arr2380 { + if yyr2413 || yy2arr2413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2387 := z.EncBinary() - _ = yym2387 + yym2420 := z.EncBinary() + _ = yym2420 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -30820,19 +31335,19 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2388 := z.EncBinary() - _ = yym2388 + yym2421 := z.EncBinary() + _ = yym2421 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2380 || yy2arr2380 { + if yyr2413 || yy2arr2413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2380[2] { - yym2390 := z.EncBinary() - _ = yym2390 + if yyq2413[2] { + yym2423 := z.EncBinary() + _ = yym2423 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30841,23 +31356,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2380[2] { + if yyq2413[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2391 := z.EncBinary() - _ = yym2391 + yym2424 := z.EncBinary() + _ = yym2424 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2380 || yy2arr2380 { + if yyr2413 || yy2arr2413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2380[3] { - yym2393 := z.EncBinary() - _ = yym2393 + if yyq2413[3] { + yym2426 := z.EncBinary() + _ = yym2426 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30866,19 +31381,19 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2380[3] { + if yyq2413[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2394 := z.EncBinary() - _ = yym2394 + yym2427 := z.EncBinary() + _ = yym2427 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2380 || yy2arr2380 { + if yyr2413 || yy2arr2413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30891,25 +31406,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2395 := z.DecBinary() - _ = yym2395 + yym2428 := z.DecBinary() + _ = yym2428 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2396 := r.ContainerType() - if yyct2396 == codecSelferValueTypeMap1234 { - yyl2396 := r.ReadMapStart() - if yyl2396 == 0 { + yyct2429 := r.ContainerType() + if yyct2429 == codecSelferValueTypeMap1234 { + yyl2429 := r.ReadMapStart() + if yyl2429 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2396, d) + x.codecDecodeSelfFromMap(yyl2429, d) } - } else if yyct2396 == codecSelferValueTypeArray1234 { - yyl2396 := r.ReadArrayStart() - if yyl2396 == 0 { + } else if yyct2429 == codecSelferValueTypeArray1234 { + yyl2429 := r.ReadArrayStart() + if yyl2429 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2396, d) + x.codecDecodeSelfFromArray(yyl2429, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30921,12 +31436,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2397Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2397Slc - var yyhl2397 bool = l >= 0 - for yyj2397 := 0; ; yyj2397++ { - if yyhl2397 { - if yyj2397 >= l { + var yys2430Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2430Slc + var yyhl2430 bool = l >= 0 + for yyj2430 := 0; ; yyj2430++ { + if yyhl2430 { + if yyj2430 >= l { break } } else { @@ -30935,33 +31450,33 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2397Slc = r.DecodeBytes(yys2397Slc, true, true) - yys2397 := string(yys2397Slc) + yys2430Slc = r.DecodeBytes(yys2430Slc, true, true) + yys2430 := string(yys2430Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2397 { + switch yys2430 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2398 := &x.ListMeta - yym2399 := z.DecBinary() - _ = yym2399 + yyv2431 := &x.ListMeta + yym2432 := z.DecBinary() + _ = yym2432 if false { - } else if z.HasExtensions() && z.DecExt(yyv2398) { + } else if z.HasExtensions() && z.DecExt(yyv2431) { } else { - z.DecFallback(yyv2398, false) + z.DecFallback(yyv2431, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2400 := &x.Items - yym2401 := z.DecBinary() - _ = yym2401 + yyv2433 := &x.Items + yym2434 := z.DecBinary() + _ = yym2434 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2400), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2433), d) } } case "kind": @@ -30977,9 +31492,9 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2397) - } // end switch yys2397 - } // end for yyj2397 + z.DecStructFieldNotFound(-1, yys2430) + } // end switch yys2430 + } // end for yyj2430 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30987,16 +31502,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2404 int - var yyb2404 bool - var yyhl2404 bool = l >= 0 - yyj2404++ - if yyhl2404 { - yyb2404 = yyj2404 > l + var yyj2437 int + var yyb2437 bool + var yyhl2437 bool = l >= 0 + yyj2437++ + if yyhl2437 { + yyb2437 = yyj2437 > l } else { - yyb2404 = r.CheckBreak() + yyb2437 = r.CheckBreak() } - if yyb2404 { + if yyb2437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31004,22 +31519,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2405 := &x.ListMeta - yym2406 := z.DecBinary() - _ = yym2406 + yyv2438 := &x.ListMeta + yym2439 := z.DecBinary() + _ = yym2439 if false { - } else if z.HasExtensions() && z.DecExt(yyv2405) { + } else if z.HasExtensions() && z.DecExt(yyv2438) { } else { - z.DecFallback(yyv2405, false) + z.DecFallback(yyv2438, false) } } - yyj2404++ - if yyhl2404 { - yyb2404 = yyj2404 > l + yyj2437++ + if yyhl2437 { + yyb2437 = yyj2437 > l } else { - yyb2404 = r.CheckBreak() + yyb2437 = r.CheckBreak() } - if yyb2404 { + if yyb2437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31027,21 +31542,21 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2407 := &x.Items - yym2408 := z.DecBinary() - _ = yym2408 + yyv2440 := &x.Items + yym2441 := z.DecBinary() + _ = yym2441 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2407), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2440), d) } } - yyj2404++ - if yyhl2404 { - yyb2404 = yyj2404 > l + yyj2437++ + if yyhl2437 { + yyb2437 = yyj2437 > l } else { - yyb2404 = r.CheckBreak() + yyb2437 = r.CheckBreak() } - if yyb2404 { + if yyb2437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31051,13 +31566,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2404++ - if yyhl2404 { - yyb2404 = yyj2404 > l + yyj2437++ + if yyhl2437 { + yyb2437 = yyj2437 > l } else { - yyb2404 = r.CheckBreak() + yyb2437 = r.CheckBreak() } - if yyb2404 { + if yyb2437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31068,17 +31583,17 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2404++ - if yyhl2404 { - yyb2404 = yyj2404 > l + yyj2437++ + if yyhl2437 { + yyb2437 = yyj2437 > l } else { - yyb2404 = r.CheckBreak() + yyb2437 = r.CheckBreak() } - if yyb2404 { + if yyb2437 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2404-1, "") + z.DecStructFieldNotFound(yyj2437-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31090,38 +31605,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2411 := z.EncBinary() - _ = yym2411 + yym2444 := z.EncBinary() + _ = yym2444 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2412 := !z.EncBinary() - yy2arr2412 := z.EncBasicHandle().StructToArray - var yyq2412 [4]bool - _, _, _ = yysep2412, yyq2412, yy2arr2412 - const yyr2412 bool = false - yyq2412[0] = x.PodCIDR != "" - yyq2412[1] = x.ExternalID != "" - yyq2412[2] = x.ProviderID != "" - yyq2412[3] = x.Unschedulable != false - var yynn2412 int - if yyr2412 || yy2arr2412 { + yysep2445 := !z.EncBinary() + yy2arr2445 := z.EncBasicHandle().StructToArray + var yyq2445 [4]bool + _, _, _ = yysep2445, yyq2445, yy2arr2445 + const yyr2445 bool = false + yyq2445[0] = x.PodCIDR != "" + yyq2445[1] = x.ExternalID != "" + yyq2445[2] = x.ProviderID != "" + yyq2445[3] = x.Unschedulable != false + var yynn2445 int + if yyr2445 || yy2arr2445 { r.EncodeArrayStart(4) } else { - yynn2412 = 0 - for _, b := range yyq2412 { + yynn2445 = 0 + for _, b := range yyq2445 { if b { - yynn2412++ + yynn2445++ } } - r.EncodeMapStart(yynn2412) - yynn2412 = 0 + r.EncodeMapStart(yynn2445) + yynn2445 = 0 } - if yyr2412 || yy2arr2412 { + if yyr2445 || yy2arr2445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2412[0] { - yym2414 := z.EncBinary() - _ = yym2414 + if yyq2445[0] { + yym2447 := z.EncBinary() + _ = yym2447 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -31130,23 +31645,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2412[0] { + if yyq2445[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2415 := z.EncBinary() - _ = yym2415 + yym2448 := z.EncBinary() + _ = yym2448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2412 || yy2arr2412 { + if yyr2445 || yy2arr2445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2412[1] { - yym2417 := z.EncBinary() - _ = yym2417 + if yyq2445[1] { + yym2450 := z.EncBinary() + _ = yym2450 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -31155,23 +31670,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2412[1] { + if yyq2445[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2418 := z.EncBinary() - _ = yym2418 + yym2451 := z.EncBinary() + _ = yym2451 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2412 || yy2arr2412 { + if yyr2445 || yy2arr2445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2412[2] { - yym2420 := z.EncBinary() - _ = yym2420 + if yyq2445[2] { + yym2453 := z.EncBinary() + _ = yym2453 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -31180,23 +31695,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2412[2] { + if yyq2445[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2421 := z.EncBinary() - _ = yym2421 + yym2454 := z.EncBinary() + _ = yym2454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2412 || yy2arr2412 { + if yyr2445 || yy2arr2445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2412[3] { - yym2423 := z.EncBinary() - _ = yym2423 + if yyq2445[3] { + yym2456 := z.EncBinary() + _ = yym2456 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -31205,19 +31720,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2412[3] { + if yyq2445[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2424 := z.EncBinary() - _ = yym2424 + yym2457 := z.EncBinary() + _ = yym2457 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2412 || yy2arr2412 { + if yyr2445 || yy2arr2445 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31230,25 +31745,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2425 := z.DecBinary() - _ = yym2425 + yym2458 := z.DecBinary() + _ = yym2458 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2426 := r.ContainerType() - if yyct2426 == codecSelferValueTypeMap1234 { - yyl2426 := r.ReadMapStart() - if yyl2426 == 0 { + yyct2459 := r.ContainerType() + if yyct2459 == codecSelferValueTypeMap1234 { + yyl2459 := r.ReadMapStart() + if yyl2459 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2426, d) + x.codecDecodeSelfFromMap(yyl2459, d) } - } else if yyct2426 == codecSelferValueTypeArray1234 { - yyl2426 := r.ReadArrayStart() - if yyl2426 == 0 { + } else if yyct2459 == codecSelferValueTypeArray1234 { + yyl2459 := r.ReadArrayStart() + if yyl2459 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2426, d) + x.codecDecodeSelfFromArray(yyl2459, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31260,12 +31775,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2427Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2427Slc - var yyhl2427 bool = l >= 0 - for yyj2427 := 0; ; yyj2427++ { - if yyhl2427 { - if yyj2427 >= l { + var yys2460Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2460Slc + var yyhl2460 bool = l >= 0 + for yyj2460 := 0; ; yyj2460++ { + if yyhl2460 { + if yyj2460 >= l { break } } else { @@ -31274,10 +31789,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2427Slc = r.DecodeBytes(yys2427Slc, true, true) - yys2427 := string(yys2427Slc) + yys2460Slc = r.DecodeBytes(yys2460Slc, true, true) + yys2460 := string(yys2460Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2427 { + switch yys2460 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -31303,9 +31818,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2427) - } // end switch yys2427 - } // end for yyj2427 + z.DecStructFieldNotFound(-1, yys2460) + } // end switch yys2460 + } // end for yyj2460 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31313,16 +31828,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2432 int - var yyb2432 bool - var yyhl2432 bool = l >= 0 - yyj2432++ - if yyhl2432 { - yyb2432 = yyj2432 > l + var yyj2465 int + var yyb2465 bool + var yyhl2465 bool = l >= 0 + yyj2465++ + if yyhl2465 { + yyb2465 = yyj2465 > l } else { - yyb2432 = r.CheckBreak() + yyb2465 = r.CheckBreak() } - if yyb2432 { + if yyb2465 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31332,13 +31847,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2432++ - if yyhl2432 { - yyb2432 = yyj2432 > l + yyj2465++ + if yyhl2465 { + yyb2465 = yyj2465 > l } else { - yyb2432 = r.CheckBreak() + yyb2465 = r.CheckBreak() } - if yyb2432 { + if yyb2465 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31348,13 +31863,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2432++ - if yyhl2432 { - yyb2432 = yyj2432 > l + yyj2465++ + if yyhl2465 { + yyb2465 = yyj2465 > l } else { - yyb2432 = r.CheckBreak() + yyb2465 = r.CheckBreak() } - if yyb2432 { + if yyb2465 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31364,13 +31879,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2432++ - if yyhl2432 { - yyb2432 = yyj2432 > l + yyj2465++ + if yyhl2465 { + yyb2465 = yyj2465 > l } else { - yyb2432 = r.CheckBreak() + yyb2465 = r.CheckBreak() } - if yyb2432 { + if yyb2465 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31381,17 +31896,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2432++ - if yyhl2432 { - yyb2432 = yyj2432 > l + yyj2465++ + if yyhl2465 { + yyb2465 = yyj2465 > l } else { - yyb2432 = r.CheckBreak() + yyb2465 = r.CheckBreak() } - if yyb2432 { + if yyb2465 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2432-1, "") + z.DecStructFieldNotFound(yyj2465-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31403,33 +31918,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2437 := z.EncBinary() - _ = yym2437 + yym2470 := z.EncBinary() + _ = yym2470 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2438 := !z.EncBinary() - yy2arr2438 := z.EncBasicHandle().StructToArray - var yyq2438 [1]bool - _, _, _ = yysep2438, yyq2438, yy2arr2438 - const yyr2438 bool = false - var yynn2438 int - if yyr2438 || yy2arr2438 { + yysep2471 := !z.EncBinary() + yy2arr2471 := z.EncBasicHandle().StructToArray + var yyq2471 [1]bool + _, _, _ = yysep2471, yyq2471, yy2arr2471 + const yyr2471 bool = false + var yynn2471 int + if yyr2471 || yy2arr2471 { r.EncodeArrayStart(1) } else { - yynn2438 = 1 - for _, b := range yyq2438 { + yynn2471 = 1 + for _, b := range yyq2471 { if b { - yynn2438++ + yynn2471++ } } - r.EncodeMapStart(yynn2438) - yynn2438 = 0 + r.EncodeMapStart(yynn2471) + yynn2471 = 0 } - if yyr2438 || yy2arr2438 { + if yyr2471 || yy2arr2471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2440 := z.EncBinary() - _ = yym2440 + yym2473 := z.EncBinary() + _ = yym2473 if false { } else { r.EncodeInt(int64(x.Port)) @@ -31438,14 +31953,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2441 := z.EncBinary() - _ = yym2441 + yym2474 := z.EncBinary() + _ = yym2474 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2438 || yy2arr2438 { + if yyr2471 || yy2arr2471 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31458,25 +31973,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2442 := z.DecBinary() - _ = yym2442 + yym2475 := z.DecBinary() + _ = yym2475 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2443 := r.ContainerType() - if yyct2443 == codecSelferValueTypeMap1234 { - yyl2443 := r.ReadMapStart() - if yyl2443 == 0 { + yyct2476 := r.ContainerType() + if yyct2476 == codecSelferValueTypeMap1234 { + yyl2476 := r.ReadMapStart() + if yyl2476 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2443, d) + x.codecDecodeSelfFromMap(yyl2476, d) } - } else if yyct2443 == codecSelferValueTypeArray1234 { - yyl2443 := r.ReadArrayStart() - if yyl2443 == 0 { + } else if yyct2476 == codecSelferValueTypeArray1234 { + yyl2476 := r.ReadArrayStart() + if yyl2476 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2443, d) + x.codecDecodeSelfFromArray(yyl2476, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31488,12 +32003,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2444Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2444Slc - var yyhl2444 bool = l >= 0 - for yyj2444 := 0; ; yyj2444++ { - if yyhl2444 { - if yyj2444 >= l { + var yys2477Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2477Slc + var yyhl2477 bool = l >= 0 + for yyj2477 := 0; ; yyj2477++ { + if yyhl2477 { + if yyj2477 >= l { break } } else { @@ -31502,10 +32017,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2444Slc = r.DecodeBytes(yys2444Slc, true, true) - yys2444 := string(yys2444Slc) + yys2477Slc = r.DecodeBytes(yys2477Slc, true, true) + yys2477 := string(yys2477Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2444 { + switch yys2477 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -31513,9 +32028,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys2444) - } // end switch yys2444 - } // end for yyj2444 + z.DecStructFieldNotFound(-1, yys2477) + } // end switch yys2477 + } // end for yyj2477 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31523,16 +32038,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2446 int - var yyb2446 bool - var yyhl2446 bool = l >= 0 - yyj2446++ - if yyhl2446 { - yyb2446 = yyj2446 > l + var yyj2479 int + var yyb2479 bool + var yyhl2479 bool = l >= 0 + yyj2479++ + if yyhl2479 { + yyb2479 = yyj2479 > l } else { - yyb2446 = r.CheckBreak() + yyb2479 = r.CheckBreak() } - if yyb2446 { + if yyb2479 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31543,17 +32058,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj2446++ - if yyhl2446 { - yyb2446 = yyj2446 > l + yyj2479++ + if yyhl2479 { + yyb2479 = yyj2479 > l } else { - yyb2446 = r.CheckBreak() + yyb2479 = r.CheckBreak() } - if yyb2446 { + if yyb2479 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2446-1, "") + z.DecStructFieldNotFound(yyj2479-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31565,48 +32080,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2448 := z.EncBinary() - _ = yym2448 + yym2481 := z.EncBinary() + _ = yym2481 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2449 := !z.EncBinary() - yy2arr2449 := z.EncBasicHandle().StructToArray - var yyq2449 [1]bool - _, _, _ = yysep2449, yyq2449, yy2arr2449 - const yyr2449 bool = false - yyq2449[0] = true - var yynn2449 int - if yyr2449 || yy2arr2449 { + yysep2482 := !z.EncBinary() + yy2arr2482 := z.EncBasicHandle().StructToArray + var yyq2482 [1]bool + _, _, _ = yysep2482, yyq2482, yy2arr2482 + const yyr2482 bool = false + yyq2482[0] = true + var yynn2482 int + if yyr2482 || yy2arr2482 { r.EncodeArrayStart(1) } else { - yynn2449 = 0 - for _, b := range yyq2449 { + yynn2482 = 0 + for _, b := range yyq2482 { if b { - yynn2449++ + yynn2482++ } } - r.EncodeMapStart(yynn2449) - yynn2449 = 0 + r.EncodeMapStart(yynn2482) + yynn2482 = 0 } - if yyr2449 || yy2arr2449 { + if yyr2482 || yy2arr2482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2449[0] { - yy2451 := &x.KubeletEndpoint - yy2451.CodecEncodeSelf(e) + if yyq2482[0] { + yy2484 := &x.KubeletEndpoint + yy2484.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2449[0] { + if yyq2482[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2452 := &x.KubeletEndpoint - yy2452.CodecEncodeSelf(e) + yy2485 := &x.KubeletEndpoint + yy2485.CodecEncodeSelf(e) } } - if yyr2449 || yy2arr2449 { + if yyr2482 || yy2arr2482 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31619,25 +32134,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2453 := z.DecBinary() - _ = yym2453 + yym2486 := z.DecBinary() + _ = yym2486 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2454 := r.ContainerType() - if yyct2454 == codecSelferValueTypeMap1234 { - yyl2454 := r.ReadMapStart() - if yyl2454 == 0 { + yyct2487 := r.ContainerType() + if yyct2487 == codecSelferValueTypeMap1234 { + yyl2487 := r.ReadMapStart() + if yyl2487 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2454, d) + x.codecDecodeSelfFromMap(yyl2487, d) } - } else if yyct2454 == codecSelferValueTypeArray1234 { - yyl2454 := r.ReadArrayStart() - if yyl2454 == 0 { + } else if yyct2487 == codecSelferValueTypeArray1234 { + yyl2487 := r.ReadArrayStart() + if yyl2487 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2454, d) + x.codecDecodeSelfFromArray(yyl2487, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31649,12 +32164,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2455Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2455Slc - var yyhl2455 bool = l >= 0 - for yyj2455 := 0; ; yyj2455++ { - if yyhl2455 { - if yyj2455 >= l { + var yys2488Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2488Slc + var yyhl2488 bool = l >= 0 + for yyj2488 := 0; ; yyj2488++ { + if yyhl2488 { + if yyj2488 >= l { break } } else { @@ -31663,21 +32178,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2455Slc = r.DecodeBytes(yys2455Slc, true, true) - yys2455 := string(yys2455Slc) + yys2488Slc = r.DecodeBytes(yys2488Slc, true, true) + yys2488 := string(yys2488Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2455 { + switch yys2488 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2456 := &x.KubeletEndpoint - yyv2456.CodecDecodeSelf(d) + yyv2489 := &x.KubeletEndpoint + yyv2489.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2455) - } // end switch yys2455 - } // end for yyj2455 + z.DecStructFieldNotFound(-1, yys2488) + } // end switch yys2488 + } // end for yyj2488 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31685,16 +32200,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2457 int - var yyb2457 bool - var yyhl2457 bool = l >= 0 - yyj2457++ - if yyhl2457 { - yyb2457 = yyj2457 > l + var yyj2490 int + var yyb2490 bool + var yyhl2490 bool = l >= 0 + yyj2490++ + if yyhl2490 { + yyb2490 = yyj2490 > l } else { - yyb2457 = r.CheckBreak() + yyb2490 = r.CheckBreak() } - if yyb2457 { + if yyb2490 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31702,21 +32217,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2458 := &x.KubeletEndpoint - yyv2458.CodecDecodeSelf(d) + yyv2491 := &x.KubeletEndpoint + yyv2491.CodecDecodeSelf(d) } for { - yyj2457++ - if yyhl2457 { - yyb2457 = yyj2457 > l + yyj2490++ + if yyhl2490 { + yyb2490 = yyj2490 > l } else { - yyb2457 = r.CheckBreak() + yyb2490 = r.CheckBreak() } - if yyb2457 { + if yyb2490 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2457-1, "") + z.DecStructFieldNotFound(yyj2490-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31728,33 +32243,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2459 := z.EncBinary() - _ = yym2459 + yym2492 := z.EncBinary() + _ = yym2492 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2460 := !z.EncBinary() - yy2arr2460 := z.EncBasicHandle().StructToArray - var yyq2460 [8]bool - _, _, _ = yysep2460, yyq2460, yy2arr2460 - const yyr2460 bool = false - var yynn2460 int - if yyr2460 || yy2arr2460 { + yysep2493 := !z.EncBinary() + yy2arr2493 := z.EncBasicHandle().StructToArray + var yyq2493 [8]bool + _, _, _ = yysep2493, yyq2493, yy2arr2493 + const yyr2493 bool = false + var yynn2493 int + if yyr2493 || yy2arr2493 { r.EncodeArrayStart(8) } else { - yynn2460 = 8 - for _, b := range yyq2460 { + yynn2493 = 8 + for _, b := range yyq2493 { if b { - yynn2460++ + yynn2493++ } } - r.EncodeMapStart(yynn2460) - yynn2460 = 0 + r.EncodeMapStart(yynn2493) + yynn2493 = 0 } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2462 := z.EncBinary() - _ = yym2462 + yym2495 := z.EncBinary() + _ = yym2495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -31763,17 +32278,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2463 := z.EncBinary() - _ = yym2463 + yym2496 := z.EncBinary() + _ = yym2496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2465 := z.EncBinary() - _ = yym2465 + yym2498 := z.EncBinary() + _ = yym2498 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -31782,17 +32297,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2466 := z.EncBinary() - _ = yym2466 + yym2499 := z.EncBinary() + _ = yym2499 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2468 := z.EncBinary() - _ = yym2468 + yym2501 := z.EncBinary() + _ = yym2501 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -31801,17 +32316,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2469 := z.EncBinary() - _ = yym2469 + yym2502 := z.EncBinary() + _ = yym2502 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2471 := z.EncBinary() - _ = yym2471 + yym2504 := z.EncBinary() + _ = yym2504 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -31820,17 +32335,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2472 := z.EncBinary() - _ = yym2472 + yym2505 := z.EncBinary() + _ = yym2505 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2474 := z.EncBinary() - _ = yym2474 + yym2507 := z.EncBinary() + _ = yym2507 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -31839,17 +32354,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2475 := z.EncBinary() - _ = yym2475 + yym2508 := z.EncBinary() + _ = yym2508 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2477 := z.EncBinary() - _ = yym2477 + yym2510 := z.EncBinary() + _ = yym2510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -31858,17 +32373,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2478 := z.EncBinary() - _ = yym2478 + yym2511 := z.EncBinary() + _ = yym2511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2480 := z.EncBinary() - _ = yym2480 + yym2513 := z.EncBinary() + _ = yym2513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -31877,17 +32392,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2481 := z.EncBinary() - _ = yym2481 + yym2514 := z.EncBinary() + _ = yym2514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2483 := z.EncBinary() - _ = yym2483 + yym2516 := z.EncBinary() + _ = yym2516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -31896,14 +32411,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2484 := z.EncBinary() - _ = yym2484 + yym2517 := z.EncBinary() + _ = yym2517 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2460 || yy2arr2460 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31916,25 +32431,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2485 := z.DecBinary() - _ = yym2485 + yym2518 := z.DecBinary() + _ = yym2518 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2486 := r.ContainerType() - if yyct2486 == codecSelferValueTypeMap1234 { - yyl2486 := r.ReadMapStart() - if yyl2486 == 0 { + yyct2519 := r.ContainerType() + if yyct2519 == codecSelferValueTypeMap1234 { + yyl2519 := r.ReadMapStart() + if yyl2519 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2486, d) + x.codecDecodeSelfFromMap(yyl2519, d) } - } else if yyct2486 == codecSelferValueTypeArray1234 { - yyl2486 := r.ReadArrayStart() - if yyl2486 == 0 { + } else if yyct2519 == codecSelferValueTypeArray1234 { + yyl2519 := r.ReadArrayStart() + if yyl2519 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2486, d) + x.codecDecodeSelfFromArray(yyl2519, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31946,12 +32461,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2487Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2487Slc - var yyhl2487 bool = l >= 0 - for yyj2487 := 0; ; yyj2487++ { - if yyhl2487 { - if yyj2487 >= l { + var yys2520Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2520Slc + var yyhl2520 bool = l >= 0 + for yyj2520 := 0; ; yyj2520++ { + if yyhl2520 { + if yyj2520 >= l { break } } else { @@ -31960,10 +32475,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2487Slc = r.DecodeBytes(yys2487Slc, true, true) - yys2487 := string(yys2487Slc) + yys2520Slc = r.DecodeBytes(yys2520Slc, true, true) + yys2520 := string(yys2520Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2487 { + switch yys2520 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -32013,9 +32528,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2487) - } // end switch yys2487 - } // end for yyj2487 + z.DecStructFieldNotFound(-1, yys2520) + } // end switch yys2520 + } // end for yyj2520 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32023,16 +32538,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2496 int - var yyb2496 bool - var yyhl2496 bool = l >= 0 - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + var yyj2529 int + var yyb2529 bool + var yyhl2529 bool = l >= 0 + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32042,13 +32557,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32058,13 +32573,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32074,13 +32589,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32090,13 +32605,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32106,13 +32621,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32122,13 +32637,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32138,13 +32653,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32155,17 +32670,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } for { - yyj2496++ - if yyhl2496 { - yyb2496 = yyj2496 > l + yyj2529++ + if yyhl2529 { + yyb2529 = yyj2529 > l } else { - yyb2496 = r.CheckBreak() + yyb2529 = r.CheckBreak() } - if yyb2496 { + if yyb2529 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2496-1, "") + z.DecStructFieldNotFound(yyj2529-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32177,39 +32692,39 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2505 := z.EncBinary() - _ = yym2505 + yym2538 := z.EncBinary() + _ = yym2538 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2506 := !z.EncBinary() - yy2arr2506 := z.EncBasicHandle().StructToArray - var yyq2506 [8]bool - _, _, _ = yysep2506, yyq2506, yy2arr2506 - const yyr2506 bool = false - yyq2506[0] = len(x.Capacity) != 0 - yyq2506[1] = len(x.Allocatable) != 0 - yyq2506[2] = x.Phase != "" - yyq2506[3] = len(x.Conditions) != 0 - yyq2506[4] = len(x.Addresses) != 0 - yyq2506[5] = true - yyq2506[6] = true - var yynn2506 int - if yyr2506 || yy2arr2506 { + yysep2539 := !z.EncBinary() + yy2arr2539 := z.EncBasicHandle().StructToArray + var yyq2539 [8]bool + _, _, _ = yysep2539, yyq2539, yy2arr2539 + const yyr2539 bool = false + yyq2539[0] = len(x.Capacity) != 0 + yyq2539[1] = len(x.Allocatable) != 0 + yyq2539[2] = x.Phase != "" + yyq2539[3] = len(x.Conditions) != 0 + yyq2539[4] = len(x.Addresses) != 0 + yyq2539[5] = true + yyq2539[6] = true + var yynn2539 int + if yyr2539 || yy2arr2539 { r.EncodeArrayStart(8) } else { - yynn2506 = 1 - for _, b := range yyq2506 { + yynn2539 = 1 + for _, b := range yyq2539 { if b { - yynn2506++ + yynn2539++ } } - r.EncodeMapStart(yynn2506) - yynn2506 = 0 + r.EncodeMapStart(yynn2539) + yynn2539 = 0 } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[0] { + if yyq2539[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -32219,7 +32734,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2506[0] { + if yyq2539[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -32230,9 +32745,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[1] { + if yyq2539[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -32242,7 +32757,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2506[1] { + if yyq2539[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -32253,29 +32768,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[2] { + if yyq2539[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2506[2] { + if yyq2539[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[3] { + if yyq2539[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym2511 := z.EncBinary() - _ = yym2511 + yym2544 := z.EncBinary() + _ = yym2544 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -32285,15 +32800,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2506[3] { + if yyq2539[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2512 := z.EncBinary() - _ = yym2512 + yym2545 := z.EncBinary() + _ = yym2545 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -32301,14 +32816,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[4] { + if yyq2539[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym2514 := z.EncBinary() - _ = yym2514 + yym2547 := z.EncBinary() + _ = yym2547 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -32318,15 +32833,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2506[4] { + if yyq2539[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2515 := z.EncBinary() - _ = yym2515 + yym2548 := z.EncBinary() + _ = yym2548 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -32334,47 +32849,47 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[5] { - yy2517 := &x.DaemonEndpoints - yy2517.CodecEncodeSelf(e) + if yyq2539[5] { + yy2550 := &x.DaemonEndpoints + yy2550.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2506[5] { + if yyq2539[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2518 := &x.DaemonEndpoints - yy2518.CodecEncodeSelf(e) + yy2551 := &x.DaemonEndpoints + yy2551.CodecEncodeSelf(e) } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2506[6] { - yy2520 := &x.NodeInfo - yy2520.CodecEncodeSelf(e) + if yyq2539[6] { + yy2553 := &x.NodeInfo + yy2553.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2506[6] { + if yyq2539[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2521 := &x.NodeInfo - yy2521.CodecEncodeSelf(e) + yy2554 := &x.NodeInfo + yy2554.CodecEncodeSelf(e) } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Images == nil { r.EncodeNil() } else { - yym2523 := z.EncBinary() - _ = yym2523 + yym2556 := z.EncBinary() + _ = yym2556 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -32387,15 +32902,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x.Images == nil { r.EncodeNil() } else { - yym2524 := z.EncBinary() - _ = yym2524 + yym2557 := z.EncBinary() + _ = yym2557 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) } } } - if yyr2506 || yy2arr2506 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32408,25 +32923,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2525 := z.DecBinary() - _ = yym2525 + yym2558 := z.DecBinary() + _ = yym2558 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2526 := r.ContainerType() - if yyct2526 == codecSelferValueTypeMap1234 { - yyl2526 := r.ReadMapStart() - if yyl2526 == 0 { + yyct2559 := r.ContainerType() + if yyct2559 == codecSelferValueTypeMap1234 { + yyl2559 := r.ReadMapStart() + if yyl2559 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2526, d) + x.codecDecodeSelfFromMap(yyl2559, d) } - } else if yyct2526 == codecSelferValueTypeArray1234 { - yyl2526 := r.ReadArrayStart() - if yyl2526 == 0 { + } else if yyct2559 == codecSelferValueTypeArray1234 { + yyl2559 := r.ReadArrayStart() + if yyl2559 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2526, d) + x.codecDecodeSelfFromArray(yyl2559, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32438,12 +32953,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2527Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2527Slc - var yyhl2527 bool = l >= 0 - for yyj2527 := 0; ; yyj2527++ { - if yyhl2527 { - if yyj2527 >= l { + var yys2560Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2560Slc + var yyhl2560 bool = l >= 0 + for yyj2560 := 0; ; yyj2560++ { + if yyhl2560 { + if yyj2560 >= l { break } } else { @@ -32452,23 +32967,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2527Slc = r.DecodeBytes(yys2527Slc, true, true) - yys2527 := string(yys2527Slc) + yys2560Slc = r.DecodeBytes(yys2560Slc, true, true) + yys2560 := string(yys2560Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2527 { + switch yys2560 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2528 := &x.Capacity - yyv2528.CodecDecodeSelf(d) + yyv2561 := &x.Capacity + yyv2561.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2529 := &x.Allocatable - yyv2529.CodecDecodeSelf(d) + yyv2562 := &x.Allocatable + yyv2562.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -32480,56 +32995,56 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2531 := &x.Conditions - yym2532 := z.DecBinary() - _ = yym2532 + yyv2564 := &x.Conditions + yym2565 := z.DecBinary() + _ = yym2565 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2531), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2564), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2533 := &x.Addresses - yym2534 := z.DecBinary() - _ = yym2534 + yyv2566 := &x.Addresses + yym2567 := z.DecBinary() + _ = yym2567 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2533), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2566), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2535 := &x.DaemonEndpoints - yyv2535.CodecDecodeSelf(d) + yyv2568 := &x.DaemonEndpoints + yyv2568.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2536 := &x.NodeInfo - yyv2536.CodecDecodeSelf(d) + yyv2569 := &x.NodeInfo + yyv2569.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv2537 := &x.Images - yym2538 := z.DecBinary() - _ = yym2538 + yyv2570 := &x.Images + yym2571 := z.DecBinary() + _ = yym2571 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv2537), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2570), d) } } default: - z.DecStructFieldNotFound(-1, yys2527) - } // end switch yys2527 - } // end for yyj2527 + z.DecStructFieldNotFound(-1, yys2560) + } // end switch yys2560 + } // end for yyj2560 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32537,16 +33052,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2539 int - var yyb2539 bool - var yyhl2539 bool = l >= 0 - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + var yyj2572 int + var yyb2572 bool + var yyhl2572 bool = l >= 0 + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32554,16 +33069,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2540 := &x.Capacity - yyv2540.CodecDecodeSelf(d) + yyv2573 := &x.Capacity + yyv2573.CodecDecodeSelf(d) } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32571,16 +33086,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2541 := &x.Allocatable - yyv2541.CodecDecodeSelf(d) + yyv2574 := &x.Allocatable + yyv2574.CodecDecodeSelf(d) } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32590,13 +33105,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32604,21 +33119,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2543 := &x.Conditions - yym2544 := z.DecBinary() - _ = yym2544 + yyv2576 := &x.Conditions + yym2577 := z.DecBinary() + _ = yym2577 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2543), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2576), d) } } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32626,21 +33141,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2545 := &x.Addresses - yym2546 := z.DecBinary() - _ = yym2546 + yyv2578 := &x.Addresses + yym2579 := z.DecBinary() + _ = yym2579 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2545), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2578), d) } } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32648,16 +33163,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2547 := &x.DaemonEndpoints - yyv2547.CodecDecodeSelf(d) + yyv2580 := &x.DaemonEndpoints + yyv2580.CodecDecodeSelf(d) } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32665,16 +33180,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2548 := &x.NodeInfo - yyv2548.CodecDecodeSelf(d) + yyv2581 := &x.NodeInfo + yyv2581.CodecDecodeSelf(d) } - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32682,26 +33197,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv2549 := &x.Images - yym2550 := z.DecBinary() - _ = yym2550 + yyv2582 := &x.Images + yym2583 := z.DecBinary() + _ = yym2583 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv2549), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2582), d) } } for { - yyj2539++ - if yyhl2539 { - yyb2539 = yyj2539 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2539 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2539 { + if yyb2572 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2539-1, "") + z.DecStructFieldNotFound(yyj2572-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32713,37 +33228,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2551 := z.EncBinary() - _ = yym2551 + yym2584 := z.EncBinary() + _ = yym2584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2552 := !z.EncBinary() - yy2arr2552 := z.EncBasicHandle().StructToArray - var yyq2552 [2]bool - _, _, _ = yysep2552, yyq2552, yy2arr2552 - const yyr2552 bool = false - yyq2552[1] = x.Size != 0 - var yynn2552 int - if yyr2552 || yy2arr2552 { + yysep2585 := !z.EncBinary() + yy2arr2585 := z.EncBasicHandle().StructToArray + var yyq2585 [2]bool + _, _, _ = yysep2585, yyq2585, yy2arr2585 + const yyr2585 bool = false + yyq2585[1] = x.Size != 0 + var yynn2585 int + if yyr2585 || yy2arr2585 { r.EncodeArrayStart(2) } else { - yynn2552 = 1 - for _, b := range yyq2552 { + yynn2585 = 1 + for _, b := range yyq2585 { if b { - yynn2552++ + yynn2585++ } } - r.EncodeMapStart(yynn2552) - yynn2552 = 0 + r.EncodeMapStart(yynn2585) + yynn2585 = 0 } - if yyr2552 || yy2arr2552 { + if yyr2585 || yy2arr2585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.RepoTags == nil { r.EncodeNil() } else { - yym2554 := z.EncBinary() - _ = yym2554 + yym2587 := z.EncBinary() + _ = yym2587 if false { } else { z.F.EncSliceStringV(x.RepoTags, false, e) @@ -32756,19 +33271,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.RepoTags == nil { r.EncodeNil() } else { - yym2555 := z.EncBinary() - _ = yym2555 + yym2588 := z.EncBinary() + _ = yym2588 if false { } else { z.F.EncSliceStringV(x.RepoTags, false, e) } } } - if yyr2552 || yy2arr2552 { + if yyr2585 || yy2arr2585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2552[1] { - yym2557 := z.EncBinary() - _ = yym2557 + if yyq2585[1] { + yym2590 := z.EncBinary() + _ = yym2590 if false { } else { r.EncodeInt(int64(x.Size)) @@ -32777,19 +33292,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2552[1] { + if yyq2585[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("size")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2558 := z.EncBinary() - _ = yym2558 + yym2591 := z.EncBinary() + _ = yym2591 if false { } else { r.EncodeInt(int64(x.Size)) } } } - if yyr2552 || yy2arr2552 { + if yyr2585 || yy2arr2585 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32802,25 +33317,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2559 := z.DecBinary() - _ = yym2559 + yym2592 := z.DecBinary() + _ = yym2592 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2560 := r.ContainerType() - if yyct2560 == codecSelferValueTypeMap1234 { - yyl2560 := r.ReadMapStart() - if yyl2560 == 0 { + yyct2593 := r.ContainerType() + if yyct2593 == codecSelferValueTypeMap1234 { + yyl2593 := r.ReadMapStart() + if yyl2593 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2560, d) + x.codecDecodeSelfFromMap(yyl2593, d) } - } else if yyct2560 == codecSelferValueTypeArray1234 { - yyl2560 := r.ReadArrayStart() - if yyl2560 == 0 { + } else if yyct2593 == codecSelferValueTypeArray1234 { + yyl2593 := r.ReadArrayStart() + if yyl2593 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2560, d) + x.codecDecodeSelfFromArray(yyl2593, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32832,12 +33347,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2561Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2561Slc - var yyhl2561 bool = l >= 0 - for yyj2561 := 0; ; yyj2561++ { - if yyhl2561 { - if yyj2561 >= l { + var yys2594Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2594Slc + var yyhl2594 bool = l >= 0 + for yyj2594 := 0; ; yyj2594++ { + if yyhl2594 { + if yyj2594 >= l { break } } else { @@ -32846,20 +33361,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2561Slc = r.DecodeBytes(yys2561Slc, true, true) - yys2561 := string(yys2561Slc) + yys2594Slc = r.DecodeBytes(yys2594Slc, true, true) + yys2594 := string(yys2594Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2561 { + switch yys2594 { case "repoTags": if r.TryDecodeAsNil() { x.RepoTags = nil } else { - yyv2562 := &x.RepoTags - yym2563 := z.DecBinary() - _ = yym2563 + yyv2595 := &x.RepoTags + yym2596 := z.DecBinary() + _ = yym2596 if false { } else { - z.F.DecSliceStringX(yyv2562, false, d) + z.F.DecSliceStringX(yyv2595, false, d) } } case "size": @@ -32869,9 +33384,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Size = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys2561) - } // end switch yys2561 - } // end for yyj2561 + z.DecStructFieldNotFound(-1, yys2594) + } // end switch yys2594 + } // end for yyj2594 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32879,16 +33394,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2565 int - var yyb2565 bool - var yyhl2565 bool = l >= 0 - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + var yyj2598 int + var yyb2598 bool + var yyhl2598 bool = l >= 0 + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l } else { - yyb2565 = r.CheckBreak() + yyb2598 = r.CheckBreak() } - if yyb2565 { + if yyb2598 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32896,21 +33411,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RepoTags = nil } else { - yyv2566 := &x.RepoTags - yym2567 := z.DecBinary() - _ = yym2567 + yyv2599 := &x.RepoTags + yym2600 := z.DecBinary() + _ = yym2600 if false { } else { - z.F.DecSliceStringX(yyv2566, false, d) + z.F.DecSliceStringX(yyv2599, false, d) } } - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l } else { - yyb2565 = r.CheckBreak() + yyb2598 = r.CheckBreak() } - if yyb2565 { + if yyb2598 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32921,17 +33436,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Size = int64(r.DecodeInt(64)) } for { - yyj2565++ - if yyhl2565 { - yyb2565 = yyj2565 > l + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l } else { - yyb2565 = r.CheckBreak() + yyb2598 = r.CheckBreak() } - if yyb2565 { + if yyb2598 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2565-1, "") + z.DecStructFieldNotFound(yyj2598-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32940,8 +33455,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2569 := z.EncBinary() - _ = yym2569 + yym2602 := z.EncBinary() + _ = yym2602 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32953,8 +33468,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2570 := z.DecBinary() - _ = yym2570 + yym2603 := z.DecBinary() + _ = yym2603 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32966,8 +33481,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2571 := z.EncBinary() - _ = yym2571 + yym2604 := z.EncBinary() + _ = yym2604 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32979,8 +33494,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2572 := z.DecBinary() - _ = yym2572 + yym2605 := z.DecBinary() + _ = yym2605 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32995,34 +33510,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2573 := z.EncBinary() - _ = yym2573 + yym2606 := z.EncBinary() + _ = yym2606 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2574 := !z.EncBinary() - yy2arr2574 := z.EncBasicHandle().StructToArray - var yyq2574 [6]bool - _, _, _ = yysep2574, yyq2574, yy2arr2574 - const yyr2574 bool = false - yyq2574[2] = true - yyq2574[3] = true - yyq2574[4] = x.Reason != "" - yyq2574[5] = x.Message != "" - var yynn2574 int - if yyr2574 || yy2arr2574 { + yysep2607 := !z.EncBinary() + yy2arr2607 := z.EncBasicHandle().StructToArray + var yyq2607 [6]bool + _, _, _ = yysep2607, yyq2607, yy2arr2607 + const yyr2607 bool = false + yyq2607[2] = true + yyq2607[3] = true + yyq2607[4] = x.Reason != "" + yyq2607[5] = x.Message != "" + var yynn2607 int + if yyr2607 || yy2arr2607 { r.EncodeArrayStart(6) } else { - yynn2574 = 2 - for _, b := range yyq2574 { + yynn2607 = 2 + for _, b := range yyq2607 { if b { - yynn2574++ + yynn2607++ } } - r.EncodeMapStart(yynn2574) - yynn2574 = 0 + r.EncodeMapStart(yynn2607) + yynn2607 = 0 } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -33031,7 +33546,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -33040,85 +33555,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2574[2] { - yy2578 := &x.LastHeartbeatTime - yym2579 := z.EncBinary() - _ = yym2579 + if yyq2607[2] { + yy2611 := &x.LastHeartbeatTime + yym2612 := z.EncBinary() + _ = yym2612 if false { - } else if z.HasExtensions() && z.EncExt(yy2578) { - } else if yym2579 { - z.EncBinaryMarshal(yy2578) - } else if !yym2579 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2578) + } else if z.HasExtensions() && z.EncExt(yy2611) { + } else if yym2612 { + z.EncBinaryMarshal(yy2611) + } else if !yym2612 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2611) } else { - z.EncFallback(yy2578) + z.EncFallback(yy2611) } } else { r.EncodeNil() } } else { - if yyq2574[2] { + if yyq2607[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2580 := &x.LastHeartbeatTime - yym2581 := z.EncBinary() - _ = yym2581 + yy2613 := &x.LastHeartbeatTime + yym2614 := z.EncBinary() + _ = yym2614 if false { - } else if z.HasExtensions() && z.EncExt(yy2580) { - } else if yym2581 { - z.EncBinaryMarshal(yy2580) - } else if !yym2581 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2580) + } else if z.HasExtensions() && z.EncExt(yy2613) { + } else if yym2614 { + z.EncBinaryMarshal(yy2613) + } else if !yym2614 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2613) } else { - z.EncFallback(yy2580) + z.EncFallback(yy2613) } } } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2574[3] { - yy2583 := &x.LastTransitionTime - yym2584 := z.EncBinary() - _ = yym2584 + if yyq2607[3] { + yy2616 := &x.LastTransitionTime + yym2617 := z.EncBinary() + _ = yym2617 if false { - } else if z.HasExtensions() && z.EncExt(yy2583) { - } else if yym2584 { - z.EncBinaryMarshal(yy2583) - } else if !yym2584 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2583) + } else if z.HasExtensions() && z.EncExt(yy2616) { + } else if yym2617 { + z.EncBinaryMarshal(yy2616) + } else if !yym2617 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2616) } else { - z.EncFallback(yy2583) + z.EncFallback(yy2616) } } else { r.EncodeNil() } } else { - if yyq2574[3] { + if yyq2607[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2585 := &x.LastTransitionTime - yym2586 := z.EncBinary() - _ = yym2586 + yy2618 := &x.LastTransitionTime + yym2619 := z.EncBinary() + _ = yym2619 if false { - } else if z.HasExtensions() && z.EncExt(yy2585) { - } else if yym2586 { - z.EncBinaryMarshal(yy2585) - } else if !yym2586 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2585) + } else if z.HasExtensions() && z.EncExt(yy2618) { + } else if yym2619 { + z.EncBinaryMarshal(yy2618) + } else if !yym2619 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2618) } else { - z.EncFallback(yy2585) + z.EncFallback(yy2618) } } } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2574[4] { - yym2588 := z.EncBinary() - _ = yym2588 + if yyq2607[4] { + yym2621 := z.EncBinary() + _ = yym2621 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -33127,23 +33642,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2574[4] { + if yyq2607[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2589 := z.EncBinary() - _ = yym2589 + yym2622 := z.EncBinary() + _ = yym2622 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2574[5] { - yym2591 := z.EncBinary() - _ = yym2591 + if yyq2607[5] { + yym2624 := z.EncBinary() + _ = yym2624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -33152,19 +33667,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2574[5] { + if yyq2607[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2592 := z.EncBinary() - _ = yym2592 + yym2625 := z.EncBinary() + _ = yym2625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2574 || yy2arr2574 { + if yyr2607 || yy2arr2607 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33177,25 +33692,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2593 := z.DecBinary() - _ = yym2593 + yym2626 := z.DecBinary() + _ = yym2626 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2594 := r.ContainerType() - if yyct2594 == codecSelferValueTypeMap1234 { - yyl2594 := r.ReadMapStart() - if yyl2594 == 0 { + yyct2627 := r.ContainerType() + if yyct2627 == codecSelferValueTypeMap1234 { + yyl2627 := r.ReadMapStart() + if yyl2627 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2594, d) + x.codecDecodeSelfFromMap(yyl2627, d) } - } else if yyct2594 == codecSelferValueTypeArray1234 { - yyl2594 := r.ReadArrayStart() - if yyl2594 == 0 { + } else if yyct2627 == codecSelferValueTypeArray1234 { + yyl2627 := r.ReadArrayStart() + if yyl2627 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2594, d) + x.codecDecodeSelfFromArray(yyl2627, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33207,12 +33722,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2595Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2595Slc - var yyhl2595 bool = l >= 0 - for yyj2595 := 0; ; yyj2595++ { - if yyhl2595 { - if yyj2595 >= l { + var yys2628Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2628Slc + var yyhl2628 bool = l >= 0 + for yyj2628 := 0; ; yyj2628++ { + if yyhl2628 { + if yyj2628 >= l { break } } else { @@ -33221,10 +33736,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2595Slc = r.DecodeBytes(yys2595Slc, true, true) - yys2595 := string(yys2595Slc) + yys2628Slc = r.DecodeBytes(yys2628Slc, true, true) + yys2628 := string(yys2628Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2595 { + switch yys2628 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -33241,34 +33756,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2598 := &x.LastHeartbeatTime - yym2599 := z.DecBinary() - _ = yym2599 + yyv2631 := &x.LastHeartbeatTime + yym2632 := z.DecBinary() + _ = yym2632 if false { - } else if z.HasExtensions() && z.DecExt(yyv2598) { - } else if yym2599 { - z.DecBinaryUnmarshal(yyv2598) - } else if !yym2599 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2598) + } else if z.HasExtensions() && z.DecExt(yyv2631) { + } else if yym2632 { + z.DecBinaryUnmarshal(yyv2631) + } else if !yym2632 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2631) } else { - z.DecFallback(yyv2598, false) + z.DecFallback(yyv2631, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2600 := &x.LastTransitionTime - yym2601 := z.DecBinary() - _ = yym2601 + yyv2633 := &x.LastTransitionTime + yym2634 := z.DecBinary() + _ = yym2634 if false { - } else if z.HasExtensions() && z.DecExt(yyv2600) { - } else if yym2601 { - z.DecBinaryUnmarshal(yyv2600) - } else if !yym2601 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2600) + } else if z.HasExtensions() && z.DecExt(yyv2633) { + } else if yym2634 { + z.DecBinaryUnmarshal(yyv2633) + } else if !yym2634 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2633) } else { - z.DecFallback(yyv2600, false) + z.DecFallback(yyv2633, false) } } case "reason": @@ -33284,9 +33799,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2595) - } // end switch yys2595 - } // end for yyj2595 + z.DecStructFieldNotFound(-1, yys2628) + } // end switch yys2628 + } // end for yyj2628 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33294,16 +33809,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2604 int - var yyb2604 bool - var yyhl2604 bool = l >= 0 - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + var yyj2637 int + var yyb2637 bool + var yyhl2637 bool = l >= 0 + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33313,13 +33828,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33329,13 +33844,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33343,26 +33858,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2607 := &x.LastHeartbeatTime - yym2608 := z.DecBinary() - _ = yym2608 + yyv2640 := &x.LastHeartbeatTime + yym2641 := z.DecBinary() + _ = yym2641 if false { - } else if z.HasExtensions() && z.DecExt(yyv2607) { - } else if yym2608 { - z.DecBinaryUnmarshal(yyv2607) - } else if !yym2608 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2607) + } else if z.HasExtensions() && z.DecExt(yyv2640) { + } else if yym2641 { + z.DecBinaryUnmarshal(yyv2640) + } else if !yym2641 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2640) } else { - z.DecFallback(yyv2607, false) + z.DecFallback(yyv2640, false) } } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33370,26 +33885,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2609 := &x.LastTransitionTime - yym2610 := z.DecBinary() - _ = yym2610 + yyv2642 := &x.LastTransitionTime + yym2643 := z.DecBinary() + _ = yym2643 if false { - } else if z.HasExtensions() && z.DecExt(yyv2609) { - } else if yym2610 { - z.DecBinaryUnmarshal(yyv2609) - } else if !yym2610 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2609) + } else if z.HasExtensions() && z.DecExt(yyv2642) { + } else if yym2643 { + z.DecBinaryUnmarshal(yyv2642) + } else if !yym2643 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2642) } else { - z.DecFallback(yyv2609, false) + z.DecFallback(yyv2642, false) } } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33399,13 +33914,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33416,17 +33931,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj2604++ - if yyhl2604 { - yyb2604 = yyj2604 > l + yyj2637++ + if yyhl2637 { + yyb2637 = yyj2637 > l } else { - yyb2604 = r.CheckBreak() + yyb2637 = r.CheckBreak() } - if yyb2604 { + if yyb2637 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2604-1, "") + z.DecStructFieldNotFound(yyj2637-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33435,8 +33950,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2613 := z.EncBinary() - _ = yym2613 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33448,8 +33963,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2614 := z.DecBinary() - _ = yym2614 + yym2647 := z.DecBinary() + _ = yym2647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33464,30 +33979,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2615 := z.EncBinary() - _ = yym2615 + yym2648 := z.EncBinary() + _ = yym2648 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2616 := !z.EncBinary() - yy2arr2616 := z.EncBasicHandle().StructToArray - var yyq2616 [2]bool - _, _, _ = yysep2616, yyq2616, yy2arr2616 - const yyr2616 bool = false - var yynn2616 int - if yyr2616 || yy2arr2616 { + yysep2649 := !z.EncBinary() + yy2arr2649 := z.EncBasicHandle().StructToArray + var yyq2649 [2]bool + _, _, _ = yysep2649, yyq2649, yy2arr2649 + const yyr2649 bool = false + var yynn2649 int + if yyr2649 || yy2arr2649 { r.EncodeArrayStart(2) } else { - yynn2616 = 2 - for _, b := range yyq2616 { + yynn2649 = 2 + for _, b := range yyq2649 { if b { - yynn2616++ + yynn2649++ } } - r.EncodeMapStart(yynn2616) - yynn2616 = 0 + r.EncodeMapStart(yynn2649) + yynn2649 = 0 } - if yyr2616 || yy2arr2616 { + if yyr2649 || yy2arr2649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -33496,10 +34011,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2616 || yy2arr2616 { + if yyr2649 || yy2arr2649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2619 := z.EncBinary() - _ = yym2619 + yym2652 := z.EncBinary() + _ = yym2652 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -33508,14 +34023,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2620 := z.EncBinary() - _ = yym2620 + yym2653 := z.EncBinary() + _ = yym2653 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2616 || yy2arr2616 { + if yyr2649 || yy2arr2649 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33528,25 +34043,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2621 := z.DecBinary() - _ = yym2621 + yym2654 := z.DecBinary() + _ = yym2654 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2622 := r.ContainerType() - if yyct2622 == codecSelferValueTypeMap1234 { - yyl2622 := r.ReadMapStart() - if yyl2622 == 0 { + yyct2655 := r.ContainerType() + if yyct2655 == codecSelferValueTypeMap1234 { + yyl2655 := r.ReadMapStart() + if yyl2655 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2622, d) + x.codecDecodeSelfFromMap(yyl2655, d) } - } else if yyct2622 == codecSelferValueTypeArray1234 { - yyl2622 := r.ReadArrayStart() - if yyl2622 == 0 { + } else if yyct2655 == codecSelferValueTypeArray1234 { + yyl2655 := r.ReadArrayStart() + if yyl2655 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2622, d) + x.codecDecodeSelfFromArray(yyl2655, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33558,12 +34073,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2623Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2623Slc - var yyhl2623 bool = l >= 0 - for yyj2623 := 0; ; yyj2623++ { - if yyhl2623 { - if yyj2623 >= l { + var yys2656Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2656Slc + var yyhl2656 bool = l >= 0 + for yyj2656 := 0; ; yyj2656++ { + if yyhl2656 { + if yyj2656 >= l { break } } else { @@ -33572,10 +34087,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2623Slc = r.DecodeBytes(yys2623Slc, true, true) - yys2623 := string(yys2623Slc) + yys2656Slc = r.DecodeBytes(yys2656Slc, true, true) + yys2656 := string(yys2656Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2623 { + switch yys2656 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -33589,9 +34104,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2623) - } // end switch yys2623 - } // end for yyj2623 + z.DecStructFieldNotFound(-1, yys2656) + } // end switch yys2656 + } // end for yyj2656 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33599,16 +34114,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2626 int - var yyb2626 bool - var yyhl2626 bool = l >= 0 - yyj2626++ - if yyhl2626 { - yyb2626 = yyj2626 > l + var yyj2659 int + var yyb2659 bool + var yyhl2659 bool = l >= 0 + yyj2659++ + if yyhl2659 { + yyb2659 = yyj2659 > l } else { - yyb2626 = r.CheckBreak() + yyb2659 = r.CheckBreak() } - if yyb2626 { + if yyb2659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33618,13 +34133,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj2626++ - if yyhl2626 { - yyb2626 = yyj2626 > l + yyj2659++ + if yyhl2659 { + yyb2659 = yyj2659 > l } else { - yyb2626 = r.CheckBreak() + yyb2659 = r.CheckBreak() } - if yyb2626 { + if yyb2659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33635,17 +34150,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj2626++ - if yyhl2626 { - yyb2626 = yyj2626 > l + yyj2659++ + if yyhl2659 { + yyb2659 = yyj2659 > l } else { - yyb2626 = r.CheckBreak() + yyb2659 = r.CheckBreak() } - if yyb2626 { + if yyb2659 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2626-1, "") + z.DecStructFieldNotFound(yyj2659-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33657,33 +34172,33 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2629 := z.EncBinary() - _ = yym2629 + yym2662 := z.EncBinary() + _ = yym2662 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2630 := !z.EncBinary() - yy2arr2630 := z.EncBasicHandle().StructToArray - var yyq2630 [1]bool - _, _, _ = yysep2630, yyq2630, yy2arr2630 - const yyr2630 bool = false - yyq2630[0] = len(x.Capacity) != 0 - var yynn2630 int - if yyr2630 || yy2arr2630 { + yysep2663 := !z.EncBinary() + yy2arr2663 := z.EncBasicHandle().StructToArray + var yyq2663 [1]bool + _, _, _ = yysep2663, yyq2663, yy2arr2663 + const yyr2663 bool = false + yyq2663[0] = len(x.Capacity) != 0 + var yynn2663 int + if yyr2663 || yy2arr2663 { r.EncodeArrayStart(1) } else { - yynn2630 = 0 - for _, b := range yyq2630 { + yynn2663 = 0 + for _, b := range yyq2663 { if b { - yynn2630++ + yynn2663++ } } - r.EncodeMapStart(yynn2630) - yynn2630 = 0 + r.EncodeMapStart(yynn2663) + yynn2663 = 0 } - if yyr2630 || yy2arr2630 { + if yyr2663 || yy2arr2663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2630[0] { + if yyq2663[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -33693,7 +34208,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2630[0] { + if yyq2663[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -33704,7 +34219,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2630 || yy2arr2630 { + if yyr2663 || yy2arr2663 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33717,25 +34232,25 @@ func (x *NodeResources) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2632 := z.DecBinary() - _ = yym2632 + yym2665 := z.DecBinary() + _ = yym2665 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2633 := r.ContainerType() - if yyct2633 == codecSelferValueTypeMap1234 { - yyl2633 := r.ReadMapStart() - if yyl2633 == 0 { + yyct2666 := r.ContainerType() + if yyct2666 == codecSelferValueTypeMap1234 { + yyl2666 := r.ReadMapStart() + if yyl2666 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2633, d) + x.codecDecodeSelfFromMap(yyl2666, d) } - } else if yyct2633 == codecSelferValueTypeArray1234 { - yyl2633 := r.ReadArrayStart() - if yyl2633 == 0 { + } else if yyct2666 == codecSelferValueTypeArray1234 { + yyl2666 := r.ReadArrayStart() + if yyl2666 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2633, d) + x.codecDecodeSelfFromArray(yyl2666, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33747,12 +34262,12 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2634Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2634Slc - var yyhl2634 bool = l >= 0 - for yyj2634 := 0; ; yyj2634++ { - if yyhl2634 { - if yyj2634 >= l { + var yys2667Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2667Slc + var yyhl2667 bool = l >= 0 + for yyj2667 := 0; ; yyj2667++ { + if yyhl2667 { + if yyj2667 >= l { break } } else { @@ -33761,21 +34276,21 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2634Slc = r.DecodeBytes(yys2634Slc, true, true) - yys2634 := string(yys2634Slc) + yys2667Slc = r.DecodeBytes(yys2667Slc, true, true) + yys2667 := string(yys2667Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2634 { + switch yys2667 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2635 := &x.Capacity - yyv2635.CodecDecodeSelf(d) + yyv2668 := &x.Capacity + yyv2668.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2634) - } // end switch yys2634 - } // end for yyj2634 + z.DecStructFieldNotFound(-1, yys2667) + } // end switch yys2667 + } // end for yyj2667 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33783,16 +34298,16 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2636 int - var yyb2636 bool - var yyhl2636 bool = l >= 0 - yyj2636++ - if yyhl2636 { - yyb2636 = yyj2636 > l + var yyj2669 int + var yyb2669 bool + var yyhl2669 bool = l >= 0 + yyj2669++ + if yyhl2669 { + yyb2669 = yyj2669 > l } else { - yyb2636 = r.CheckBreak() + yyb2669 = r.CheckBreak() } - if yyb2636 { + if yyb2669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33800,21 +34315,21 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2637 := &x.Capacity - yyv2637.CodecDecodeSelf(d) + yyv2670 := &x.Capacity + yyv2670.CodecDecodeSelf(d) } for { - yyj2636++ - if yyhl2636 { - yyb2636 = yyj2636 > l + yyj2669++ + if yyhl2669 { + yyb2669 = yyj2669 > l } else { - yyb2636 = r.CheckBreak() + yyb2669 = r.CheckBreak() } - if yyb2636 { + if yyb2669 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2636-1, "") + z.DecStructFieldNotFound(yyj2669-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33823,8 +34338,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2638 := z.EncBinary() - _ = yym2638 + yym2671 := z.EncBinary() + _ = yym2671 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33836,8 +34351,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2639 := z.DecBinary() - _ = yym2639 + yym2672 := z.DecBinary() + _ = yym2672 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33852,8 +34367,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2640 := z.EncBinary() - _ = yym2640 + yym2673 := z.EncBinary() + _ = yym2673 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33866,8 +34381,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2641 := z.DecBinary() - _ = yym2641 + yym2674 := z.DecBinary() + _ = yym2674 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33882,90 +34397,90 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2642 := z.EncBinary() - _ = yym2642 + yym2675 := z.EncBinary() + _ = yym2675 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2643 := !z.EncBinary() - yy2arr2643 := z.EncBasicHandle().StructToArray - var yyq2643 [5]bool - _, _, _ = yysep2643, yyq2643, yy2arr2643 - const yyr2643 bool = false - yyq2643[0] = true - yyq2643[1] = true - yyq2643[2] = true - yyq2643[3] = x.Kind != "" - yyq2643[4] = x.APIVersion != "" - var yynn2643 int - if yyr2643 || yy2arr2643 { + yysep2676 := !z.EncBinary() + yy2arr2676 := z.EncBasicHandle().StructToArray + var yyq2676 [5]bool + _, _, _ = yysep2676, yyq2676, yy2arr2676 + const yyr2676 bool = false + yyq2676[0] = true + yyq2676[1] = true + yyq2676[2] = true + yyq2676[3] = x.Kind != "" + yyq2676[4] = x.APIVersion != "" + var yynn2676 int + if yyr2676 || yy2arr2676 { r.EncodeArrayStart(5) } else { - yynn2643 = 0 - for _, b := range yyq2643 { + yynn2676 = 0 + for _, b := range yyq2676 { if b { - yynn2643++ + yynn2676++ } } - r.EncodeMapStart(yynn2643) - yynn2643 = 0 + r.EncodeMapStart(yynn2676) + yynn2676 = 0 } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2643[0] { - yy2645 := &x.ObjectMeta - yy2645.CodecEncodeSelf(e) + if yyq2676[0] { + yy2678 := &x.ObjectMeta + yy2678.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2643[0] { + if yyq2676[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2646 := &x.ObjectMeta - yy2646.CodecEncodeSelf(e) + yy2679 := &x.ObjectMeta + yy2679.CodecEncodeSelf(e) } } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2643[1] { - yy2648 := &x.Spec - yy2648.CodecEncodeSelf(e) + if yyq2676[1] { + yy2681 := &x.Spec + yy2681.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2643[1] { + if yyq2676[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2649 := &x.Spec - yy2649.CodecEncodeSelf(e) + yy2682 := &x.Spec + yy2682.CodecEncodeSelf(e) } } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2643[2] { - yy2651 := &x.Status - yy2651.CodecEncodeSelf(e) + if yyq2676[2] { + yy2684 := &x.Status + yy2684.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2643[2] { + if yyq2676[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2652 := &x.Status - yy2652.CodecEncodeSelf(e) + yy2685 := &x.Status + yy2685.CodecEncodeSelf(e) } } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2643[3] { - yym2654 := z.EncBinary() - _ = yym2654 + if yyq2676[3] { + yym2687 := z.EncBinary() + _ = yym2687 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33974,23 +34489,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2643[3] { + if yyq2676[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2655 := z.EncBinary() - _ = yym2655 + yym2688 := z.EncBinary() + _ = yym2688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2643[4] { - yym2657 := z.EncBinary() - _ = yym2657 + if yyq2676[4] { + yym2690 := z.EncBinary() + _ = yym2690 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33999,19 +34514,19 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2643[4] { + if yyq2676[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2658 := z.EncBinary() - _ = yym2658 + yym2691 := z.EncBinary() + _ = yym2691 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2643 || yy2arr2643 { + if yyr2676 || yy2arr2676 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34024,25 +34539,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2659 := z.DecBinary() - _ = yym2659 + yym2692 := z.DecBinary() + _ = yym2692 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2660 := r.ContainerType() - if yyct2660 == codecSelferValueTypeMap1234 { - yyl2660 := r.ReadMapStart() - if yyl2660 == 0 { + yyct2693 := r.ContainerType() + if yyct2693 == codecSelferValueTypeMap1234 { + yyl2693 := r.ReadMapStart() + if yyl2693 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2660, d) + x.codecDecodeSelfFromMap(yyl2693, d) } - } else if yyct2660 == codecSelferValueTypeArray1234 { - yyl2660 := r.ReadArrayStart() - if yyl2660 == 0 { + } else if yyct2693 == codecSelferValueTypeArray1234 { + yyl2693 := r.ReadArrayStart() + if yyl2693 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2660, d) + x.codecDecodeSelfFromArray(yyl2693, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34054,12 +34569,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2661Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2661Slc - var yyhl2661 bool = l >= 0 - for yyj2661 := 0; ; yyj2661++ { - if yyhl2661 { - if yyj2661 >= l { + var yys2694Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2694Slc + var yyhl2694 bool = l >= 0 + for yyj2694 := 0; ; yyj2694++ { + if yyhl2694 { + if yyj2694 >= l { break } } else { @@ -34068,30 +34583,30 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2661Slc = r.DecodeBytes(yys2661Slc, true, true) - yys2661 := string(yys2661Slc) + yys2694Slc = r.DecodeBytes(yys2694Slc, true, true) + yys2694 := string(yys2694Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2661 { + switch yys2694 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2662 := &x.ObjectMeta - yyv2662.CodecDecodeSelf(d) + yyv2695 := &x.ObjectMeta + yyv2695.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2663 := &x.Spec - yyv2663.CodecDecodeSelf(d) + yyv2696 := &x.Spec + yyv2696.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2664 := &x.Status - yyv2664.CodecDecodeSelf(d) + yyv2697 := &x.Status + yyv2697.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -34106,9 +34621,9 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2661) - } // end switch yys2661 - } // end for yyj2661 + z.DecStructFieldNotFound(-1, yys2694) + } // end switch yys2694 + } // end for yyj2694 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34116,16 +34631,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2667 int - var yyb2667 bool - var yyhl2667 bool = l >= 0 - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + var yyj2700 int + var yyb2700 bool + var yyhl2700 bool = l >= 0 + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34133,16 +34648,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2668 := &x.ObjectMeta - yyv2668.CodecDecodeSelf(d) + yyv2701 := &x.ObjectMeta + yyv2701.CodecDecodeSelf(d) } - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34150,16 +34665,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2669 := &x.Spec - yyv2669.CodecDecodeSelf(d) + yyv2702 := &x.Spec + yyv2702.CodecDecodeSelf(d) } - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34167,16 +34682,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2670 := &x.Status - yyv2670.CodecDecodeSelf(d) + yyv2703 := &x.Status + yyv2703.CodecDecodeSelf(d) } - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34186,13 +34701,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34203,17 +34718,17 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2667++ - if yyhl2667 { - yyb2667 = yyj2667 > l + yyj2700++ + if yyhl2700 { + yyb2700 = yyj2700 > l } else { - yyb2667 = r.CheckBreak() + yyb2700 = r.CheckBreak() } - if yyb2667 { + if yyb2700 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2667-1, "") + z.DecStructFieldNotFound(yyj2700-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34225,68 +34740,68 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2673 := z.EncBinary() - _ = yym2673 + yym2706 := z.EncBinary() + _ = yym2706 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2674 := !z.EncBinary() - yy2arr2674 := z.EncBasicHandle().StructToArray - var yyq2674 [4]bool - _, _, _ = yysep2674, yyq2674, yy2arr2674 - const yyr2674 bool = false - yyq2674[0] = true - yyq2674[2] = x.Kind != "" - yyq2674[3] = x.APIVersion != "" - var yynn2674 int - if yyr2674 || yy2arr2674 { + yysep2707 := !z.EncBinary() + yy2arr2707 := z.EncBasicHandle().StructToArray + var yyq2707 [4]bool + _, _, _ = yysep2707, yyq2707, yy2arr2707 + const yyr2707 bool = false + yyq2707[0] = true + yyq2707[2] = x.Kind != "" + yyq2707[3] = x.APIVersion != "" + var yynn2707 int + if yyr2707 || yy2arr2707 { r.EncodeArrayStart(4) } else { - yynn2674 = 1 - for _, b := range yyq2674 { + yynn2707 = 1 + for _, b := range yyq2707 { if b { - yynn2674++ + yynn2707++ } } - r.EncodeMapStart(yynn2674) - yynn2674 = 0 + r.EncodeMapStart(yynn2707) + yynn2707 = 0 } - if yyr2674 || yy2arr2674 { + if yyr2707 || yy2arr2707 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2674[0] { - yy2676 := &x.ListMeta - yym2677 := z.EncBinary() - _ = yym2677 + if yyq2707[0] { + yy2709 := &x.ListMeta + yym2710 := z.EncBinary() + _ = yym2710 if false { - } else if z.HasExtensions() && z.EncExt(yy2676) { + } else if z.HasExtensions() && z.EncExt(yy2709) { } else { - z.EncFallback(yy2676) + z.EncFallback(yy2709) } } else { r.EncodeNil() } } else { - if yyq2674[0] { + if yyq2707[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2678 := &x.ListMeta - yym2679 := z.EncBinary() - _ = yym2679 + yy2711 := &x.ListMeta + yym2712 := z.EncBinary() + _ = yym2712 if false { - } else if z.HasExtensions() && z.EncExt(yy2678) { + } else if z.HasExtensions() && z.EncExt(yy2711) { } else { - z.EncFallback(yy2678) + z.EncFallback(yy2711) } } } - if yyr2674 || yy2arr2674 { + if yyr2707 || yy2arr2707 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2681 := z.EncBinary() - _ = yym2681 + yym2714 := z.EncBinary() + _ = yym2714 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -34299,19 +34814,19 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2682 := z.EncBinary() - _ = yym2682 + yym2715 := z.EncBinary() + _ = yym2715 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2674 || yy2arr2674 { + if yyr2707 || yy2arr2707 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2674[2] { - yym2684 := z.EncBinary() - _ = yym2684 + if yyq2707[2] { + yym2717 := z.EncBinary() + _ = yym2717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34320,23 +34835,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2674[2] { + if yyq2707[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2685 := z.EncBinary() - _ = yym2685 + yym2718 := z.EncBinary() + _ = yym2718 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2674 || yy2arr2674 { + if yyr2707 || yy2arr2707 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2674[3] { - yym2687 := z.EncBinary() - _ = yym2687 + if yyq2707[3] { + yym2720 := z.EncBinary() + _ = yym2720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34345,19 +34860,19 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2674[3] { + if yyq2707[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2688 := z.EncBinary() - _ = yym2688 + yym2721 := z.EncBinary() + _ = yym2721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2674 || yy2arr2674 { + if yyr2707 || yy2arr2707 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34370,25 +34885,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2689 := z.DecBinary() - _ = yym2689 + yym2722 := z.DecBinary() + _ = yym2722 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2690 := r.ContainerType() - if yyct2690 == codecSelferValueTypeMap1234 { - yyl2690 := r.ReadMapStart() - if yyl2690 == 0 { + yyct2723 := r.ContainerType() + if yyct2723 == codecSelferValueTypeMap1234 { + yyl2723 := r.ReadMapStart() + if yyl2723 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2690, d) + x.codecDecodeSelfFromMap(yyl2723, d) } - } else if yyct2690 == codecSelferValueTypeArray1234 { - yyl2690 := r.ReadArrayStart() - if yyl2690 == 0 { + } else if yyct2723 == codecSelferValueTypeArray1234 { + yyl2723 := r.ReadArrayStart() + if yyl2723 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2690, d) + x.codecDecodeSelfFromArray(yyl2723, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34400,12 +34915,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2691Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2691Slc - var yyhl2691 bool = l >= 0 - for yyj2691 := 0; ; yyj2691++ { - if yyhl2691 { - if yyj2691 >= l { + var yys2724Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2724Slc + var yyhl2724 bool = l >= 0 + for yyj2724 := 0; ; yyj2724++ { + if yyhl2724 { + if yyj2724 >= l { break } } else { @@ -34414,33 +34929,33 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2691Slc = r.DecodeBytes(yys2691Slc, true, true) - yys2691 := string(yys2691Slc) + yys2724Slc = r.DecodeBytes(yys2724Slc, true, true) + yys2724 := string(yys2724Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2691 { + switch yys2724 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2692 := &x.ListMeta - yym2693 := z.DecBinary() - _ = yym2693 + yyv2725 := &x.ListMeta + yym2726 := z.DecBinary() + _ = yym2726 if false { - } else if z.HasExtensions() && z.DecExt(yyv2692) { + } else if z.HasExtensions() && z.DecExt(yyv2725) { } else { - z.DecFallback(yyv2692, false) + z.DecFallback(yyv2725, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2694 := &x.Items - yym2695 := z.DecBinary() - _ = yym2695 + yyv2727 := &x.Items + yym2728 := z.DecBinary() + _ = yym2728 if false { } else { - h.decSliceNode((*[]Node)(yyv2694), d) + h.decSliceNode((*[]Node)(yyv2727), d) } } case "kind": @@ -34456,9 +34971,9 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2691) - } // end switch yys2691 - } // end for yyj2691 + z.DecStructFieldNotFound(-1, yys2724) + } // end switch yys2724 + } // end for yyj2724 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34466,16 +34981,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2698 int - var yyb2698 bool - var yyhl2698 bool = l >= 0 - yyj2698++ - if yyhl2698 { - yyb2698 = yyj2698 > l + var yyj2731 int + var yyb2731 bool + var yyhl2731 bool = l >= 0 + yyj2731++ + if yyhl2731 { + yyb2731 = yyj2731 > l } else { - yyb2698 = r.CheckBreak() + yyb2731 = r.CheckBreak() } - if yyb2698 { + if yyb2731 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34483,22 +34998,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2699 := &x.ListMeta - yym2700 := z.DecBinary() - _ = yym2700 + yyv2732 := &x.ListMeta + yym2733 := z.DecBinary() + _ = yym2733 if false { - } else if z.HasExtensions() && z.DecExt(yyv2699) { + } else if z.HasExtensions() && z.DecExt(yyv2732) { } else { - z.DecFallback(yyv2699, false) + z.DecFallback(yyv2732, false) } } - yyj2698++ - if yyhl2698 { - yyb2698 = yyj2698 > l + yyj2731++ + if yyhl2731 { + yyb2731 = yyj2731 > l } else { - yyb2698 = r.CheckBreak() + yyb2731 = r.CheckBreak() } - if yyb2698 { + if yyb2731 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34506,21 +35021,21 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2701 := &x.Items - yym2702 := z.DecBinary() - _ = yym2702 + yyv2734 := &x.Items + yym2735 := z.DecBinary() + _ = yym2735 if false { } else { - h.decSliceNode((*[]Node)(yyv2701), d) + h.decSliceNode((*[]Node)(yyv2734), d) } } - yyj2698++ - if yyhl2698 { - yyb2698 = yyj2698 > l + yyj2731++ + if yyhl2731 { + yyb2731 = yyj2731 > l } else { - yyb2698 = r.CheckBreak() + yyb2731 = r.CheckBreak() } - if yyb2698 { + if yyb2731 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34530,13 +35045,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2698++ - if yyhl2698 { - yyb2698 = yyj2698 > l + yyj2731++ + if yyhl2731 { + yyb2731 = yyj2731 > l } else { - yyb2698 = r.CheckBreak() + yyb2731 = r.CheckBreak() } - if yyb2698 { + if yyb2731 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34547,17 +35062,17 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2698++ - if yyhl2698 { - yyb2698 = yyj2698 > l + yyj2731++ + if yyhl2731 { + yyb2731 = yyj2731 > l } else { - yyb2698 = r.CheckBreak() + yyb2731 = r.CheckBreak() } - if yyb2698 { + if yyb2731 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2698-1, "") + z.DecStructFieldNotFound(yyj2731-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34569,36 +35084,36 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2705 := z.EncBinary() - _ = yym2705 + yym2738 := z.EncBinary() + _ = yym2738 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2706 := !z.EncBinary() - yy2arr2706 := z.EncBasicHandle().StructToArray - var yyq2706 [1]bool - _, _, _ = yysep2706, yyq2706, yy2arr2706 - const yyr2706 bool = false - var yynn2706 int - if yyr2706 || yy2arr2706 { + yysep2739 := !z.EncBinary() + yy2arr2739 := z.EncBasicHandle().StructToArray + var yyq2739 [1]bool + _, _, _ = yysep2739, yyq2739, yy2arr2739 + const yyr2739 bool = false + var yynn2739 int + if yyr2739 || yy2arr2739 { r.EncodeArrayStart(1) } else { - yynn2706 = 1 - for _, b := range yyq2706 { + yynn2739 = 1 + for _, b := range yyq2739 { if b { - yynn2706++ + yynn2739++ } } - r.EncodeMapStart(yynn2706) - yynn2706 = 0 + r.EncodeMapStart(yynn2739) + yynn2739 = 0 } - if yyr2706 || yy2arr2706 { + if yyr2739 || yy2arr2739 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym2708 := z.EncBinary() - _ = yym2708 + yym2741 := z.EncBinary() + _ = yym2741 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -34611,15 +35126,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Finalizers == nil { r.EncodeNil() } else { - yym2709 := z.EncBinary() - _ = yym2709 + yym2742 := z.EncBinary() + _ = yym2742 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) } } } - if yyr2706 || yy2arr2706 { + if yyr2739 || yy2arr2739 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34632,25 +35147,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2710 := z.DecBinary() - _ = yym2710 + yym2743 := z.DecBinary() + _ = yym2743 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2711 := r.ContainerType() - if yyct2711 == codecSelferValueTypeMap1234 { - yyl2711 := r.ReadMapStart() - if yyl2711 == 0 { + yyct2744 := r.ContainerType() + if yyct2744 == codecSelferValueTypeMap1234 { + yyl2744 := r.ReadMapStart() + if yyl2744 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2711, d) + x.codecDecodeSelfFromMap(yyl2744, d) } - } else if yyct2711 == codecSelferValueTypeArray1234 { - yyl2711 := r.ReadArrayStart() - if yyl2711 == 0 { + } else if yyct2744 == codecSelferValueTypeArray1234 { + yyl2744 := r.ReadArrayStart() + if yyl2744 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2711, d) + x.codecDecodeSelfFromArray(yyl2744, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34662,12 +35177,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2712Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2712Slc - var yyhl2712 bool = l >= 0 - for yyj2712 := 0; ; yyj2712++ { - if yyhl2712 { - if yyj2712 >= l { + var yys2745Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2745Slc + var yyhl2745 bool = l >= 0 + for yyj2745 := 0; ; yyj2745++ { + if yyhl2745 { + if yyj2745 >= l { break } } else { @@ -34676,26 +35191,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2712Slc = r.DecodeBytes(yys2712Slc, true, true) - yys2712 := string(yys2712Slc) + yys2745Slc = r.DecodeBytes(yys2745Slc, true, true) + yys2745 := string(yys2745Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2712 { + switch yys2745 { case "Finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2713 := &x.Finalizers - yym2714 := z.DecBinary() - _ = yym2714 + yyv2746 := &x.Finalizers + yym2747 := z.DecBinary() + _ = yym2747 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2713), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2746), d) } } default: - z.DecStructFieldNotFound(-1, yys2712) - } // end switch yys2712 - } // end for yyj2712 + z.DecStructFieldNotFound(-1, yys2745) + } // end switch yys2745 + } // end for yyj2745 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34703,16 +35218,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2715 int - var yyb2715 bool - var yyhl2715 bool = l >= 0 - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + var yyj2748 int + var yyb2748 bool + var yyhl2748 bool = l >= 0 + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2715 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2715 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34720,26 +35235,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2716 := &x.Finalizers - yym2717 := z.DecBinary() - _ = yym2717 + yyv2749 := &x.Finalizers + yym2750 := z.DecBinary() + _ = yym2750 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2716), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2749), d) } } for { - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2715 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2715 { + if yyb2748 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2715-1, "") + z.DecStructFieldNotFound(yyj2748-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34748,8 +35263,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2718 := z.EncBinary() - _ = yym2718 + yym2751 := z.EncBinary() + _ = yym2751 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34761,8 +35276,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2719 := z.DecBinary() - _ = yym2719 + yym2752 := z.DecBinary() + _ = yym2752 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34777,46 +35292,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2720 := z.EncBinary() - _ = yym2720 + yym2753 := z.EncBinary() + _ = yym2753 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2721 := !z.EncBinary() - yy2arr2721 := z.EncBasicHandle().StructToArray - var yyq2721 [1]bool - _, _, _ = yysep2721, yyq2721, yy2arr2721 - const yyr2721 bool = false - yyq2721[0] = x.Phase != "" - var yynn2721 int - if yyr2721 || yy2arr2721 { + yysep2754 := !z.EncBinary() + yy2arr2754 := z.EncBasicHandle().StructToArray + var yyq2754 [1]bool + _, _, _ = yysep2754, yyq2754, yy2arr2754 + const yyr2754 bool = false + yyq2754[0] = x.Phase != "" + var yynn2754 int + if yyr2754 || yy2arr2754 { r.EncodeArrayStart(1) } else { - yynn2721 = 0 - for _, b := range yyq2721 { + yynn2754 = 0 + for _, b := range yyq2754 { if b { - yynn2721++ + yynn2754++ } } - r.EncodeMapStart(yynn2721) - yynn2721 = 0 + r.EncodeMapStart(yynn2754) + yynn2754 = 0 } - if yyr2721 || yy2arr2721 { + if yyr2754 || yy2arr2754 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2721[0] { + if yyq2754[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2721[0] { + if yyq2754[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2721 || yy2arr2721 { + if yyr2754 || yy2arr2754 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34829,25 +35344,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2723 := z.DecBinary() - _ = yym2723 + yym2756 := z.DecBinary() + _ = yym2756 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2724 := r.ContainerType() - if yyct2724 == codecSelferValueTypeMap1234 { - yyl2724 := r.ReadMapStart() - if yyl2724 == 0 { + yyct2757 := r.ContainerType() + if yyct2757 == codecSelferValueTypeMap1234 { + yyl2757 := r.ReadMapStart() + if yyl2757 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2724, d) + x.codecDecodeSelfFromMap(yyl2757, d) } - } else if yyct2724 == codecSelferValueTypeArray1234 { - yyl2724 := r.ReadArrayStart() - if yyl2724 == 0 { + } else if yyct2757 == codecSelferValueTypeArray1234 { + yyl2757 := r.ReadArrayStart() + if yyl2757 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2724, d) + x.codecDecodeSelfFromArray(yyl2757, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34859,12 +35374,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2725Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2725Slc - var yyhl2725 bool = l >= 0 - for yyj2725 := 0; ; yyj2725++ { - if yyhl2725 { - if yyj2725 >= l { + var yys2758Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2758Slc + var yyhl2758 bool = l >= 0 + for yyj2758 := 0; ; yyj2758++ { + if yyhl2758 { + if yyj2758 >= l { break } } else { @@ -34873,10 +35388,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2725Slc = r.DecodeBytes(yys2725Slc, true, true) - yys2725 := string(yys2725Slc) + yys2758Slc = r.DecodeBytes(yys2758Slc, true, true) + yys2758 := string(yys2758Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2725 { + switch yys2758 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -34884,9 +35399,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2725) - } // end switch yys2725 - } // end for yyj2725 + z.DecStructFieldNotFound(-1, yys2758) + } // end switch yys2758 + } // end for yyj2758 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34894,16 +35409,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2727 int - var yyb2727 bool - var yyhl2727 bool = l >= 0 - yyj2727++ - if yyhl2727 { - yyb2727 = yyj2727 > l + var yyj2760 int + var yyb2760 bool + var yyhl2760 bool = l >= 0 + yyj2760++ + if yyhl2760 { + yyb2760 = yyj2760 > l } else { - yyb2727 = r.CheckBreak() + yyb2760 = r.CheckBreak() } - if yyb2727 { + if yyb2760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34914,17 +35429,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj2727++ - if yyhl2727 { - yyb2727 = yyj2727 > l + yyj2760++ + if yyhl2760 { + yyb2760 = yyj2760 > l } else { - yyb2727 = r.CheckBreak() + yyb2760 = r.CheckBreak() } - if yyb2727 { + if yyb2760 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2727-1, "") + z.DecStructFieldNotFound(yyj2760-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34933,8 +35448,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2729 := z.EncBinary() - _ = yym2729 + yym2762 := z.EncBinary() + _ = yym2762 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34946,8 +35461,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2730 := z.DecBinary() - _ = yym2730 + yym2763 := z.DecBinary() + _ = yym2763 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34962,90 +35477,90 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2731 := z.EncBinary() - _ = yym2731 + yym2764 := z.EncBinary() + _ = yym2764 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2732 := !z.EncBinary() - yy2arr2732 := z.EncBasicHandle().StructToArray - var yyq2732 [5]bool - _, _, _ = yysep2732, yyq2732, yy2arr2732 - const yyr2732 bool = false - yyq2732[0] = true - yyq2732[1] = true - yyq2732[2] = true - yyq2732[3] = x.Kind != "" - yyq2732[4] = x.APIVersion != "" - var yynn2732 int - if yyr2732 || yy2arr2732 { + yysep2765 := !z.EncBinary() + yy2arr2765 := z.EncBasicHandle().StructToArray + var yyq2765 [5]bool + _, _, _ = yysep2765, yyq2765, yy2arr2765 + const yyr2765 bool = false + yyq2765[0] = true + yyq2765[1] = true + yyq2765[2] = true + yyq2765[3] = x.Kind != "" + yyq2765[4] = x.APIVersion != "" + var yynn2765 int + if yyr2765 || yy2arr2765 { r.EncodeArrayStart(5) } else { - yynn2732 = 0 - for _, b := range yyq2732 { + yynn2765 = 0 + for _, b := range yyq2765 { if b { - yynn2732++ + yynn2765++ } } - r.EncodeMapStart(yynn2732) - yynn2732 = 0 + r.EncodeMapStart(yynn2765) + yynn2765 = 0 } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2732[0] { - yy2734 := &x.ObjectMeta - yy2734.CodecEncodeSelf(e) + if yyq2765[0] { + yy2767 := &x.ObjectMeta + yy2767.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2732[0] { + if yyq2765[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2735 := &x.ObjectMeta - yy2735.CodecEncodeSelf(e) + yy2768 := &x.ObjectMeta + yy2768.CodecEncodeSelf(e) } } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2732[1] { - yy2737 := &x.Spec - yy2737.CodecEncodeSelf(e) + if yyq2765[1] { + yy2770 := &x.Spec + yy2770.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2732[1] { + if yyq2765[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2738 := &x.Spec - yy2738.CodecEncodeSelf(e) + yy2771 := &x.Spec + yy2771.CodecEncodeSelf(e) } } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2732[2] { - yy2740 := &x.Status - yy2740.CodecEncodeSelf(e) + if yyq2765[2] { + yy2773 := &x.Status + yy2773.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2732[2] { + if yyq2765[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2741 := &x.Status - yy2741.CodecEncodeSelf(e) + yy2774 := &x.Status + yy2774.CodecEncodeSelf(e) } } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2732[3] { - yym2743 := z.EncBinary() - _ = yym2743 + if yyq2765[3] { + yym2776 := z.EncBinary() + _ = yym2776 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35054,23 +35569,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2732[3] { + if yyq2765[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2744 := z.EncBinary() - _ = yym2744 + yym2777 := z.EncBinary() + _ = yym2777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2732[4] { - yym2746 := z.EncBinary() - _ = yym2746 + if yyq2765[4] { + yym2779 := z.EncBinary() + _ = yym2779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35079,19 +35594,19 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2732[4] { + if yyq2765[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2747 := z.EncBinary() - _ = yym2747 + yym2780 := z.EncBinary() + _ = yym2780 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2732 || yy2arr2732 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35104,25 +35619,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2748 := z.DecBinary() - _ = yym2748 + yym2781 := z.DecBinary() + _ = yym2781 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2749 := r.ContainerType() - if yyct2749 == codecSelferValueTypeMap1234 { - yyl2749 := r.ReadMapStart() - if yyl2749 == 0 { + yyct2782 := r.ContainerType() + if yyct2782 == codecSelferValueTypeMap1234 { + yyl2782 := r.ReadMapStart() + if yyl2782 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2749, d) + x.codecDecodeSelfFromMap(yyl2782, d) } - } else if yyct2749 == codecSelferValueTypeArray1234 { - yyl2749 := r.ReadArrayStart() - if yyl2749 == 0 { + } else if yyct2782 == codecSelferValueTypeArray1234 { + yyl2782 := r.ReadArrayStart() + if yyl2782 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2749, d) + x.codecDecodeSelfFromArray(yyl2782, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35134,12 +35649,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2750Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2750Slc - var yyhl2750 bool = l >= 0 - for yyj2750 := 0; ; yyj2750++ { - if yyhl2750 { - if yyj2750 >= l { + var yys2783Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2783Slc + var yyhl2783 bool = l >= 0 + for yyj2783 := 0; ; yyj2783++ { + if yyhl2783 { + if yyj2783 >= l { break } } else { @@ -35148,30 +35663,30 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2750Slc = r.DecodeBytes(yys2750Slc, true, true) - yys2750 := string(yys2750Slc) + yys2783Slc = r.DecodeBytes(yys2783Slc, true, true) + yys2783 := string(yys2783Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2750 { + switch yys2783 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2751 := &x.ObjectMeta - yyv2751.CodecDecodeSelf(d) + yyv2784 := &x.ObjectMeta + yyv2784.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2752 := &x.Spec - yyv2752.CodecDecodeSelf(d) + yyv2785 := &x.Spec + yyv2785.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2753 := &x.Status - yyv2753.CodecDecodeSelf(d) + yyv2786 := &x.Status + yyv2786.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -35186,9 +35701,9 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2750) - } // end switch yys2750 - } // end for yyj2750 + z.DecStructFieldNotFound(-1, yys2783) + } // end switch yys2783 + } // end for yyj2783 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35196,16 +35711,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2756 int - var yyb2756 bool - var yyhl2756 bool = l >= 0 - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + var yyj2789 int + var yyb2789 bool + var yyhl2789 bool = l >= 0 + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35213,16 +35728,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2757 := &x.ObjectMeta - yyv2757.CodecDecodeSelf(d) + yyv2790 := &x.ObjectMeta + yyv2790.CodecDecodeSelf(d) } - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35230,16 +35745,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2758 := &x.Spec - yyv2758.CodecDecodeSelf(d) + yyv2791 := &x.Spec + yyv2791.CodecDecodeSelf(d) } - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35247,16 +35762,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2759 := &x.Status - yyv2759.CodecDecodeSelf(d) + yyv2792 := &x.Status + yyv2792.CodecDecodeSelf(d) } - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35266,13 +35781,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35283,17 +35798,17 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2756++ - if yyhl2756 { - yyb2756 = yyj2756 > l + yyj2789++ + if yyhl2789 { + yyb2789 = yyj2789 > l } else { - yyb2756 = r.CheckBreak() + yyb2789 = r.CheckBreak() } - if yyb2756 { + if yyb2789 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2756-1, "") + z.DecStructFieldNotFound(yyj2789-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35305,68 +35820,68 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2762 := z.EncBinary() - _ = yym2762 + yym2795 := z.EncBinary() + _ = yym2795 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2763 := !z.EncBinary() - yy2arr2763 := z.EncBasicHandle().StructToArray - var yyq2763 [4]bool - _, _, _ = yysep2763, yyq2763, yy2arr2763 - const yyr2763 bool = false - yyq2763[0] = true - yyq2763[2] = x.Kind != "" - yyq2763[3] = x.APIVersion != "" - var yynn2763 int - if yyr2763 || yy2arr2763 { + yysep2796 := !z.EncBinary() + yy2arr2796 := z.EncBasicHandle().StructToArray + var yyq2796 [4]bool + _, _, _ = yysep2796, yyq2796, yy2arr2796 + const yyr2796 bool = false + yyq2796[0] = true + yyq2796[2] = x.Kind != "" + yyq2796[3] = x.APIVersion != "" + var yynn2796 int + if yyr2796 || yy2arr2796 { r.EncodeArrayStart(4) } else { - yynn2763 = 1 - for _, b := range yyq2763 { + yynn2796 = 1 + for _, b := range yyq2796 { if b { - yynn2763++ + yynn2796++ } } - r.EncodeMapStart(yynn2763) - yynn2763 = 0 + r.EncodeMapStart(yynn2796) + yynn2796 = 0 } - if yyr2763 || yy2arr2763 { + if yyr2796 || yy2arr2796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2763[0] { - yy2765 := &x.ListMeta - yym2766 := z.EncBinary() - _ = yym2766 + if yyq2796[0] { + yy2798 := &x.ListMeta + yym2799 := z.EncBinary() + _ = yym2799 if false { - } else if z.HasExtensions() && z.EncExt(yy2765) { + } else if z.HasExtensions() && z.EncExt(yy2798) { } else { - z.EncFallback(yy2765) + z.EncFallback(yy2798) } } else { r.EncodeNil() } } else { - if yyq2763[0] { + if yyq2796[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2767 := &x.ListMeta - yym2768 := z.EncBinary() - _ = yym2768 + yy2800 := &x.ListMeta + yym2801 := z.EncBinary() + _ = yym2801 if false { - } else if z.HasExtensions() && z.EncExt(yy2767) { + } else if z.HasExtensions() && z.EncExt(yy2800) { } else { - z.EncFallback(yy2767) + z.EncFallback(yy2800) } } } - if yyr2763 || yy2arr2763 { + if yyr2796 || yy2arr2796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2770 := z.EncBinary() - _ = yym2770 + yym2803 := z.EncBinary() + _ = yym2803 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -35379,19 +35894,19 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2771 := z.EncBinary() - _ = yym2771 + yym2804 := z.EncBinary() + _ = yym2804 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2763 || yy2arr2763 { + if yyr2796 || yy2arr2796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2763[2] { - yym2773 := z.EncBinary() - _ = yym2773 + if yyq2796[2] { + yym2806 := z.EncBinary() + _ = yym2806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35400,23 +35915,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2763[2] { + if yyq2796[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2774 := z.EncBinary() - _ = yym2774 + yym2807 := z.EncBinary() + _ = yym2807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2763 || yy2arr2763 { + if yyr2796 || yy2arr2796 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2763[3] { - yym2776 := z.EncBinary() - _ = yym2776 + if yyq2796[3] { + yym2809 := z.EncBinary() + _ = yym2809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35425,19 +35940,19 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2763[3] { + if yyq2796[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2777 := z.EncBinary() - _ = yym2777 + yym2810 := z.EncBinary() + _ = yym2810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2763 || yy2arr2763 { + if yyr2796 || yy2arr2796 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35450,25 +35965,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2778 := z.DecBinary() - _ = yym2778 + yym2811 := z.DecBinary() + _ = yym2811 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2779 := r.ContainerType() - if yyct2779 == codecSelferValueTypeMap1234 { - yyl2779 := r.ReadMapStart() - if yyl2779 == 0 { + yyct2812 := r.ContainerType() + if yyct2812 == codecSelferValueTypeMap1234 { + yyl2812 := r.ReadMapStart() + if yyl2812 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2779, d) + x.codecDecodeSelfFromMap(yyl2812, d) } - } else if yyct2779 == codecSelferValueTypeArray1234 { - yyl2779 := r.ReadArrayStart() - if yyl2779 == 0 { + } else if yyct2812 == codecSelferValueTypeArray1234 { + yyl2812 := r.ReadArrayStart() + if yyl2812 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2779, d) + x.codecDecodeSelfFromArray(yyl2812, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35480,12 +35995,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2780Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2780Slc - var yyhl2780 bool = l >= 0 - for yyj2780 := 0; ; yyj2780++ { - if yyhl2780 { - if yyj2780 >= l { + var yys2813Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2813Slc + var yyhl2813 bool = l >= 0 + for yyj2813 := 0; ; yyj2813++ { + if yyhl2813 { + if yyj2813 >= l { break } } else { @@ -35494,33 +36009,33 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2780Slc = r.DecodeBytes(yys2780Slc, true, true) - yys2780 := string(yys2780Slc) + yys2813Slc = r.DecodeBytes(yys2813Slc, true, true) + yys2813 := string(yys2813Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2780 { + switch yys2813 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2781 := &x.ListMeta - yym2782 := z.DecBinary() - _ = yym2782 + yyv2814 := &x.ListMeta + yym2815 := z.DecBinary() + _ = yym2815 if false { - } else if z.HasExtensions() && z.DecExt(yyv2781) { + } else if z.HasExtensions() && z.DecExt(yyv2814) { } else { - z.DecFallback(yyv2781, false) + z.DecFallback(yyv2814, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2783 := &x.Items - yym2784 := z.DecBinary() - _ = yym2784 + yyv2816 := &x.Items + yym2817 := z.DecBinary() + _ = yym2817 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2783), d) + h.decSliceNamespace((*[]Namespace)(yyv2816), d) } } case "kind": @@ -35536,9 +36051,9 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2780) - } // end switch yys2780 - } // end for yyj2780 + z.DecStructFieldNotFound(-1, yys2813) + } // end switch yys2813 + } // end for yyj2813 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35546,16 +36061,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2787 int - var yyb2787 bool - var yyhl2787 bool = l >= 0 - yyj2787++ - if yyhl2787 { - yyb2787 = yyj2787 > l + var yyj2820 int + var yyb2820 bool + var yyhl2820 bool = l >= 0 + yyj2820++ + if yyhl2820 { + yyb2820 = yyj2820 > l } else { - yyb2787 = r.CheckBreak() + yyb2820 = r.CheckBreak() } - if yyb2787 { + if yyb2820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35563,22 +36078,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2788 := &x.ListMeta - yym2789 := z.DecBinary() - _ = yym2789 + yyv2821 := &x.ListMeta + yym2822 := z.DecBinary() + _ = yym2822 if false { - } else if z.HasExtensions() && z.DecExt(yyv2788) { + } else if z.HasExtensions() && z.DecExt(yyv2821) { } else { - z.DecFallback(yyv2788, false) + z.DecFallback(yyv2821, false) } } - yyj2787++ - if yyhl2787 { - yyb2787 = yyj2787 > l + yyj2820++ + if yyhl2820 { + yyb2820 = yyj2820 > l } else { - yyb2787 = r.CheckBreak() + yyb2820 = r.CheckBreak() } - if yyb2787 { + if yyb2820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35586,21 +36101,21 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2790 := &x.Items - yym2791 := z.DecBinary() - _ = yym2791 + yyv2823 := &x.Items + yym2824 := z.DecBinary() + _ = yym2824 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2790), d) + h.decSliceNamespace((*[]Namespace)(yyv2823), d) } } - yyj2787++ - if yyhl2787 { - yyb2787 = yyj2787 > l + yyj2820++ + if yyhl2820 { + yyb2820 = yyj2820 > l } else { - yyb2787 = r.CheckBreak() + yyb2820 = r.CheckBreak() } - if yyb2787 { + if yyb2820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35610,13 +36125,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2787++ - if yyhl2787 { - yyb2787 = yyj2787 > l + yyj2820++ + if yyhl2820 { + yyb2820 = yyj2820 > l } else { - yyb2787 = r.CheckBreak() + yyb2820 = r.CheckBreak() } - if yyb2787 { + if yyb2820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35627,17 +36142,17 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2787++ - if yyhl2787 { - yyb2787 = yyj2787 > l + yyj2820++ + if yyhl2820 { + yyb2820 = yyj2820 > l } else { - yyb2787 = r.CheckBreak() + yyb2820 = r.CheckBreak() } - if yyb2787 { + if yyb2820 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2787-1, "") + z.DecStructFieldNotFound(yyj2820-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35649,65 +36164,65 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2794 := z.EncBinary() - _ = yym2794 + yym2827 := z.EncBinary() + _ = yym2827 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2795 := !z.EncBinary() - yy2arr2795 := z.EncBasicHandle().StructToArray - var yyq2795 [4]bool - _, _, _ = yysep2795, yyq2795, yy2arr2795 - const yyr2795 bool = false - yyq2795[0] = true - yyq2795[2] = x.Kind != "" - yyq2795[3] = x.APIVersion != "" - var yynn2795 int - if yyr2795 || yy2arr2795 { + yysep2828 := !z.EncBinary() + yy2arr2828 := z.EncBasicHandle().StructToArray + var yyq2828 [4]bool + _, _, _ = yysep2828, yyq2828, yy2arr2828 + const yyr2828 bool = false + yyq2828[0] = true + yyq2828[2] = x.Kind != "" + yyq2828[3] = x.APIVersion != "" + var yynn2828 int + if yyr2828 || yy2arr2828 { r.EncodeArrayStart(4) } else { - yynn2795 = 1 - for _, b := range yyq2795 { + yynn2828 = 1 + for _, b := range yyq2828 { if b { - yynn2795++ + yynn2828++ } } - r.EncodeMapStart(yynn2795) - yynn2795 = 0 + r.EncodeMapStart(yynn2828) + yynn2828 = 0 } - if yyr2795 || yy2arr2795 { + if yyr2828 || yy2arr2828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2795[0] { - yy2797 := &x.ObjectMeta - yy2797.CodecEncodeSelf(e) + if yyq2828[0] { + yy2830 := &x.ObjectMeta + yy2830.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2795[0] { + if yyq2828[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2798 := &x.ObjectMeta - yy2798.CodecEncodeSelf(e) + yy2831 := &x.ObjectMeta + yy2831.CodecEncodeSelf(e) } } - if yyr2795 || yy2arr2795 { + if yyr2828 || yy2arr2828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2800 := &x.Target - yy2800.CodecEncodeSelf(e) + yy2833 := &x.Target + yy2833.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2801 := &x.Target - yy2801.CodecEncodeSelf(e) + yy2834 := &x.Target + yy2834.CodecEncodeSelf(e) } - if yyr2795 || yy2arr2795 { + if yyr2828 || yy2arr2828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2795[2] { - yym2803 := z.EncBinary() - _ = yym2803 + if yyq2828[2] { + yym2836 := z.EncBinary() + _ = yym2836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35716,23 +36231,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2795[2] { + if yyq2828[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2804 := z.EncBinary() - _ = yym2804 + yym2837 := z.EncBinary() + _ = yym2837 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2795 || yy2arr2795 { + if yyr2828 || yy2arr2828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2795[3] { - yym2806 := z.EncBinary() - _ = yym2806 + if yyq2828[3] { + yym2839 := z.EncBinary() + _ = yym2839 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35741,19 +36256,19 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2795[3] { + if yyq2828[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2807 := z.EncBinary() - _ = yym2807 + yym2840 := z.EncBinary() + _ = yym2840 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2795 || yy2arr2795 { + if yyr2828 || yy2arr2828 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35766,25 +36281,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2808 := z.DecBinary() - _ = yym2808 + yym2841 := z.DecBinary() + _ = yym2841 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2809 := r.ContainerType() - if yyct2809 == codecSelferValueTypeMap1234 { - yyl2809 := r.ReadMapStart() - if yyl2809 == 0 { + yyct2842 := r.ContainerType() + if yyct2842 == codecSelferValueTypeMap1234 { + yyl2842 := r.ReadMapStart() + if yyl2842 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2809, d) + x.codecDecodeSelfFromMap(yyl2842, d) } - } else if yyct2809 == codecSelferValueTypeArray1234 { - yyl2809 := r.ReadArrayStart() - if yyl2809 == 0 { + } else if yyct2842 == codecSelferValueTypeArray1234 { + yyl2842 := r.ReadArrayStart() + if yyl2842 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2809, d) + x.codecDecodeSelfFromArray(yyl2842, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35796,12 +36311,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2810Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2810Slc - var yyhl2810 bool = l >= 0 - for yyj2810 := 0; ; yyj2810++ { - if yyhl2810 { - if yyj2810 >= l { + var yys2843Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2843Slc + var yyhl2843 bool = l >= 0 + for yyj2843 := 0; ; yyj2843++ { + if yyhl2843 { + if yyj2843 >= l { break } } else { @@ -35810,23 +36325,23 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2810Slc = r.DecodeBytes(yys2810Slc, true, true) - yys2810 := string(yys2810Slc) + yys2843Slc = r.DecodeBytes(yys2843Slc, true, true) + yys2843 := string(yys2843Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2810 { + switch yys2843 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2811 := &x.ObjectMeta - yyv2811.CodecDecodeSelf(d) + yyv2844 := &x.ObjectMeta + yyv2844.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2812 := &x.Target - yyv2812.CodecDecodeSelf(d) + yyv2845 := &x.Target + yyv2845.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -35841,9 +36356,9 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2810) - } // end switch yys2810 - } // end for yyj2810 + z.DecStructFieldNotFound(-1, yys2843) + } // end switch yys2843 + } // end for yyj2843 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35851,16 +36366,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2815 int - var yyb2815 bool - var yyhl2815 bool = l >= 0 - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + var yyj2848 int + var yyb2848 bool + var yyhl2848 bool = l >= 0 + yyj2848++ + if yyhl2848 { + yyb2848 = yyj2848 > l } else { - yyb2815 = r.CheckBreak() + yyb2848 = r.CheckBreak() } - if yyb2815 { + if yyb2848 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35868,16 +36383,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2816 := &x.ObjectMeta - yyv2816.CodecDecodeSelf(d) + yyv2849 := &x.ObjectMeta + yyv2849.CodecDecodeSelf(d) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2848++ + if yyhl2848 { + yyb2848 = yyj2848 > l } else { - yyb2815 = r.CheckBreak() + yyb2848 = r.CheckBreak() } - if yyb2815 { + if yyb2848 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35885,16 +36400,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2817 := &x.Target - yyv2817.CodecDecodeSelf(d) + yyv2850 := &x.Target + yyv2850.CodecDecodeSelf(d) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2848++ + if yyhl2848 { + yyb2848 = yyj2848 > l } else { - yyb2815 = r.CheckBreak() + yyb2848 = r.CheckBreak() } - if yyb2815 { + if yyb2848 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35904,13 +36419,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2848++ + if yyhl2848 { + yyb2848 = yyj2848 > l } else { - yyb2815 = r.CheckBreak() + yyb2848 = r.CheckBreak() } - if yyb2815 { + if yyb2848 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35921,17 +36436,17 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2815++ - if yyhl2815 { - yyb2815 = yyj2815 > l + yyj2848++ + if yyhl2848 { + yyb2848 = yyj2848 > l } else { - yyb2815 = r.CheckBreak() + yyb2848 = r.CheckBreak() } - if yyb2815 { + if yyb2848 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2815-1, "") + z.DecStructFieldNotFound(yyj2848-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35943,42 +36458,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2820 := z.EncBinary() - _ = yym2820 + yym2853 := z.EncBinary() + _ = yym2853 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2821 := !z.EncBinary() - yy2arr2821 := z.EncBasicHandle().StructToArray - var yyq2821 [3]bool - _, _, _ = yysep2821, yyq2821, yy2arr2821 - const yyr2821 bool = false - yyq2821[1] = x.Kind != "" - yyq2821[2] = x.APIVersion != "" - var yynn2821 int - if yyr2821 || yy2arr2821 { + yysep2854 := !z.EncBinary() + yy2arr2854 := z.EncBasicHandle().StructToArray + var yyq2854 [3]bool + _, _, _ = yysep2854, yyq2854, yy2arr2854 + const yyr2854 bool = false + yyq2854[1] = x.Kind != "" + yyq2854[2] = x.APIVersion != "" + var yynn2854 int + if yyr2854 || yy2arr2854 { r.EncodeArrayStart(3) } else { - yynn2821 = 1 - for _, b := range yyq2821 { + yynn2854 = 1 + for _, b := range yyq2854 { if b { - yynn2821++ + yynn2854++ } } - r.EncodeMapStart(yynn2821) - yynn2821 = 0 + r.EncodeMapStart(yynn2854) + yynn2854 = 0 } - if yyr2821 || yy2arr2821 { + if yyr2854 || yy2arr2854 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2823 := *x.GracePeriodSeconds - yym2824 := z.EncBinary() - _ = yym2824 + yy2856 := *x.GracePeriodSeconds + yym2857 := z.EncBinary() + _ = yym2857 if false { } else { - r.EncodeInt(int64(yy2823)) + r.EncodeInt(int64(yy2856)) } } } else { @@ -35988,20 +36503,20 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2825 := *x.GracePeriodSeconds - yym2826 := z.EncBinary() - _ = yym2826 + yy2858 := *x.GracePeriodSeconds + yym2859 := z.EncBinary() + _ = yym2859 if false { } else { - r.EncodeInt(int64(yy2825)) + r.EncodeInt(int64(yy2858)) } } } - if yyr2821 || yy2arr2821 { + if yyr2854 || yy2arr2854 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2821[1] { - yym2828 := z.EncBinary() - _ = yym2828 + if yyq2854[1] { + yym2861 := z.EncBinary() + _ = yym2861 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36010,23 +36525,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2821[1] { + if yyq2854[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2829 := z.EncBinary() - _ = yym2829 + yym2862 := z.EncBinary() + _ = yym2862 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2821 || yy2arr2821 { + if yyr2854 || yy2arr2854 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2821[2] { - yym2831 := z.EncBinary() - _ = yym2831 + if yyq2854[2] { + yym2864 := z.EncBinary() + _ = yym2864 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36035,19 +36550,19 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2821[2] { + if yyq2854[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2832 := z.EncBinary() - _ = yym2832 + yym2865 := z.EncBinary() + _ = yym2865 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2821 || yy2arr2821 { + if yyr2854 || yy2arr2854 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36060,25 +36575,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2833 := z.DecBinary() - _ = yym2833 + yym2866 := z.DecBinary() + _ = yym2866 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2834 := r.ContainerType() - if yyct2834 == codecSelferValueTypeMap1234 { - yyl2834 := r.ReadMapStart() - if yyl2834 == 0 { + yyct2867 := r.ContainerType() + if yyct2867 == codecSelferValueTypeMap1234 { + yyl2867 := r.ReadMapStart() + if yyl2867 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2834, d) + x.codecDecodeSelfFromMap(yyl2867, d) } - } else if yyct2834 == codecSelferValueTypeArray1234 { - yyl2834 := r.ReadArrayStart() - if yyl2834 == 0 { + } else if yyct2867 == codecSelferValueTypeArray1234 { + yyl2867 := r.ReadArrayStart() + if yyl2867 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2834, d) + x.codecDecodeSelfFromArray(yyl2867, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36090,12 +36605,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2835Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2835Slc - var yyhl2835 bool = l >= 0 - for yyj2835 := 0; ; yyj2835++ { - if yyhl2835 { - if yyj2835 >= l { + var yys2868Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2868Slc + var yyhl2868 bool = l >= 0 + for yyj2868 := 0; ; yyj2868++ { + if yyhl2868 { + if yyj2868 >= l { break } } else { @@ -36104,10 +36619,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2835Slc = r.DecodeBytes(yys2835Slc, true, true) - yys2835 := string(yys2835Slc) + yys2868Slc = r.DecodeBytes(yys2868Slc, true, true) + yys2868 := string(yys2868Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2835 { + switch yys2868 { case "gracePeriodSeconds": if r.TryDecodeAsNil() { if x.GracePeriodSeconds != nil { @@ -36117,8 +36632,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2837 := z.DecBinary() - _ = yym2837 + yym2870 := z.DecBinary() + _ = yym2870 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -36137,9 +36652,9 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2835) - } // end switch yys2835 - } // end for yyj2835 + z.DecStructFieldNotFound(-1, yys2868) + } // end switch yys2868 + } // end for yyj2868 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36147,16 +36662,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2840 int - var yyb2840 bool - var yyhl2840 bool = l >= 0 - yyj2840++ - if yyhl2840 { - yyb2840 = yyj2840 > l + var yyj2873 int + var yyb2873 bool + var yyhl2873 bool = l >= 0 + yyj2873++ + if yyhl2873 { + yyb2873 = yyj2873 > l } else { - yyb2840 = r.CheckBreak() + yyb2873 = r.CheckBreak() } - if yyb2840 { + if yyb2873 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36169,20 +36684,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2842 := z.DecBinary() - _ = yym2842 + yym2875 := z.DecBinary() + _ = yym2875 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj2840++ - if yyhl2840 { - yyb2840 = yyj2840 > l + yyj2873++ + if yyhl2873 { + yyb2873 = yyj2873 > l } else { - yyb2840 = r.CheckBreak() + yyb2873 = r.CheckBreak() } - if yyb2840 { + if yyb2873 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36192,13 +36707,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2840++ - if yyhl2840 { - yyb2840 = yyj2840 > l + yyj2873++ + if yyhl2873 { + yyb2873 = yyj2873 > l } else { - yyb2840 = r.CheckBreak() + yyb2873 = r.CheckBreak() } - if yyb2840 { + if yyb2873 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36209,17 +36724,17 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2840++ - if yyhl2840 { - yyb2840 = yyj2840 > l + yyj2873++ + if yyhl2873 { + yyb2873 = yyj2873 > l } else { - yyb2840 = r.CheckBreak() + yyb2873 = r.CheckBreak() } - if yyb2840 { + if yyb2873 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2840-1, "") + z.DecStructFieldNotFound(yyj2873-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36231,35 +36746,35 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2845 := z.EncBinary() - _ = yym2845 + yym2878 := z.EncBinary() + _ = yym2878 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2846 := !z.EncBinary() - yy2arr2846 := z.EncBasicHandle().StructToArray - var yyq2846 [4]bool - _, _, _ = yysep2846, yyq2846, yy2arr2846 - const yyr2846 bool = false - yyq2846[2] = x.Kind != "" - yyq2846[3] = x.APIVersion != "" - var yynn2846 int - if yyr2846 || yy2arr2846 { + yysep2879 := !z.EncBinary() + yy2arr2879 := z.EncBasicHandle().StructToArray + var yyq2879 [4]bool + _, _, _ = yysep2879, yyq2879, yy2arr2879 + const yyr2879 bool = false + yyq2879[2] = x.Kind != "" + yyq2879[3] = x.APIVersion != "" + var yynn2879 int + if yyr2879 || yy2arr2879 { r.EncodeArrayStart(4) } else { - yynn2846 = 2 - for _, b := range yyq2846 { + yynn2879 = 2 + for _, b := range yyq2879 { if b { - yynn2846++ + yynn2879++ } } - r.EncodeMapStart(yynn2846) - yynn2846 = 0 + r.EncodeMapStart(yynn2879) + yynn2879 = 0 } - if yyr2846 || yy2arr2846 { + if yyr2879 || yy2arr2879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2848 := z.EncBinary() - _ = yym2848 + yym2881 := z.EncBinary() + _ = yym2881 if false { } else { r.EncodeBool(bool(x.Export)) @@ -36268,17 +36783,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2849 := z.EncBinary() - _ = yym2849 + yym2882 := z.EncBinary() + _ = yym2882 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2846 || yy2arr2846 { + if yyr2879 || yy2arr2879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2851 := z.EncBinary() - _ = yym2851 + yym2884 := z.EncBinary() + _ = yym2884 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -36287,18 +36802,18 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2852 := z.EncBinary() - _ = yym2852 + yym2885 := z.EncBinary() + _ = yym2885 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2846 || yy2arr2846 { + if yyr2879 || yy2arr2879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2846[2] { - yym2854 := z.EncBinary() - _ = yym2854 + if yyq2879[2] { + yym2887 := z.EncBinary() + _ = yym2887 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36307,23 +36822,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2846[2] { + if yyq2879[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2855 := z.EncBinary() - _ = yym2855 + yym2888 := z.EncBinary() + _ = yym2888 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2846 || yy2arr2846 { + if yyr2879 || yy2arr2879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2846[3] { - yym2857 := z.EncBinary() - _ = yym2857 + if yyq2879[3] { + yym2890 := z.EncBinary() + _ = yym2890 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36332,19 +36847,19 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2846[3] { + if yyq2879[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2858 := z.EncBinary() - _ = yym2858 + yym2891 := z.EncBinary() + _ = yym2891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2846 || yy2arr2846 { + if yyr2879 || yy2arr2879 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36357,25 +36872,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2859 := z.DecBinary() - _ = yym2859 + yym2892 := z.DecBinary() + _ = yym2892 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2860 := r.ContainerType() - if yyct2860 == codecSelferValueTypeMap1234 { - yyl2860 := r.ReadMapStart() - if yyl2860 == 0 { + yyct2893 := r.ContainerType() + if yyct2893 == codecSelferValueTypeMap1234 { + yyl2893 := r.ReadMapStart() + if yyl2893 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2860, d) + x.codecDecodeSelfFromMap(yyl2893, d) } - } else if yyct2860 == codecSelferValueTypeArray1234 { - yyl2860 := r.ReadArrayStart() - if yyl2860 == 0 { + } else if yyct2893 == codecSelferValueTypeArray1234 { + yyl2893 := r.ReadArrayStart() + if yyl2893 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2860, d) + x.codecDecodeSelfFromArray(yyl2893, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36387,12 +36902,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2861Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2861Slc - var yyhl2861 bool = l >= 0 - for yyj2861 := 0; ; yyj2861++ { - if yyhl2861 { - if yyj2861 >= l { + var yys2894Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2894Slc + var yyhl2894 bool = l >= 0 + for yyj2894 := 0; ; yyj2894++ { + if yyhl2894 { + if yyj2894 >= l { break } } else { @@ -36401,10 +36916,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2861Slc = r.DecodeBytes(yys2861Slc, true, true) - yys2861 := string(yys2861Slc) + yys2894Slc = r.DecodeBytes(yys2894Slc, true, true) + yys2894 := string(yys2894Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2861 { + switch yys2894 { case "export": if r.TryDecodeAsNil() { x.Export = false @@ -36430,9 +36945,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2861) - } // end switch yys2861 - } // end for yyj2861 + z.DecStructFieldNotFound(-1, yys2894) + } // end switch yys2894 + } // end for yyj2894 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36440,16 +36955,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2866 int - var yyb2866 bool - var yyhl2866 bool = l >= 0 - yyj2866++ - if yyhl2866 { - yyb2866 = yyj2866 > l + var yyj2899 int + var yyb2899 bool + var yyhl2899 bool = l >= 0 + yyj2899++ + if yyhl2899 { + yyb2899 = yyj2899 > l } else { - yyb2866 = r.CheckBreak() + yyb2899 = r.CheckBreak() } - if yyb2866 { + if yyb2899 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36459,13 +36974,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj2866++ - if yyhl2866 { - yyb2866 = yyj2866 > l + yyj2899++ + if yyhl2899 { + yyb2899 = yyj2899 > l } else { - yyb2866 = r.CheckBreak() + yyb2899 = r.CheckBreak() } - if yyb2866 { + if yyb2899 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36475,13 +36990,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Exact = bool(r.DecodeBool()) } - yyj2866++ - if yyhl2866 { - yyb2866 = yyj2866 > l + yyj2899++ + if yyhl2899 { + yyb2899 = yyj2899 > l } else { - yyb2866 = r.CheckBreak() + yyb2899 = r.CheckBreak() } - if yyb2866 { + if yyb2899 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36491,13 +37006,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2866++ - if yyhl2866 { - yyb2866 = yyj2866 > l + yyj2899++ + if yyhl2899 { + yyb2899 = yyj2899 > l } else { - yyb2866 = r.CheckBreak() + yyb2899 = r.CheckBreak() } - if yyb2866 { + if yyb2899 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36508,17 +37023,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2866++ - if yyhl2866 { - yyb2866 = yyj2866 > l + yyj2899++ + if yyhl2899 { + yyb2899 = yyj2899 > l } else { - yyb2866 = r.CheckBreak() + yyb2899 = r.CheckBreak() } - if yyb2866 { + if yyb2899 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2866-1, "") + z.DecStructFieldNotFound(yyj2899-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36530,38 +37045,38 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2871 := z.EncBinary() - _ = yym2871 + yym2904 := z.EncBinary() + _ = yym2904 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2872 := !z.EncBinary() - yy2arr2872 := z.EncBasicHandle().StructToArray - var yyq2872 [7]bool - _, _, _ = yysep2872, yyq2872, yy2arr2872 - const yyr2872 bool = false - yyq2872[5] = x.Kind != "" - yyq2872[6] = x.APIVersion != "" - var yynn2872 int - if yyr2872 || yy2arr2872 { + yysep2905 := !z.EncBinary() + yy2arr2905 := z.EncBasicHandle().StructToArray + var yyq2905 [7]bool + _, _, _ = yysep2905, yyq2905, yy2arr2905 + const yyr2905 bool = false + yyq2905[5] = x.Kind != "" + yyq2905[6] = x.APIVersion != "" + var yynn2905 int + if yyr2905 || yy2arr2905 { r.EncodeArrayStart(7) } else { - yynn2872 = 5 - for _, b := range yyq2872 { + yynn2905 = 5 + for _, b := range yyq2905 { if b { - yynn2872++ + yynn2905++ } } - r.EncodeMapStart(yynn2872) - yynn2872 = 0 + r.EncodeMapStart(yynn2905) + yynn2905 = 0 } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym2874 := z.EncBinary() - _ = yym2874 + yym2907 := z.EncBinary() + _ = yym2907 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -36575,8 +37090,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LabelSelector == nil { r.EncodeNil() } else { - yym2875 := z.EncBinary() - _ = yym2875 + yym2908 := z.EncBinary() + _ = yym2908 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -36584,13 +37099,13 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldSelector == nil { r.EncodeNil() } else { - yym2877 := z.EncBinary() - _ = yym2877 + yym2910 := z.EncBinary() + _ = yym2910 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -36604,8 +37119,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.FieldSelector == nil { r.EncodeNil() } else { - yym2878 := z.EncBinary() - _ = yym2878 + yym2911 := z.EncBinary() + _ = yym2911 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -36613,10 +37128,10 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2880 := z.EncBinary() - _ = yym2880 + yym2913 := z.EncBinary() + _ = yym2913 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -36625,17 +37140,17 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2881 := z.EncBinary() - _ = yym2881 + yym2914 := z.EncBinary() + _ = yym2914 if false { } else { r.EncodeBool(bool(x.Watch)) } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2883 := z.EncBinary() - _ = yym2883 + yym2916 := z.EncBinary() + _ = yym2916 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -36644,24 +37159,24 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2884 := z.EncBinary() - _ = yym2884 + yym2917 := z.EncBinary() + _ = yym2917 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2886 := *x.TimeoutSeconds - yym2887 := z.EncBinary() - _ = yym2887 + yy2919 := *x.TimeoutSeconds + yym2920 := z.EncBinary() + _ = yym2920 if false { } else { - r.EncodeInt(int64(yy2886)) + r.EncodeInt(int64(yy2919)) } } } else { @@ -36671,20 +37186,20 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2888 := *x.TimeoutSeconds - yym2889 := z.EncBinary() - _ = yym2889 + yy2921 := *x.TimeoutSeconds + yym2922 := z.EncBinary() + _ = yym2922 if false { } else { - r.EncodeInt(int64(yy2888)) + r.EncodeInt(int64(yy2921)) } } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2872[5] { - yym2891 := z.EncBinary() - _ = yym2891 + if yyq2905[5] { + yym2924 := z.EncBinary() + _ = yym2924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36693,23 +37208,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2872[5] { + if yyq2905[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2892 := z.EncBinary() - _ = yym2892 + yym2925 := z.EncBinary() + _ = yym2925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2872[6] { - yym2894 := z.EncBinary() - _ = yym2894 + if yyq2905[6] { + yym2927 := z.EncBinary() + _ = yym2927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36718,19 +37233,19 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2872[6] { + if yyq2905[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2895 := z.EncBinary() - _ = yym2895 + yym2928 := z.EncBinary() + _ = yym2928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2872 || yy2arr2872 { + if yyr2905 || yy2arr2905 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36743,25 +37258,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2896 := z.DecBinary() - _ = yym2896 + yym2929 := z.DecBinary() + _ = yym2929 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2897 := r.ContainerType() - if yyct2897 == codecSelferValueTypeMap1234 { - yyl2897 := r.ReadMapStart() - if yyl2897 == 0 { + yyct2930 := r.ContainerType() + if yyct2930 == codecSelferValueTypeMap1234 { + yyl2930 := r.ReadMapStart() + if yyl2930 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2897, d) + x.codecDecodeSelfFromMap(yyl2930, d) } - } else if yyct2897 == codecSelferValueTypeArray1234 { - yyl2897 := r.ReadArrayStart() - if yyl2897 == 0 { + } else if yyct2930 == codecSelferValueTypeArray1234 { + yyl2930 := r.ReadArrayStart() + if yyl2930 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2897, d) + x.codecDecodeSelfFromArray(yyl2930, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36773,12 +37288,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2898Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2898Slc - var yyhl2898 bool = l >= 0 - for yyj2898 := 0; ; yyj2898++ { - if yyhl2898 { - if yyj2898 >= l { + var yys2931Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2931Slc + var yyhl2931 bool = l >= 0 + for yyj2931 := 0; ; yyj2931++ { + if yyhl2931 { + if yyj2931 >= l { break } } else { @@ -36787,34 +37302,34 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2898Slc = r.DecodeBytes(yys2898Slc, true, true) - yys2898 := string(yys2898Slc) + yys2931Slc = r.DecodeBytes(yys2931Slc, true, true) + yys2931 := string(yys2931Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2898 { + switch yys2931 { case "LabelSelector": if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv2899 := &x.LabelSelector - yym2900 := z.DecBinary() - _ = yym2900 + yyv2932 := &x.LabelSelector + yym2933 := z.DecBinary() + _ = yym2933 if false { - } else if z.HasExtensions() && z.DecExt(yyv2899) { + } else if z.HasExtensions() && z.DecExt(yyv2932) { } else { - z.DecFallback(yyv2899, true) + z.DecFallback(yyv2932, true) } } case "FieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv2901 := &x.FieldSelector - yym2902 := z.DecBinary() - _ = yym2902 + yyv2934 := &x.FieldSelector + yym2935 := z.DecBinary() + _ = yym2935 if false { - } else if z.HasExtensions() && z.DecExt(yyv2901) { + } else if z.HasExtensions() && z.DecExt(yyv2934) { } else { - z.DecFallback(yyv2901, true) + z.DecFallback(yyv2934, true) } } case "Watch": @@ -36838,8 +37353,8 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2906 := z.DecBinary() - _ = yym2906 + yym2939 := z.DecBinary() + _ = yym2939 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) @@ -36858,9 +37373,9 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2898) - } // end switch yys2898 - } // end for yyj2898 + z.DecStructFieldNotFound(-1, yys2931) + } // end switch yys2931 + } // end for yyj2931 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36868,16 +37383,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2909 int - var yyb2909 bool - var yyhl2909 bool = l >= 0 - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + var yyj2942 int + var yyb2942 bool + var yyhl2942 bool = l >= 0 + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36885,22 +37400,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv2910 := &x.LabelSelector - yym2911 := z.DecBinary() - _ = yym2911 + yyv2943 := &x.LabelSelector + yym2944 := z.DecBinary() + _ = yym2944 if false { - } else if z.HasExtensions() && z.DecExt(yyv2910) { + } else if z.HasExtensions() && z.DecExt(yyv2943) { } else { - z.DecFallback(yyv2910, true) + z.DecFallback(yyv2943, true) } } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36908,22 +37423,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv2912 := &x.FieldSelector - yym2913 := z.DecBinary() - _ = yym2913 + yyv2945 := &x.FieldSelector + yym2946 := z.DecBinary() + _ = yym2946 if false { - } else if z.HasExtensions() && z.DecExt(yyv2912) { + } else if z.HasExtensions() && z.DecExt(yyv2945) { } else { - z.DecFallback(yyv2912, true) + z.DecFallback(yyv2945, true) } } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36933,13 +37448,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36949,13 +37464,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36968,20 +37483,20 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2917 := z.DecBinary() - _ = yym2917 + yym2950 := z.DecBinary() + _ = yym2950 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36991,13 +37506,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37008,17 +37523,17 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2909 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2909 { + if yyb2942 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2909-1, "") + z.DecStructFieldNotFound(yyj2942-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37030,35 +37545,35 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2920 := z.EncBinary() - _ = yym2920 + yym2953 := z.EncBinary() + _ = yym2953 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2921 := !z.EncBinary() - yy2arr2921 := z.EncBasicHandle().StructToArray - var yyq2921 [10]bool - _, _, _ = yysep2921, yyq2921, yy2arr2921 - const yyr2921 bool = false - yyq2921[8] = x.Kind != "" - yyq2921[9] = x.APIVersion != "" - var yynn2921 int - if yyr2921 || yy2arr2921 { + yysep2954 := !z.EncBinary() + yy2arr2954 := z.EncBasicHandle().StructToArray + var yyq2954 [10]bool + _, _, _ = yysep2954, yyq2954, yy2arr2954 + const yyr2954 bool = false + yyq2954[8] = x.Kind != "" + yyq2954[9] = x.APIVersion != "" + var yynn2954 int + if yyr2954 || yy2arr2954 { r.EncodeArrayStart(10) } else { - yynn2921 = 8 - for _, b := range yyq2921 { + yynn2954 = 8 + for _, b := range yyq2954 { if b { - yynn2921++ + yynn2954++ } } - r.EncodeMapStart(yynn2921) - yynn2921 = 0 + r.EncodeMapStart(yynn2954) + yynn2954 = 0 } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2923 := z.EncBinary() - _ = yym2923 + yym2956 := z.EncBinary() + _ = yym2956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -37067,17 +37582,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2924 := z.EncBinary() - _ = yym2924 + yym2957 := z.EncBinary() + _ = yym2957 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2926 := z.EncBinary() - _ = yym2926 + yym2959 := z.EncBinary() + _ = yym2959 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -37086,17 +37601,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2927 := z.EncBinary() - _ = yym2927 + yym2960 := z.EncBinary() + _ = yym2960 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2929 := z.EncBinary() - _ = yym2929 + yym2962 := z.EncBinary() + _ = yym2962 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -37105,24 +37620,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2930 := z.EncBinary() - _ = yym2930 + yym2963 := z.EncBinary() + _ = yym2963 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2932 := *x.SinceSeconds - yym2933 := z.EncBinary() - _ = yym2933 + yy2965 := *x.SinceSeconds + yym2966 := z.EncBinary() + _ = yym2966 if false { } else { - r.EncodeInt(int64(yy2932)) + r.EncodeInt(int64(yy2965)) } } } else { @@ -37132,27 +37647,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2934 := *x.SinceSeconds - yym2935 := z.EncBinary() - _ = yym2935 + yy2967 := *x.SinceSeconds + yym2968 := z.EncBinary() + _ = yym2968 if false { } else { - r.EncodeInt(int64(yy2934)) + r.EncodeInt(int64(yy2967)) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2937 := z.EncBinary() - _ = yym2937 + yym2970 := z.EncBinary() + _ = yym2970 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2937 { + } else if yym2970 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2937 && z.IsJSONHandle() { + } else if !yym2970 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -37165,23 +37680,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym2938 := z.EncBinary() - _ = yym2938 + yym2971 := z.EncBinary() + _ = yym2971 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2938 { + } else if yym2971 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2938 && z.IsJSONHandle() { + } else if !yym2971 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2940 := z.EncBinary() - _ = yym2940 + yym2973 := z.EncBinary() + _ = yym2973 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -37190,24 +37705,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2941 := z.EncBinary() - _ = yym2941 + yym2974 := z.EncBinary() + _ = yym2974 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2943 := *x.TailLines - yym2944 := z.EncBinary() - _ = yym2944 + yy2976 := *x.TailLines + yym2977 := z.EncBinary() + _ = yym2977 if false { } else { - r.EncodeInt(int64(yy2943)) + r.EncodeInt(int64(yy2976)) } } } else { @@ -37217,26 +37732,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy2945 := *x.TailLines - yym2946 := z.EncBinary() - _ = yym2946 + yy2978 := *x.TailLines + yym2979 := z.EncBinary() + _ = yym2979 if false { } else { - r.EncodeInt(int64(yy2945)) + r.EncodeInt(int64(yy2978)) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2948 := *x.LimitBytes - yym2949 := z.EncBinary() - _ = yym2949 + yy2981 := *x.LimitBytes + yym2982 := z.EncBinary() + _ = yym2982 if false { } else { - r.EncodeInt(int64(yy2948)) + r.EncodeInt(int64(yy2981)) } } } else { @@ -37246,20 +37761,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2950 := *x.LimitBytes - yym2951 := z.EncBinary() - _ = yym2951 + yy2983 := *x.LimitBytes + yym2984 := z.EncBinary() + _ = yym2984 if false { } else { - r.EncodeInt(int64(yy2950)) + r.EncodeInt(int64(yy2983)) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[8] { - yym2953 := z.EncBinary() - _ = yym2953 + if yyq2954[8] { + yym2986 := z.EncBinary() + _ = yym2986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37268,23 +37783,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[8] { + if yyq2954[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2954 := z.EncBinary() - _ = yym2954 + yym2987 := z.EncBinary() + _ = yym2987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[9] { - yym2956 := z.EncBinary() - _ = yym2956 + if yyq2954[9] { + yym2989 := z.EncBinary() + _ = yym2989 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37293,19 +37808,19 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[9] { + if yyq2954[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2957 := z.EncBinary() - _ = yym2957 + yym2990 := z.EncBinary() + _ = yym2990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2921 || yy2arr2921 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37318,25 +37833,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2958 := z.DecBinary() - _ = yym2958 + yym2991 := z.DecBinary() + _ = yym2991 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2959 := r.ContainerType() - if yyct2959 == codecSelferValueTypeMap1234 { - yyl2959 := r.ReadMapStart() - if yyl2959 == 0 { + yyct2992 := r.ContainerType() + if yyct2992 == codecSelferValueTypeMap1234 { + yyl2992 := r.ReadMapStart() + if yyl2992 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2959, d) + x.codecDecodeSelfFromMap(yyl2992, d) } - } else if yyct2959 == codecSelferValueTypeArray1234 { - yyl2959 := r.ReadArrayStart() - if yyl2959 == 0 { + } else if yyct2992 == codecSelferValueTypeArray1234 { + yyl2992 := r.ReadArrayStart() + if yyl2992 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2959, d) + x.codecDecodeSelfFromArray(yyl2992, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37348,12 +37863,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2960Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2960Slc - var yyhl2960 bool = l >= 0 - for yyj2960 := 0; ; yyj2960++ { - if yyhl2960 { - if yyj2960 >= l { + var yys2993Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2993Slc + var yyhl2993 bool = l >= 0 + for yyj2993 := 0; ; yyj2993++ { + if yyhl2993 { + if yyj2993 >= l { break } } else { @@ -37362,10 +37877,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2960Slc = r.DecodeBytes(yys2960Slc, true, true) - yys2960 := string(yys2960Slc) + yys2993Slc = r.DecodeBytes(yys2993Slc, true, true) + yys2993 := string(yys2993Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2960 { + switch yys2993 { case "Container": if r.TryDecodeAsNil() { x.Container = "" @@ -37393,8 +37908,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2965 := z.DecBinary() - _ = yym2965 + yym2998 := z.DecBinary() + _ = yym2998 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -37409,13 +37924,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2967 := z.DecBinary() - _ = yym2967 + yym3000 := z.DecBinary() + _ = yym3000 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2967 { + } else if yym3000 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2967 && z.IsJSONHandle() { + } else if !yym3000 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -37436,8 +37951,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2970 := z.DecBinary() - _ = yym2970 + yym3003 := z.DecBinary() + _ = yym3003 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -37452,8 +37967,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2972 := z.DecBinary() - _ = yym2972 + yym3005 := z.DecBinary() + _ = yym3005 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) @@ -37472,9 +37987,9 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2960) - } // end switch yys2960 - } // end for yyj2960 + z.DecStructFieldNotFound(-1, yys2993) + } // end switch yys2993 + } // end for yyj2993 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37482,16 +37997,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2975 int - var yyb2975 bool - var yyhl2975 bool = l >= 0 - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + var yyj3008 int + var yyb3008 bool + var yyhl3008 bool = l >= 0 + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37501,13 +38016,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37517,13 +38032,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37533,13 +38048,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37552,20 +38067,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2980 := z.DecBinary() - _ = yym2980 + yym3013 := z.DecBinary() + _ = yym3013 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37578,25 +38093,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2982 := z.DecBinary() - _ = yym2982 + yym3015 := z.DecBinary() + _ = yym3015 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2982 { + } else if yym3015 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2982 && z.IsJSONHandle() { + } else if !yym3015 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37606,13 +38121,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37625,20 +38140,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2985 := z.DecBinary() - _ = yym2985 + yym3018 := z.DecBinary() + _ = yym3018 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37651,20 +38166,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2987 := z.DecBinary() - _ = yym2987 + yym3020 := z.DecBinary() + _ = yym3020 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37674,13 +38189,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37691,17 +38206,17 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj3008++ + if yyhl3008 { + yyb3008 = yyj3008 > l } else { - yyb2975 = r.CheckBreak() + yyb3008 = r.CheckBreak() } - if yyb2975 { + if yyb3008 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2975-1, "") + z.DecStructFieldNotFound(yyj3008-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37713,41 +38228,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2990 := z.EncBinary() - _ = yym2990 + yym3023 := z.EncBinary() + _ = yym3023 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2991 := !z.EncBinary() - yy2arr2991 := z.EncBasicHandle().StructToArray - var yyq2991 [7]bool - _, _, _ = yysep2991, yyq2991, yy2arr2991 - const yyr2991 bool = false - yyq2991[0] = x.Stdin != false - yyq2991[1] = x.Stdout != false - yyq2991[2] = x.Stderr != false - yyq2991[3] = x.TTY != false - yyq2991[4] = x.Container != "" - yyq2991[5] = x.Kind != "" - yyq2991[6] = x.APIVersion != "" - var yynn2991 int - if yyr2991 || yy2arr2991 { + yysep3024 := !z.EncBinary() + yy2arr3024 := z.EncBasicHandle().StructToArray + var yyq3024 [7]bool + _, _, _ = yysep3024, yyq3024, yy2arr3024 + const yyr3024 bool = false + yyq3024[0] = x.Stdin != false + yyq3024[1] = x.Stdout != false + yyq3024[2] = x.Stderr != false + yyq3024[3] = x.TTY != false + yyq3024[4] = x.Container != "" + yyq3024[5] = x.Kind != "" + yyq3024[6] = x.APIVersion != "" + var yynn3024 int + if yyr3024 || yy2arr3024 { r.EncodeArrayStart(7) } else { - yynn2991 = 0 - for _, b := range yyq2991 { + yynn3024 = 0 + for _, b := range yyq3024 { if b { - yynn2991++ + yynn3024++ } } - r.EncodeMapStart(yynn2991) - yynn2991 = 0 + r.EncodeMapStart(yynn3024) + yynn3024 = 0 } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[0] { - yym2993 := z.EncBinary() - _ = yym2993 + if yyq3024[0] { + yym3026 := z.EncBinary() + _ = yym3026 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -37756,23 +38271,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2991[0] { + if yyq3024[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2994 := z.EncBinary() - _ = yym2994 + yym3027 := z.EncBinary() + _ = yym3027 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[1] { - yym2996 := z.EncBinary() - _ = yym2996 + if yyq3024[1] { + yym3029 := z.EncBinary() + _ = yym3029 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -37781,23 +38296,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2991[1] { + if yyq3024[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2997 := z.EncBinary() - _ = yym2997 + yym3030 := z.EncBinary() + _ = yym3030 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[2] { - yym2999 := z.EncBinary() - _ = yym2999 + if yyq3024[2] { + yym3032 := z.EncBinary() + _ = yym3032 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -37806,23 +38321,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2991[2] { + if yyq3024[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3000 := z.EncBinary() - _ = yym3000 + yym3033 := z.EncBinary() + _ = yym3033 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[3] { - yym3002 := z.EncBinary() - _ = yym3002 + if yyq3024[3] { + yym3035 := z.EncBinary() + _ = yym3035 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -37831,23 +38346,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2991[3] { + if yyq3024[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3003 := z.EncBinary() - _ = yym3003 + yym3036 := z.EncBinary() + _ = yym3036 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[4] { - yym3005 := z.EncBinary() - _ = yym3005 + if yyq3024[4] { + yym3038 := z.EncBinary() + _ = yym3038 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -37856,23 +38371,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2991[4] { + if yyq3024[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3006 := z.EncBinary() - _ = yym3006 + yym3039 := z.EncBinary() + _ = yym3039 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[5] { - yym3008 := z.EncBinary() - _ = yym3008 + if yyq3024[5] { + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37881,23 +38396,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2991[5] { + if yyq3024[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3009 := z.EncBinary() - _ = yym3009 + yym3042 := z.EncBinary() + _ = yym3042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2991[6] { - yym3011 := z.EncBinary() - _ = yym3011 + if yyq3024[6] { + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37906,19 +38421,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2991[6] { + if yyq3024[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3012 := z.EncBinary() - _ = yym3012 + yym3045 := z.EncBinary() + _ = yym3045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2991 || yy2arr2991 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37931,25 +38446,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3013 := z.DecBinary() - _ = yym3013 + yym3046 := z.DecBinary() + _ = yym3046 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3014 := r.ContainerType() - if yyct3014 == codecSelferValueTypeMap1234 { - yyl3014 := r.ReadMapStart() - if yyl3014 == 0 { + yyct3047 := r.ContainerType() + if yyct3047 == codecSelferValueTypeMap1234 { + yyl3047 := r.ReadMapStart() + if yyl3047 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3014, d) + x.codecDecodeSelfFromMap(yyl3047, d) } - } else if yyct3014 == codecSelferValueTypeArray1234 { - yyl3014 := r.ReadArrayStart() - if yyl3014 == 0 { + } else if yyct3047 == codecSelferValueTypeArray1234 { + yyl3047 := r.ReadArrayStart() + if yyl3047 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3014, d) + x.codecDecodeSelfFromArray(yyl3047, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37961,12 +38476,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3015Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3015Slc - var yyhl3015 bool = l >= 0 - for yyj3015 := 0; ; yyj3015++ { - if yyhl3015 { - if yyj3015 >= l { + var yys3048Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3048Slc + var yyhl3048 bool = l >= 0 + for yyj3048 := 0; ; yyj3048++ { + if yyhl3048 { + if yyj3048 >= l { break } } else { @@ -37975,10 +38490,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3015Slc = r.DecodeBytes(yys3015Slc, true, true) - yys3015 := string(yys3015Slc) + yys3048Slc = r.DecodeBytes(yys3048Slc, true, true) + yys3048 := string(yys3048Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3015 { + switch yys3048 { case "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -38022,9 +38537,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3015) - } // end switch yys3015 - } // end for yyj3015 + z.DecStructFieldNotFound(-1, yys3048) + } // end switch yys3048 + } // end for yyj3048 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38032,16 +38547,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3023 int - var yyb3023 bool - var yyhl3023 bool = l >= 0 - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + var yyj3056 int + var yyb3056 bool + var yyhl3056 bool = l >= 0 + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38051,13 +38566,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38067,13 +38582,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38083,13 +38598,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38099,13 +38614,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38115,13 +38630,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Container = string(r.DecodeString()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38131,13 +38646,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38148,17 +38663,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3023++ - if yyhl3023 { - yyb3023 = yyj3023 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3023 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3023 { + if yyb3056 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3023-1, "") + z.DecStructFieldNotFound(yyj3056-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38170,35 +38685,35 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3031 := z.EncBinary() - _ = yym3031 + yym3064 := z.EncBinary() + _ = yym3064 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3032 := !z.EncBinary() - yy2arr3032 := z.EncBasicHandle().StructToArray - var yyq3032 [8]bool - _, _, _ = yysep3032, yyq3032, yy2arr3032 - const yyr3032 bool = false - yyq3032[6] = x.Kind != "" - yyq3032[7] = x.APIVersion != "" - var yynn3032 int - if yyr3032 || yy2arr3032 { + yysep3065 := !z.EncBinary() + yy2arr3065 := z.EncBasicHandle().StructToArray + var yyq3065 [8]bool + _, _, _ = yysep3065, yyq3065, yy2arr3065 + const yyr3065 bool = false + yyq3065[6] = x.Kind != "" + yyq3065[7] = x.APIVersion != "" + var yynn3065 int + if yyr3065 || yy2arr3065 { r.EncodeArrayStart(8) } else { - yynn3032 = 6 - for _, b := range yyq3032 { + yynn3065 = 6 + for _, b := range yyq3065 { if b { - yynn3032++ + yynn3065++ } } - r.EncodeMapStart(yynn3032) - yynn3032 = 0 + r.EncodeMapStart(yynn3065) + yynn3065 = 0 } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3034 := z.EncBinary() - _ = yym3034 + yym3067 := z.EncBinary() + _ = yym3067 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -38207,17 +38722,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3035 := z.EncBinary() - _ = yym3035 + yym3068 := z.EncBinary() + _ = yym3068 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3037 := z.EncBinary() - _ = yym3037 + yym3070 := z.EncBinary() + _ = yym3070 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -38226,17 +38741,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3038 := z.EncBinary() - _ = yym3038 + yym3071 := z.EncBinary() + _ = yym3071 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3040 := z.EncBinary() - _ = yym3040 + yym3073 := z.EncBinary() + _ = yym3073 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -38245,17 +38760,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3041 := z.EncBinary() - _ = yym3041 + yym3074 := z.EncBinary() + _ = yym3074 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3043 := z.EncBinary() - _ = yym3043 + yym3076 := z.EncBinary() + _ = yym3076 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -38264,17 +38779,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3044 := z.EncBinary() - _ = yym3044 + yym3077 := z.EncBinary() + _ = yym3077 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3046 := z.EncBinary() - _ = yym3046 + yym3079 := z.EncBinary() + _ = yym3079 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -38283,20 +38798,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3047 := z.EncBinary() - _ = yym3047 + yym3080 := z.EncBinary() + _ = yym3080 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3049 := z.EncBinary() - _ = yym3049 + yym3082 := z.EncBinary() + _ = yym3082 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -38309,19 +38824,19 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3050 := z.EncBinary() - _ = yym3050 + yym3083 := z.EncBinary() + _ = yym3083 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[6] { - yym3052 := z.EncBinary() - _ = yym3052 + if yyq3065[6] { + yym3085 := z.EncBinary() + _ = yym3085 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -38330,23 +38845,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3032[6] { + if yyq3065[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3053 := z.EncBinary() - _ = yym3053 + yym3086 := z.EncBinary() + _ = yym3086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[7] { - yym3055 := z.EncBinary() - _ = yym3055 + if yyq3065[7] { + yym3088 := z.EncBinary() + _ = yym3088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -38355,19 +38870,19 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3032[7] { + if yyq3065[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3056 := z.EncBinary() - _ = yym3056 + yym3089 := z.EncBinary() + _ = yym3089 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3032 || yy2arr3032 { + if yyr3065 || yy2arr3065 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38380,25 +38895,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3057 := z.DecBinary() - _ = yym3057 + yym3090 := z.DecBinary() + _ = yym3090 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3058 := r.ContainerType() - if yyct3058 == codecSelferValueTypeMap1234 { - yyl3058 := r.ReadMapStart() - if yyl3058 == 0 { + yyct3091 := r.ContainerType() + if yyct3091 == codecSelferValueTypeMap1234 { + yyl3091 := r.ReadMapStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3058, d) + x.codecDecodeSelfFromMap(yyl3091, d) } - } else if yyct3058 == codecSelferValueTypeArray1234 { - yyl3058 := r.ReadArrayStart() - if yyl3058 == 0 { + } else if yyct3091 == codecSelferValueTypeArray1234 { + yyl3091 := r.ReadArrayStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3058, d) + x.codecDecodeSelfFromArray(yyl3091, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38410,12 +38925,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3059Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3059Slc - var yyhl3059 bool = l >= 0 - for yyj3059 := 0; ; yyj3059++ { - if yyhl3059 { - if yyj3059 >= l { + var yys3092Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3092Slc + var yyhl3092 bool = l >= 0 + for yyj3092 := 0; ; yyj3092++ { + if yyhl3092 { + if yyj3092 >= l { break } } else { @@ -38424,10 +38939,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3059Slc = r.DecodeBytes(yys3059Slc, true, true) - yys3059 := string(yys3059Slc) + yys3092Slc = r.DecodeBytes(yys3092Slc, true, true) + yys3092 := string(yys3092Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3059 { + switch yys3092 { case "Stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -38462,12 +38977,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3065 := &x.Command - yym3066 := z.DecBinary() - _ = yym3066 + yyv3098 := &x.Command + yym3099 := z.DecBinary() + _ = yym3099 if false { } else { - z.F.DecSliceStringX(yyv3065, false, d) + z.F.DecSliceStringX(yyv3098, false, d) } } case "kind": @@ -38482,350 +38997,6 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - default: - z.DecStructFieldNotFound(-1, yys3059) - } // end switch yys3059 - } // end for yyj3059 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3069 int - var yyb3069 bool - var yyhl3069 bool = l >= 0 - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Command = nil - } else { - yyv3075 := &x.Command - yym3076 := z.DecBinary() - _ = yym3076 - if false { - } else { - z.F.DecSliceStringX(yyv3075, false, d) - } - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj3069++ - if yyhl3069 { - yyb3069 = yyj3069 > l - } else { - yyb3069 = r.CheckBreak() - } - if yyb3069 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3069-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3079 := z.EncBinary() - _ = yym3079 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3080 := !z.EncBinary() - yy2arr3080 := z.EncBasicHandle().StructToArray - var yyq3080 [3]bool - _, _, _ = yysep3080, yyq3080, yy2arr3080 - const yyr3080 bool = false - yyq3080[1] = x.Kind != "" - yyq3080[2] = x.APIVersion != "" - var yynn3080 int - if yyr3080 || yy2arr3080 { - r.EncodeArrayStart(3) - } else { - yynn3080 = 1 - for _, b := range yyq3080 { - if b { - yynn3080++ - } - } - r.EncodeMapStart(yynn3080) - yynn3080 = 0 - } - if yyr3080 || yy2arr3080 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3082 := z.EncBinary() - _ = yym3082 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3083 := z.EncBinary() - _ = yym3083 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - if yyr3080 || yy2arr3080 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[1] { - yym3085 := z.EncBinary() - _ = yym3085 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3080[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3086 := z.EncBinary() - _ = yym3086 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3080 || yy2arr3080 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3080[2] { - yym3088 := z.EncBinary() - _ = yym3088 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3080[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3089 := z.EncBinary() - _ = yym3089 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3080 || yy2arr3080 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3090 := z.DecBinary() - _ = yym3090 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3091 := r.ContainerType() - if yyct3091 == codecSelferValueTypeMap1234 { - yyl3091 := r.ReadMapStart() - if yyl3091 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3091, d) - } - } else if yyct3091 == codecSelferValueTypeArray1234 { - yyl3091 := r.ReadArrayStart() - if yyl3091 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3091, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3092Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3092Slc - var yyhl3092 bool = l >= 0 - for yyj3092 := 0; ; yyj3092++ { - if yyhl3092 { - if yyj3092 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3092Slc = r.DecodeBytes(yys3092Slc, true, true) - yys3092 := string(yys3092Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3092 { - case "Path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - 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()) - } default: z.DecStructFieldNotFound(-1, yys3092) } // end switch yys3092 @@ -38833,36 +39004,122 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3096 int - var yyb3096 bool - var yyhl3096 bool = l >= 0 - yyj3096++ - if yyhl3096 { - yyb3096 = yyj3096 > l + var yyj3102 int + var yyb3102 bool + var yyhl3102 bool = l >= 0 + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l } else { - yyb3096 = r.CheckBreak() + yyb3102 = r.CheckBreak() } - if yyb3096 { + if yyb3102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Path = "" + x.Stdin = false } else { - x.Path = string(r.DecodeString()) + x.Stdin = bool(r.DecodeBool()) } - yyj3096++ - if yyhl3096 { - yyb3096 = yyj3096 > l + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l } else { - yyb3096 = r.CheckBreak() + yyb3102 = r.CheckBreak() } - if yyb3096 { + if yyb3102 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l + } else { + yyb3102 = r.CheckBreak() + } + if yyb3102 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l + } else { + yyb3102 = r.CheckBreak() + } + if yyb3102 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l + } else { + yyb3102 = r.CheckBreak() + } + if yyb3102 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l + } else { + yyb3102 = r.CheckBreak() + } + if yyb3102 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Command = nil + } else { + yyv3108 := &x.Command + yym3109 := z.DecBinary() + _ = yym3109 + if false { + } else { + z.F.DecSliceStringX(yyv3108, false, d) + } + } + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l + } else { + yyb3102 = r.CheckBreak() + } + if yyb3102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38872,13 +39129,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3096++ - if yyhl3096 { - yyb3096 = yyj3096 > l + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l } else { - yyb3096 = r.CheckBreak() + yyb3102 = r.CheckBreak() } - if yyb3096 { + if yyb3102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38889,236 +39146,123 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3096++ - if yyhl3096 { - yyb3096 = yyj3096 > l + yyj3102++ + if yyhl3102 { + yyb3102 = yyj3102 > l } else { - yyb3096 = r.CheckBreak() + yyb3102 = r.CheckBreak() } - if yyb3096 { + if yyb3102 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3096-1, "") + z.DecStructFieldNotFound(yyj3102-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3100 := z.EncBinary() - _ = yym3100 + yym3112 := z.EncBinary() + _ = yym3112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3101 := !z.EncBinary() - yy2arr3101 := z.EncBasicHandle().StructToArray - var yyq3101 [7]bool - _, _, _ = yysep3101, yyq3101, yy2arr3101 - const yyr3101 bool = false - yyq3101[0] = x.Kind != "" - yyq3101[1] = x.Namespace != "" - yyq3101[2] = x.Name != "" - yyq3101[3] = x.UID != "" - yyq3101[4] = x.APIVersion != "" - yyq3101[5] = x.ResourceVersion != "" - yyq3101[6] = x.FieldPath != "" - var yynn3101 int - if yyr3101 || yy2arr3101 { - r.EncodeArrayStart(7) + yysep3113 := !z.EncBinary() + yy2arr3113 := z.EncBasicHandle().StructToArray + var yyq3113 [3]bool + _, _, _ = yysep3113, yyq3113, yy2arr3113 + const yyr3113 bool = false + yyq3113[1] = x.Kind != "" + yyq3113[2] = x.APIVersion != "" + var yynn3113 int + if yyr3113 || yy2arr3113 { + r.EncodeArrayStart(3) } else { - yynn3101 = 0 - for _, b := range yyq3101 { + yynn3113 = 1 + for _, b := range yyq3113 { if b { - yynn3101++ + yynn3113++ } } - r.EncodeMapStart(yynn3101) - yynn3101 = 0 + r.EncodeMapStart(yynn3113) + yynn3113 = 0 } - if yyr3101 || yy2arr3101 { + if yyr3113 || yy2arr3113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[0] { - yym3103 := z.EncBinary() - _ = yym3103 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + yym3115 := z.EncBinary() + _ = yym3115 + if false { } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } else { - if yyq3101[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3104 := z.EncBinary() - _ = yym3104 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3101 || yy2arr3101 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[1] { - yym3106 := z.EncBinary() - _ = yym3106 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3116 := z.EncBinary() + _ = yym3116 + if false { } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3101[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespace")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3107 := z.EncBinary() - _ = yym3107 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3101 || yy2arr3101 { + if yyr3113 || yy2arr3113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[2] { - yym3109 := z.EncBinary() - _ = yym3109 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3101[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3110 := z.EncBinary() - _ = yym3110 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr3101 || yy2arr3101 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[3] { - yym3112 := z.EncBinary() - _ = yym3112 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3101[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3113 := z.EncBinary() - _ = yym3113 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr3101 || yy2arr3101 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[4] { - yym3115 := z.EncBinary() - _ = yym3115 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3101[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3116 := z.EncBinary() - _ = yym3116 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3101 || yy2arr3101 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[5] { + if yyq3113[1] { yym3118 := z.EncBinary() _ = yym3118 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3101[5] { + if yyq3113[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3119 := z.EncBinary() _ = yym3119 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3101 || yy2arr3101 { + if yyr3113 || yy2arr3113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3101[6] { + if yyq3113[2] { yym3121 := z.EncBinary() _ = yym3121 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3101[6] { + if yyq3113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3122 := z.EncBinary() _ = yym3122 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3101 || yy2arr3101 { + if yyr3113 || yy2arr3113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39127,7 +39271,7 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -39157,7 +39301,7 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -39179,6 +39323,377 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3125 := string(yys3125Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3125 { + case "Path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys3125) + } // end switch yys3125 + } // end for yyj3125 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3129 int + var yyb3129 bool + var yyhl3129 bool = l >= 0 + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3129-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3133 := z.EncBinary() + _ = yym3133 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3134 := !z.EncBinary() + yy2arr3134 := z.EncBasicHandle().StructToArray + var yyq3134 [7]bool + _, _, _ = yysep3134, yyq3134, yy2arr3134 + const yyr3134 bool = false + yyq3134[0] = x.Kind != "" + yyq3134[1] = x.Namespace != "" + yyq3134[2] = x.Name != "" + yyq3134[3] = x.UID != "" + yyq3134[4] = x.APIVersion != "" + yyq3134[5] = x.ResourceVersion != "" + yyq3134[6] = x.FieldPath != "" + var yynn3134 int + if yyr3134 || yy2arr3134 { + r.EncodeArrayStart(7) + } else { + yynn3134 = 0 + for _, b := range yyq3134 { + if b { + yynn3134++ + } + } + r.EncodeMapStart(yynn3134) + yynn3134 = 0 + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[0] { + yym3136 := z.EncBinary() + _ = yym3136 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3137 := z.EncBinary() + _ = yym3137 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[1] { + yym3139 := z.EncBinary() + _ = yym3139 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3140 := z.EncBinary() + _ = yym3140 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[2] { + yym3142 := z.EncBinary() + _ = yym3142 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3143 := z.EncBinary() + _ = yym3143 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[3] { + yym3145 := z.EncBinary() + _ = yym3145 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3146 := z.EncBinary() + _ = yym3146 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[4] { + yym3148 := z.EncBinary() + _ = yym3148 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3149 := z.EncBinary() + _ = yym3149 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[5] { + yym3151 := z.EncBinary() + _ = yym3151 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3152 := z.EncBinary() + _ = yym3152 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3134[6] { + yym3154 := z.EncBinary() + _ = yym3154 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3134[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3155 := z.EncBinary() + _ = yym3155 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } + } + if yyr3134 || yy2arr3134 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3156 := z.DecBinary() + _ = yym3156 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3157 := r.ContainerType() + if yyct3157 == codecSelferValueTypeMap1234 { + yyl3157 := r.ReadMapStart() + if yyl3157 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3157, d) + } + } else if yyct3157 == codecSelferValueTypeArray1234 { + yyl3157 := r.ReadArrayStart() + if yyl3157 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3157, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3158Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3158Slc + var yyhl3158 bool = l >= 0 + for yyj3158 := 0; ; yyj3158++ { + if yyhl3158 { + if yyj3158 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3158Slc = r.DecodeBytes(yys3158Slc, true, true) + yys3158 := string(yys3158Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3158 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39222,9 +39737,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3125) - } // end switch yys3125 - } // end for yyj3125 + z.DecStructFieldNotFound(-1, yys3158) + } // end switch yys3158 + } // end for yyj3158 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39232,16 +39747,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3133 int - var yyb3133 bool - var yyhl3133 bool = l >= 0 - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + var yyj3166 int + var yyb3166 bool + var yyhl3166 bool = l >= 0 + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39251,13 +39766,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39267,13 +39782,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39283,13 +39798,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39299,13 +39814,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39315,13 +39830,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39331,13 +39846,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39348,17 +39863,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3166++ + if yyhl3166 { + yyb3166 = yyj3166 > l } else { - yyb3133 = r.CheckBreak() + yyb3166 = r.CheckBreak() } - if yyb3133 { + if yyb3166 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3133-1, "") + z.DecStructFieldNotFound(yyj3166-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39370,33 +39885,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3141 := z.EncBinary() - _ = yym3141 + yym3174 := z.EncBinary() + _ = yym3174 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3142 := !z.EncBinary() - yy2arr3142 := z.EncBasicHandle().StructToArray - var yyq3142 [1]bool - _, _, _ = yysep3142, yyq3142, yy2arr3142 - const yyr3142 bool = false - var yynn3142 int - if yyr3142 || yy2arr3142 { + yysep3175 := !z.EncBinary() + yy2arr3175 := z.EncBasicHandle().StructToArray + var yyq3175 [1]bool + _, _, _ = yysep3175, yyq3175, yy2arr3175 + const yyr3175 bool = false + var yynn3175 int + if yyr3175 || yy2arr3175 { r.EncodeArrayStart(1) } else { - yynn3142 = 1 - for _, b := range yyq3142 { + yynn3175 = 1 + for _, b := range yyq3175 { if b { - yynn3142++ + yynn3175++ } } - r.EncodeMapStart(yynn3142) - yynn3142 = 0 + r.EncodeMapStart(yynn3175) + yynn3175 = 0 } - if yyr3142 || yy2arr3142 { + if yyr3175 || yy2arr3175 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3144 := z.EncBinary() - _ = yym3144 + yym3177 := z.EncBinary() + _ = yym3177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -39405,14 +39920,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3145 := z.EncBinary() - _ = yym3145 + yym3178 := z.EncBinary() + _ = yym3178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3142 || yy2arr3142 { + if yyr3175 || yy2arr3175 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39425,25 +39940,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3146 := z.DecBinary() - _ = yym3146 + yym3179 := z.DecBinary() + _ = yym3179 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3147 := r.ContainerType() - if yyct3147 == codecSelferValueTypeMap1234 { - yyl3147 := r.ReadMapStart() - if yyl3147 == 0 { + yyct3180 := r.ContainerType() + if yyct3180 == codecSelferValueTypeMap1234 { + yyl3180 := r.ReadMapStart() + if yyl3180 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3147, d) + x.codecDecodeSelfFromMap(yyl3180, d) } - } else if yyct3147 == codecSelferValueTypeArray1234 { - yyl3147 := r.ReadArrayStart() - if yyl3147 == 0 { + } else if yyct3180 == codecSelferValueTypeArray1234 { + yyl3180 := r.ReadArrayStart() + if yyl3180 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3147, d) + x.codecDecodeSelfFromArray(yyl3180, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39455,12 +39970,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3148Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3148Slc - var yyhl3148 bool = l >= 0 - for yyj3148 := 0; ; yyj3148++ { - if yyhl3148 { - if yyj3148 >= l { + var yys3181Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3181Slc + var yyhl3181 bool = l >= 0 + for yyj3181 := 0; ; yyj3181++ { + if yyhl3181 { + if yyj3181 >= l { break } } else { @@ -39469,10 +39984,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3148Slc = r.DecodeBytes(yys3148Slc, true, true) - yys3148 := string(yys3148Slc) + yys3181Slc = r.DecodeBytes(yys3181Slc, true, true) + yys3181 := string(yys3181Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3148 { + switch yys3181 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -39480,9 +39995,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3148) - } // end switch yys3148 - } // end for yyj3148 + z.DecStructFieldNotFound(-1, yys3181) + } // end switch yys3181 + } // end for yyj3181 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39490,16 +40005,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3150 int - var yyb3150 bool - var yyhl3150 bool = l >= 0 - yyj3150++ - if yyhl3150 { - yyb3150 = yyj3150 > l + var yyj3183 int + var yyb3183 bool + var yyhl3183 bool = l >= 0 + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3150 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3150 { + if yyb3183 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39510,17 +40025,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3150++ - if yyhl3150 { - yyb3150 = yyj3150 > l + yyj3183++ + if yyhl3183 { + yyb3183 = yyj3183 > l } else { - yyb3150 = r.CheckBreak() + yyb3183 = r.CheckBreak() } - if yyb3150 { + if yyb3183 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3150-1, "") + z.DecStructFieldNotFound(yyj3183-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39532,54 +40047,54 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3152 := z.EncBinary() - _ = yym3152 + yym3185 := z.EncBinary() + _ = yym3185 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3153 := !z.EncBinary() - yy2arr3153 := z.EncBasicHandle().StructToArray - var yyq3153 [3]bool - _, _, _ = yysep3153, yyq3153, yy2arr3153 - const yyr3153 bool = false - yyq3153[0] = true - yyq3153[1] = x.Kind != "" - yyq3153[2] = x.APIVersion != "" - var yynn3153 int - if yyr3153 || yy2arr3153 { + yysep3186 := !z.EncBinary() + yy2arr3186 := z.EncBasicHandle().StructToArray + var yyq3186 [3]bool + _, _, _ = yysep3186, yyq3186, yy2arr3186 + const yyr3186 bool = false + yyq3186[0] = true + yyq3186[1] = x.Kind != "" + yyq3186[2] = x.APIVersion != "" + var yynn3186 int + if yyr3186 || yy2arr3186 { r.EncodeArrayStart(3) } else { - yynn3153 = 0 - for _, b := range yyq3153 { + yynn3186 = 0 + for _, b := range yyq3186 { if b { - yynn3153++ + yynn3186++ } } - r.EncodeMapStart(yynn3153) - yynn3153 = 0 + r.EncodeMapStart(yynn3186) + yynn3186 = 0 } - if yyr3153 || yy2arr3153 { + if yyr3186 || yy2arr3186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3153[0] { - yy3155 := &x.Reference - yy3155.CodecEncodeSelf(e) + if yyq3186[0] { + yy3188 := &x.Reference + yy3188.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3153[0] { + if yyq3186[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3156 := &x.Reference - yy3156.CodecEncodeSelf(e) + yy3189 := &x.Reference + yy3189.CodecEncodeSelf(e) } } - if yyr3153 || yy2arr3153 { + if yyr3186 || yy2arr3186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3153[1] { - yym3158 := z.EncBinary() - _ = yym3158 + if yyq3186[1] { + yym3191 := z.EncBinary() + _ = yym3191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39588,23 +40103,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3153[1] { + if yyq3186[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3159 := z.EncBinary() - _ = yym3159 + yym3192 := z.EncBinary() + _ = yym3192 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3153 || yy2arr3153 { + if yyr3186 || yy2arr3186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3153[2] { - yym3161 := z.EncBinary() - _ = yym3161 + if yyq3186[2] { + yym3194 := z.EncBinary() + _ = yym3194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39613,19 +40128,19 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3153[2] { + if yyq3186[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3162 := z.EncBinary() - _ = yym3162 + yym3195 := z.EncBinary() + _ = yym3195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3153 || yy2arr3153 { + if yyr3186 || yy2arr3186 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39638,25 +40153,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3163 := z.DecBinary() - _ = yym3163 + yym3196 := z.DecBinary() + _ = yym3196 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3164 := r.ContainerType() - if yyct3164 == codecSelferValueTypeMap1234 { - yyl3164 := r.ReadMapStart() - if yyl3164 == 0 { + yyct3197 := r.ContainerType() + if yyct3197 == codecSelferValueTypeMap1234 { + yyl3197 := r.ReadMapStart() + if yyl3197 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3164, d) + x.codecDecodeSelfFromMap(yyl3197, d) } - } else if yyct3164 == codecSelferValueTypeArray1234 { - yyl3164 := r.ReadArrayStart() - if yyl3164 == 0 { + } else if yyct3197 == codecSelferValueTypeArray1234 { + yyl3197 := r.ReadArrayStart() + if yyl3197 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3164, d) + x.codecDecodeSelfFromArray(yyl3197, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39668,12 +40183,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3165Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3165Slc - var yyhl3165 bool = l >= 0 - for yyj3165 := 0; ; yyj3165++ { - if yyhl3165 { - if yyj3165 >= l { + var yys3198Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3198Slc + var yyhl3198 bool = l >= 0 + for yyj3198 := 0; ; yyj3198++ { + if yyhl3198 { + if yyj3198 >= l { break } } else { @@ -39682,16 +40197,16 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3165Slc = r.DecodeBytes(yys3165Slc, true, true) - yys3165 := string(yys3165Slc) + yys3198Slc = r.DecodeBytes(yys3198Slc, true, true) + yys3198 := string(yys3198Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3165 { + switch yys3198 { case "reference": if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3166 := &x.Reference - yyv3166.CodecDecodeSelf(d) + yyv3199 := &x.Reference + yyv3199.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -39706,9 +40221,9 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3165) - } // end switch yys3165 - } // end for yyj3165 + z.DecStructFieldNotFound(-1, yys3198) + } // end switch yys3198 + } // end for yyj3198 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39716,16 +40231,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3169 int - var yyb3169 bool - var yyhl3169 bool = l >= 0 - yyj3169++ - if yyhl3169 { - yyb3169 = yyj3169 > l + var yyj3202 int + var yyb3202 bool + var yyhl3202 bool = l >= 0 + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3169 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3169 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39733,16 +40248,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3170 := &x.Reference - yyv3170.CodecDecodeSelf(d) + yyv3203 := &x.Reference + yyv3203.CodecDecodeSelf(d) } - yyj3169++ - if yyhl3169 { - yyb3169 = yyj3169 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3169 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3169 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39752,13 +40267,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3169++ - if yyhl3169 { - yyb3169 = yyj3169 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3169 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3169 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39769,17 +40284,17 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } for { - yyj3169++ - if yyhl3169 { - yyb3169 = yyj3169 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3169 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3169 { + if yyb3202 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3169-1, "") + z.DecStructFieldNotFound(yyj3202-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39791,36 +40306,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3173 := z.EncBinary() - _ = yym3173 + yym3206 := z.EncBinary() + _ = yym3206 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3174 := !z.EncBinary() - yy2arr3174 := z.EncBasicHandle().StructToArray - var yyq3174 [2]bool - _, _, _ = yysep3174, yyq3174, yy2arr3174 - const yyr3174 bool = false - yyq3174[0] = x.Component != "" - yyq3174[1] = x.Host != "" - var yynn3174 int - if yyr3174 || yy2arr3174 { + yysep3207 := !z.EncBinary() + yy2arr3207 := z.EncBasicHandle().StructToArray + var yyq3207 [2]bool + _, _, _ = yysep3207, yyq3207, yy2arr3207 + const yyr3207 bool = false + yyq3207[0] = x.Component != "" + yyq3207[1] = x.Host != "" + var yynn3207 int + if yyr3207 || yy2arr3207 { r.EncodeArrayStart(2) } else { - yynn3174 = 0 - for _, b := range yyq3174 { + yynn3207 = 0 + for _, b := range yyq3207 { if b { - yynn3174++ + yynn3207++ } } - r.EncodeMapStart(yynn3174) - yynn3174 = 0 + r.EncodeMapStart(yynn3207) + yynn3207 = 0 } - if yyr3174 || yy2arr3174 { + if yyr3207 || yy2arr3207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3174[0] { - yym3176 := z.EncBinary() - _ = yym3176 + if yyq3207[0] { + yym3209 := z.EncBinary() + _ = yym3209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -39829,23 +40344,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3174[0] { + if yyq3207[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3177 := z.EncBinary() - _ = yym3177 + yym3210 := z.EncBinary() + _ = yym3210 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3174 || yy2arr3174 { + if yyr3207 || yy2arr3207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3174[1] { - yym3179 := z.EncBinary() - _ = yym3179 + if yyq3207[1] { + yym3212 := z.EncBinary() + _ = yym3212 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -39854,19 +40369,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3174[1] { + if yyq3207[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3180 := z.EncBinary() - _ = yym3180 + yym3213 := z.EncBinary() + _ = yym3213 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3174 || yy2arr3174 { + if yyr3207 || yy2arr3207 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39879,25 +40394,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3181 := z.DecBinary() - _ = yym3181 + yym3214 := z.DecBinary() + _ = yym3214 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3182 := r.ContainerType() - if yyct3182 == codecSelferValueTypeMap1234 { - yyl3182 := r.ReadMapStart() - if yyl3182 == 0 { + yyct3215 := r.ContainerType() + if yyct3215 == codecSelferValueTypeMap1234 { + yyl3215 := r.ReadMapStart() + if yyl3215 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3182, d) + x.codecDecodeSelfFromMap(yyl3215, d) } - } else if yyct3182 == codecSelferValueTypeArray1234 { - yyl3182 := r.ReadArrayStart() - if yyl3182 == 0 { + } else if yyct3215 == codecSelferValueTypeArray1234 { + yyl3215 := r.ReadArrayStart() + if yyl3215 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3182, d) + x.codecDecodeSelfFromArray(yyl3215, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39909,12 +40424,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3183Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3183Slc - var yyhl3183 bool = l >= 0 - for yyj3183 := 0; ; yyj3183++ { - if yyhl3183 { - if yyj3183 >= l { + var yys3216Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3216Slc + var yyhl3216 bool = l >= 0 + for yyj3216 := 0; ; yyj3216++ { + if yyhl3216 { + if yyj3216 >= l { break } } else { @@ -39923,10 +40438,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3183Slc = r.DecodeBytes(yys3183Slc, true, true) - yys3183 := string(yys3183Slc) + yys3216Slc = r.DecodeBytes(yys3216Slc, true, true) + yys3216 := string(yys3216Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3183 { + switch yys3216 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -39940,9 +40455,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3183) - } // end switch yys3183 - } // end for yyj3183 + z.DecStructFieldNotFound(-1, yys3216) + } // end switch yys3216 + } // end for yyj3216 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39950,16 +40465,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3186 int - var yyb3186 bool - var yyhl3186 bool = l >= 0 - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + var yyj3219 int + var yyb3219 bool + var yyhl3219 bool = l >= 0 + yyj3219++ + if yyhl3219 { + yyb3219 = yyj3219 > l } else { - yyb3186 = r.CheckBreak() + yyb3219 = r.CheckBreak() } - if yyb3186 { + if yyb3219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39969,13 +40484,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3219++ + if yyhl3219 { + yyb3219 = yyj3219 > l } else { - yyb3186 = r.CheckBreak() + yyb3219 = r.CheckBreak() } - if yyb3186 { + if yyb3219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39986,17 +40501,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3219++ + if yyhl3219 { + yyb3219 = yyj3219 > l } else { - yyb3186 = r.CheckBreak() + yyb3219 = r.CheckBreak() } - if yyb3186 { + if yyb3219 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3186-1, "") + z.DecStructFieldNotFound(yyj3219-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40008,79 +40523,79 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3189 := z.EncBinary() - _ = yym3189 + yym3222 := z.EncBinary() + _ = yym3222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3190 := !z.EncBinary() - yy2arr3190 := z.EncBasicHandle().StructToArray - var yyq3190 [11]bool - _, _, _ = yysep3190, yyq3190, yy2arr3190 - const yyr3190 bool = false - yyq3190[0] = true - yyq3190[1] = true - yyq3190[2] = x.Reason != "" - yyq3190[3] = x.Message != "" - yyq3190[4] = true - yyq3190[5] = true - yyq3190[6] = true - yyq3190[7] = x.Count != 0 - yyq3190[8] = x.Type != "" - yyq3190[9] = x.Kind != "" - yyq3190[10] = x.APIVersion != "" - var yynn3190 int - if yyr3190 || yy2arr3190 { + yysep3223 := !z.EncBinary() + yy2arr3223 := z.EncBasicHandle().StructToArray + var yyq3223 [11]bool + _, _, _ = yysep3223, yyq3223, yy2arr3223 + const yyr3223 bool = false + yyq3223[0] = true + yyq3223[1] = true + yyq3223[2] = x.Reason != "" + yyq3223[3] = x.Message != "" + yyq3223[4] = true + yyq3223[5] = true + yyq3223[6] = true + yyq3223[7] = x.Count != 0 + yyq3223[8] = x.Type != "" + yyq3223[9] = x.Kind != "" + yyq3223[10] = x.APIVersion != "" + var yynn3223 int + if yyr3223 || yy2arr3223 { r.EncodeArrayStart(11) } else { - yynn3190 = 0 - for _, b := range yyq3190 { + yynn3223 = 0 + for _, b := range yyq3223 { if b { - yynn3190++ + yynn3223++ } } - r.EncodeMapStart(yynn3190) - yynn3190 = 0 + r.EncodeMapStart(yynn3223) + yynn3223 = 0 } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[0] { - yy3192 := &x.ObjectMeta - yy3192.CodecEncodeSelf(e) + if yyq3223[0] { + yy3225 := &x.ObjectMeta + yy3225.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3190[0] { + if yyq3223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3193 := &x.ObjectMeta - yy3193.CodecEncodeSelf(e) + yy3226 := &x.ObjectMeta + yy3226.CodecEncodeSelf(e) } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[1] { - yy3195 := &x.InvolvedObject - yy3195.CodecEncodeSelf(e) + if yyq3223[1] { + yy3228 := &x.InvolvedObject + yy3228.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3190[1] { + if yyq3223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3196 := &x.InvolvedObject - yy3196.CodecEncodeSelf(e) + yy3229 := &x.InvolvedObject + yy3229.CodecEncodeSelf(e) } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[2] { - yym3198 := z.EncBinary() - _ = yym3198 + if yyq3223[2] { + yym3231 := z.EncBinary() + _ = yym3231 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -40089,23 +40604,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3190[2] { + if yyq3223[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3199 := z.EncBinary() - _ = yym3199 + yym3232 := z.EncBinary() + _ = yym3232 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[3] { - yym3201 := z.EncBinary() - _ = yym3201 + if yyq3223[3] { + yym3234 := z.EncBinary() + _ = yym3234 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -40114,114 +40629,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3190[3] { + if yyq3223[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3202 := z.EncBinary() - _ = yym3202 + yym3235 := z.EncBinary() + _ = yym3235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[4] { - yy3204 := &x.Source - yy3204.CodecEncodeSelf(e) + if yyq3223[4] { + yy3237 := &x.Source + yy3237.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3190[4] { + if yyq3223[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3205 := &x.Source - yy3205.CodecEncodeSelf(e) + yy3238 := &x.Source + yy3238.CodecEncodeSelf(e) } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[5] { - yy3207 := &x.FirstTimestamp - yym3208 := z.EncBinary() - _ = yym3208 + if yyq3223[5] { + yy3240 := &x.FirstTimestamp + yym3241 := z.EncBinary() + _ = yym3241 if false { - } else if z.HasExtensions() && z.EncExt(yy3207) { - } else if yym3208 { - z.EncBinaryMarshal(yy3207) - } else if !yym3208 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3207) + } else if z.HasExtensions() && z.EncExt(yy3240) { + } else if yym3241 { + z.EncBinaryMarshal(yy3240) + } else if !yym3241 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3240) } else { - z.EncFallback(yy3207) + z.EncFallback(yy3240) } } else { r.EncodeNil() } } else { - if yyq3190[5] { + if yyq3223[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3209 := &x.FirstTimestamp - yym3210 := z.EncBinary() - _ = yym3210 + yy3242 := &x.FirstTimestamp + yym3243 := z.EncBinary() + _ = yym3243 if false { - } else if z.HasExtensions() && z.EncExt(yy3209) { - } else if yym3210 { - z.EncBinaryMarshal(yy3209) - } else if !yym3210 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3209) + } else if z.HasExtensions() && z.EncExt(yy3242) { + } else if yym3243 { + z.EncBinaryMarshal(yy3242) + } else if !yym3243 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3242) } else { - z.EncFallback(yy3209) + z.EncFallback(yy3242) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[6] { - yy3212 := &x.LastTimestamp - yym3213 := z.EncBinary() - _ = yym3213 + if yyq3223[6] { + yy3245 := &x.LastTimestamp + yym3246 := z.EncBinary() + _ = yym3246 if false { - } else if z.HasExtensions() && z.EncExt(yy3212) { - } else if yym3213 { - z.EncBinaryMarshal(yy3212) - } else if !yym3213 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3212) + } else if z.HasExtensions() && z.EncExt(yy3245) { + } else if yym3246 { + z.EncBinaryMarshal(yy3245) + } else if !yym3246 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3245) } else { - z.EncFallback(yy3212) + z.EncFallback(yy3245) } } else { r.EncodeNil() } } else { - if yyq3190[6] { + if yyq3223[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3214 := &x.LastTimestamp - yym3215 := z.EncBinary() - _ = yym3215 + yy3247 := &x.LastTimestamp + yym3248 := z.EncBinary() + _ = yym3248 if false { - } else if z.HasExtensions() && z.EncExt(yy3214) { - } else if yym3215 { - z.EncBinaryMarshal(yy3214) - } else if !yym3215 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3214) + } else if z.HasExtensions() && z.EncExt(yy3247) { + } else if yym3248 { + z.EncBinaryMarshal(yy3247) + } else if !yym3248 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3247) } else { - z.EncFallback(yy3214) + z.EncFallback(yy3247) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[7] { - yym3217 := z.EncBinary() - _ = yym3217 + if yyq3223[7] { + yym3250 := z.EncBinary() + _ = yym3250 if false { } else { r.EncodeInt(int64(x.Count)) @@ -40230,23 +40745,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3190[7] { + if yyq3223[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3218 := z.EncBinary() - _ = yym3218 + yym3251 := z.EncBinary() + _ = yym3251 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[8] { - yym3220 := z.EncBinary() - _ = yym3220 + if yyq3223[8] { + yym3253 := z.EncBinary() + _ = yym3253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -40255,23 +40770,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3190[8] { + if yyq3223[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3221 := z.EncBinary() - _ = yym3221 + yym3254 := z.EncBinary() + _ = yym3254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[9] { - yym3223 := z.EncBinary() - _ = yym3223 + if yyq3223[9] { + yym3256 := z.EncBinary() + _ = yym3256 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40280,23 +40795,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3190[9] { + if yyq3223[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3224 := z.EncBinary() - _ = yym3224 + yym3257 := z.EncBinary() + _ = yym3257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3190[10] { - yym3226 := z.EncBinary() - _ = yym3226 + if yyq3223[10] { + yym3259 := z.EncBinary() + _ = yym3259 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40305,19 +40820,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3190[10] { + if yyq3223[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3227 := z.EncBinary() - _ = yym3227 + yym3260 := z.EncBinary() + _ = yym3260 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3190 || yy2arr3190 { + if yyr3223 || yy2arr3223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40330,25 +40845,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3228 := z.DecBinary() - _ = yym3228 + yym3261 := z.DecBinary() + _ = yym3261 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3229 := r.ContainerType() - if yyct3229 == codecSelferValueTypeMap1234 { - yyl3229 := r.ReadMapStart() - if yyl3229 == 0 { + yyct3262 := r.ContainerType() + if yyct3262 == codecSelferValueTypeMap1234 { + yyl3262 := r.ReadMapStart() + if yyl3262 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3229, d) + x.codecDecodeSelfFromMap(yyl3262, d) } - } else if yyct3229 == codecSelferValueTypeArray1234 { - yyl3229 := r.ReadArrayStart() - if yyl3229 == 0 { + } else if yyct3262 == codecSelferValueTypeArray1234 { + yyl3262 := r.ReadArrayStart() + if yyl3262 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3229, d) + x.codecDecodeSelfFromArray(yyl3262, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40360,12 +40875,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3230Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3230Slc - var yyhl3230 bool = l >= 0 - for yyj3230 := 0; ; yyj3230++ { - if yyhl3230 { - if yyj3230 >= l { + var yys3263Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3263Slc + var yyhl3263 bool = l >= 0 + for yyj3263 := 0; ; yyj3263++ { + if yyhl3263 { + if yyj3263 >= l { break } } else { @@ -40374,23 +40889,23 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3230Slc = r.DecodeBytes(yys3230Slc, true, true) - yys3230 := string(yys3230Slc) + yys3263Slc = r.DecodeBytes(yys3263Slc, true, true) + yys3263 := string(yys3263Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3230 { + switch yys3263 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3231 := &x.ObjectMeta - yyv3231.CodecDecodeSelf(d) + yyv3264 := &x.ObjectMeta + yyv3264.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3232 := &x.InvolvedObject - yyv3232.CodecDecodeSelf(d) + yyv3265 := &x.InvolvedObject + yyv3265.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -40408,41 +40923,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3235 := &x.Source - yyv3235.CodecDecodeSelf(d) + yyv3268 := &x.Source + yyv3268.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3236 := &x.FirstTimestamp - yym3237 := z.DecBinary() - _ = yym3237 + yyv3269 := &x.FirstTimestamp + yym3270 := z.DecBinary() + _ = yym3270 if false { - } else if z.HasExtensions() && z.DecExt(yyv3236) { - } else if yym3237 { - z.DecBinaryUnmarshal(yyv3236) - } else if !yym3237 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3236) + } else if z.HasExtensions() && z.DecExt(yyv3269) { + } else if yym3270 { + z.DecBinaryUnmarshal(yyv3269) + } else if !yym3270 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3269) } else { - z.DecFallback(yyv3236, false) + z.DecFallback(yyv3269, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3238 := &x.LastTimestamp - yym3239 := z.DecBinary() - _ = yym3239 + yyv3271 := &x.LastTimestamp + yym3272 := z.DecBinary() + _ = yym3272 if false { - } else if z.HasExtensions() && z.DecExt(yyv3238) { - } else if yym3239 { - z.DecBinaryUnmarshal(yyv3238) - } else if !yym3239 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3238) + } else if z.HasExtensions() && z.DecExt(yyv3271) { + } else if yym3272 { + z.DecBinaryUnmarshal(yyv3271) + } else if !yym3272 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3271) } else { - z.DecFallback(yyv3238, false) + z.DecFallback(yyv3271, false) } } case "count": @@ -40470,9 +40985,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3230) - } // end switch yys3230 - } // end for yyj3230 + z.DecStructFieldNotFound(-1, yys3263) + } // end switch yys3263 + } // end for yyj3263 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40480,16 +40995,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3244 int - var yyb3244 bool - var yyhl3244 bool = l >= 0 - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + var yyj3277 int + var yyb3277 bool + var yyhl3277 bool = l >= 0 + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40497,16 +41012,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3245 := &x.ObjectMeta - yyv3245.CodecDecodeSelf(d) + yyv3278 := &x.ObjectMeta + yyv3278.CodecDecodeSelf(d) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40514,16 +41029,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3246 := &x.InvolvedObject - yyv3246.CodecDecodeSelf(d) + yyv3279 := &x.InvolvedObject + yyv3279.CodecDecodeSelf(d) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40533,13 +41048,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40549,13 +41064,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40563,16 +41078,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3249 := &x.Source - yyv3249.CodecDecodeSelf(d) + yyv3282 := &x.Source + yyv3282.CodecDecodeSelf(d) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40580,26 +41095,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3250 := &x.FirstTimestamp - yym3251 := z.DecBinary() - _ = yym3251 + yyv3283 := &x.FirstTimestamp + yym3284 := z.DecBinary() + _ = yym3284 if false { - } else if z.HasExtensions() && z.DecExt(yyv3250) { - } else if yym3251 { - z.DecBinaryUnmarshal(yyv3250) - } else if !yym3251 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3250) + } else if z.HasExtensions() && z.DecExt(yyv3283) { + } else if yym3284 { + z.DecBinaryUnmarshal(yyv3283) + } else if !yym3284 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3283) } else { - z.DecFallback(yyv3250, false) + z.DecFallback(yyv3283, false) } } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40607,26 +41122,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3252 := &x.LastTimestamp - yym3253 := z.DecBinary() - _ = yym3253 + yyv3285 := &x.LastTimestamp + yym3286 := z.DecBinary() + _ = yym3286 if false { - } else if z.HasExtensions() && z.DecExt(yyv3252) { - } else if yym3253 { - z.DecBinaryUnmarshal(yyv3252) - } else if !yym3253 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3252) + } else if z.HasExtensions() && z.DecExt(yyv3285) { + } else if yym3286 { + z.DecBinaryUnmarshal(yyv3285) + } else if !yym3286 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3285) } else { - z.DecFallback(yyv3252, false) + z.DecFallback(yyv3285, false) } } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40636,13 +41151,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40652,13 +41167,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40668,13 +41183,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40685,17 +41200,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3244++ - if yyhl3244 { - yyb3244 = yyj3244 > l + yyj3277++ + if yyhl3277 { + yyb3277 = yyj3277 > l } else { - yyb3244 = r.CheckBreak() + yyb3277 = r.CheckBreak() } - if yyb3244 { + if yyb3277 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3244-1, "") + z.DecStructFieldNotFound(yyj3277-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40707,68 +41222,68 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3258 := z.EncBinary() - _ = yym3258 + yym3291 := z.EncBinary() + _ = yym3291 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3259 := !z.EncBinary() - yy2arr3259 := z.EncBasicHandle().StructToArray - var yyq3259 [4]bool - _, _, _ = yysep3259, yyq3259, yy2arr3259 - const yyr3259 bool = false - yyq3259[0] = true - yyq3259[2] = x.Kind != "" - yyq3259[3] = x.APIVersion != "" - var yynn3259 int - if yyr3259 || yy2arr3259 { + yysep3292 := !z.EncBinary() + yy2arr3292 := z.EncBasicHandle().StructToArray + var yyq3292 [4]bool + _, _, _ = yysep3292, yyq3292, yy2arr3292 + const yyr3292 bool = false + yyq3292[0] = true + yyq3292[2] = x.Kind != "" + yyq3292[3] = x.APIVersion != "" + var yynn3292 int + if yyr3292 || yy2arr3292 { r.EncodeArrayStart(4) } else { - yynn3259 = 1 - for _, b := range yyq3259 { + yynn3292 = 1 + for _, b := range yyq3292 { if b { - yynn3259++ + yynn3292++ } } - r.EncodeMapStart(yynn3259) - yynn3259 = 0 + r.EncodeMapStart(yynn3292) + yynn3292 = 0 } - if yyr3259 || yy2arr3259 { + if yyr3292 || yy2arr3292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3259[0] { - yy3261 := &x.ListMeta - yym3262 := z.EncBinary() - _ = yym3262 + if yyq3292[0] { + yy3294 := &x.ListMeta + yym3295 := z.EncBinary() + _ = yym3295 if false { - } else if z.HasExtensions() && z.EncExt(yy3261) { + } else if z.HasExtensions() && z.EncExt(yy3294) { } else { - z.EncFallback(yy3261) + z.EncFallback(yy3294) } } else { r.EncodeNil() } } else { - if yyq3259[0] { + if yyq3292[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3263 := &x.ListMeta - yym3264 := z.EncBinary() - _ = yym3264 + yy3296 := &x.ListMeta + yym3297 := z.EncBinary() + _ = yym3297 if false { - } else if z.HasExtensions() && z.EncExt(yy3263) { + } else if z.HasExtensions() && z.EncExt(yy3296) { } else { - z.EncFallback(yy3263) + z.EncFallback(yy3296) } } } - if yyr3259 || yy2arr3259 { + if yyr3292 || yy2arr3292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3266 := z.EncBinary() - _ = yym3266 + yym3299 := z.EncBinary() + _ = yym3299 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -40781,19 +41296,19 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3267 := z.EncBinary() - _ = yym3267 + yym3300 := z.EncBinary() + _ = yym3300 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3259 || yy2arr3259 { + if yyr3292 || yy2arr3292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3259[2] { - yym3269 := z.EncBinary() - _ = yym3269 + if yyq3292[2] { + yym3302 := z.EncBinary() + _ = yym3302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40802,23 +41317,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3259[2] { + if yyq3292[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3270 := z.EncBinary() - _ = yym3270 + yym3303 := z.EncBinary() + _ = yym3303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3259 || yy2arr3259 { + if yyr3292 || yy2arr3292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3259[3] { - yym3272 := z.EncBinary() - _ = yym3272 + if yyq3292[3] { + yym3305 := z.EncBinary() + _ = yym3305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40827,19 +41342,19 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3259[3] { + if yyq3292[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3273 := z.EncBinary() - _ = yym3273 + yym3306 := z.EncBinary() + _ = yym3306 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3259 || yy2arr3259 { + if yyr3292 || yy2arr3292 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40852,25 +41367,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3274 := z.DecBinary() - _ = yym3274 + yym3307 := z.DecBinary() + _ = yym3307 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3275 := r.ContainerType() - if yyct3275 == codecSelferValueTypeMap1234 { - yyl3275 := r.ReadMapStart() - if yyl3275 == 0 { + yyct3308 := r.ContainerType() + if yyct3308 == codecSelferValueTypeMap1234 { + yyl3308 := r.ReadMapStart() + if yyl3308 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3275, d) + x.codecDecodeSelfFromMap(yyl3308, d) } - } else if yyct3275 == codecSelferValueTypeArray1234 { - yyl3275 := r.ReadArrayStart() - if yyl3275 == 0 { + } else if yyct3308 == codecSelferValueTypeArray1234 { + yyl3308 := r.ReadArrayStart() + if yyl3308 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3275, d) + x.codecDecodeSelfFromArray(yyl3308, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40882,12 +41397,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3276Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3276Slc - var yyhl3276 bool = l >= 0 - for yyj3276 := 0; ; yyj3276++ { - if yyhl3276 { - if yyj3276 >= l { + var yys3309Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3309Slc + var yyhl3309 bool = l >= 0 + for yyj3309 := 0; ; yyj3309++ { + if yyhl3309 { + if yyj3309 >= l { break } } else { @@ -40896,33 +41411,33 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3276Slc = r.DecodeBytes(yys3276Slc, true, true) - yys3276 := string(yys3276Slc) + yys3309Slc = r.DecodeBytes(yys3309Slc, true, true) + yys3309 := string(yys3309Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3276 { + switch yys3309 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3277 := &x.ListMeta - yym3278 := z.DecBinary() - _ = yym3278 + yyv3310 := &x.ListMeta + yym3311 := z.DecBinary() + _ = yym3311 if false { - } else if z.HasExtensions() && z.DecExt(yyv3277) { + } else if z.HasExtensions() && z.DecExt(yyv3310) { } else { - z.DecFallback(yyv3277, false) + z.DecFallback(yyv3310, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3279 := &x.Items - yym3280 := z.DecBinary() - _ = yym3280 + yyv3312 := &x.Items + yym3313 := z.DecBinary() + _ = yym3313 if false { } else { - h.decSliceEvent((*[]Event)(yyv3279), d) + h.decSliceEvent((*[]Event)(yyv3312), d) } } case "kind": @@ -40938,9 +41453,9 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3276) - } // end switch yys3276 - } // end for yyj3276 + z.DecStructFieldNotFound(-1, yys3309) + } // end switch yys3309 + } // end for yyj3309 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40948,16 +41463,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3283 int - var yyb3283 bool - var yyhl3283 bool = l >= 0 - yyj3283++ - if yyhl3283 { - yyb3283 = yyj3283 > l + var yyj3316 int + var yyb3316 bool + var yyhl3316 bool = l >= 0 + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l } else { - yyb3283 = r.CheckBreak() + yyb3316 = r.CheckBreak() } - if yyb3283 { + if yyb3316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40965,22 +41480,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3284 := &x.ListMeta - yym3285 := z.DecBinary() - _ = yym3285 + yyv3317 := &x.ListMeta + yym3318 := z.DecBinary() + _ = yym3318 if false { - } else if z.HasExtensions() && z.DecExt(yyv3284) { + } else if z.HasExtensions() && z.DecExt(yyv3317) { } else { - z.DecFallback(yyv3284, false) + z.DecFallback(yyv3317, false) } } - yyj3283++ - if yyhl3283 { - yyb3283 = yyj3283 > l + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l } else { - yyb3283 = r.CheckBreak() + yyb3316 = r.CheckBreak() } - if yyb3283 { + if yyb3316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40988,21 +41503,21 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3286 := &x.Items - yym3287 := z.DecBinary() - _ = yym3287 + yyv3319 := &x.Items + yym3320 := z.DecBinary() + _ = yym3320 if false { } else { - h.decSliceEvent((*[]Event)(yyv3286), d) + h.decSliceEvent((*[]Event)(yyv3319), d) } } - yyj3283++ - if yyhl3283 { - yyb3283 = yyj3283 > l + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l } else { - yyb3283 = r.CheckBreak() + yyb3316 = r.CheckBreak() } - if yyb3283 { + if yyb3316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41012,13 +41527,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3283++ - if yyhl3283 { - yyb3283 = yyj3283 > l + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l } else { - yyb3283 = r.CheckBreak() + yyb3316 = r.CheckBreak() } - if yyb3283 { + if yyb3316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41029,17 +41544,17 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3283++ - if yyhl3283 { - yyb3283 = yyj3283 > l + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l } else { - yyb3283 = r.CheckBreak() + yyb3316 = r.CheckBreak() } - if yyb3283 { + if yyb3316 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3283-1, "") + z.DecStructFieldNotFound(yyj3316-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41051,68 +41566,68 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3290 := z.EncBinary() - _ = yym3290 + yym3323 := z.EncBinary() + _ = yym3323 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3291 := !z.EncBinary() - yy2arr3291 := z.EncBasicHandle().StructToArray - var yyq3291 [4]bool - _, _, _ = yysep3291, yyq3291, yy2arr3291 - const yyr3291 bool = false - yyq3291[0] = true - yyq3291[2] = x.Kind != "" - yyq3291[3] = x.APIVersion != "" - var yynn3291 int - if yyr3291 || yy2arr3291 { + yysep3324 := !z.EncBinary() + yy2arr3324 := z.EncBasicHandle().StructToArray + var yyq3324 [4]bool + _, _, _ = yysep3324, yyq3324, yy2arr3324 + const yyr3324 bool = false + yyq3324[0] = true + yyq3324[2] = x.Kind != "" + yyq3324[3] = x.APIVersion != "" + var yynn3324 int + if yyr3324 || yy2arr3324 { r.EncodeArrayStart(4) } else { - yynn3291 = 1 - for _, b := range yyq3291 { + yynn3324 = 1 + for _, b := range yyq3324 { if b { - yynn3291++ + yynn3324++ } } - r.EncodeMapStart(yynn3291) - yynn3291 = 0 + r.EncodeMapStart(yynn3324) + yynn3324 = 0 } - if yyr3291 || yy2arr3291 { + if yyr3324 || yy2arr3324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3291[0] { - yy3293 := &x.ListMeta - yym3294 := z.EncBinary() - _ = yym3294 + if yyq3324[0] { + yy3326 := &x.ListMeta + yym3327 := z.EncBinary() + _ = yym3327 if false { - } else if z.HasExtensions() && z.EncExt(yy3293) { + } else if z.HasExtensions() && z.EncExt(yy3326) { } else { - z.EncFallback(yy3293) + z.EncFallback(yy3326) } } else { r.EncodeNil() } } else { - if yyq3291[0] { + if yyq3324[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3295 := &x.ListMeta - yym3296 := z.EncBinary() - _ = yym3296 + yy3328 := &x.ListMeta + yym3329 := z.EncBinary() + _ = yym3329 if false { - } else if z.HasExtensions() && z.EncExt(yy3295) { + } else if z.HasExtensions() && z.EncExt(yy3328) { } else { - z.EncFallback(yy3295) + z.EncFallback(yy3328) } } } - if yyr3291 || yy2arr3291 { + if yyr3324 || yy2arr3324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3298 := z.EncBinary() - _ = yym3298 + yym3331 := z.EncBinary() + _ = yym3331 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) @@ -41125,19 +41640,19 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3299 := z.EncBinary() - _ = yym3299 + yym3332 := z.EncBinary() + _ = yym3332 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) } } } - if yyr3291 || yy2arr3291 { + if yyr3324 || yy2arr3324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3291[2] { - yym3301 := z.EncBinary() - _ = yym3301 + if yyq3324[2] { + yym3334 := z.EncBinary() + _ = yym3334 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41146,23 +41661,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3291[2] { + if yyq3324[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3302 := z.EncBinary() - _ = yym3302 + yym3335 := z.EncBinary() + _ = yym3335 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3291 || yy2arr3291 { + if yyr3324 || yy2arr3324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3291[3] { - yym3304 := z.EncBinary() - _ = yym3304 + if yyq3324[3] { + yym3337 := z.EncBinary() + _ = yym3337 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41171,19 +41686,19 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3291[3] { + if yyq3324[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3305 := z.EncBinary() - _ = yym3305 + yym3338 := z.EncBinary() + _ = yym3338 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3291 || yy2arr3291 { + if yyr3324 || yy2arr3324 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41196,25 +41711,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3306 := z.DecBinary() - _ = yym3306 + yym3339 := z.DecBinary() + _ = yym3339 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3307 := r.ContainerType() - if yyct3307 == codecSelferValueTypeMap1234 { - yyl3307 := r.ReadMapStart() - if yyl3307 == 0 { + yyct3340 := r.ContainerType() + if yyct3340 == codecSelferValueTypeMap1234 { + yyl3340 := r.ReadMapStart() + if yyl3340 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3307, d) + x.codecDecodeSelfFromMap(yyl3340, d) } - } else if yyct3307 == codecSelferValueTypeArray1234 { - yyl3307 := r.ReadArrayStart() - if yyl3307 == 0 { + } else if yyct3340 == codecSelferValueTypeArray1234 { + yyl3340 := r.ReadArrayStart() + if yyl3340 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3307, d) + x.codecDecodeSelfFromArray(yyl3340, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41226,12 +41741,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3308Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3308Slc - var yyhl3308 bool = l >= 0 - for yyj3308 := 0; ; yyj3308++ { - if yyhl3308 { - if yyj3308 >= l { + var yys3341Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3341Slc + var yyhl3341 bool = l >= 0 + for yyj3341 := 0; ; yyj3341++ { + if yyhl3341 { + if yyj3341 >= l { break } } else { @@ -41240,33 +41755,33 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3308Slc = r.DecodeBytes(yys3308Slc, true, true) - yys3308 := string(yys3308Slc) + yys3341Slc = r.DecodeBytes(yys3341Slc, true, true) + yys3341 := string(yys3341Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3308 { + switch yys3341 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3309 := &x.ListMeta - yym3310 := z.DecBinary() - _ = yym3310 + yyv3342 := &x.ListMeta + yym3343 := z.DecBinary() + _ = yym3343 if false { - } else if z.HasExtensions() && z.DecExt(yyv3309) { + } else if z.HasExtensions() && z.DecExt(yyv3342) { } else { - z.DecFallback(yyv3309, false) + z.DecFallback(yyv3342, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3311 := &x.Items - yym3312 := z.DecBinary() - _ = yym3312 + yyv3344 := &x.Items + yym3345 := z.DecBinary() + _ = yym3345 if false { } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3311), d) + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3344), d) } } case "kind": @@ -41282,9 +41797,9 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3308) - } // end switch yys3308 - } // end for yyj3308 + z.DecStructFieldNotFound(-1, yys3341) + } // end switch yys3341 + } // end for yyj3341 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41292,16 +41807,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3315 int - var yyb3315 bool - var yyhl3315 bool = l >= 0 - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + var yyj3348 int + var yyb3348 bool + var yyhl3348 bool = l >= 0 + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41309,22 +41824,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3316 := &x.ListMeta - yym3317 := z.DecBinary() - _ = yym3317 + yyv3349 := &x.ListMeta + yym3350 := z.DecBinary() + _ = yym3350 if false { - } else if z.HasExtensions() && z.DecExt(yyv3316) { + } else if z.HasExtensions() && z.DecExt(yyv3349) { } else { - z.DecFallback(yyv3316, false) + z.DecFallback(yyv3349, false) } } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41332,21 +41847,21 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3318 := &x.Items - yym3319 := z.DecBinary() - _ = yym3319 + yyv3351 := &x.Items + yym3352 := z.DecBinary() + _ = yym3352 if false { } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3318), d) + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3351), d) } } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41356,13 +41871,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41373,17 +41888,17 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3315-1, "") + z.DecStructFieldNotFound(yyj3348-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41392,8 +41907,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3322 := z.EncBinary() - _ = yym3322 + yym3355 := z.EncBinary() + _ = yym3355 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41405,8 +41920,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3323 := z.DecBinary() - _ = yym3323 + yym3356 := z.DecBinary() + _ = yym3356 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41421,53 +41936,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3324 := z.EncBinary() - _ = yym3324 + yym3357 := z.EncBinary() + _ = yym3357 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3325 := !z.EncBinary() - yy2arr3325 := z.EncBasicHandle().StructToArray - var yyq3325 [6]bool - _, _, _ = yysep3325, yyq3325, yy2arr3325 - const yyr3325 bool = false - yyq3325[0] = x.Type != "" - yyq3325[1] = len(x.Max) != 0 - yyq3325[2] = len(x.Min) != 0 - yyq3325[3] = len(x.Default) != 0 - yyq3325[4] = len(x.DefaultRequest) != 0 - yyq3325[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3325 int - if yyr3325 || yy2arr3325 { + yysep3358 := !z.EncBinary() + yy2arr3358 := z.EncBasicHandle().StructToArray + var yyq3358 [6]bool + _, _, _ = yysep3358, yyq3358, yy2arr3358 + const yyr3358 bool = false + yyq3358[0] = x.Type != "" + yyq3358[1] = len(x.Max) != 0 + yyq3358[2] = len(x.Min) != 0 + yyq3358[3] = len(x.Default) != 0 + yyq3358[4] = len(x.DefaultRequest) != 0 + yyq3358[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3358 int + if yyr3358 || yy2arr3358 { r.EncodeArrayStart(6) } else { - yynn3325 = 0 - for _, b := range yyq3325 { + yynn3358 = 0 + for _, b := range yyq3358 { if b { - yynn3325++ + yynn3358++ } } - r.EncodeMapStart(yynn3325) - yynn3325 = 0 + r.EncodeMapStart(yynn3358) + yynn3358 = 0 } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[0] { + if yyq3358[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3325[0] { + if yyq3358[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[1] { + if yyq3358[1] { if x.Max == nil { r.EncodeNil() } else { @@ -41477,7 +41992,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3325[1] { + if yyq3358[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41488,9 +42003,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[2] { + if yyq3358[2] { if x.Min == nil { r.EncodeNil() } else { @@ -41500,7 +42015,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3325[2] { + if yyq3358[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41511,9 +42026,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[3] { + if yyq3358[3] { if x.Default == nil { r.EncodeNil() } else { @@ -41523,7 +42038,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3325[3] { + if yyq3358[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41534,9 +42049,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[4] { + if yyq3358[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -41546,7 +42061,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3325[4] { + if yyq3358[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41557,9 +42072,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3325[5] { + if yyq3358[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -41569,7 +42084,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3325[5] { + if yyq3358[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41580,7 +42095,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3325 || yy2arr3325 { + if yyr3358 || yy2arr3358 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41593,25 +42108,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3332 := z.DecBinary() - _ = yym3332 + yym3365 := z.DecBinary() + _ = yym3365 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3333 := r.ContainerType() - if yyct3333 == codecSelferValueTypeMap1234 { - yyl3333 := r.ReadMapStart() - if yyl3333 == 0 { + yyct3366 := r.ContainerType() + if yyct3366 == codecSelferValueTypeMap1234 { + yyl3366 := r.ReadMapStart() + if yyl3366 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3333, d) + x.codecDecodeSelfFromMap(yyl3366, d) } - } else if yyct3333 == codecSelferValueTypeArray1234 { - yyl3333 := r.ReadArrayStart() - if yyl3333 == 0 { + } else if yyct3366 == codecSelferValueTypeArray1234 { + yyl3366 := r.ReadArrayStart() + if yyl3366 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3333, d) + x.codecDecodeSelfFromArray(yyl3366, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41623,12 +42138,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3334Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3334Slc - var yyhl3334 bool = l >= 0 - for yyj3334 := 0; ; yyj3334++ { - if yyhl3334 { - if yyj3334 >= l { + var yys3367Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3367Slc + var yyhl3367 bool = l >= 0 + for yyj3367 := 0; ; yyj3367++ { + if yyhl3367 { + if yyj3367 >= l { break } } else { @@ -41637,10 +42152,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3334Slc = r.DecodeBytes(yys3334Slc, true, true) - yys3334 := string(yys3334Slc) + yys3367Slc = r.DecodeBytes(yys3367Slc, true, true) + yys3367 := string(yys3367Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3334 { + switch yys3367 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41651,41 +42166,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3336 := &x.Max - yyv3336.CodecDecodeSelf(d) + yyv3369 := &x.Max + yyv3369.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3337 := &x.Min - yyv3337.CodecDecodeSelf(d) + yyv3370 := &x.Min + yyv3370.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3338 := &x.Default - yyv3338.CodecDecodeSelf(d) + yyv3371 := &x.Default + yyv3371.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3339 := &x.DefaultRequest - yyv3339.CodecDecodeSelf(d) + yyv3372 := &x.DefaultRequest + yyv3372.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3340 := &x.MaxLimitRequestRatio - yyv3340.CodecDecodeSelf(d) + yyv3373 := &x.MaxLimitRequestRatio + yyv3373.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3334) - } // end switch yys3334 - } // end for yyj3334 + z.DecStructFieldNotFound(-1, yys3367) + } // end switch yys3367 + } // end for yyj3367 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41693,16 +42208,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3341 int - var yyb3341 bool - var yyhl3341 bool = l >= 0 - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + var yyj3374 int + var yyb3374 bool + var yyhl3374 bool = l >= 0 + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41712,13 +42227,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41726,16 +42241,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3343 := &x.Max - yyv3343.CodecDecodeSelf(d) + yyv3376 := &x.Max + yyv3376.CodecDecodeSelf(d) } - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41743,16 +42258,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3344 := &x.Min - yyv3344.CodecDecodeSelf(d) + yyv3377 := &x.Min + yyv3377.CodecDecodeSelf(d) } - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41760,16 +42275,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3345 := &x.Default - yyv3345.CodecDecodeSelf(d) + yyv3378 := &x.Default + yyv3378.CodecDecodeSelf(d) } - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41777,16 +42292,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3346 := &x.DefaultRequest - yyv3346.CodecDecodeSelf(d) + yyv3379 := &x.DefaultRequest + yyv3379.CodecDecodeSelf(d) } - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41794,21 +42309,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3347 := &x.MaxLimitRequestRatio - yyv3347.CodecDecodeSelf(d) + yyv3380 := &x.MaxLimitRequestRatio + yyv3380.CodecDecodeSelf(d) } for { - yyj3341++ - if yyhl3341 { - yyb3341 = yyj3341 > l + yyj3374++ + if yyhl3374 { + yyb3374 = yyj3374 > l } else { - yyb3341 = r.CheckBreak() + yyb3374 = r.CheckBreak() } - if yyb3341 { + if yyb3374 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3341-1, "") + z.DecStructFieldNotFound(yyj3374-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41820,36 +42335,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3348 := z.EncBinary() - _ = yym3348 + yym3381 := z.EncBinary() + _ = yym3381 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3349 := !z.EncBinary() - yy2arr3349 := z.EncBasicHandle().StructToArray - var yyq3349 [1]bool - _, _, _ = yysep3349, yyq3349, yy2arr3349 - const yyr3349 bool = false - var yynn3349 int - if yyr3349 || yy2arr3349 { + yysep3382 := !z.EncBinary() + yy2arr3382 := z.EncBasicHandle().StructToArray + var yyq3382 [1]bool + _, _, _ = yysep3382, yyq3382, yy2arr3382 + const yyr3382 bool = false + var yynn3382 int + if yyr3382 || yy2arr3382 { r.EncodeArrayStart(1) } else { - yynn3349 = 1 - for _, b := range yyq3349 { + yynn3382 = 1 + for _, b := range yyq3382 { if b { - yynn3349++ + yynn3382++ } } - r.EncodeMapStart(yynn3349) - yynn3349 = 0 + r.EncodeMapStart(yynn3382) + yynn3382 = 0 } - if yyr3349 || yy2arr3349 { + if yyr3382 || yy2arr3382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym3351 := z.EncBinary() - _ = yym3351 + yym3384 := z.EncBinary() + _ = yym3384 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -41862,15 +42377,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym3352 := z.EncBinary() - _ = yym3352 + yym3385 := z.EncBinary() + _ = yym3385 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr3349 || yy2arr3349 { + if yyr3382 || yy2arr3382 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41883,25 +42398,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3353 := z.DecBinary() - _ = yym3353 + yym3386 := z.DecBinary() + _ = yym3386 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3354 := r.ContainerType() - if yyct3354 == codecSelferValueTypeMap1234 { - yyl3354 := r.ReadMapStart() - if yyl3354 == 0 { + yyct3387 := r.ContainerType() + if yyct3387 == codecSelferValueTypeMap1234 { + yyl3387 := r.ReadMapStart() + if yyl3387 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3354, d) + x.codecDecodeSelfFromMap(yyl3387, d) } - } else if yyct3354 == codecSelferValueTypeArray1234 { - yyl3354 := r.ReadArrayStart() - if yyl3354 == 0 { + } else if yyct3387 == codecSelferValueTypeArray1234 { + yyl3387 := r.ReadArrayStart() + if yyl3387 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3354, d) + x.codecDecodeSelfFromArray(yyl3387, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41913,12 +42428,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3355Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3355Slc - var yyhl3355 bool = l >= 0 - for yyj3355 := 0; ; yyj3355++ { - if yyhl3355 { - if yyj3355 >= l { + var yys3388Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3388Slc + var yyhl3388 bool = l >= 0 + for yyj3388 := 0; ; yyj3388++ { + if yyhl3388 { + if yyj3388 >= l { break } } else { @@ -41927,26 +42442,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3355Slc = r.DecodeBytes(yys3355Slc, true, true) - yys3355 := string(yys3355Slc) + yys3388Slc = r.DecodeBytes(yys3388Slc, true, true) + yys3388 := string(yys3388Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3355 { + switch yys3388 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3356 := &x.Limits - yym3357 := z.DecBinary() - _ = yym3357 + yyv3389 := &x.Limits + yym3390 := z.DecBinary() + _ = yym3390 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3356), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3389), d) } } default: - z.DecStructFieldNotFound(-1, yys3355) - } // end switch yys3355 - } // end for yyj3355 + z.DecStructFieldNotFound(-1, yys3388) + } // end switch yys3388 + } // end for yyj3388 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41954,16 +42469,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3358 int - var yyb3358 bool - var yyhl3358 bool = l >= 0 - yyj3358++ - if yyhl3358 { - yyb3358 = yyj3358 > l + var yyj3391 int + var yyb3391 bool + var yyhl3391 bool = l >= 0 + yyj3391++ + if yyhl3391 { + yyb3391 = yyj3391 > l } else { - yyb3358 = r.CheckBreak() + yyb3391 = r.CheckBreak() } - if yyb3358 { + if yyb3391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41971,26 +42486,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3359 := &x.Limits - yym3360 := z.DecBinary() - _ = yym3360 + yyv3392 := &x.Limits + yym3393 := z.DecBinary() + _ = yym3393 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3359), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3392), d) } } for { - yyj3358++ - if yyhl3358 { - yyb3358 = yyj3358 > l + yyj3391++ + if yyhl3391 { + yyb3391 = yyj3391 > l } else { - yyb3358 = r.CheckBreak() + yyb3391 = r.CheckBreak() } - if yyb3358 { + if yyb3391 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3358-1, "") + z.DecStructFieldNotFound(yyj3391-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42002,72 +42517,72 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3361 := z.EncBinary() - _ = yym3361 + yym3394 := z.EncBinary() + _ = yym3394 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3362 := !z.EncBinary() - yy2arr3362 := z.EncBasicHandle().StructToArray - var yyq3362 [4]bool - _, _, _ = yysep3362, yyq3362, yy2arr3362 - const yyr3362 bool = false - yyq3362[0] = true - yyq3362[1] = true - yyq3362[2] = x.Kind != "" - yyq3362[3] = x.APIVersion != "" - var yynn3362 int - if yyr3362 || yy2arr3362 { + yysep3395 := !z.EncBinary() + yy2arr3395 := z.EncBasicHandle().StructToArray + var yyq3395 [4]bool + _, _, _ = yysep3395, yyq3395, yy2arr3395 + const yyr3395 bool = false + yyq3395[0] = true + yyq3395[1] = true + yyq3395[2] = x.Kind != "" + yyq3395[3] = x.APIVersion != "" + var yynn3395 int + if yyr3395 || yy2arr3395 { r.EncodeArrayStart(4) } else { - yynn3362 = 0 - for _, b := range yyq3362 { + yynn3395 = 0 + for _, b := range yyq3395 { if b { - yynn3362++ + yynn3395++ } } - r.EncodeMapStart(yynn3362) - yynn3362 = 0 + r.EncodeMapStart(yynn3395) + yynn3395 = 0 } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[0] { - yy3364 := &x.ObjectMeta - yy3364.CodecEncodeSelf(e) + if yyq3395[0] { + yy3397 := &x.ObjectMeta + yy3397.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3362[0] { + if yyq3395[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3365 := &x.ObjectMeta - yy3365.CodecEncodeSelf(e) + yy3398 := &x.ObjectMeta + yy3398.CodecEncodeSelf(e) } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[1] { - yy3367 := &x.Spec - yy3367.CodecEncodeSelf(e) + if yyq3395[1] { + yy3400 := &x.Spec + yy3400.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3362[1] { + if yyq3395[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3368 := &x.Spec - yy3368.CodecEncodeSelf(e) + yy3401 := &x.Spec + yy3401.CodecEncodeSelf(e) } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[2] { - yym3370 := z.EncBinary() - _ = yym3370 + if yyq3395[2] { + yym3403 := z.EncBinary() + _ = yym3403 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42076,23 +42591,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[2] { + if yyq3395[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3371 := z.EncBinary() - _ = yym3371 + yym3404 := z.EncBinary() + _ = yym3404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[3] { - yym3373 := z.EncBinary() - _ = yym3373 + if yyq3395[3] { + yym3406 := z.EncBinary() + _ = yym3406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42101,19 +42616,19 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[3] { + if yyq3395[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3374 := z.EncBinary() - _ = yym3374 + yym3407 := z.EncBinary() + _ = yym3407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42126,25 +42641,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3375 := z.DecBinary() - _ = yym3375 + yym3408 := z.DecBinary() + _ = yym3408 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3376 := r.ContainerType() - if yyct3376 == codecSelferValueTypeMap1234 { - yyl3376 := r.ReadMapStart() - if yyl3376 == 0 { + yyct3409 := r.ContainerType() + if yyct3409 == codecSelferValueTypeMap1234 { + yyl3409 := r.ReadMapStart() + if yyl3409 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3376, d) + x.codecDecodeSelfFromMap(yyl3409, d) } - } else if yyct3376 == codecSelferValueTypeArray1234 { - yyl3376 := r.ReadArrayStart() - if yyl3376 == 0 { + } else if yyct3409 == codecSelferValueTypeArray1234 { + yyl3409 := r.ReadArrayStart() + if yyl3409 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3376, d) + x.codecDecodeSelfFromArray(yyl3409, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42156,12 +42671,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3377Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3377Slc - var yyhl3377 bool = l >= 0 - for yyj3377 := 0; ; yyj3377++ { - if yyhl3377 { - if yyj3377 >= l { + var yys3410Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3410Slc + var yyhl3410 bool = l >= 0 + for yyj3410 := 0; ; yyj3410++ { + if yyhl3410 { + if yyj3410 >= l { break } } else { @@ -42170,23 +42685,23 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3377Slc = r.DecodeBytes(yys3377Slc, true, true) - yys3377 := string(yys3377Slc) + yys3410Slc = r.DecodeBytes(yys3410Slc, true, true) + yys3410 := string(yys3410Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3377 { + switch yys3410 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3378 := &x.ObjectMeta - yyv3378.CodecDecodeSelf(d) + yyv3411 := &x.ObjectMeta + yyv3411.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3379 := &x.Spec - yyv3379.CodecDecodeSelf(d) + yyv3412 := &x.Spec + yyv3412.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -42201,9 +42716,9 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3377) - } // end switch yys3377 - } // end for yyj3377 + z.DecStructFieldNotFound(-1, yys3410) + } // end switch yys3410 + } // end for yyj3410 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42211,16 +42726,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3382 int - var yyb3382 bool - var yyhl3382 bool = l >= 0 - yyj3382++ - if yyhl3382 { - yyb3382 = yyj3382 > l + var yyj3415 int + var yyb3415 bool + var yyhl3415 bool = l >= 0 + yyj3415++ + if yyhl3415 { + yyb3415 = yyj3415 > l } else { - yyb3382 = r.CheckBreak() + yyb3415 = r.CheckBreak() } - if yyb3382 { + if yyb3415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42228,16 +42743,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3383 := &x.ObjectMeta - yyv3383.CodecDecodeSelf(d) + yyv3416 := &x.ObjectMeta + yyv3416.CodecDecodeSelf(d) } - yyj3382++ - if yyhl3382 { - yyb3382 = yyj3382 > l + yyj3415++ + if yyhl3415 { + yyb3415 = yyj3415 > l } else { - yyb3382 = r.CheckBreak() + yyb3415 = r.CheckBreak() } - if yyb3382 { + if yyb3415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42245,16 +42760,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3384 := &x.Spec - yyv3384.CodecDecodeSelf(d) + yyv3417 := &x.Spec + yyv3417.CodecDecodeSelf(d) } - yyj3382++ - if yyhl3382 { - yyb3382 = yyj3382 > l + yyj3415++ + if yyhl3415 { + yyb3415 = yyj3415 > l } else { - yyb3382 = r.CheckBreak() + yyb3415 = r.CheckBreak() } - if yyb3382 { + if yyb3415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42264,13 +42779,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3382++ - if yyhl3382 { - yyb3382 = yyj3382 > l + yyj3415++ + if yyhl3415 { + yyb3415 = yyj3415 > l } else { - yyb3382 = r.CheckBreak() + yyb3415 = r.CheckBreak() } - if yyb3382 { + if yyb3415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42281,17 +42796,17 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3382++ - if yyhl3382 { - yyb3382 = yyj3382 > l + yyj3415++ + if yyhl3415 { + yyb3415 = yyj3415 > l } else { - yyb3382 = r.CheckBreak() + yyb3415 = r.CheckBreak() } - if yyb3382 { + if yyb3415 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3382-1, "") + z.DecStructFieldNotFound(yyj3415-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42303,68 +42818,68 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3387 := z.EncBinary() - _ = yym3387 + yym3420 := z.EncBinary() + _ = yym3420 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3388 := !z.EncBinary() - yy2arr3388 := z.EncBasicHandle().StructToArray - var yyq3388 [4]bool - _, _, _ = yysep3388, yyq3388, yy2arr3388 - const yyr3388 bool = false - yyq3388[0] = true - yyq3388[2] = x.Kind != "" - yyq3388[3] = x.APIVersion != "" - var yynn3388 int - if yyr3388 || yy2arr3388 { + yysep3421 := !z.EncBinary() + yy2arr3421 := z.EncBasicHandle().StructToArray + var yyq3421 [4]bool + _, _, _ = yysep3421, yyq3421, yy2arr3421 + const yyr3421 bool = false + yyq3421[0] = true + yyq3421[2] = x.Kind != "" + yyq3421[3] = x.APIVersion != "" + var yynn3421 int + if yyr3421 || yy2arr3421 { r.EncodeArrayStart(4) } else { - yynn3388 = 1 - for _, b := range yyq3388 { + yynn3421 = 1 + for _, b := range yyq3421 { if b { - yynn3388++ + yynn3421++ } } - r.EncodeMapStart(yynn3388) - yynn3388 = 0 + r.EncodeMapStart(yynn3421) + yynn3421 = 0 } - if yyr3388 || yy2arr3388 { + if yyr3421 || yy2arr3421 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[0] { - yy3390 := &x.ListMeta - yym3391 := z.EncBinary() - _ = yym3391 + if yyq3421[0] { + yy3423 := &x.ListMeta + yym3424 := z.EncBinary() + _ = yym3424 if false { - } else if z.HasExtensions() && z.EncExt(yy3390) { + } else if z.HasExtensions() && z.EncExt(yy3423) { } else { - z.EncFallback(yy3390) + z.EncFallback(yy3423) } } else { r.EncodeNil() } } else { - if yyq3388[0] { + if yyq3421[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3392 := &x.ListMeta - yym3393 := z.EncBinary() - _ = yym3393 + yy3425 := &x.ListMeta + yym3426 := z.EncBinary() + _ = yym3426 if false { - } else if z.HasExtensions() && z.EncExt(yy3392) { + } else if z.HasExtensions() && z.EncExt(yy3425) { } else { - z.EncFallback(yy3392) + z.EncFallback(yy3425) } } } - if yyr3388 || yy2arr3388 { + if yyr3421 || yy2arr3421 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3395 := z.EncBinary() - _ = yym3395 + yym3428 := z.EncBinary() + _ = yym3428 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -42377,19 +42892,19 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3396 := z.EncBinary() - _ = yym3396 + yym3429 := z.EncBinary() + _ = yym3429 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3388 || yy2arr3388 { + if yyr3421 || yy2arr3421 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[2] { - yym3398 := z.EncBinary() - _ = yym3398 + if yyq3421[2] { + yym3431 := z.EncBinary() + _ = yym3431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42398,23 +42913,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3388[2] { + if yyq3421[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3399 := z.EncBinary() - _ = yym3399 + yym3432 := z.EncBinary() + _ = yym3432 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3388 || yy2arr3388 { + if yyr3421 || yy2arr3421 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3388[3] { - yym3401 := z.EncBinary() - _ = yym3401 + if yyq3421[3] { + yym3434 := z.EncBinary() + _ = yym3434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42423,19 +42938,19 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3388[3] { + if yyq3421[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3402 := z.EncBinary() - _ = yym3402 + yym3435 := z.EncBinary() + _ = yym3435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3388 || yy2arr3388 { + if yyr3421 || yy2arr3421 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42448,25 +42963,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3403 := z.DecBinary() - _ = yym3403 + yym3436 := z.DecBinary() + _ = yym3436 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3404 := r.ContainerType() - if yyct3404 == codecSelferValueTypeMap1234 { - yyl3404 := r.ReadMapStart() - if yyl3404 == 0 { + yyct3437 := r.ContainerType() + if yyct3437 == codecSelferValueTypeMap1234 { + yyl3437 := r.ReadMapStart() + if yyl3437 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3404, d) + x.codecDecodeSelfFromMap(yyl3437, d) } - } else if yyct3404 == codecSelferValueTypeArray1234 { - yyl3404 := r.ReadArrayStart() - if yyl3404 == 0 { + } else if yyct3437 == codecSelferValueTypeArray1234 { + yyl3437 := r.ReadArrayStart() + if yyl3437 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3404, d) + x.codecDecodeSelfFromArray(yyl3437, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42478,12 +42993,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3405Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3405Slc - var yyhl3405 bool = l >= 0 - for yyj3405 := 0; ; yyj3405++ { - if yyhl3405 { - if yyj3405 >= l { + var yys3438Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3438Slc + var yyhl3438 bool = l >= 0 + for yyj3438 := 0; ; yyj3438++ { + if yyhl3438 { + if yyj3438 >= l { break } } else { @@ -42492,33 +43007,33 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3405Slc = r.DecodeBytes(yys3405Slc, true, true) - yys3405 := string(yys3405Slc) + yys3438Slc = r.DecodeBytes(yys3438Slc, true, true) + yys3438 := string(yys3438Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3405 { + switch yys3438 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3406 := &x.ListMeta - yym3407 := z.DecBinary() - _ = yym3407 + yyv3439 := &x.ListMeta + yym3440 := z.DecBinary() + _ = yym3440 if false { - } else if z.HasExtensions() && z.DecExt(yyv3406) { + } else if z.HasExtensions() && z.DecExt(yyv3439) { } else { - z.DecFallback(yyv3406, false) + z.DecFallback(yyv3439, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3408 := &x.Items - yym3409 := z.DecBinary() - _ = yym3409 + yyv3441 := &x.Items + yym3442 := z.DecBinary() + _ = yym3442 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3408), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3441), d) } } case "kind": @@ -42534,9 +43049,9 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3405) - } // end switch yys3405 - } // end for yyj3405 + z.DecStructFieldNotFound(-1, yys3438) + } // end switch yys3438 + } // end for yyj3438 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42544,16 +43059,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3412 int - var yyb3412 bool - var yyhl3412 bool = l >= 0 - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + var yyj3445 int + var yyb3445 bool + var yyhl3445 bool = l >= 0 + yyj3445++ + if yyhl3445 { + yyb3445 = yyj3445 > l } else { - yyb3412 = r.CheckBreak() + yyb3445 = r.CheckBreak() } - if yyb3412 { + if yyb3445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42561,22 +43076,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3413 := &x.ListMeta - yym3414 := z.DecBinary() - _ = yym3414 + yyv3446 := &x.ListMeta + yym3447 := z.DecBinary() + _ = yym3447 if false { - } else if z.HasExtensions() && z.DecExt(yyv3413) { + } else if z.HasExtensions() && z.DecExt(yyv3446) { } else { - z.DecFallback(yyv3413, false) + z.DecFallback(yyv3446, false) } } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3445++ + if yyhl3445 { + yyb3445 = yyj3445 > l } else { - yyb3412 = r.CheckBreak() + yyb3445 = r.CheckBreak() } - if yyb3412 { + if yyb3445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42584,21 +43099,21 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3415 := &x.Items - yym3416 := z.DecBinary() - _ = yym3416 + yyv3448 := &x.Items + yym3449 := z.DecBinary() + _ = yym3449 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3415), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3448), d) } } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3445++ + if yyhl3445 { + yyb3445 = yyj3445 > l } else { - yyb3412 = r.CheckBreak() + yyb3445 = r.CheckBreak() } - if yyb3412 { + if yyb3445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42608,13 +43123,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3445++ + if yyhl3445 { + yyb3445 = yyj3445 > l } else { - yyb3412 = r.CheckBreak() + yyb3445 = r.CheckBreak() } - if yyb3412 { + if yyb3445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42625,17 +43140,17 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3412++ - if yyhl3412 { - yyb3412 = yyj3412 > l + yyj3445++ + if yyhl3445 { + yyb3445 = yyj3445 > l } else { - yyb3412 = r.CheckBreak() + yyb3445 = r.CheckBreak() } - if yyb3412 { + if yyb3445 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3412-1, "") + z.DecStructFieldNotFound(yyj3445-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42647,33 +43162,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3419 := z.EncBinary() - _ = yym3419 + yym3452 := z.EncBinary() + _ = yym3452 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3420 := !z.EncBinary() - yy2arr3420 := z.EncBasicHandle().StructToArray - var yyq3420 [1]bool - _, _, _ = yysep3420, yyq3420, yy2arr3420 - const yyr3420 bool = false - yyq3420[0] = len(x.Hard) != 0 - var yynn3420 int - if yyr3420 || yy2arr3420 { + yysep3453 := !z.EncBinary() + yy2arr3453 := z.EncBasicHandle().StructToArray + var yyq3453 [1]bool + _, _, _ = yysep3453, yyq3453, yy2arr3453 + const yyr3453 bool = false + yyq3453[0] = len(x.Hard) != 0 + var yynn3453 int + if yyr3453 || yy2arr3453 { r.EncodeArrayStart(1) } else { - yynn3420 = 0 - for _, b := range yyq3420 { + yynn3453 = 0 + for _, b := range yyq3453 { if b { - yynn3420++ + yynn3453++ } } - r.EncodeMapStart(yynn3420) - yynn3420 = 0 + r.EncodeMapStart(yynn3453) + yynn3453 = 0 } - if yyr3420 || yy2arr3420 { + if yyr3453 || yy2arr3453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3420[0] { + if yyq3453[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -42683,7 +43198,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3420[0] { + if yyq3453[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42694,7 +43209,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3420 || yy2arr3420 { + if yyr3453 || yy2arr3453 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42707,25 +43222,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3422 := z.DecBinary() - _ = yym3422 + yym3455 := z.DecBinary() + _ = yym3455 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3423 := r.ContainerType() - if yyct3423 == codecSelferValueTypeMap1234 { - yyl3423 := r.ReadMapStart() - if yyl3423 == 0 { + yyct3456 := r.ContainerType() + if yyct3456 == codecSelferValueTypeMap1234 { + yyl3456 := r.ReadMapStart() + if yyl3456 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3423, d) + x.codecDecodeSelfFromMap(yyl3456, d) } - } else if yyct3423 == codecSelferValueTypeArray1234 { - yyl3423 := r.ReadArrayStart() - if yyl3423 == 0 { + } else if yyct3456 == codecSelferValueTypeArray1234 { + yyl3456 := r.ReadArrayStart() + if yyl3456 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3423, d) + x.codecDecodeSelfFromArray(yyl3456, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42737,12 +43252,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3424Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3424Slc - var yyhl3424 bool = l >= 0 - for yyj3424 := 0; ; yyj3424++ { - if yyhl3424 { - if yyj3424 >= l { + var yys3457Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3457Slc + var yyhl3457 bool = l >= 0 + for yyj3457 := 0; ; yyj3457++ { + if yyhl3457 { + if yyj3457 >= l { break } } else { @@ -42751,21 +43266,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3424Slc = r.DecodeBytes(yys3424Slc, true, true) - yys3424 := string(yys3424Slc) + yys3457Slc = r.DecodeBytes(yys3457Slc, true, true) + yys3457 := string(yys3457Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3424 { + switch yys3457 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3425 := &x.Hard - yyv3425.CodecDecodeSelf(d) + yyv3458 := &x.Hard + yyv3458.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3424) - } // end switch yys3424 - } // end for yyj3424 + z.DecStructFieldNotFound(-1, yys3457) + } // end switch yys3457 + } // end for yyj3457 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42773,16 +43288,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3426 int - var yyb3426 bool - var yyhl3426 bool = l >= 0 - yyj3426++ - if yyhl3426 { - yyb3426 = yyj3426 > l + var yyj3459 int + var yyb3459 bool + var yyhl3459 bool = l >= 0 + yyj3459++ + if yyhl3459 { + yyb3459 = yyj3459 > l } else { - yyb3426 = r.CheckBreak() + yyb3459 = r.CheckBreak() } - if yyb3426 { + if yyb3459 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42790,21 +43305,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3427 := &x.Hard - yyv3427.CodecDecodeSelf(d) + yyv3460 := &x.Hard + yyv3460.CodecDecodeSelf(d) } for { - yyj3426++ - if yyhl3426 { - yyb3426 = yyj3426 > l + yyj3459++ + if yyhl3459 { + yyb3459 = yyj3459 > l } else { - yyb3426 = r.CheckBreak() + yyb3459 = r.CheckBreak() } - if yyb3426 { + if yyb3459 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3426-1, "") + z.DecStructFieldNotFound(yyj3459-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42816,34 +43331,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3428 := z.EncBinary() - _ = yym3428 + yym3461 := z.EncBinary() + _ = yym3461 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3429 := !z.EncBinary() - yy2arr3429 := z.EncBasicHandle().StructToArray - var yyq3429 [2]bool - _, _, _ = yysep3429, yyq3429, yy2arr3429 - const yyr3429 bool = false - yyq3429[0] = len(x.Hard) != 0 - yyq3429[1] = len(x.Used) != 0 - var yynn3429 int - if yyr3429 || yy2arr3429 { + yysep3462 := !z.EncBinary() + yy2arr3462 := z.EncBasicHandle().StructToArray + var yyq3462 [2]bool + _, _, _ = yysep3462, yyq3462, yy2arr3462 + const yyr3462 bool = false + yyq3462[0] = len(x.Hard) != 0 + yyq3462[1] = len(x.Used) != 0 + var yynn3462 int + if yyr3462 || yy2arr3462 { r.EncodeArrayStart(2) } else { - yynn3429 = 0 - for _, b := range yyq3429 { + yynn3462 = 0 + for _, b := range yyq3462 { if b { - yynn3429++ + yynn3462++ } } - r.EncodeMapStart(yynn3429) - yynn3429 = 0 + r.EncodeMapStart(yynn3462) + yynn3462 = 0 } - if yyr3429 || yy2arr3429 { + if yyr3462 || yy2arr3462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[0] { + if yyq3462[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -42853,7 +43368,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3429[0] { + if yyq3462[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42864,9 +43379,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3429 || yy2arr3429 { + if yyr3462 || yy2arr3462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[1] { + if yyq3462[1] { if x.Used == nil { r.EncodeNil() } else { @@ -42876,7 +43391,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3429[1] { + if yyq3462[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42887,7 +43402,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3429 || yy2arr3429 { + if yyr3462 || yy2arr3462 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42900,25 +43415,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3432 := z.DecBinary() - _ = yym3432 + yym3465 := z.DecBinary() + _ = yym3465 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3433 := r.ContainerType() - if yyct3433 == codecSelferValueTypeMap1234 { - yyl3433 := r.ReadMapStart() - if yyl3433 == 0 { + yyct3466 := r.ContainerType() + if yyct3466 == codecSelferValueTypeMap1234 { + yyl3466 := r.ReadMapStart() + if yyl3466 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3433, d) + x.codecDecodeSelfFromMap(yyl3466, d) } - } else if yyct3433 == codecSelferValueTypeArray1234 { - yyl3433 := r.ReadArrayStart() - if yyl3433 == 0 { + } else if yyct3466 == codecSelferValueTypeArray1234 { + yyl3466 := r.ReadArrayStart() + if yyl3466 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3433, d) + x.codecDecodeSelfFromArray(yyl3466, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42930,12 +43445,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3434Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3434Slc - var yyhl3434 bool = l >= 0 - for yyj3434 := 0; ; yyj3434++ { - if yyhl3434 { - if yyj3434 >= l { + var yys3467Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3467Slc + var yyhl3467 bool = l >= 0 + for yyj3467 := 0; ; yyj3467++ { + if yyhl3467 { + if yyj3467 >= l { break } } else { @@ -42944,28 +43459,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3434Slc = r.DecodeBytes(yys3434Slc, true, true) - yys3434 := string(yys3434Slc) + yys3467Slc = r.DecodeBytes(yys3467Slc, true, true) + yys3467 := string(yys3467Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3434 { + switch yys3467 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3435 := &x.Hard - yyv3435.CodecDecodeSelf(d) + yyv3468 := &x.Hard + yyv3468.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3436 := &x.Used - yyv3436.CodecDecodeSelf(d) + yyv3469 := &x.Used + yyv3469.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3434) - } // end switch yys3434 - } // end for yyj3434 + z.DecStructFieldNotFound(-1, yys3467) + } // end switch yys3467 + } // end for yyj3467 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42973,16 +43488,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3437 int - var yyb3437 bool - var yyhl3437 bool = l >= 0 - yyj3437++ - if yyhl3437 { - yyb3437 = yyj3437 > l + var yyj3470 int + var yyb3470 bool + var yyhl3470 bool = l >= 0 + yyj3470++ + if yyhl3470 { + yyb3470 = yyj3470 > l } else { - yyb3437 = r.CheckBreak() + yyb3470 = r.CheckBreak() } - if yyb3437 { + if yyb3470 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42990,16 +43505,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3438 := &x.Hard - yyv3438.CodecDecodeSelf(d) + yyv3471 := &x.Hard + yyv3471.CodecDecodeSelf(d) } - yyj3437++ - if yyhl3437 { - yyb3437 = yyj3437 > l + yyj3470++ + if yyhl3470 { + yyb3470 = yyj3470 > l } else { - yyb3437 = r.CheckBreak() + yyb3470 = r.CheckBreak() } - if yyb3437 { + if yyb3470 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43007,21 +43522,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3439 := &x.Used - yyv3439.CodecDecodeSelf(d) + yyv3472 := &x.Used + yyv3472.CodecDecodeSelf(d) } for { - yyj3437++ - if yyhl3437 { - yyb3437 = yyj3437 > l + yyj3470++ + if yyhl3470 { + yyb3470 = yyj3470 > l } else { - yyb3437 = r.CheckBreak() + yyb3470 = r.CheckBreak() } - if yyb3437 { + if yyb3470 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3437-1, "") + z.DecStructFieldNotFound(yyj3470-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43033,90 +43548,90 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3440 := z.EncBinary() - _ = yym3440 + yym3473 := z.EncBinary() + _ = yym3473 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3441 := !z.EncBinary() - yy2arr3441 := z.EncBasicHandle().StructToArray - var yyq3441 [5]bool - _, _, _ = yysep3441, yyq3441, yy2arr3441 - const yyr3441 bool = false - yyq3441[0] = true - yyq3441[1] = true - yyq3441[2] = true - yyq3441[3] = x.Kind != "" - yyq3441[4] = x.APIVersion != "" - var yynn3441 int - if yyr3441 || yy2arr3441 { + yysep3474 := !z.EncBinary() + yy2arr3474 := z.EncBasicHandle().StructToArray + var yyq3474 [5]bool + _, _, _ = yysep3474, yyq3474, yy2arr3474 + const yyr3474 bool = false + yyq3474[0] = true + yyq3474[1] = true + yyq3474[2] = true + yyq3474[3] = x.Kind != "" + yyq3474[4] = x.APIVersion != "" + var yynn3474 int + if yyr3474 || yy2arr3474 { r.EncodeArrayStart(5) } else { - yynn3441 = 0 - for _, b := range yyq3441 { + yynn3474 = 0 + for _, b := range yyq3474 { if b { - yynn3441++ + yynn3474++ } } - r.EncodeMapStart(yynn3441) - yynn3441 = 0 + r.EncodeMapStart(yynn3474) + yynn3474 = 0 } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[0] { - yy3443 := &x.ObjectMeta - yy3443.CodecEncodeSelf(e) + if yyq3474[0] { + yy3476 := &x.ObjectMeta + yy3476.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3441[0] { + if yyq3474[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3444 := &x.ObjectMeta - yy3444.CodecEncodeSelf(e) + yy3477 := &x.ObjectMeta + yy3477.CodecEncodeSelf(e) } } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[1] { - yy3446 := &x.Spec - yy3446.CodecEncodeSelf(e) + if yyq3474[1] { + yy3479 := &x.Spec + yy3479.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3441[1] { + if yyq3474[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3447 := &x.Spec - yy3447.CodecEncodeSelf(e) + yy3480 := &x.Spec + yy3480.CodecEncodeSelf(e) } } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[2] { - yy3449 := &x.Status - yy3449.CodecEncodeSelf(e) + if yyq3474[2] { + yy3482 := &x.Status + yy3482.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3441[2] { + if yyq3474[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3450 := &x.Status - yy3450.CodecEncodeSelf(e) + yy3483 := &x.Status + yy3483.CodecEncodeSelf(e) } } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[3] { - yym3452 := z.EncBinary() - _ = yym3452 + if yyq3474[3] { + yym3485 := z.EncBinary() + _ = yym3485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43125,23 +43640,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[3] { + if yyq3474[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3453 := z.EncBinary() - _ = yym3453 + yym3486 := z.EncBinary() + _ = yym3486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[4] { - yym3455 := z.EncBinary() - _ = yym3455 + if yyq3474[4] { + yym3488 := z.EncBinary() + _ = yym3488 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43150,19 +43665,19 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[4] { + if yyq3474[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3456 := z.EncBinary() - _ = yym3456 + yym3489 := z.EncBinary() + _ = yym3489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3441 || yy2arr3441 { + if yyr3474 || yy2arr3474 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43175,25 +43690,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3457 := z.DecBinary() - _ = yym3457 + yym3490 := z.DecBinary() + _ = yym3490 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3458 := r.ContainerType() - if yyct3458 == codecSelferValueTypeMap1234 { - yyl3458 := r.ReadMapStart() - if yyl3458 == 0 { + yyct3491 := r.ContainerType() + if yyct3491 == codecSelferValueTypeMap1234 { + yyl3491 := r.ReadMapStart() + if yyl3491 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3458, d) + x.codecDecodeSelfFromMap(yyl3491, d) } - } else if yyct3458 == codecSelferValueTypeArray1234 { - yyl3458 := r.ReadArrayStart() - if yyl3458 == 0 { + } else if yyct3491 == codecSelferValueTypeArray1234 { + yyl3491 := r.ReadArrayStart() + if yyl3491 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3458, d) + x.codecDecodeSelfFromArray(yyl3491, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43205,12 +43720,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3459Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3459Slc - var yyhl3459 bool = l >= 0 - for yyj3459 := 0; ; yyj3459++ { - if yyhl3459 { - if yyj3459 >= l { + var yys3492Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3492Slc + var yyhl3492 bool = l >= 0 + for yyj3492 := 0; ; yyj3492++ { + if yyhl3492 { + if yyj3492 >= l { break } } else { @@ -43219,30 +43734,30 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3459Slc = r.DecodeBytes(yys3459Slc, true, true) - yys3459 := string(yys3459Slc) + yys3492Slc = r.DecodeBytes(yys3492Slc, true, true) + yys3492 := string(yys3492Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3459 { + switch yys3492 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3460 := &x.ObjectMeta - yyv3460.CodecDecodeSelf(d) + yyv3493 := &x.ObjectMeta + yyv3493.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3461 := &x.Spec - yyv3461.CodecDecodeSelf(d) + yyv3494 := &x.Spec + yyv3494.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3462 := &x.Status - yyv3462.CodecDecodeSelf(d) + yyv3495 := &x.Status + yyv3495.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -43257,9 +43772,9 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3459) - } // end switch yys3459 - } // end for yyj3459 + z.DecStructFieldNotFound(-1, yys3492) + } // end switch yys3492 + } // end for yyj3492 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43267,16 +43782,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3465 int - var yyb3465 bool - var yyhl3465 bool = l >= 0 - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + var yyj3498 int + var yyb3498 bool + var yyhl3498 bool = l >= 0 + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43284,16 +43799,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3466 := &x.ObjectMeta - yyv3466.CodecDecodeSelf(d) + yyv3499 := &x.ObjectMeta + yyv3499.CodecDecodeSelf(d) } - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43301,16 +43816,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3467 := &x.Spec - yyv3467.CodecDecodeSelf(d) + yyv3500 := &x.Spec + yyv3500.CodecDecodeSelf(d) } - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43318,16 +43833,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3468 := &x.Status - yyv3468.CodecDecodeSelf(d) + yyv3501 := &x.Status + yyv3501.CodecDecodeSelf(d) } - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43337,13 +43852,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43354,17 +43869,17 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3465++ - if yyhl3465 { - yyb3465 = yyj3465 > l + yyj3498++ + if yyhl3498 { + yyb3498 = yyj3498 > l } else { - yyb3465 = r.CheckBreak() + yyb3498 = r.CheckBreak() } - if yyb3465 { + if yyb3498 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3465-1, "") + z.DecStructFieldNotFound(yyj3498-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43376,68 +43891,68 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3471 := z.EncBinary() - _ = yym3471 + yym3504 := z.EncBinary() + _ = yym3504 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3472 := !z.EncBinary() - yy2arr3472 := z.EncBasicHandle().StructToArray - var yyq3472 [4]bool - _, _, _ = yysep3472, yyq3472, yy2arr3472 - const yyr3472 bool = false - yyq3472[0] = true - yyq3472[2] = x.Kind != "" - yyq3472[3] = x.APIVersion != "" - var yynn3472 int - if yyr3472 || yy2arr3472 { + yysep3505 := !z.EncBinary() + yy2arr3505 := z.EncBasicHandle().StructToArray + var yyq3505 [4]bool + _, _, _ = yysep3505, yyq3505, yy2arr3505 + const yyr3505 bool = false + yyq3505[0] = true + yyq3505[2] = x.Kind != "" + yyq3505[3] = x.APIVersion != "" + var yynn3505 int + if yyr3505 || yy2arr3505 { r.EncodeArrayStart(4) } else { - yynn3472 = 1 - for _, b := range yyq3472 { + yynn3505 = 1 + for _, b := range yyq3505 { if b { - yynn3472++ + yynn3505++ } } - r.EncodeMapStart(yynn3472) - yynn3472 = 0 + r.EncodeMapStart(yynn3505) + yynn3505 = 0 } - if yyr3472 || yy2arr3472 { + if yyr3505 || yy2arr3505 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3472[0] { - yy3474 := &x.ListMeta - yym3475 := z.EncBinary() - _ = yym3475 + if yyq3505[0] { + yy3507 := &x.ListMeta + yym3508 := z.EncBinary() + _ = yym3508 if false { - } else if z.HasExtensions() && z.EncExt(yy3474) { + } else if z.HasExtensions() && z.EncExt(yy3507) { } else { - z.EncFallback(yy3474) + z.EncFallback(yy3507) } } else { r.EncodeNil() } } else { - if yyq3472[0] { + if yyq3505[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3476 := &x.ListMeta - yym3477 := z.EncBinary() - _ = yym3477 + yy3509 := &x.ListMeta + yym3510 := z.EncBinary() + _ = yym3510 if false { - } else if z.HasExtensions() && z.EncExt(yy3476) { + } else if z.HasExtensions() && z.EncExt(yy3509) { } else { - z.EncFallback(yy3476) + z.EncFallback(yy3509) } } } - if yyr3472 || yy2arr3472 { + if yyr3505 || yy2arr3505 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3479 := z.EncBinary() - _ = yym3479 + yym3512 := z.EncBinary() + _ = yym3512 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -43450,19 +43965,19 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3480 := z.EncBinary() - _ = yym3480 + yym3513 := z.EncBinary() + _ = yym3513 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr3472 || yy2arr3472 { + if yyr3505 || yy2arr3505 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3472[2] { - yym3482 := z.EncBinary() - _ = yym3482 + if yyq3505[2] { + yym3515 := z.EncBinary() + _ = yym3515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43471,23 +43986,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3472[2] { + if yyq3505[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3483 := z.EncBinary() - _ = yym3483 + yym3516 := z.EncBinary() + _ = yym3516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3472 || yy2arr3472 { + if yyr3505 || yy2arr3505 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3472[3] { - yym3485 := z.EncBinary() - _ = yym3485 + if yyq3505[3] { + yym3518 := z.EncBinary() + _ = yym3518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43496,19 +44011,19 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3472[3] { + if yyq3505[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3486 := z.EncBinary() - _ = yym3486 + yym3519 := z.EncBinary() + _ = yym3519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3472 || yy2arr3472 { + if yyr3505 || yy2arr3505 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43521,25 +44036,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3487 := z.DecBinary() - _ = yym3487 + yym3520 := z.DecBinary() + _ = yym3520 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3488 := r.ContainerType() - if yyct3488 == codecSelferValueTypeMap1234 { - yyl3488 := r.ReadMapStart() - if yyl3488 == 0 { + yyct3521 := r.ContainerType() + if yyct3521 == codecSelferValueTypeMap1234 { + yyl3521 := r.ReadMapStart() + if yyl3521 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3488, d) + x.codecDecodeSelfFromMap(yyl3521, d) } - } else if yyct3488 == codecSelferValueTypeArray1234 { - yyl3488 := r.ReadArrayStart() - if yyl3488 == 0 { + } else if yyct3521 == codecSelferValueTypeArray1234 { + yyl3521 := r.ReadArrayStart() + if yyl3521 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3488, d) + x.codecDecodeSelfFromArray(yyl3521, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43551,12 +44066,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3489Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3489Slc - var yyhl3489 bool = l >= 0 - for yyj3489 := 0; ; yyj3489++ { - if yyhl3489 { - if yyj3489 >= l { + var yys3522Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3522Slc + var yyhl3522 bool = l >= 0 + for yyj3522 := 0; ; yyj3522++ { + if yyhl3522 { + if yyj3522 >= l { break } } else { @@ -43565,33 +44080,33 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3489Slc = r.DecodeBytes(yys3489Slc, true, true) - yys3489 := string(yys3489Slc) + yys3522Slc = r.DecodeBytes(yys3522Slc, true, true) + yys3522 := string(yys3522Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3489 { + switch yys3522 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3490 := &x.ListMeta - yym3491 := z.DecBinary() - _ = yym3491 + yyv3523 := &x.ListMeta + yym3524 := z.DecBinary() + _ = yym3524 if false { - } else if z.HasExtensions() && z.DecExt(yyv3490) { + } else if z.HasExtensions() && z.DecExt(yyv3523) { } else { - z.DecFallback(yyv3490, false) + z.DecFallback(yyv3523, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3492 := &x.Items - yym3493 := z.DecBinary() - _ = yym3493 + yyv3525 := &x.Items + yym3526 := z.DecBinary() + _ = yym3526 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3492), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3525), d) } } case "kind": @@ -43607,9 +44122,9 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3489) - } // end switch yys3489 - } // end for yyj3489 + z.DecStructFieldNotFound(-1, yys3522) + } // end switch yys3522 + } // end for yyj3522 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43617,16 +44132,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3496 int - var yyb3496 bool - var yyhl3496 bool = l >= 0 - yyj3496++ - if yyhl3496 { - yyb3496 = yyj3496 > l + var yyj3529 int + var yyb3529 bool + var yyhl3529 bool = l >= 0 + yyj3529++ + if yyhl3529 { + yyb3529 = yyj3529 > l } else { - yyb3496 = r.CheckBreak() + yyb3529 = r.CheckBreak() } - if yyb3496 { + if yyb3529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43634,22 +44149,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3497 := &x.ListMeta - yym3498 := z.DecBinary() - _ = yym3498 + yyv3530 := &x.ListMeta + yym3531 := z.DecBinary() + _ = yym3531 if false { - } else if z.HasExtensions() && z.DecExt(yyv3497) { + } else if z.HasExtensions() && z.DecExt(yyv3530) { } else { - z.DecFallback(yyv3497, false) + z.DecFallback(yyv3530, false) } } - yyj3496++ - if yyhl3496 { - yyb3496 = yyj3496 > l + yyj3529++ + if yyhl3529 { + yyb3529 = yyj3529 > l } else { - yyb3496 = r.CheckBreak() + yyb3529 = r.CheckBreak() } - if yyb3496 { + if yyb3529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43657,21 +44172,21 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3499 := &x.Items - yym3500 := z.DecBinary() - _ = yym3500 + yyv3532 := &x.Items + yym3533 := z.DecBinary() + _ = yym3533 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3499), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3532), d) } } - yyj3496++ - if yyhl3496 { - yyb3496 = yyj3496 > l + yyj3529++ + if yyhl3529 { + yyb3529 = yyj3529 > l } else { - yyb3496 = r.CheckBreak() + yyb3529 = r.CheckBreak() } - if yyb3496 { + if yyb3529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43681,13 +44196,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj3496++ - if yyhl3496 { - yyb3496 = yyj3496 > l + yyj3529++ + if yyhl3529 { + yyb3529 = yyj3529 > l } else { - yyb3496 = r.CheckBreak() + yyb3529 = r.CheckBreak() } - if yyb3496 { + if yyb3529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43698,17 +44213,17 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } for { - yyj3496++ - if yyhl3496 { - yyb3496 = yyj3496 > l + yyj3529++ + if yyhl3529 { + yyb3529 = yyj3529 > l } else { - yyb3496 = r.CheckBreak() + yyb3529 = r.CheckBreak() } - if yyb3496 { + if yyb3529 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3496-1, "") + z.DecStructFieldNotFound(yyj3529-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43720,59 +44235,59 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3503 := z.EncBinary() - _ = yym3503 + yym3536 := z.EncBinary() + _ = yym3536 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3504 := !z.EncBinary() - yy2arr3504 := z.EncBasicHandle().StructToArray - var yyq3504 [5]bool - _, _, _ = yysep3504, yyq3504, yy2arr3504 - const yyr3504 bool = false - yyq3504[0] = true - yyq3504[1] = len(x.Data) != 0 - yyq3504[2] = x.Type != "" - yyq3504[3] = x.Kind != "" - yyq3504[4] = x.APIVersion != "" - var yynn3504 int - if yyr3504 || yy2arr3504 { + yysep3537 := !z.EncBinary() + yy2arr3537 := z.EncBasicHandle().StructToArray + var yyq3537 [5]bool + _, _, _ = yysep3537, yyq3537, yy2arr3537 + const yyr3537 bool = false + yyq3537[0] = true + yyq3537[1] = len(x.Data) != 0 + yyq3537[2] = x.Type != "" + yyq3537[3] = x.Kind != "" + yyq3537[4] = x.APIVersion != "" + var yynn3537 int + if yyr3537 || yy2arr3537 { r.EncodeArrayStart(5) } else { - yynn3504 = 0 - for _, b := range yyq3504 { + yynn3537 = 0 + for _, b := range yyq3537 { if b { - yynn3504++ + yynn3537++ } } - r.EncodeMapStart(yynn3504) - yynn3504 = 0 + r.EncodeMapStart(yynn3537) + yynn3537 = 0 } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3504[0] { - yy3506 := &x.ObjectMeta - yy3506.CodecEncodeSelf(e) + if yyq3537[0] { + yy3539 := &x.ObjectMeta + yy3539.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3504[0] { + if yyq3537[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3507 := &x.ObjectMeta - yy3507.CodecEncodeSelf(e) + yy3540 := &x.ObjectMeta + yy3540.CodecEncodeSelf(e) } } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3504[1] { + if yyq3537[1] { if x.Data == nil { r.EncodeNil() } else { - yym3509 := z.EncBinary() - _ = yym3509 + yym3542 := z.EncBinary() + _ = yym3542 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -43782,15 +44297,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3504[1] { + if yyq3537[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3510 := z.EncBinary() - _ = yym3510 + yym3543 := z.EncBinary() + _ = yym3543 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -43798,26 +44313,26 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3504[2] { + if yyq3537[2] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3504[2] { + if yyq3537[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3504[3] { - yym3513 := z.EncBinary() - _ = yym3513 + if yyq3537[3] { + yym3546 := z.EncBinary() + _ = yym3546 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43826,23 +44341,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3504[3] { + if yyq3537[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3514 := z.EncBinary() - _ = yym3514 + yym3547 := z.EncBinary() + _ = yym3547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3504[4] { - yym3516 := z.EncBinary() - _ = yym3516 + if yyq3537[4] { + yym3549 := z.EncBinary() + _ = yym3549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43851,19 +44366,19 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3504[4] { + if yyq3537[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3517 := z.EncBinary() - _ = yym3517 + yym3550 := z.EncBinary() + _ = yym3550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3504 || yy2arr3504 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43876,25 +44391,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3518 := z.DecBinary() - _ = yym3518 + yym3551 := z.DecBinary() + _ = yym3551 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3519 := r.ContainerType() - if yyct3519 == codecSelferValueTypeMap1234 { - yyl3519 := r.ReadMapStart() - if yyl3519 == 0 { + yyct3552 := r.ContainerType() + if yyct3552 == codecSelferValueTypeMap1234 { + yyl3552 := r.ReadMapStart() + if yyl3552 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3519, d) + x.codecDecodeSelfFromMap(yyl3552, d) } - } else if yyct3519 == codecSelferValueTypeArray1234 { - yyl3519 := r.ReadArrayStart() - if yyl3519 == 0 { + } else if yyct3552 == codecSelferValueTypeArray1234 { + yyl3552 := r.ReadArrayStart() + if yyl3552 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3519, d) + x.codecDecodeSelfFromArray(yyl3552, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43906,12 +44421,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3520Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3520Slc - var yyhl3520 bool = l >= 0 - for yyj3520 := 0; ; yyj3520++ { - if yyhl3520 { - if yyj3520 >= l { + var yys3553Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3553Slc + var yyhl3553 bool = l >= 0 + for yyj3553 := 0; ; yyj3553++ { + if yyhl3553 { + if yyj3553 >= l { break } } else { @@ -43920,27 +44435,27 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3520Slc = r.DecodeBytes(yys3520Slc, true, true) - yys3520 := string(yys3520Slc) + yys3553Slc = r.DecodeBytes(yys3553Slc, true, true) + yys3553 := string(yys3553Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3520 { + switch yys3553 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3521 := &x.ObjectMeta - yyv3521.CodecDecodeSelf(d) + yyv3554 := &x.ObjectMeta + yyv3554.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3522 := &x.Data - yym3523 := z.DecBinary() - _ = yym3523 + yyv3555 := &x.Data + yym3556 := z.DecBinary() + _ = yym3556 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3522), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3555), d) } } case "type": @@ -43962,9 +44477,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3520) - } // end switch yys3520 - } // end for yyj3520 + z.DecStructFieldNotFound(-1, yys3553) + } // end switch yys3553 + } // end for yyj3553 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43972,16 +44487,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3527 int - var yyb3527 bool - var yyhl3527 bool = l >= 0 - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + var yyj3560 int + var yyb3560 bool + var yyhl3560 bool = l >= 0 + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43989,16 +44504,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3528 := &x.ObjectMeta - yyv3528.CodecDecodeSelf(d) + yyv3561 := &x.ObjectMeta + yyv3561.CodecDecodeSelf(d) } - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44006,21 +44521,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3529 := &x.Data - yym3530 := z.DecBinary() - _ = yym3530 + yyv3562 := &x.Data + yym3563 := z.DecBinary() + _ = yym3563 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3529), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3562), d) } } - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44030,13 +44545,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = SecretType(r.DecodeString()) } - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44046,13 +44561,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44063,17 +44578,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3527++ - if yyhl3527 { - yyb3527 = yyj3527 > l + yyj3560++ + if yyhl3560 { + yyb3560 = yyj3560 > l } else { - yyb3527 = r.CheckBreak() + yyb3560 = r.CheckBreak() } - if yyb3527 { + if yyb3560 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3527-1, "") + z.DecStructFieldNotFound(yyj3560-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44082,8 +44597,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3534 := z.EncBinary() - _ = yym3534 + yym3567 := z.EncBinary() + _ = yym3567 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -44095,8 +44610,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3535 := z.DecBinary() - _ = yym3535 + yym3568 := z.DecBinary() + _ = yym3568 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -44111,68 +44626,68 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3536 := z.EncBinary() - _ = yym3536 + yym3569 := z.EncBinary() + _ = yym3569 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3537 := !z.EncBinary() - yy2arr3537 := z.EncBasicHandle().StructToArray - var yyq3537 [4]bool - _, _, _ = yysep3537, yyq3537, yy2arr3537 - const yyr3537 bool = false - yyq3537[0] = true - yyq3537[2] = x.Kind != "" - yyq3537[3] = x.APIVersion != "" - var yynn3537 int - if yyr3537 || yy2arr3537 { + yysep3570 := !z.EncBinary() + yy2arr3570 := z.EncBasicHandle().StructToArray + var yyq3570 [4]bool + _, _, _ = yysep3570, yyq3570, yy2arr3570 + const yyr3570 bool = false + yyq3570[0] = true + yyq3570[2] = x.Kind != "" + yyq3570[3] = x.APIVersion != "" + var yynn3570 int + if yyr3570 || yy2arr3570 { r.EncodeArrayStart(4) } else { - yynn3537 = 1 - for _, b := range yyq3537 { + yynn3570 = 1 + for _, b := range yyq3570 { if b { - yynn3537++ + yynn3570++ } } - r.EncodeMapStart(yynn3537) - yynn3537 = 0 + r.EncodeMapStart(yynn3570) + yynn3570 = 0 } - if yyr3537 || yy2arr3537 { + if yyr3570 || yy2arr3570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3537[0] { - yy3539 := &x.ListMeta - yym3540 := z.EncBinary() - _ = yym3540 + if yyq3570[0] { + yy3572 := &x.ListMeta + yym3573 := z.EncBinary() + _ = yym3573 if false { - } else if z.HasExtensions() && z.EncExt(yy3539) { + } else if z.HasExtensions() && z.EncExt(yy3572) { } else { - z.EncFallback(yy3539) + z.EncFallback(yy3572) } } else { r.EncodeNil() } } else { - if yyq3537[0] { + if yyq3570[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3541 := &x.ListMeta - yym3542 := z.EncBinary() - _ = yym3542 + yy3574 := &x.ListMeta + yym3575 := z.EncBinary() + _ = yym3575 if false { - } else if z.HasExtensions() && z.EncExt(yy3541) { + } else if z.HasExtensions() && z.EncExt(yy3574) { } else { - z.EncFallback(yy3541) + z.EncFallback(yy3574) } } } - if yyr3537 || yy2arr3537 { + if yyr3570 || yy2arr3570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3544 := z.EncBinary() - _ = yym3544 + yym3577 := z.EncBinary() + _ = yym3577 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -44185,19 +44700,19 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3545 := z.EncBinary() - _ = yym3545 + yym3578 := z.EncBinary() + _ = yym3578 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3537 || yy2arr3537 { + if yyr3570 || yy2arr3570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3537[2] { - yym3547 := z.EncBinary() - _ = yym3547 + if yyq3570[2] { + yym3580 := z.EncBinary() + _ = yym3580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44206,23 +44721,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3537[2] { + if yyq3570[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3548 := z.EncBinary() - _ = yym3548 + yym3581 := z.EncBinary() + _ = yym3581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3537 || yy2arr3537 { + if yyr3570 || yy2arr3570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3537[3] { - yym3550 := z.EncBinary() - _ = yym3550 + if yyq3570[3] { + yym3583 := z.EncBinary() + _ = yym3583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44231,19 +44746,19 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3537[3] { + if yyq3570[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3551 := z.EncBinary() - _ = yym3551 + yym3584 := z.EncBinary() + _ = yym3584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3537 || yy2arr3537 { + if yyr3570 || yy2arr3570 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44256,25 +44771,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3552 := z.DecBinary() - _ = yym3552 + yym3585 := z.DecBinary() + _ = yym3585 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3553 := r.ContainerType() - if yyct3553 == codecSelferValueTypeMap1234 { - yyl3553 := r.ReadMapStart() - if yyl3553 == 0 { + yyct3586 := r.ContainerType() + if yyct3586 == codecSelferValueTypeMap1234 { + yyl3586 := r.ReadMapStart() + if yyl3586 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3553, d) + x.codecDecodeSelfFromMap(yyl3586, d) } - } else if yyct3553 == codecSelferValueTypeArray1234 { - yyl3553 := r.ReadArrayStart() - if yyl3553 == 0 { + } else if yyct3586 == codecSelferValueTypeArray1234 { + yyl3586 := r.ReadArrayStart() + if yyl3586 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3553, d) + x.codecDecodeSelfFromArray(yyl3586, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44286,12 +44801,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3554Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3554Slc - var yyhl3554 bool = l >= 0 - for yyj3554 := 0; ; yyj3554++ { - if yyhl3554 { - if yyj3554 >= l { + var yys3587Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3587Slc + var yyhl3587 bool = l >= 0 + for yyj3587 := 0; ; yyj3587++ { + if yyhl3587 { + if yyj3587 >= l { break } } else { @@ -44300,33 +44815,33 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3554Slc = r.DecodeBytes(yys3554Slc, true, true) - yys3554 := string(yys3554Slc) + yys3587Slc = r.DecodeBytes(yys3587Slc, true, true) + yys3587 := string(yys3587Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3554 { + switch yys3587 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3555 := &x.ListMeta - yym3556 := z.DecBinary() - _ = yym3556 + yyv3588 := &x.ListMeta + yym3589 := z.DecBinary() + _ = yym3589 if false { - } else if z.HasExtensions() && z.DecExt(yyv3555) { + } else if z.HasExtensions() && z.DecExt(yyv3588) { } else { - z.DecFallback(yyv3555, false) + z.DecFallback(yyv3588, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3557 := &x.Items - yym3558 := z.DecBinary() - _ = yym3558 + yyv3590 := &x.Items + yym3591 := z.DecBinary() + _ = yym3591 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3557), d) + h.decSliceSecret((*[]Secret)(yyv3590), d) } } case "kind": @@ -44342,9 +44857,9 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3554) - } // end switch yys3554 - } // end for yyj3554 + z.DecStructFieldNotFound(-1, yys3587) + } // end switch yys3587 + } // end for yyj3587 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44352,16 +44867,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3561 int - var yyb3561 bool - var yyhl3561 bool = l >= 0 - yyj3561++ - if yyhl3561 { - yyb3561 = yyj3561 > l + var yyj3594 int + var yyb3594 bool + var yyhl3594 bool = l >= 0 + yyj3594++ + if yyhl3594 { + yyb3594 = yyj3594 > l } else { - yyb3561 = r.CheckBreak() + yyb3594 = r.CheckBreak() } - if yyb3561 { + if yyb3594 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44369,22 +44884,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3562 := &x.ListMeta - yym3563 := z.DecBinary() - _ = yym3563 + yyv3595 := &x.ListMeta + yym3596 := z.DecBinary() + _ = yym3596 if false { - } else if z.HasExtensions() && z.DecExt(yyv3562) { + } else if z.HasExtensions() && z.DecExt(yyv3595) { } else { - z.DecFallback(yyv3562, false) + z.DecFallback(yyv3595, false) } } - yyj3561++ - if yyhl3561 { - yyb3561 = yyj3561 > l + yyj3594++ + if yyhl3594 { + yyb3594 = yyj3594 > l } else { - yyb3561 = r.CheckBreak() + yyb3594 = r.CheckBreak() } - if yyb3561 { + if yyb3594 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44392,21 +44907,21 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3564 := &x.Items - yym3565 := z.DecBinary() - _ = yym3565 + yyv3597 := &x.Items + yym3598 := z.DecBinary() + _ = yym3598 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3564), d) + h.decSliceSecret((*[]Secret)(yyv3597), d) } } - yyj3561++ - if yyhl3561 { - yyb3561 = yyj3561 > l + yyj3594++ + if yyhl3594 { + yyb3594 = yyj3594 > l } else { - yyb3561 = r.CheckBreak() + yyb3594 = r.CheckBreak() } - if yyb3561 { + if yyb3594 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44416,13 +44931,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3561++ - if yyhl3561 { - yyb3561 = yyj3561 > l + yyj3594++ + if yyhl3594 { + yyb3594 = yyj3594 > l } else { - yyb3561 = r.CheckBreak() + yyb3594 = r.CheckBreak() } - if yyb3561 { + if yyb3594 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44433,17 +44948,17 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3561++ - if yyhl3561 { - yyb3561 = yyj3561 > l + yyj3594++ + if yyhl3594 { + yyb3594 = yyj3594 > l } else { - yyb3561 = r.CheckBreak() + yyb3594 = r.CheckBreak() } - if yyb3561 { + if yyb3594 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3561-1, "") + z.DecStructFieldNotFound(yyj3594-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44455,58 +44970,58 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3568 := z.EncBinary() - _ = yym3568 + yym3601 := z.EncBinary() + _ = yym3601 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3569 := !z.EncBinary() - yy2arr3569 := z.EncBasicHandle().StructToArray - var yyq3569 [4]bool - _, _, _ = yysep3569, yyq3569, yy2arr3569 - const yyr3569 bool = false - yyq3569[0] = true - yyq3569[1] = len(x.Data) != 0 - yyq3569[2] = x.Kind != "" - yyq3569[3] = x.APIVersion != "" - var yynn3569 int - if yyr3569 || yy2arr3569 { + yysep3602 := !z.EncBinary() + yy2arr3602 := z.EncBasicHandle().StructToArray + var yyq3602 [4]bool + _, _, _ = yysep3602, yyq3602, yy2arr3602 + const yyr3602 bool = false + yyq3602[0] = true + yyq3602[1] = len(x.Data) != 0 + yyq3602[2] = x.Kind != "" + yyq3602[3] = x.APIVersion != "" + var yynn3602 int + if yyr3602 || yy2arr3602 { r.EncodeArrayStart(4) } else { - yynn3569 = 0 - for _, b := range yyq3569 { + yynn3602 = 0 + for _, b := range yyq3602 { if b { - yynn3569++ + yynn3602++ } } - r.EncodeMapStart(yynn3569) - yynn3569 = 0 + r.EncodeMapStart(yynn3602) + yynn3602 = 0 } - if yyr3569 || yy2arr3569 { + if yyr3602 || yy2arr3602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3569[0] { - yy3571 := &x.ObjectMeta - yy3571.CodecEncodeSelf(e) + if yyq3602[0] { + yy3604 := &x.ObjectMeta + yy3604.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3569[0] { + if yyq3602[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3572 := &x.ObjectMeta - yy3572.CodecEncodeSelf(e) + yy3605 := &x.ObjectMeta + yy3605.CodecEncodeSelf(e) } } - if yyr3569 || yy2arr3569 { + if yyr3602 || yy2arr3602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3569[1] { + if yyq3602[1] { if x.Data == nil { r.EncodeNil() } else { - yym3574 := z.EncBinary() - _ = yym3574 + yym3607 := z.EncBinary() + _ = yym3607 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -44516,15 +45031,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3569[1] { + if yyq3602[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3575 := z.EncBinary() - _ = yym3575 + yym3608 := z.EncBinary() + _ = yym3608 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -44532,11 +45047,11 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3569 || yy2arr3569 { + if yyr3602 || yy2arr3602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3569[2] { - yym3577 := z.EncBinary() - _ = yym3577 + if yyq3602[2] { + yym3610 := z.EncBinary() + _ = yym3610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44545,23 +45060,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3569[2] { + if yyq3602[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3578 := z.EncBinary() - _ = yym3578 + yym3611 := z.EncBinary() + _ = yym3611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3569 || yy2arr3569 { + if yyr3602 || yy2arr3602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3569[3] { - yym3580 := z.EncBinary() - _ = yym3580 + if yyq3602[3] { + yym3613 := z.EncBinary() + _ = yym3613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44570,19 +45085,19 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3569[3] { + if yyq3602[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3581 := z.EncBinary() - _ = yym3581 + yym3614 := z.EncBinary() + _ = yym3614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3569 || yy2arr3569 { + if yyr3602 || yy2arr3602 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44595,25 +45110,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3582 := z.DecBinary() - _ = yym3582 + yym3615 := z.DecBinary() + _ = yym3615 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3583 := r.ContainerType() - if yyct3583 == codecSelferValueTypeMap1234 { - yyl3583 := r.ReadMapStart() - if yyl3583 == 0 { + yyct3616 := r.ContainerType() + if yyct3616 == codecSelferValueTypeMap1234 { + yyl3616 := r.ReadMapStart() + if yyl3616 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3583, d) + x.codecDecodeSelfFromMap(yyl3616, d) } - } else if yyct3583 == codecSelferValueTypeArray1234 { - yyl3583 := r.ReadArrayStart() - if yyl3583 == 0 { + } else if yyct3616 == codecSelferValueTypeArray1234 { + yyl3616 := r.ReadArrayStart() + if yyl3616 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3583, d) + x.codecDecodeSelfFromArray(yyl3616, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44625,12 +45140,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3584Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3584Slc - var yyhl3584 bool = l >= 0 - for yyj3584 := 0; ; yyj3584++ { - if yyhl3584 { - if yyj3584 >= l { + var yys3617Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3617Slc + var yyhl3617 bool = l >= 0 + for yyj3617 := 0; ; yyj3617++ { + if yyhl3617 { + if yyj3617 >= l { break } } else { @@ -44639,27 +45154,27 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3584Slc = r.DecodeBytes(yys3584Slc, true, true) - yys3584 := string(yys3584Slc) + yys3617Slc = r.DecodeBytes(yys3617Slc, true, true) + yys3617 := string(yys3617Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3584 { + switch yys3617 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3585 := &x.ObjectMeta - yyv3585.CodecDecodeSelf(d) + yyv3618 := &x.ObjectMeta + yyv3618.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3586 := &x.Data - yym3587 := z.DecBinary() - _ = yym3587 + yyv3619 := &x.Data + yym3620 := z.DecBinary() + _ = yym3620 if false { } else { - z.F.DecMapStringStringX(yyv3586, false, d) + z.F.DecMapStringStringX(yyv3619, false, d) } } case "kind": @@ -44675,9 +45190,9 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3584) - } // end switch yys3584 - } // end for yyj3584 + z.DecStructFieldNotFound(-1, yys3617) + } // end switch yys3617 + } // end for yyj3617 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44685,16 +45200,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3590 int - var yyb3590 bool - var yyhl3590 bool = l >= 0 - yyj3590++ - if yyhl3590 { - yyb3590 = yyj3590 > l + var yyj3623 int + var yyb3623 bool + var yyhl3623 bool = l >= 0 + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3590 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3590 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44702,16 +45217,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3591 := &x.ObjectMeta - yyv3591.CodecDecodeSelf(d) + yyv3624 := &x.ObjectMeta + yyv3624.CodecDecodeSelf(d) } - yyj3590++ - if yyhl3590 { - yyb3590 = yyj3590 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3590 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3590 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44719,21 +45234,21 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3592 := &x.Data - yym3593 := z.DecBinary() - _ = yym3593 + yyv3625 := &x.Data + yym3626 := z.DecBinary() + _ = yym3626 if false { } else { - z.F.DecMapStringStringX(yyv3592, false, d) + z.F.DecMapStringStringX(yyv3625, false, d) } } - yyj3590++ - if yyhl3590 { - yyb3590 = yyj3590 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3590 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3590 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44743,13 +45258,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3590++ - if yyhl3590 { - yyb3590 = yyj3590 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3590 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3590 { + if yyb3623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44760,17 +45275,17 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3590++ - if yyhl3590 { - yyb3590 = yyj3590 > l + yyj3623++ + if yyhl3623 { + yyb3623 = yyj3623 > l } else { - yyb3590 = r.CheckBreak() + yyb3623 = r.CheckBreak() } - if yyb3590 { + if yyb3623 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3590-1, "") + z.DecStructFieldNotFound(yyj3623-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44782,70 +45297,70 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3596 := z.EncBinary() - _ = yym3596 + yym3629 := z.EncBinary() + _ = yym3629 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3597 := !z.EncBinary() - yy2arr3597 := z.EncBasicHandle().StructToArray - var yyq3597 [4]bool - _, _, _ = yysep3597, yyq3597, yy2arr3597 - const yyr3597 bool = false - yyq3597[0] = true - yyq3597[1] = len(x.Items) != 0 - yyq3597[2] = x.Kind != "" - yyq3597[3] = x.APIVersion != "" - var yynn3597 int - if yyr3597 || yy2arr3597 { + yysep3630 := !z.EncBinary() + yy2arr3630 := z.EncBasicHandle().StructToArray + var yyq3630 [4]bool + _, _, _ = yysep3630, yyq3630, yy2arr3630 + const yyr3630 bool = false + yyq3630[0] = true + yyq3630[1] = len(x.Items) != 0 + yyq3630[2] = x.Kind != "" + yyq3630[3] = x.APIVersion != "" + var yynn3630 int + if yyr3630 || yy2arr3630 { r.EncodeArrayStart(4) } else { - yynn3597 = 0 - for _, b := range yyq3597 { + yynn3630 = 0 + for _, b := range yyq3630 { if b { - yynn3597++ + yynn3630++ } } - r.EncodeMapStart(yynn3597) - yynn3597 = 0 + r.EncodeMapStart(yynn3630) + yynn3630 = 0 } - if yyr3597 || yy2arr3597 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3597[0] { - yy3599 := &x.ListMeta - yym3600 := z.EncBinary() - _ = yym3600 + if yyq3630[0] { + yy3632 := &x.ListMeta + yym3633 := z.EncBinary() + _ = yym3633 if false { - } else if z.HasExtensions() && z.EncExt(yy3599) { + } else if z.HasExtensions() && z.EncExt(yy3632) { } else { - z.EncFallback(yy3599) + z.EncFallback(yy3632) } } else { r.EncodeNil() } } else { - if yyq3597[0] { + if yyq3630[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3601 := &x.ListMeta - yym3602 := z.EncBinary() - _ = yym3602 + yy3634 := &x.ListMeta + yym3635 := z.EncBinary() + _ = yym3635 if false { - } else if z.HasExtensions() && z.EncExt(yy3601) { + } else if z.HasExtensions() && z.EncExt(yy3634) { } else { - z.EncFallback(yy3601) + z.EncFallback(yy3634) } } } - if yyr3597 || yy2arr3597 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3597[1] { + if yyq3630[1] { if x.Items == nil { r.EncodeNil() } else { - yym3604 := z.EncBinary() - _ = yym3604 + yym3637 := z.EncBinary() + _ = yym3637 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -44855,15 +45370,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3597[1] { + if yyq3630[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym3605 := z.EncBinary() - _ = yym3605 + yym3638 := z.EncBinary() + _ = yym3638 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -44871,11 +45386,11 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3597 || yy2arr3597 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3597[2] { - yym3607 := z.EncBinary() - _ = yym3607 + if yyq3630[2] { + yym3640 := z.EncBinary() + _ = yym3640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44884,23 +45399,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3597[2] { + if yyq3630[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3608 := z.EncBinary() - _ = yym3608 + yym3641 := z.EncBinary() + _ = yym3641 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3597 || yy2arr3597 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3597[3] { - yym3610 := z.EncBinary() - _ = yym3610 + if yyq3630[3] { + yym3643 := z.EncBinary() + _ = yym3643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44909,19 +45424,19 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3597[3] { + if yyq3630[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3611 := z.EncBinary() - _ = yym3611 + yym3644 := z.EncBinary() + _ = yym3644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3597 || yy2arr3597 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44934,25 +45449,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3612 := z.DecBinary() - _ = yym3612 + yym3645 := z.DecBinary() + _ = yym3645 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3613 := r.ContainerType() - if yyct3613 == codecSelferValueTypeMap1234 { - yyl3613 := r.ReadMapStart() - if yyl3613 == 0 { + yyct3646 := r.ContainerType() + if yyct3646 == codecSelferValueTypeMap1234 { + yyl3646 := r.ReadMapStart() + if yyl3646 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3613, d) + x.codecDecodeSelfFromMap(yyl3646, d) } - } else if yyct3613 == codecSelferValueTypeArray1234 { - yyl3613 := r.ReadArrayStart() - if yyl3613 == 0 { + } else if yyct3646 == codecSelferValueTypeArray1234 { + yyl3646 := r.ReadArrayStart() + if yyl3646 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3613, d) + x.codecDecodeSelfFromArray(yyl3646, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44964,12 +45479,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3614Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3614Slc - var yyhl3614 bool = l >= 0 - for yyj3614 := 0; ; yyj3614++ { - if yyhl3614 { - if yyj3614 >= l { + var yys3647Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3647Slc + var yyhl3647 bool = l >= 0 + for yyj3647 := 0; ; yyj3647++ { + if yyhl3647 { + if yyj3647 >= l { break } } else { @@ -44978,33 +45493,33 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3614Slc = r.DecodeBytes(yys3614Slc, true, true) - yys3614 := string(yys3614Slc) + yys3647Slc = r.DecodeBytes(yys3647Slc, true, true) + yys3647 := string(yys3647Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3614 { + switch yys3647 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3615 := &x.ListMeta - yym3616 := z.DecBinary() - _ = yym3616 + yyv3648 := &x.ListMeta + yym3649 := z.DecBinary() + _ = yym3649 if false { - } else if z.HasExtensions() && z.DecExt(yyv3615) { + } else if z.HasExtensions() && z.DecExt(yyv3648) { } else { - z.DecFallback(yyv3615, false) + z.DecFallback(yyv3648, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3617 := &x.Items - yym3618 := z.DecBinary() - _ = yym3618 + yyv3650 := &x.Items + yym3651 := z.DecBinary() + _ = yym3651 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv3617), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv3650), d) } } case "kind": @@ -45020,9 +45535,9 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3614) - } // end switch yys3614 - } // end for yyj3614 + z.DecStructFieldNotFound(-1, yys3647) + } // end switch yys3647 + } // end for yyj3647 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45030,16 +45545,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3621 int - var yyb3621 bool - var yyhl3621 bool = l >= 0 - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + var yyj3654 int + var yyb3654 bool + var yyhl3654 bool = l >= 0 + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45047,22 +45562,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3622 := &x.ListMeta - yym3623 := z.DecBinary() - _ = yym3623 + yyv3655 := &x.ListMeta + yym3656 := z.DecBinary() + _ = yym3656 if false { - } else if z.HasExtensions() && z.DecExt(yyv3622) { + } else if z.HasExtensions() && z.DecExt(yyv3655) { } else { - z.DecFallback(yyv3622, false) + z.DecFallback(yyv3655, false) } } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45070,21 +45585,21 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3624 := &x.Items - yym3625 := z.DecBinary() - _ = yym3625 + yyv3657 := &x.Items + yym3658 := z.DecBinary() + _ = yym3658 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv3624), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv3657), d) } } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45094,13 +45609,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45111,17 +45626,17 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3621-1, "") + z.DecStructFieldNotFound(yyj3654-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45130,8 +45645,8 @@ func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3628 := z.EncBinary() - _ = yym3628 + yym3661 := z.EncBinary() + _ = yym3661 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -45143,8 +45658,8 @@ func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3629 := z.DecBinary() - _ = yym3629 + yym3662 := z.DecBinary() + _ = yym3662 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -45156,8 +45671,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3630 := z.EncBinary() - _ = yym3630 + yym3663 := z.EncBinary() + _ = yym3663 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -45169,8 +45684,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3631 := z.DecBinary() - _ = yym3631 + yym3664 := z.DecBinary() + _ = yym3664 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -45185,32 +45700,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3632 := z.EncBinary() - _ = yym3632 + yym3665 := z.EncBinary() + _ = yym3665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3633 := !z.EncBinary() - yy2arr3633 := z.EncBasicHandle().StructToArray - var yyq3633 [4]bool - _, _, _ = yysep3633, yyq3633, yy2arr3633 - const yyr3633 bool = false - yyq3633[2] = x.Message != "" - yyq3633[3] = x.Error != "" - var yynn3633 int - if yyr3633 || yy2arr3633 { + yysep3666 := !z.EncBinary() + yy2arr3666 := z.EncBasicHandle().StructToArray + var yyq3666 [4]bool + _, _, _ = yysep3666, yyq3666, yy2arr3666 + const yyr3666 bool = false + yyq3666[2] = x.Message != "" + yyq3666[3] = x.Error != "" + var yynn3666 int + if yyr3666 || yy2arr3666 { r.EncodeArrayStart(4) } else { - yynn3633 = 2 - for _, b := range yyq3633 { + yynn3666 = 2 + for _, b := range yyq3666 { if b { - yynn3633++ + yynn3666++ } } - r.EncodeMapStart(yynn3633) - yynn3633 = 0 + r.EncodeMapStart(yynn3666) + yynn3666 = 0 } - if yyr3633 || yy2arr3633 { + if yyr3666 || yy2arr3666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -45219,7 +45734,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3633 || yy2arr3633 { + if yyr3666 || yy2arr3666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -45228,11 +45743,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3633 || yy2arr3633 { + if yyr3666 || yy2arr3666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3633[2] { - yym3637 := z.EncBinary() - _ = yym3637 + if yyq3666[2] { + yym3670 := z.EncBinary() + _ = yym3670 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -45241,23 +45756,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3633[2] { + if yyq3666[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3638 := z.EncBinary() - _ = yym3638 + yym3671 := z.EncBinary() + _ = yym3671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3633 || yy2arr3633 { + if yyr3666 || yy2arr3666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3633[3] { - yym3640 := z.EncBinary() - _ = yym3640 + if yyq3666[3] { + yym3673 := z.EncBinary() + _ = yym3673 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -45266,19 +45781,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3633[3] { + if yyq3666[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3641 := z.EncBinary() - _ = yym3641 + yym3674 := z.EncBinary() + _ = yym3674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3633 || yy2arr3633 { + if yyr3666 || yy2arr3666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45291,25 +45806,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3642 := z.DecBinary() - _ = yym3642 + yym3675 := z.DecBinary() + _ = yym3675 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3643 := r.ContainerType() - if yyct3643 == codecSelferValueTypeMap1234 { - yyl3643 := r.ReadMapStart() - if yyl3643 == 0 { + yyct3676 := r.ContainerType() + if yyct3676 == codecSelferValueTypeMap1234 { + yyl3676 := r.ReadMapStart() + if yyl3676 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3643, d) + x.codecDecodeSelfFromMap(yyl3676, d) } - } else if yyct3643 == codecSelferValueTypeArray1234 { - yyl3643 := r.ReadArrayStart() - if yyl3643 == 0 { + } else if yyct3676 == codecSelferValueTypeArray1234 { + yyl3676 := r.ReadArrayStart() + if yyl3676 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3643, d) + x.codecDecodeSelfFromArray(yyl3676, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45321,12 +45836,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3644Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3644Slc - var yyhl3644 bool = l >= 0 - for yyj3644 := 0; ; yyj3644++ { - if yyhl3644 { - if yyj3644 >= l { + var yys3677Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3677Slc + var yyhl3677 bool = l >= 0 + for yyj3677 := 0; ; yyj3677++ { + if yyhl3677 { + if yyj3677 >= l { break } } else { @@ -45335,10 +45850,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3644Slc = r.DecodeBytes(yys3644Slc, true, true) - yys3644 := string(yys3644Slc) + yys3677Slc = r.DecodeBytes(yys3677Slc, true, true) + yys3677 := string(yys3677Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3644 { + switch yys3677 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -45364,9 +45879,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3644) - } // end switch yys3644 - } // end for yyj3644 + z.DecStructFieldNotFound(-1, yys3677) + } // end switch yys3677 + } // end for yyj3677 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45374,16 +45889,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3649 int - var yyb3649 bool - var yyhl3649 bool = l >= 0 - yyj3649++ - if yyhl3649 { - yyb3649 = yyj3649 > l + var yyj3682 int + var yyb3682 bool + var yyhl3682 bool = l >= 0 + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3649 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3649 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45393,13 +45908,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3649++ - if yyhl3649 { - yyb3649 = yyj3649 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3649 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3649 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45409,13 +45924,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3649++ - if yyhl3649 { - yyb3649 = yyj3649 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3649 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3649 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45425,13 +45940,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3649++ - if yyhl3649 { - yyb3649 = yyj3649 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3649 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3649 { + if yyb3682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45442,17 +45957,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3649++ - if yyhl3649 { - yyb3649 = yyj3649 > l + yyj3682++ + if yyhl3682 { + yyb3682 = yyj3682 > l } else { - yyb3649 = r.CheckBreak() + yyb3682 = r.CheckBreak() } - if yyb3649 { + if yyb3682 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3649-1, "") + z.DecStructFieldNotFound(yyj3682-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45464,58 +45979,58 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3654 := z.EncBinary() - _ = yym3654 + yym3687 := z.EncBinary() + _ = yym3687 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3655 := !z.EncBinary() - yy2arr3655 := z.EncBasicHandle().StructToArray - var yyq3655 [4]bool - _, _, _ = yysep3655, yyq3655, yy2arr3655 - const yyr3655 bool = false - yyq3655[0] = true - yyq3655[1] = len(x.Conditions) != 0 - yyq3655[2] = x.Kind != "" - yyq3655[3] = x.APIVersion != "" - var yynn3655 int - if yyr3655 || yy2arr3655 { + yysep3688 := !z.EncBinary() + yy2arr3688 := z.EncBasicHandle().StructToArray + var yyq3688 [4]bool + _, _, _ = yysep3688, yyq3688, yy2arr3688 + const yyr3688 bool = false + yyq3688[0] = true + yyq3688[1] = len(x.Conditions) != 0 + yyq3688[2] = x.Kind != "" + yyq3688[3] = x.APIVersion != "" + var yynn3688 int + if yyr3688 || yy2arr3688 { r.EncodeArrayStart(4) } else { - yynn3655 = 0 - for _, b := range yyq3655 { + yynn3688 = 0 + for _, b := range yyq3688 { if b { - yynn3655++ + yynn3688++ } } - r.EncodeMapStart(yynn3655) - yynn3655 = 0 + r.EncodeMapStart(yynn3688) + yynn3688 = 0 } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[0] { - yy3657 := &x.ObjectMeta - yy3657.CodecEncodeSelf(e) + if yyq3688[0] { + yy3690 := &x.ObjectMeta + yy3690.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3655[0] { + if yyq3688[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3658 := &x.ObjectMeta - yy3658.CodecEncodeSelf(e) + yy3691 := &x.ObjectMeta + yy3691.CodecEncodeSelf(e) } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[1] { + if yyq3688[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym3660 := z.EncBinary() - _ = yym3660 + yym3693 := z.EncBinary() + _ = yym3693 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -45525,15 +46040,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3655[1] { + if yyq3688[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3661 := z.EncBinary() - _ = yym3661 + yym3694 := z.EncBinary() + _ = yym3694 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -45541,11 +46056,11 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[2] { - yym3663 := z.EncBinary() - _ = yym3663 + if yyq3688[2] { + yym3696 := z.EncBinary() + _ = yym3696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45554,23 +46069,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3655[2] { + if yyq3688[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3664 := z.EncBinary() - _ = yym3664 + yym3697 := z.EncBinary() + _ = yym3697 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[3] { - yym3666 := z.EncBinary() - _ = yym3666 + if yyq3688[3] { + yym3699 := z.EncBinary() + _ = yym3699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45579,19 +46094,19 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3655[3] { + if yyq3688[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3667 := z.EncBinary() - _ = yym3667 + yym3700 := z.EncBinary() + _ = yym3700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45604,25 +46119,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3668 := z.DecBinary() - _ = yym3668 + yym3701 := z.DecBinary() + _ = yym3701 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3669 := r.ContainerType() - if yyct3669 == codecSelferValueTypeMap1234 { - yyl3669 := r.ReadMapStart() - if yyl3669 == 0 { + yyct3702 := r.ContainerType() + if yyct3702 == codecSelferValueTypeMap1234 { + yyl3702 := r.ReadMapStart() + if yyl3702 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3669, d) + x.codecDecodeSelfFromMap(yyl3702, d) } - } else if yyct3669 == codecSelferValueTypeArray1234 { - yyl3669 := r.ReadArrayStart() - if yyl3669 == 0 { + } else if yyct3702 == codecSelferValueTypeArray1234 { + yyl3702 := r.ReadArrayStart() + if yyl3702 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3669, d) + x.codecDecodeSelfFromArray(yyl3702, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45634,12 +46149,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3670Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3670Slc - var yyhl3670 bool = l >= 0 - for yyj3670 := 0; ; yyj3670++ { - if yyhl3670 { - if yyj3670 >= l { + var yys3703Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3703Slc + var yyhl3703 bool = l >= 0 + for yyj3703 := 0; ; yyj3703++ { + if yyhl3703 { + if yyj3703 >= l { break } } else { @@ -45648,27 +46163,27 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3670Slc = r.DecodeBytes(yys3670Slc, true, true) - yys3670 := string(yys3670Slc) + yys3703Slc = r.DecodeBytes(yys3703Slc, true, true) + yys3703 := string(yys3703Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3670 { + switch yys3703 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3671 := &x.ObjectMeta - yyv3671.CodecDecodeSelf(d) + yyv3704 := &x.ObjectMeta + yyv3704.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3672 := &x.Conditions - yym3673 := z.DecBinary() - _ = yym3673 + yyv3705 := &x.Conditions + yym3706 := z.DecBinary() + _ = yym3706 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3672), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3705), d) } } case "kind": @@ -45684,9 +46199,9 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3670) - } // end switch yys3670 - } // end for yyj3670 + z.DecStructFieldNotFound(-1, yys3703) + } // end switch yys3703 + } // end for yyj3703 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45694,16 +46209,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3676 int - var yyb3676 bool - var yyhl3676 bool = l >= 0 - yyj3676++ - if yyhl3676 { - yyb3676 = yyj3676 > l + var yyj3709 int + var yyb3709 bool + var yyhl3709 bool = l >= 0 + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3676 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3676 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45711,16 +46226,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3677 := &x.ObjectMeta - yyv3677.CodecDecodeSelf(d) + yyv3710 := &x.ObjectMeta + yyv3710.CodecDecodeSelf(d) } - yyj3676++ - if yyhl3676 { - yyb3676 = yyj3676 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3676 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3676 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45728,21 +46243,21 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3678 := &x.Conditions - yym3679 := z.DecBinary() - _ = yym3679 + yyv3711 := &x.Conditions + yym3712 := z.DecBinary() + _ = yym3712 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3678), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3711), d) } } - yyj3676++ - if yyhl3676 { - yyb3676 = yyj3676 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3676 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3676 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45752,13 +46267,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3676++ - if yyhl3676 { - yyb3676 = yyj3676 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3676 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3676 { + if yyb3709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45769,17 +46284,17 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3676++ - if yyhl3676 { - yyb3676 = yyj3676 > l + yyj3709++ + if yyhl3709 { + yyb3709 = yyj3709 > l } else { - yyb3676 = r.CheckBreak() + yyb3709 = r.CheckBreak() } - if yyb3676 { + if yyb3709 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3676-1, "") + z.DecStructFieldNotFound(yyj3709-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45791,68 +46306,68 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3682 := z.EncBinary() - _ = yym3682 + yym3715 := z.EncBinary() + _ = yym3715 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3683 := !z.EncBinary() - yy2arr3683 := z.EncBasicHandle().StructToArray - var yyq3683 [4]bool - _, _, _ = yysep3683, yyq3683, yy2arr3683 - const yyr3683 bool = false - yyq3683[0] = true - yyq3683[2] = x.Kind != "" - yyq3683[3] = x.APIVersion != "" - var yynn3683 int - if yyr3683 || yy2arr3683 { + yysep3716 := !z.EncBinary() + yy2arr3716 := z.EncBasicHandle().StructToArray + var yyq3716 [4]bool + _, _, _ = yysep3716, yyq3716, yy2arr3716 + const yyr3716 bool = false + yyq3716[0] = true + yyq3716[2] = x.Kind != "" + yyq3716[3] = x.APIVersion != "" + var yynn3716 int + if yyr3716 || yy2arr3716 { r.EncodeArrayStart(4) } else { - yynn3683 = 1 - for _, b := range yyq3683 { + yynn3716 = 1 + for _, b := range yyq3716 { if b { - yynn3683++ + yynn3716++ } } - r.EncodeMapStart(yynn3683) - yynn3683 = 0 + r.EncodeMapStart(yynn3716) + yynn3716 = 0 } - if yyr3683 || yy2arr3683 { + if yyr3716 || yy2arr3716 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3683[0] { - yy3685 := &x.ListMeta - yym3686 := z.EncBinary() - _ = yym3686 + if yyq3716[0] { + yy3718 := &x.ListMeta + yym3719 := z.EncBinary() + _ = yym3719 if false { - } else if z.HasExtensions() && z.EncExt(yy3685) { + } else if z.HasExtensions() && z.EncExt(yy3718) { } else { - z.EncFallback(yy3685) + z.EncFallback(yy3718) } } else { r.EncodeNil() } } else { - if yyq3683[0] { + if yyq3716[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3687 := &x.ListMeta - yym3688 := z.EncBinary() - _ = yym3688 + yy3720 := &x.ListMeta + yym3721 := z.EncBinary() + _ = yym3721 if false { - } else if z.HasExtensions() && z.EncExt(yy3687) { + } else if z.HasExtensions() && z.EncExt(yy3720) { } else { - z.EncFallback(yy3687) + z.EncFallback(yy3720) } } } - if yyr3683 || yy2arr3683 { + if yyr3716 || yy2arr3716 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3690 := z.EncBinary() - _ = yym3690 + yym3723 := z.EncBinary() + _ = yym3723 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -45865,19 +46380,19 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3691 := z.EncBinary() - _ = yym3691 + yym3724 := z.EncBinary() + _ = yym3724 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3683 || yy2arr3683 { + if yyr3716 || yy2arr3716 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3683[2] { - yym3693 := z.EncBinary() - _ = yym3693 + if yyq3716[2] { + yym3726 := z.EncBinary() + _ = yym3726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45886,23 +46401,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3683[2] { + if yyq3716[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3694 := z.EncBinary() - _ = yym3694 + yym3727 := z.EncBinary() + _ = yym3727 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3683 || yy2arr3683 { + if yyr3716 || yy2arr3716 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3683[3] { - yym3696 := z.EncBinary() - _ = yym3696 + if yyq3716[3] { + yym3729 := z.EncBinary() + _ = yym3729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45911,19 +46426,19 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3683[3] { + if yyq3716[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3697 := z.EncBinary() - _ = yym3697 + yym3730 := z.EncBinary() + _ = yym3730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3683 || yy2arr3683 { + if yyr3716 || yy2arr3716 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45936,25 +46451,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3698 := z.DecBinary() - _ = yym3698 + yym3731 := z.DecBinary() + _ = yym3731 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3699 := r.ContainerType() - if yyct3699 == codecSelferValueTypeMap1234 { - yyl3699 := r.ReadMapStart() - if yyl3699 == 0 { + yyct3732 := r.ContainerType() + if yyct3732 == codecSelferValueTypeMap1234 { + yyl3732 := r.ReadMapStart() + if yyl3732 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3699, d) + x.codecDecodeSelfFromMap(yyl3732, d) } - } else if yyct3699 == codecSelferValueTypeArray1234 { - yyl3699 := r.ReadArrayStart() - if yyl3699 == 0 { + } else if yyct3732 == codecSelferValueTypeArray1234 { + yyl3732 := r.ReadArrayStart() + if yyl3732 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3699, d) + x.codecDecodeSelfFromArray(yyl3732, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45966,12 +46481,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3700Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3700Slc - var yyhl3700 bool = l >= 0 - for yyj3700 := 0; ; yyj3700++ { - if yyhl3700 { - if yyj3700 >= l { + var yys3733Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3733Slc + var yyhl3733 bool = l >= 0 + for yyj3733 := 0; ; yyj3733++ { + if yyhl3733 { + if yyj3733 >= l { break } } else { @@ -45980,33 +46495,33 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3700Slc = r.DecodeBytes(yys3700Slc, true, true) - yys3700 := string(yys3700Slc) + yys3733Slc = r.DecodeBytes(yys3733Slc, true, true) + yys3733 := string(yys3733Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3700 { + switch yys3733 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3701 := &x.ListMeta - yym3702 := z.DecBinary() - _ = yym3702 + yyv3734 := &x.ListMeta + yym3735 := z.DecBinary() + _ = yym3735 if false { - } else if z.HasExtensions() && z.DecExt(yyv3701) { + } else if z.HasExtensions() && z.DecExt(yyv3734) { } else { - z.DecFallback(yyv3701, false) + z.DecFallback(yyv3734, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3703 := &x.Items - yym3704 := z.DecBinary() - _ = yym3704 + yyv3736 := &x.Items + yym3737 := z.DecBinary() + _ = yym3737 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3703), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3736), d) } } case "kind": @@ -46022,9 +46537,9 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3700) - } // end switch yys3700 - } // end for yyj3700 + z.DecStructFieldNotFound(-1, yys3733) + } // end switch yys3733 + } // end for yyj3733 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46032,16 +46547,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3707 int - var yyb3707 bool - var yyhl3707 bool = l >= 0 - yyj3707++ - if yyhl3707 { - yyb3707 = yyj3707 > l + var yyj3740 int + var yyb3740 bool + var yyhl3740 bool = l >= 0 + yyj3740++ + if yyhl3740 { + yyb3740 = yyj3740 > l } else { - yyb3707 = r.CheckBreak() + yyb3740 = r.CheckBreak() } - if yyb3707 { + if yyb3740 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46049,22 +46564,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3708 := &x.ListMeta - yym3709 := z.DecBinary() - _ = yym3709 + yyv3741 := &x.ListMeta + yym3742 := z.DecBinary() + _ = yym3742 if false { - } else if z.HasExtensions() && z.DecExt(yyv3708) { + } else if z.HasExtensions() && z.DecExt(yyv3741) { } else { - z.DecFallback(yyv3708, false) + z.DecFallback(yyv3741, false) } } - yyj3707++ - if yyhl3707 { - yyb3707 = yyj3707 > l + yyj3740++ + if yyhl3740 { + yyb3740 = yyj3740 > l } else { - yyb3707 = r.CheckBreak() + yyb3740 = r.CheckBreak() } - if yyb3707 { + if yyb3740 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46072,21 +46587,21 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3710 := &x.Items - yym3711 := z.DecBinary() - _ = yym3711 + yyv3743 := &x.Items + yym3744 := z.DecBinary() + _ = yym3744 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3710), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3743), d) } } - yyj3707++ - if yyhl3707 { - yyb3707 = yyj3707 > l + yyj3740++ + if yyhl3740 { + yyb3740 = yyj3740 > l } else { - yyb3707 = r.CheckBreak() + yyb3740 = r.CheckBreak() } - if yyb3707 { + if yyb3740 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46096,13 +46611,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3707++ - if yyhl3707 { - yyb3707 = yyj3707 > l + yyj3740++ + if yyhl3740 { + yyb3740 = yyj3740 > l } else { - yyb3707 = r.CheckBreak() + yyb3740 = r.CheckBreak() } - if yyb3707 { + if yyb3740 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46113,17 +46628,17 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } for { - yyj3707++ - if yyhl3707 { - yyb3707 = yyj3707 > l + yyj3740++ + if yyhl3740 { + yyb3740 = yyj3740 > l } else { - yyb3707 = r.CheckBreak() + yyb3740 = r.CheckBreak() } - if yyb3707 { + if yyb3740 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3707-1, "") + z.DecStructFieldNotFound(yyj3740-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46135,37 +46650,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3714 := z.EncBinary() - _ = yym3714 + yym3747 := z.EncBinary() + _ = yym3747 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3715 := !z.EncBinary() - yy2arr3715 := z.EncBasicHandle().StructToArray - var yyq3715 [5]bool - _, _, _ = yysep3715, yyq3715, yy2arr3715 - const yyr3715 bool = false - yyq3715[0] = x.Capabilities != nil - yyq3715[1] = x.Privileged != nil - yyq3715[2] = x.SELinuxOptions != nil - yyq3715[3] = x.RunAsUser != nil - yyq3715[4] = x.RunAsNonRoot != nil - var yynn3715 int - if yyr3715 || yy2arr3715 { + yysep3748 := !z.EncBinary() + yy2arr3748 := z.EncBasicHandle().StructToArray + var yyq3748 [5]bool + _, _, _ = yysep3748, yyq3748, yy2arr3748 + const yyr3748 bool = false + yyq3748[0] = x.Capabilities != nil + yyq3748[1] = x.Privileged != nil + yyq3748[2] = x.SELinuxOptions != nil + yyq3748[3] = x.RunAsUser != nil + yyq3748[4] = x.RunAsNonRoot != nil + var yynn3748 int + if yyr3748 || yy2arr3748 { r.EncodeArrayStart(5) } else { - yynn3715 = 0 - for _, b := range yyq3715 { + yynn3748 = 0 + for _, b := range yyq3748 { if b { - yynn3715++ + yynn3748++ } } - r.EncodeMapStart(yynn3715) - yynn3715 = 0 + r.EncodeMapStart(yynn3748) + yynn3748 = 0 } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[0] { + if yyq3748[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -46175,7 +46690,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3715[0] { + if yyq3748[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -46186,44 +46701,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[1] { + if yyq3748[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3718 := *x.Privileged - yym3719 := z.EncBinary() - _ = yym3719 + yy3751 := *x.Privileged + yym3752 := z.EncBinary() + _ = yym3752 if false { } else { - r.EncodeBool(bool(yy3718)) + r.EncodeBool(bool(yy3751)) } } } else { r.EncodeNil() } } else { - if yyq3715[1] { + if yyq3748[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3720 := *x.Privileged - yym3721 := z.EncBinary() - _ = yym3721 + yy3753 := *x.Privileged + yym3754 := z.EncBinary() + _ = yym3754 if false { } else { - r.EncodeBool(bool(yy3720)) + r.EncodeBool(bool(yy3753)) } } } } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[2] { + if yyq3748[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -46233,7 +46748,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3715[2] { + if yyq3748[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -46244,77 +46759,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[3] { + if yyq3748[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3724 := *x.RunAsUser - yym3725 := z.EncBinary() - _ = yym3725 + yy3757 := *x.RunAsUser + yym3758 := z.EncBinary() + _ = yym3758 if false { } else { - r.EncodeInt(int64(yy3724)) + r.EncodeInt(int64(yy3757)) } } } else { r.EncodeNil() } } else { - if yyq3715[3] { + if yyq3748[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3726 := *x.RunAsUser - yym3727 := z.EncBinary() - _ = yym3727 + yy3759 := *x.RunAsUser + yym3760 := z.EncBinary() + _ = yym3760 if false { } else { - r.EncodeInt(int64(yy3726)) + r.EncodeInt(int64(yy3759)) } } } } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3715[4] { + if yyq3748[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3729 := *x.RunAsNonRoot - yym3730 := z.EncBinary() - _ = yym3730 + yy3762 := *x.RunAsNonRoot + yym3763 := z.EncBinary() + _ = yym3763 if false { } else { - r.EncodeBool(bool(yy3729)) + r.EncodeBool(bool(yy3762)) } } } else { r.EncodeNil() } } else { - if yyq3715[4] { + if yyq3748[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3731 := *x.RunAsNonRoot - yym3732 := z.EncBinary() - _ = yym3732 + yy3764 := *x.RunAsNonRoot + yym3765 := z.EncBinary() + _ = yym3765 if false { } else { - r.EncodeBool(bool(yy3731)) + r.EncodeBool(bool(yy3764)) } } } } - if yyr3715 || yy2arr3715 { + if yyr3748 || yy2arr3748 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46327,25 +46842,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3733 := z.DecBinary() - _ = yym3733 + yym3766 := z.DecBinary() + _ = yym3766 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3734 := r.ContainerType() - if yyct3734 == codecSelferValueTypeMap1234 { - yyl3734 := r.ReadMapStart() - if yyl3734 == 0 { + yyct3767 := r.ContainerType() + if yyct3767 == codecSelferValueTypeMap1234 { + yyl3767 := r.ReadMapStart() + if yyl3767 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3734, d) + x.codecDecodeSelfFromMap(yyl3767, d) } - } else if yyct3734 == codecSelferValueTypeArray1234 { - yyl3734 := r.ReadArrayStart() - if yyl3734 == 0 { + } else if yyct3767 == codecSelferValueTypeArray1234 { + yyl3767 := r.ReadArrayStart() + if yyl3767 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3734, d) + x.codecDecodeSelfFromArray(yyl3767, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46357,12 +46872,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3735Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3735Slc - var yyhl3735 bool = l >= 0 - for yyj3735 := 0; ; yyj3735++ { - if yyhl3735 { - if yyj3735 >= l { + var yys3768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3768Slc + var yyhl3768 bool = l >= 0 + for yyj3768 := 0; ; yyj3768++ { + if yyhl3768 { + if yyj3768 >= l { break } } else { @@ -46371,10 +46886,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3735Slc = r.DecodeBytes(yys3735Slc, true, true) - yys3735 := string(yys3735Slc) + yys3768Slc = r.DecodeBytes(yys3768Slc, true, true) + yys3768 := string(yys3768Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3735 { + switch yys3768 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -46395,8 +46910,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3738 := z.DecBinary() - _ = yym3738 + yym3771 := z.DecBinary() + _ = yym3771 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -46422,8 +46937,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3741 := z.DecBinary() - _ = yym3741 + yym3774 := z.DecBinary() + _ = yym3774 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -46438,17 +46953,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3743 := z.DecBinary() - _ = yym3743 + yym3776 := z.DecBinary() + _ = yym3776 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3735) - } // end switch yys3735 - } // end for yyj3735 + z.DecStructFieldNotFound(-1, yys3768) + } // end switch yys3768 + } // end for yyj3768 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46456,16 +46971,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3744 int - var yyb3744 bool - var yyhl3744 bool = l >= 0 - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + var yyj3777 int + var yyb3777 bool + var yyhl3777 bool = l >= 0 + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46480,13 +46995,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46499,20 +47014,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3747 := z.DecBinary() - _ = yym3747 + yym3780 := z.DecBinary() + _ = yym3780 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46527,13 +47042,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46546,20 +47061,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3750 := z.DecBinary() - _ = yym3750 + yym3783 := z.DecBinary() + _ = yym3783 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46572,25 +47087,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3752 := z.DecBinary() - _ = yym3752 + yym3785 := z.DecBinary() + _ = yym3785 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj3777++ + if yyhl3777 { + yyb3777 = yyj3777 > l } else { - yyb3744 = r.CheckBreak() + yyb3777 = r.CheckBreak() } - if yyb3744 { + if yyb3777 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3744-1, "") + z.DecStructFieldNotFound(yyj3777-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46602,38 +47117,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3753 := z.EncBinary() - _ = yym3753 + yym3786 := z.EncBinary() + _ = yym3786 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3754 := !z.EncBinary() - yy2arr3754 := z.EncBasicHandle().StructToArray - var yyq3754 [4]bool - _, _, _ = yysep3754, yyq3754, yy2arr3754 - const yyr3754 bool = false - yyq3754[0] = x.User != "" - yyq3754[1] = x.Role != "" - yyq3754[2] = x.Type != "" - yyq3754[3] = x.Level != "" - var yynn3754 int - if yyr3754 || yy2arr3754 { + yysep3787 := !z.EncBinary() + yy2arr3787 := z.EncBasicHandle().StructToArray + var yyq3787 [4]bool + _, _, _ = yysep3787, yyq3787, yy2arr3787 + const yyr3787 bool = false + yyq3787[0] = x.User != "" + yyq3787[1] = x.Role != "" + yyq3787[2] = x.Type != "" + yyq3787[3] = x.Level != "" + var yynn3787 int + if yyr3787 || yy2arr3787 { r.EncodeArrayStart(4) } else { - yynn3754 = 0 - for _, b := range yyq3754 { + yynn3787 = 0 + for _, b := range yyq3787 { if b { - yynn3754++ + yynn3787++ } } - r.EncodeMapStart(yynn3754) - yynn3754 = 0 + r.EncodeMapStart(yynn3787) + yynn3787 = 0 } - if yyr3754 || yy2arr3754 { + if yyr3787 || yy2arr3787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3754[0] { - yym3756 := z.EncBinary() - _ = yym3756 + if yyq3787[0] { + yym3789 := z.EncBinary() + _ = yym3789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -46642,23 +47157,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3754[0] { + if yyq3787[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3757 := z.EncBinary() - _ = yym3757 + yym3790 := z.EncBinary() + _ = yym3790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3754 || yy2arr3754 { + if yyr3787 || yy2arr3787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3754[1] { - yym3759 := z.EncBinary() - _ = yym3759 + if yyq3787[1] { + yym3792 := z.EncBinary() + _ = yym3792 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -46667,23 +47182,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3754[1] { + if yyq3787[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3760 := z.EncBinary() - _ = yym3760 + yym3793 := z.EncBinary() + _ = yym3793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3754 || yy2arr3754 { + if yyr3787 || yy2arr3787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3754[2] { - yym3762 := z.EncBinary() - _ = yym3762 + if yyq3787[2] { + yym3795 := z.EncBinary() + _ = yym3795 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -46692,23 +47207,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3754[2] { + if yyq3787[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3763 := z.EncBinary() - _ = yym3763 + yym3796 := z.EncBinary() + _ = yym3796 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3754 || yy2arr3754 { + if yyr3787 || yy2arr3787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3754[3] { - yym3765 := z.EncBinary() - _ = yym3765 + if yyq3787[3] { + yym3798 := z.EncBinary() + _ = yym3798 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -46717,19 +47232,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3754[3] { + if yyq3787[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3766 := z.EncBinary() - _ = yym3766 + yym3799 := z.EncBinary() + _ = yym3799 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3754 || yy2arr3754 { + if yyr3787 || yy2arr3787 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46742,25 +47257,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3767 := z.DecBinary() - _ = yym3767 + yym3800 := z.DecBinary() + _ = yym3800 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3768 := r.ContainerType() - if yyct3768 == codecSelferValueTypeMap1234 { - yyl3768 := r.ReadMapStart() - if yyl3768 == 0 { + yyct3801 := r.ContainerType() + if yyct3801 == codecSelferValueTypeMap1234 { + yyl3801 := r.ReadMapStart() + if yyl3801 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3768, d) + x.codecDecodeSelfFromMap(yyl3801, d) } - } else if yyct3768 == codecSelferValueTypeArray1234 { - yyl3768 := r.ReadArrayStart() - if yyl3768 == 0 { + } else if yyct3801 == codecSelferValueTypeArray1234 { + yyl3801 := r.ReadArrayStart() + if yyl3801 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3768, d) + x.codecDecodeSelfFromArray(yyl3801, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46772,12 +47287,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3769Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3769Slc - var yyhl3769 bool = l >= 0 - for yyj3769 := 0; ; yyj3769++ { - if yyhl3769 { - if yyj3769 >= l { + var yys3802Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3802Slc + var yyhl3802 bool = l >= 0 + for yyj3802 := 0; ; yyj3802++ { + if yyhl3802 { + if yyj3802 >= l { break } } else { @@ -46786,10 +47301,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3769Slc = r.DecodeBytes(yys3769Slc, true, true) - yys3769 := string(yys3769Slc) + yys3802Slc = r.DecodeBytes(yys3802Slc, true, true) + yys3802 := string(yys3802Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3769 { + switch yys3802 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -46815,9 +47330,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3769) - } // end switch yys3769 - } // end for yyj3769 + z.DecStructFieldNotFound(-1, yys3802) + } // end switch yys3802 + } // end for yyj3802 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46825,16 +47340,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3774 int - var yyb3774 bool - var yyhl3774 bool = l >= 0 - yyj3774++ - if yyhl3774 { - yyb3774 = yyj3774 > l + var yyj3807 int + var yyb3807 bool + var yyhl3807 bool = l >= 0 + yyj3807++ + if yyhl3807 { + yyb3807 = yyj3807 > l } else { - yyb3774 = r.CheckBreak() + yyb3807 = r.CheckBreak() } - if yyb3774 { + if yyb3807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46844,13 +47359,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3774++ - if yyhl3774 { - yyb3774 = yyj3774 > l + yyj3807++ + if yyhl3807 { + yyb3807 = yyj3807 > l } else { - yyb3774 = r.CheckBreak() + yyb3807 = r.CheckBreak() } - if yyb3774 { + if yyb3807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46860,13 +47375,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3774++ - if yyhl3774 { - yyb3774 = yyj3774 > l + yyj3807++ + if yyhl3807 { + yyb3807 = yyj3807 > l } else { - yyb3774 = r.CheckBreak() + yyb3807 = r.CheckBreak() } - if yyb3774 { + if yyb3807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46876,13 +47391,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3774++ - if yyhl3774 { - yyb3774 = yyj3774 > l + yyj3807++ + if yyhl3807 { + yyb3807 = yyj3807 > l } else { - yyb3774 = r.CheckBreak() + yyb3807 = r.CheckBreak() } - if yyb3774 { + if yyb3807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46893,17 +47408,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3774++ - if yyhl3774 { - yyb3774 = yyj3774 > l + yyj3807++ + if yyhl3807 { + yyb3807 = yyj3807 > l } else { - yyb3774 = r.CheckBreak() + yyb3807 = r.CheckBreak() } - if yyb3774 { + if yyb3807 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3774-1, "") + z.DecStructFieldNotFound(yyj3807-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46915,53 +47430,53 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3779 := z.EncBinary() - _ = yym3779 + yym3812 := z.EncBinary() + _ = yym3812 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3780 := !z.EncBinary() - yy2arr3780 := z.EncBasicHandle().StructToArray - var yyq3780 [5]bool - _, _, _ = yysep3780, yyq3780, yy2arr3780 - const yyr3780 bool = false - yyq3780[0] = true - yyq3780[3] = x.Kind != "" - yyq3780[4] = x.APIVersion != "" - var yynn3780 int - if yyr3780 || yy2arr3780 { + yysep3813 := !z.EncBinary() + yy2arr3813 := z.EncBasicHandle().StructToArray + var yyq3813 [5]bool + _, _, _ = yysep3813, yyq3813, yy2arr3813 + const yyr3813 bool = false + yyq3813[0] = true + yyq3813[3] = x.Kind != "" + yyq3813[4] = x.APIVersion != "" + var yynn3813 int + if yyr3813 || yy2arr3813 { r.EncodeArrayStart(5) } else { - yynn3780 = 2 - for _, b := range yyq3780 { + yynn3813 = 2 + for _, b := range yyq3813 { if b { - yynn3780++ + yynn3813++ } } - r.EncodeMapStart(yynn3780) - yynn3780 = 0 + r.EncodeMapStart(yynn3813) + yynn3813 = 0 } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3780[0] { - yy3782 := &x.ObjectMeta - yy3782.CodecEncodeSelf(e) + if yyq3813[0] { + yy3815 := &x.ObjectMeta + yy3815.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3780[0] { + if yyq3813[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3783 := &x.ObjectMeta - yy3783.CodecEncodeSelf(e) + yy3816 := &x.ObjectMeta + yy3816.CodecEncodeSelf(e) } } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3785 := z.EncBinary() - _ = yym3785 + yym3818 := z.EncBinary() + _ = yym3818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -46970,20 +47485,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3786 := z.EncBinary() - _ = yym3786 + yym3819 := z.EncBinary() + _ = yym3819 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3788 := z.EncBinary() - _ = yym3788 + yym3821 := z.EncBinary() + _ = yym3821 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -46996,19 +47511,19 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3789 := z.EncBinary() - _ = yym3789 + yym3822 := z.EncBinary() + _ = yym3822 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3780[3] { - yym3791 := z.EncBinary() - _ = yym3791 + if yyq3813[3] { + yym3824 := z.EncBinary() + _ = yym3824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47017,23 +47532,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3780[3] { + if yyq3813[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3792 := z.EncBinary() - _ = yym3792 + yym3825 := z.EncBinary() + _ = yym3825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3780[4] { - yym3794 := z.EncBinary() - _ = yym3794 + if yyq3813[4] { + yym3827 := z.EncBinary() + _ = yym3827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47042,19 +47557,19 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3780[4] { + if yyq3813[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3795 := z.EncBinary() - _ = yym3795 + yym3828 := z.EncBinary() + _ = yym3828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3780 || yy2arr3780 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47067,25 +47582,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3796 := z.DecBinary() - _ = yym3796 + yym3829 := z.DecBinary() + _ = yym3829 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3797 := r.ContainerType() - if yyct3797 == codecSelferValueTypeMap1234 { - yyl3797 := r.ReadMapStart() - if yyl3797 == 0 { + yyct3830 := r.ContainerType() + if yyct3830 == codecSelferValueTypeMap1234 { + yyl3830 := r.ReadMapStart() + if yyl3830 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3797, d) + x.codecDecodeSelfFromMap(yyl3830, d) } - } else if yyct3797 == codecSelferValueTypeArray1234 { - yyl3797 := r.ReadArrayStart() - if yyl3797 == 0 { + } else if yyct3830 == codecSelferValueTypeArray1234 { + yyl3830 := r.ReadArrayStart() + if yyl3830 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3797, d) + x.codecDecodeSelfFromArray(yyl3830, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47097,12 +47612,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3798Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3798Slc - var yyhl3798 bool = l >= 0 - for yyj3798 := 0; ; yyj3798++ { - if yyhl3798 { - if yyj3798 >= l { + var yys3831Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3831Slc + var yyhl3831 bool = l >= 0 + for yyj3831 := 0; ; yyj3831++ { + if yyhl3831 { + if yyj3831 >= l { break } } else { @@ -47111,16 +47626,16 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3798Slc = r.DecodeBytes(yys3798Slc, true, true) - yys3798 := string(yys3798Slc) + yys3831Slc = r.DecodeBytes(yys3831Slc, true, true) + yys3831 := string(yys3831Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3798 { + switch yys3831 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3799 := &x.ObjectMeta - yyv3799.CodecDecodeSelf(d) + yyv3832 := &x.ObjectMeta + yyv3832.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -47132,12 +47647,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3801 := &x.Data - yym3802 := z.DecBinary() - _ = yym3802 + yyv3834 := &x.Data + yym3835 := z.DecBinary() + _ = yym3835 if false { } else { - *yyv3801 = r.DecodeBytes(*(*[]byte)(yyv3801), false, false) + *yyv3834 = r.DecodeBytes(*(*[]byte)(yyv3834), false, false) } } case "kind": @@ -47153,9 +47668,9 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3798) - } // end switch yys3798 - } // end for yyj3798 + z.DecStructFieldNotFound(-1, yys3831) + } // end switch yys3831 + } // end for yyj3831 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47163,16 +47678,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3805 int - var yyb3805 bool - var yyhl3805 bool = l >= 0 - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + var yyj3838 int + var yyb3838 bool + var yyhl3838 bool = l >= 0 + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47180,16 +47695,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3806 := &x.ObjectMeta - yyv3806.CodecDecodeSelf(d) + yyv3839 := &x.ObjectMeta + yyv3839.CodecDecodeSelf(d) } - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47199,13 +47714,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47213,21 +47728,21 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3808 := &x.Data - yym3809 := z.DecBinary() - _ = yym3809 + yyv3841 := &x.Data + yym3842 := z.DecBinary() + _ = yym3842 if false { } else { - *yyv3808 = r.DecodeBytes(*(*[]byte)(yyv3808), false, false) + *yyv3841 = r.DecodeBytes(*(*[]byte)(yyv3841), false, false) } } - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47237,13 +47752,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47254,17 +47769,17 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3805++ - if yyhl3805 { - yyb3805 = yyj3805 > l + yyj3838++ + if yyhl3838 { + yyb3838 = yyj3838 > l } else { - yyb3805 = r.CheckBreak() + yyb3838 = r.CheckBreak() } - if yyb3805 { + if yyb3838 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3805-1, "") + z.DecStructFieldNotFound(yyj3838-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47274,9 +47789,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3812 := range v { + for _, yyv3845 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3812.CodecEncodeSelf(e) + yyv3845.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47286,75 +47801,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3813 := *v - yyh3813, yyl3813 := z.DecSliceHelperStart() - var yyc3813 bool - if yyl3813 == 0 { - if yyv3813 == nil { - yyv3813 = []PersistentVolumeAccessMode{} - yyc3813 = true - } else if len(yyv3813) != 0 { - yyv3813 = yyv3813[:0] - yyc3813 = true + yyv3846 := *v + yyh3846, yyl3846 := z.DecSliceHelperStart() + var yyc3846 bool + if yyl3846 == 0 { + if yyv3846 == nil { + yyv3846 = []PersistentVolumeAccessMode{} + yyc3846 = true + } else if len(yyv3846) != 0 { + yyv3846 = yyv3846[:0] + yyc3846 = true } - } else if yyl3813 > 0 { - var yyrr3813, yyrl3813 int - var yyrt3813 bool - if yyl3813 > cap(yyv3813) { + } else if yyl3846 > 0 { + var yyrr3846, yyrl3846 int + var yyrt3846 bool + if yyl3846 > cap(yyv3846) { - yyrl3813, yyrt3813 = z.DecInferLen(yyl3813, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3813 { - if yyrl3813 <= cap(yyv3813) { - yyv3813 = yyv3813[:yyrl3813] + yyrl3846, yyrt3846 = z.DecInferLen(yyl3846, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3846 { + if yyrl3846 <= cap(yyv3846) { + yyv3846 = yyv3846[:yyrl3846] } else { - yyv3813 = make([]PersistentVolumeAccessMode, yyrl3813) + yyv3846 = make([]PersistentVolumeAccessMode, yyrl3846) } } else { - yyv3813 = make([]PersistentVolumeAccessMode, yyrl3813) + yyv3846 = make([]PersistentVolumeAccessMode, yyrl3846) } - yyc3813 = true - yyrr3813 = len(yyv3813) - } else if yyl3813 != len(yyv3813) { - yyv3813 = yyv3813[:yyl3813] - yyc3813 = true + yyc3846 = true + yyrr3846 = len(yyv3846) + } else if yyl3846 != len(yyv3846) { + yyv3846 = yyv3846[:yyl3846] + yyc3846 = true } - yyj3813 := 0 - for ; yyj3813 < yyrr3813; yyj3813++ { - yyh3813.ElemContainerState(yyj3813) + yyj3846 := 0 + for ; yyj3846 < yyrr3846; yyj3846++ { + yyh3846.ElemContainerState(yyj3846) if r.TryDecodeAsNil() { - yyv3813[yyj3813] = "" + yyv3846[yyj3846] = "" } else { - yyv3813[yyj3813] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3846[yyj3846] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3813 { - for ; yyj3813 < yyl3813; yyj3813++ { - yyv3813 = append(yyv3813, "") - yyh3813.ElemContainerState(yyj3813) + if yyrt3846 { + for ; yyj3846 < yyl3846; yyj3846++ { + yyv3846 = append(yyv3846, "") + yyh3846.ElemContainerState(yyj3846) if r.TryDecodeAsNil() { - yyv3813[yyj3813] = "" + yyv3846[yyj3846] = "" } else { - yyv3813[yyj3813] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3846[yyj3846] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3813 := 0 - for ; !r.CheckBreak(); yyj3813++ { + yyj3846 := 0 + for ; !r.CheckBreak(); yyj3846++ { - if yyj3813 >= len(yyv3813) { - yyv3813 = append(yyv3813, "") // var yyz3813 PersistentVolumeAccessMode - yyc3813 = true + if yyj3846 >= len(yyv3846) { + yyv3846 = append(yyv3846, "") // var yyz3846 PersistentVolumeAccessMode + yyc3846 = true } - yyh3813.ElemContainerState(yyj3813) - if yyj3813 < len(yyv3813) { + yyh3846.ElemContainerState(yyj3846) + if yyj3846 < len(yyv3846) { if r.TryDecodeAsNil() { - yyv3813[yyj3813] = "" + yyv3846[yyj3846] = "" } else { - yyv3813[yyj3813] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3846[yyj3846] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -47362,17 +47877,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3813 < len(yyv3813) { - yyv3813 = yyv3813[:yyj3813] - yyc3813 = true - } else if yyj3813 == 0 && yyv3813 == nil { - yyv3813 = []PersistentVolumeAccessMode{} - yyc3813 = true + if yyj3846 < len(yyv3846) { + yyv3846 = yyv3846[:yyj3846] + yyc3846 = true + } else if yyj3846 == 0 && yyv3846 == nil { + yyv3846 = []PersistentVolumeAccessMode{} + yyc3846 = true } } - yyh3813.End() - if yyc3813 { - *v = yyv3813 + yyh3846.End() + if yyc3846 { + *v = yyv3846 } } @@ -47381,10 +47896,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3817 := range v { + for _, yyv3850 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3818 := &yyv3817 - yy3818.CodecEncodeSelf(e) + yy3851 := &yyv3850 + yy3851.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47394,83 +47909,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3819 := *v - yyh3819, yyl3819 := z.DecSliceHelperStart() - var yyc3819 bool - if yyl3819 == 0 { - if yyv3819 == nil { - yyv3819 = []PersistentVolume{} - yyc3819 = true - } else if len(yyv3819) != 0 { - yyv3819 = yyv3819[:0] - yyc3819 = true + yyv3852 := *v + yyh3852, yyl3852 := z.DecSliceHelperStart() + var yyc3852 bool + if yyl3852 == 0 { + if yyv3852 == nil { + yyv3852 = []PersistentVolume{} + yyc3852 = true + } else if len(yyv3852) != 0 { + yyv3852 = yyv3852[:0] + yyc3852 = true } - } else if yyl3819 > 0 { - var yyrr3819, yyrl3819 int - var yyrt3819 bool - if yyl3819 > cap(yyv3819) { + } else if yyl3852 > 0 { + var yyrr3852, yyrl3852 int + var yyrt3852 bool + if yyl3852 > cap(yyv3852) { - yyrg3819 := len(yyv3819) > 0 - yyv23819 := yyv3819 - yyrl3819, yyrt3819 = z.DecInferLen(yyl3819, z.DecBasicHandle().MaxInitLen, 392) - if yyrt3819 { - if yyrl3819 <= cap(yyv3819) { - yyv3819 = yyv3819[:yyrl3819] + yyrg3852 := len(yyv3852) > 0 + yyv23852 := yyv3852 + yyrl3852, yyrt3852 = z.DecInferLen(yyl3852, z.DecBasicHandle().MaxInitLen, 400) + if yyrt3852 { + if yyrl3852 <= cap(yyv3852) { + yyv3852 = yyv3852[:yyrl3852] } else { - yyv3819 = make([]PersistentVolume, yyrl3819) + yyv3852 = make([]PersistentVolume, yyrl3852) } } else { - yyv3819 = make([]PersistentVolume, yyrl3819) + yyv3852 = make([]PersistentVolume, yyrl3852) } - yyc3819 = true - yyrr3819 = len(yyv3819) - if yyrg3819 { - copy(yyv3819, yyv23819) + yyc3852 = true + yyrr3852 = len(yyv3852) + if yyrg3852 { + copy(yyv3852, yyv23852) } - } else if yyl3819 != len(yyv3819) { - yyv3819 = yyv3819[:yyl3819] - yyc3819 = true + } else if yyl3852 != len(yyv3852) { + yyv3852 = yyv3852[:yyl3852] + yyc3852 = true } - yyj3819 := 0 - for ; yyj3819 < yyrr3819; yyj3819++ { - yyh3819.ElemContainerState(yyj3819) + yyj3852 := 0 + for ; yyj3852 < yyrr3852; yyj3852++ { + yyh3852.ElemContainerState(yyj3852) if r.TryDecodeAsNil() { - yyv3819[yyj3819] = PersistentVolume{} + yyv3852[yyj3852] = PersistentVolume{} } else { - yyv3820 := &yyv3819[yyj3819] - yyv3820.CodecDecodeSelf(d) + yyv3853 := &yyv3852[yyj3852] + yyv3853.CodecDecodeSelf(d) } } - if yyrt3819 { - for ; yyj3819 < yyl3819; yyj3819++ { - yyv3819 = append(yyv3819, PersistentVolume{}) - yyh3819.ElemContainerState(yyj3819) + if yyrt3852 { + for ; yyj3852 < yyl3852; yyj3852++ { + yyv3852 = append(yyv3852, PersistentVolume{}) + yyh3852.ElemContainerState(yyj3852) if r.TryDecodeAsNil() { - yyv3819[yyj3819] = PersistentVolume{} + yyv3852[yyj3852] = PersistentVolume{} } else { - yyv3821 := &yyv3819[yyj3819] - yyv3821.CodecDecodeSelf(d) + yyv3854 := &yyv3852[yyj3852] + yyv3854.CodecDecodeSelf(d) } } } } else { - yyj3819 := 0 - for ; !r.CheckBreak(); yyj3819++ { + yyj3852 := 0 + for ; !r.CheckBreak(); yyj3852++ { - if yyj3819 >= len(yyv3819) { - yyv3819 = append(yyv3819, PersistentVolume{}) // var yyz3819 PersistentVolume - yyc3819 = true + if yyj3852 >= len(yyv3852) { + yyv3852 = append(yyv3852, PersistentVolume{}) // var yyz3852 PersistentVolume + yyc3852 = true } - yyh3819.ElemContainerState(yyj3819) - if yyj3819 < len(yyv3819) { + yyh3852.ElemContainerState(yyj3852) + if yyj3852 < len(yyv3852) { if r.TryDecodeAsNil() { - yyv3819[yyj3819] = PersistentVolume{} + yyv3852[yyj3852] = PersistentVolume{} } else { - yyv3822 := &yyv3819[yyj3819] - yyv3822.CodecDecodeSelf(d) + yyv3855 := &yyv3852[yyj3852] + yyv3855.CodecDecodeSelf(d) } } else { @@ -47478,17 +47993,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3819 < len(yyv3819) { - yyv3819 = yyv3819[:yyj3819] - yyc3819 = true - } else if yyj3819 == 0 && yyv3819 == nil { - yyv3819 = []PersistentVolume{} - yyc3819 = true + if yyj3852 < len(yyv3852) { + yyv3852 = yyv3852[:yyj3852] + yyc3852 = true + } else if yyj3852 == 0 && yyv3852 == nil { + yyv3852 = []PersistentVolume{} + yyc3852 = true } } - yyh3819.End() - if yyc3819 { - *v = yyv3819 + yyh3852.End() + if yyc3852 { + *v = yyv3852 } } @@ -47497,10 +48012,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3823 := range v { + for _, yyv3856 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3824 := &yyv3823 - yy3824.CodecEncodeSelf(e) + yy3857 := &yyv3856 + yy3857.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47510,83 +48025,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3825 := *v - yyh3825, yyl3825 := z.DecSliceHelperStart() - var yyc3825 bool - if yyl3825 == 0 { - if yyv3825 == nil { - yyv3825 = []PersistentVolumeClaim{} - yyc3825 = true - } else if len(yyv3825) != 0 { - yyv3825 = yyv3825[:0] - yyc3825 = true + yyv3858 := *v + yyh3858, yyl3858 := z.DecSliceHelperStart() + var yyc3858 bool + if yyl3858 == 0 { + if yyv3858 == nil { + yyv3858 = []PersistentVolumeClaim{} + yyc3858 = true + } else if len(yyv3858) != 0 { + yyv3858 = yyv3858[:0] + yyc3858 = true } - } else if yyl3825 > 0 { - var yyrr3825, yyrl3825 int - var yyrt3825 bool - if yyl3825 > cap(yyv3825) { + } else if yyl3858 > 0 { + var yyrr3858, yyrl3858 int + var yyrt3858 bool + if yyl3858 > cap(yyv3858) { - yyrg3825 := len(yyv3825) > 0 - yyv23825 := yyv3825 - yyrl3825, yyrt3825 = z.DecInferLen(yyl3825, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3825 { - if yyrl3825 <= cap(yyv3825) { - yyv3825 = yyv3825[:yyrl3825] + yyrg3858 := len(yyv3858) > 0 + yyv23858 := yyv3858 + yyrl3858, yyrt3858 = z.DecInferLen(yyl3858, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3858 { + if yyrl3858 <= cap(yyv3858) { + yyv3858 = yyv3858[:yyrl3858] } else { - yyv3825 = make([]PersistentVolumeClaim, yyrl3825) + yyv3858 = make([]PersistentVolumeClaim, yyrl3858) } } else { - yyv3825 = make([]PersistentVolumeClaim, yyrl3825) + yyv3858 = make([]PersistentVolumeClaim, yyrl3858) } - yyc3825 = true - yyrr3825 = len(yyv3825) - if yyrg3825 { - copy(yyv3825, yyv23825) + yyc3858 = true + yyrr3858 = len(yyv3858) + if yyrg3858 { + copy(yyv3858, yyv23858) } - } else if yyl3825 != len(yyv3825) { - yyv3825 = yyv3825[:yyl3825] - yyc3825 = true + } else if yyl3858 != len(yyv3858) { + yyv3858 = yyv3858[:yyl3858] + yyc3858 = true } - yyj3825 := 0 - for ; yyj3825 < yyrr3825; yyj3825++ { - yyh3825.ElemContainerState(yyj3825) + yyj3858 := 0 + for ; yyj3858 < yyrr3858; yyj3858++ { + yyh3858.ElemContainerState(yyj3858) if r.TryDecodeAsNil() { - yyv3825[yyj3825] = PersistentVolumeClaim{} + yyv3858[yyj3858] = PersistentVolumeClaim{} } else { - yyv3826 := &yyv3825[yyj3825] - yyv3826.CodecDecodeSelf(d) + yyv3859 := &yyv3858[yyj3858] + yyv3859.CodecDecodeSelf(d) } } - if yyrt3825 { - for ; yyj3825 < yyl3825; yyj3825++ { - yyv3825 = append(yyv3825, PersistentVolumeClaim{}) - yyh3825.ElemContainerState(yyj3825) + if yyrt3858 { + for ; yyj3858 < yyl3858; yyj3858++ { + yyv3858 = append(yyv3858, PersistentVolumeClaim{}) + yyh3858.ElemContainerState(yyj3858) if r.TryDecodeAsNil() { - yyv3825[yyj3825] = PersistentVolumeClaim{} + yyv3858[yyj3858] = PersistentVolumeClaim{} } else { - yyv3827 := &yyv3825[yyj3825] - yyv3827.CodecDecodeSelf(d) + yyv3860 := &yyv3858[yyj3858] + yyv3860.CodecDecodeSelf(d) } } } } else { - yyj3825 := 0 - for ; !r.CheckBreak(); yyj3825++ { + yyj3858 := 0 + for ; !r.CheckBreak(); yyj3858++ { - if yyj3825 >= len(yyv3825) { - yyv3825 = append(yyv3825, PersistentVolumeClaim{}) // var yyz3825 PersistentVolumeClaim - yyc3825 = true + if yyj3858 >= len(yyv3858) { + yyv3858 = append(yyv3858, PersistentVolumeClaim{}) // var yyz3858 PersistentVolumeClaim + yyc3858 = true } - yyh3825.ElemContainerState(yyj3825) - if yyj3825 < len(yyv3825) { + yyh3858.ElemContainerState(yyj3858) + if yyj3858 < len(yyv3858) { if r.TryDecodeAsNil() { - yyv3825[yyj3825] = PersistentVolumeClaim{} + yyv3858[yyj3858] = PersistentVolumeClaim{} } else { - yyv3828 := &yyv3825[yyj3825] - yyv3828.CodecDecodeSelf(d) + yyv3861 := &yyv3858[yyj3858] + yyv3861.CodecDecodeSelf(d) } } else { @@ -47594,17 +48109,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3825 < len(yyv3825) { - yyv3825 = yyv3825[:yyj3825] - yyc3825 = true - } else if yyj3825 == 0 && yyv3825 == nil { - yyv3825 = []PersistentVolumeClaim{} - yyc3825 = true + if yyj3858 < len(yyv3858) { + yyv3858 = yyv3858[:yyj3858] + yyc3858 = true + } else if yyj3858 == 0 && yyv3858 == nil { + yyv3858 = []PersistentVolumeClaim{} + yyc3858 = true } } - yyh3825.End() - if yyc3825 { - *v = yyv3825 + yyh3858.End() + if yyc3858 { + *v = yyv3858 } } @@ -47613,10 +48128,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3829 := range v { + for _, yyv3862 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3830 := &yyv3829 - yy3830.CodecEncodeSelf(e) + yy3863 := &yyv3862 + yy3863.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47626,83 +48141,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3831 := *v - yyh3831, yyl3831 := z.DecSliceHelperStart() - var yyc3831 bool - if yyl3831 == 0 { - if yyv3831 == nil { - yyv3831 = []DownwardAPIVolumeFile{} - yyc3831 = true - } else if len(yyv3831) != 0 { - yyv3831 = yyv3831[:0] - yyc3831 = true + yyv3864 := *v + yyh3864, yyl3864 := z.DecSliceHelperStart() + var yyc3864 bool + if yyl3864 == 0 { + if yyv3864 == nil { + yyv3864 = []DownwardAPIVolumeFile{} + yyc3864 = true + } else if len(yyv3864) != 0 { + yyv3864 = yyv3864[:0] + yyc3864 = true } - } else if yyl3831 > 0 { - var yyrr3831, yyrl3831 int - var yyrt3831 bool - if yyl3831 > cap(yyv3831) { + } else if yyl3864 > 0 { + var yyrr3864, yyrl3864 int + var yyrt3864 bool + if yyl3864 > cap(yyv3864) { - yyrg3831 := len(yyv3831) > 0 - yyv23831 := yyv3831 - yyrl3831, yyrt3831 = z.DecInferLen(yyl3831, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3831 { - if yyrl3831 <= cap(yyv3831) { - yyv3831 = yyv3831[:yyrl3831] + yyrg3864 := len(yyv3864) > 0 + yyv23864 := yyv3864 + yyrl3864, yyrt3864 = z.DecInferLen(yyl3864, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3864 { + if yyrl3864 <= cap(yyv3864) { + yyv3864 = yyv3864[:yyrl3864] } else { - yyv3831 = make([]DownwardAPIVolumeFile, yyrl3831) + yyv3864 = make([]DownwardAPIVolumeFile, yyrl3864) } } else { - yyv3831 = make([]DownwardAPIVolumeFile, yyrl3831) + yyv3864 = make([]DownwardAPIVolumeFile, yyrl3864) } - yyc3831 = true - yyrr3831 = len(yyv3831) - if yyrg3831 { - copy(yyv3831, yyv23831) + yyc3864 = true + yyrr3864 = len(yyv3864) + if yyrg3864 { + copy(yyv3864, yyv23864) } - } else if yyl3831 != len(yyv3831) { - yyv3831 = yyv3831[:yyl3831] - yyc3831 = true + } else if yyl3864 != len(yyv3864) { + yyv3864 = yyv3864[:yyl3864] + yyc3864 = true } - yyj3831 := 0 - for ; yyj3831 < yyrr3831; yyj3831++ { - yyh3831.ElemContainerState(yyj3831) + yyj3864 := 0 + for ; yyj3864 < yyrr3864; yyj3864++ { + yyh3864.ElemContainerState(yyj3864) if r.TryDecodeAsNil() { - yyv3831[yyj3831] = DownwardAPIVolumeFile{} + yyv3864[yyj3864] = DownwardAPIVolumeFile{} } else { - yyv3832 := &yyv3831[yyj3831] - yyv3832.CodecDecodeSelf(d) + yyv3865 := &yyv3864[yyj3864] + yyv3865.CodecDecodeSelf(d) } } - if yyrt3831 { - for ; yyj3831 < yyl3831; yyj3831++ { - yyv3831 = append(yyv3831, DownwardAPIVolumeFile{}) - yyh3831.ElemContainerState(yyj3831) + if yyrt3864 { + for ; yyj3864 < yyl3864; yyj3864++ { + yyv3864 = append(yyv3864, DownwardAPIVolumeFile{}) + yyh3864.ElemContainerState(yyj3864) if r.TryDecodeAsNil() { - yyv3831[yyj3831] = DownwardAPIVolumeFile{} + yyv3864[yyj3864] = DownwardAPIVolumeFile{} } else { - yyv3833 := &yyv3831[yyj3831] - yyv3833.CodecDecodeSelf(d) + yyv3866 := &yyv3864[yyj3864] + yyv3866.CodecDecodeSelf(d) } } } } else { - yyj3831 := 0 - for ; !r.CheckBreak(); yyj3831++ { + yyj3864 := 0 + for ; !r.CheckBreak(); yyj3864++ { - if yyj3831 >= len(yyv3831) { - yyv3831 = append(yyv3831, DownwardAPIVolumeFile{}) // var yyz3831 DownwardAPIVolumeFile - yyc3831 = true + if yyj3864 >= len(yyv3864) { + yyv3864 = append(yyv3864, DownwardAPIVolumeFile{}) // var yyz3864 DownwardAPIVolumeFile + yyc3864 = true } - yyh3831.ElemContainerState(yyj3831) - if yyj3831 < len(yyv3831) { + yyh3864.ElemContainerState(yyj3864) + if yyj3864 < len(yyv3864) { if r.TryDecodeAsNil() { - yyv3831[yyj3831] = DownwardAPIVolumeFile{} + yyv3864[yyj3864] = DownwardAPIVolumeFile{} } else { - yyv3834 := &yyv3831[yyj3831] - yyv3834.CodecDecodeSelf(d) + yyv3867 := &yyv3864[yyj3864] + yyv3867.CodecDecodeSelf(d) } } else { @@ -47710,17 +48225,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3831 < len(yyv3831) { - yyv3831 = yyv3831[:yyj3831] - yyc3831 = true - } else if yyj3831 == 0 && yyv3831 == nil { - yyv3831 = []DownwardAPIVolumeFile{} - yyc3831 = true + if yyj3864 < len(yyv3864) { + yyv3864 = yyv3864[:yyj3864] + yyc3864 = true + } else if yyj3864 == 0 && yyv3864 == nil { + yyv3864 = []DownwardAPIVolumeFile{} + yyc3864 = true } } - yyh3831.End() - if yyc3831 { - *v = yyv3831 + yyh3864.End() + if yyc3864 { + *v = yyv3864 } } @@ -47729,10 +48244,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3835 := range v { + for _, yyv3868 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3836 := &yyv3835 - yy3836.CodecEncodeSelf(e) + yy3869 := &yyv3868 + yy3869.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47742,83 +48257,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3837 := *v - yyh3837, yyl3837 := z.DecSliceHelperStart() - var yyc3837 bool - if yyl3837 == 0 { - if yyv3837 == nil { - yyv3837 = []HTTPHeader{} - yyc3837 = true - } else if len(yyv3837) != 0 { - yyv3837 = yyv3837[:0] - yyc3837 = true + yyv3870 := *v + yyh3870, yyl3870 := z.DecSliceHelperStart() + var yyc3870 bool + if yyl3870 == 0 { + if yyv3870 == nil { + yyv3870 = []HTTPHeader{} + yyc3870 = true + } else if len(yyv3870) != 0 { + yyv3870 = yyv3870[:0] + yyc3870 = true } - } else if yyl3837 > 0 { - var yyrr3837, yyrl3837 int - var yyrt3837 bool - if yyl3837 > cap(yyv3837) { + } else if yyl3870 > 0 { + var yyrr3870, yyrl3870 int + var yyrt3870 bool + if yyl3870 > cap(yyv3870) { - yyrg3837 := len(yyv3837) > 0 - yyv23837 := yyv3837 - yyrl3837, yyrt3837 = z.DecInferLen(yyl3837, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3837 { - if yyrl3837 <= cap(yyv3837) { - yyv3837 = yyv3837[:yyrl3837] + yyrg3870 := len(yyv3870) > 0 + yyv23870 := yyv3870 + yyrl3870, yyrt3870 = z.DecInferLen(yyl3870, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3870 { + if yyrl3870 <= cap(yyv3870) { + yyv3870 = yyv3870[:yyrl3870] } else { - yyv3837 = make([]HTTPHeader, yyrl3837) + yyv3870 = make([]HTTPHeader, yyrl3870) } } else { - yyv3837 = make([]HTTPHeader, yyrl3837) + yyv3870 = make([]HTTPHeader, yyrl3870) } - yyc3837 = true - yyrr3837 = len(yyv3837) - if yyrg3837 { - copy(yyv3837, yyv23837) + yyc3870 = true + yyrr3870 = len(yyv3870) + if yyrg3870 { + copy(yyv3870, yyv23870) } - } else if yyl3837 != len(yyv3837) { - yyv3837 = yyv3837[:yyl3837] - yyc3837 = true + } else if yyl3870 != len(yyv3870) { + yyv3870 = yyv3870[:yyl3870] + yyc3870 = true } - yyj3837 := 0 - for ; yyj3837 < yyrr3837; yyj3837++ { - yyh3837.ElemContainerState(yyj3837) + yyj3870 := 0 + for ; yyj3870 < yyrr3870; yyj3870++ { + yyh3870.ElemContainerState(yyj3870) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = HTTPHeader{} + yyv3870[yyj3870] = HTTPHeader{} } else { - yyv3838 := &yyv3837[yyj3837] - yyv3838.CodecDecodeSelf(d) + yyv3871 := &yyv3870[yyj3870] + yyv3871.CodecDecodeSelf(d) } } - if yyrt3837 { - for ; yyj3837 < yyl3837; yyj3837++ { - yyv3837 = append(yyv3837, HTTPHeader{}) - yyh3837.ElemContainerState(yyj3837) + if yyrt3870 { + for ; yyj3870 < yyl3870; yyj3870++ { + yyv3870 = append(yyv3870, HTTPHeader{}) + yyh3870.ElemContainerState(yyj3870) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = HTTPHeader{} + yyv3870[yyj3870] = HTTPHeader{} } else { - yyv3839 := &yyv3837[yyj3837] - yyv3839.CodecDecodeSelf(d) + yyv3872 := &yyv3870[yyj3870] + yyv3872.CodecDecodeSelf(d) } } } } else { - yyj3837 := 0 - for ; !r.CheckBreak(); yyj3837++ { + yyj3870 := 0 + for ; !r.CheckBreak(); yyj3870++ { - if yyj3837 >= len(yyv3837) { - yyv3837 = append(yyv3837, HTTPHeader{}) // var yyz3837 HTTPHeader - yyc3837 = true + if yyj3870 >= len(yyv3870) { + yyv3870 = append(yyv3870, HTTPHeader{}) // var yyz3870 HTTPHeader + yyc3870 = true } - yyh3837.ElemContainerState(yyj3837) - if yyj3837 < len(yyv3837) { + yyh3870.ElemContainerState(yyj3870) + if yyj3870 < len(yyv3870) { if r.TryDecodeAsNil() { - yyv3837[yyj3837] = HTTPHeader{} + yyv3870[yyj3870] = HTTPHeader{} } else { - yyv3840 := &yyv3837[yyj3837] - yyv3840.CodecDecodeSelf(d) + yyv3873 := &yyv3870[yyj3870] + yyv3873.CodecDecodeSelf(d) } } else { @@ -47826,17 +48341,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj3837 < len(yyv3837) { - yyv3837 = yyv3837[:yyj3837] - yyc3837 = true - } else if yyj3837 == 0 && yyv3837 == nil { - yyv3837 = []HTTPHeader{} - yyc3837 = true + if yyj3870 < len(yyv3870) { + yyv3870 = yyv3870[:yyj3870] + yyc3870 = true + } else if yyj3870 == 0 && yyv3870 == nil { + yyv3870 = []HTTPHeader{} + yyc3870 = true } } - yyh3837.End() - if yyc3837 { - *v = yyv3837 + yyh3870.End() + if yyc3870 { + *v = yyv3870 } } @@ -47845,9 +48360,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3841 := range v { + for _, yyv3874 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3841.CodecEncodeSelf(e) + yyv3874.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47857,75 +48372,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3842 := *v - yyh3842, yyl3842 := z.DecSliceHelperStart() - var yyc3842 bool - if yyl3842 == 0 { - if yyv3842 == nil { - yyv3842 = []Capability{} - yyc3842 = true - } else if len(yyv3842) != 0 { - yyv3842 = yyv3842[:0] - yyc3842 = true + yyv3875 := *v + yyh3875, yyl3875 := z.DecSliceHelperStart() + var yyc3875 bool + if yyl3875 == 0 { + if yyv3875 == nil { + yyv3875 = []Capability{} + yyc3875 = true + } else if len(yyv3875) != 0 { + yyv3875 = yyv3875[:0] + yyc3875 = true } - } else if yyl3842 > 0 { - var yyrr3842, yyrl3842 int - var yyrt3842 bool - if yyl3842 > cap(yyv3842) { + } else if yyl3875 > 0 { + var yyrr3875, yyrl3875 int + var yyrt3875 bool + if yyl3875 > cap(yyv3875) { - yyrl3842, yyrt3842 = z.DecInferLen(yyl3842, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3842 { - if yyrl3842 <= cap(yyv3842) { - yyv3842 = yyv3842[:yyrl3842] + yyrl3875, yyrt3875 = z.DecInferLen(yyl3875, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3875 { + if yyrl3875 <= cap(yyv3875) { + yyv3875 = yyv3875[:yyrl3875] } else { - yyv3842 = make([]Capability, yyrl3842) + yyv3875 = make([]Capability, yyrl3875) } } else { - yyv3842 = make([]Capability, yyrl3842) + yyv3875 = make([]Capability, yyrl3875) } - yyc3842 = true - yyrr3842 = len(yyv3842) - } else if yyl3842 != len(yyv3842) { - yyv3842 = yyv3842[:yyl3842] - yyc3842 = true + yyc3875 = true + yyrr3875 = len(yyv3875) + } else if yyl3875 != len(yyv3875) { + yyv3875 = yyv3875[:yyl3875] + yyc3875 = true } - yyj3842 := 0 - for ; yyj3842 < yyrr3842; yyj3842++ { - yyh3842.ElemContainerState(yyj3842) + yyj3875 := 0 + for ; yyj3875 < yyrr3875; yyj3875++ { + yyh3875.ElemContainerState(yyj3875) if r.TryDecodeAsNil() { - yyv3842[yyj3842] = "" + yyv3875[yyj3875] = "" } else { - yyv3842[yyj3842] = Capability(r.DecodeString()) + yyv3875[yyj3875] = Capability(r.DecodeString()) } } - if yyrt3842 { - for ; yyj3842 < yyl3842; yyj3842++ { - yyv3842 = append(yyv3842, "") - yyh3842.ElemContainerState(yyj3842) + if yyrt3875 { + for ; yyj3875 < yyl3875; yyj3875++ { + yyv3875 = append(yyv3875, "") + yyh3875.ElemContainerState(yyj3875) if r.TryDecodeAsNil() { - yyv3842[yyj3842] = "" + yyv3875[yyj3875] = "" } else { - yyv3842[yyj3842] = Capability(r.DecodeString()) + yyv3875[yyj3875] = Capability(r.DecodeString()) } } } } else { - yyj3842 := 0 - for ; !r.CheckBreak(); yyj3842++ { + yyj3875 := 0 + for ; !r.CheckBreak(); yyj3875++ { - if yyj3842 >= len(yyv3842) { - yyv3842 = append(yyv3842, "") // var yyz3842 Capability - yyc3842 = true + if yyj3875 >= len(yyv3875) { + yyv3875 = append(yyv3875, "") // var yyz3875 Capability + yyc3875 = true } - yyh3842.ElemContainerState(yyj3842) - if yyj3842 < len(yyv3842) { + yyh3875.ElemContainerState(yyj3875) + if yyj3875 < len(yyv3875) { if r.TryDecodeAsNil() { - yyv3842[yyj3842] = "" + yyv3875[yyj3875] = "" } else { - yyv3842[yyj3842] = Capability(r.DecodeString()) + yyv3875[yyj3875] = Capability(r.DecodeString()) } } else { @@ -47933,17 +48448,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3842 < len(yyv3842) { - yyv3842 = yyv3842[:yyj3842] - yyc3842 = true - } else if yyj3842 == 0 && yyv3842 == nil { - yyv3842 = []Capability{} - yyc3842 = true + if yyj3875 < len(yyv3875) { + yyv3875 = yyv3875[:yyj3875] + yyc3875 = true + } else if yyj3875 == 0 && yyv3875 == nil { + yyv3875 = []Capability{} + yyc3875 = true } } - yyh3842.End() - if yyc3842 { - *v = yyv3842 + yyh3875.End() + if yyc3875 { + *v = yyv3875 } } @@ -47952,10 +48467,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3846 := range v { + for _, yyv3879 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3847 := &yyv3846 - yy3847.CodecEncodeSelf(e) + yy3880 := &yyv3879 + yy3880.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47965,83 +48480,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3848 := *v - yyh3848, yyl3848 := z.DecSliceHelperStart() - var yyc3848 bool - if yyl3848 == 0 { - if yyv3848 == nil { - yyv3848 = []ContainerPort{} - yyc3848 = true - } else if len(yyv3848) != 0 { - yyv3848 = yyv3848[:0] - yyc3848 = true + yyv3881 := *v + yyh3881, yyl3881 := z.DecSliceHelperStart() + var yyc3881 bool + if yyl3881 == 0 { + if yyv3881 == nil { + yyv3881 = []ContainerPort{} + yyc3881 = true + } else if len(yyv3881) != 0 { + yyv3881 = yyv3881[:0] + yyc3881 = true } - } else if yyl3848 > 0 { - var yyrr3848, yyrl3848 int - var yyrt3848 bool - if yyl3848 > cap(yyv3848) { + } else if yyl3881 > 0 { + var yyrr3881, yyrl3881 int + var yyrt3881 bool + if yyl3881 > cap(yyv3881) { - yyrg3848 := len(yyv3848) > 0 - yyv23848 := yyv3848 - yyrl3848, yyrt3848 = z.DecInferLen(yyl3848, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3848 { - if yyrl3848 <= cap(yyv3848) { - yyv3848 = yyv3848[:yyrl3848] + yyrg3881 := len(yyv3881) > 0 + yyv23881 := yyv3881 + yyrl3881, yyrt3881 = z.DecInferLen(yyl3881, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3881 { + if yyrl3881 <= cap(yyv3881) { + yyv3881 = yyv3881[:yyrl3881] } else { - yyv3848 = make([]ContainerPort, yyrl3848) + yyv3881 = make([]ContainerPort, yyrl3881) } } else { - yyv3848 = make([]ContainerPort, yyrl3848) + yyv3881 = make([]ContainerPort, yyrl3881) } - yyc3848 = true - yyrr3848 = len(yyv3848) - if yyrg3848 { - copy(yyv3848, yyv23848) + yyc3881 = true + yyrr3881 = len(yyv3881) + if yyrg3881 { + copy(yyv3881, yyv23881) } - } else if yyl3848 != len(yyv3848) { - yyv3848 = yyv3848[:yyl3848] - yyc3848 = true + } else if yyl3881 != len(yyv3881) { + yyv3881 = yyv3881[:yyl3881] + yyc3881 = true } - yyj3848 := 0 - for ; yyj3848 < yyrr3848; yyj3848++ { - yyh3848.ElemContainerState(yyj3848) + yyj3881 := 0 + for ; yyj3881 < yyrr3881; yyj3881++ { + yyh3881.ElemContainerState(yyj3881) if r.TryDecodeAsNil() { - yyv3848[yyj3848] = ContainerPort{} + yyv3881[yyj3881] = ContainerPort{} } else { - yyv3849 := &yyv3848[yyj3848] - yyv3849.CodecDecodeSelf(d) + yyv3882 := &yyv3881[yyj3881] + yyv3882.CodecDecodeSelf(d) } } - if yyrt3848 { - for ; yyj3848 < yyl3848; yyj3848++ { - yyv3848 = append(yyv3848, ContainerPort{}) - yyh3848.ElemContainerState(yyj3848) + if yyrt3881 { + for ; yyj3881 < yyl3881; yyj3881++ { + yyv3881 = append(yyv3881, ContainerPort{}) + yyh3881.ElemContainerState(yyj3881) if r.TryDecodeAsNil() { - yyv3848[yyj3848] = ContainerPort{} + yyv3881[yyj3881] = ContainerPort{} } else { - yyv3850 := &yyv3848[yyj3848] - yyv3850.CodecDecodeSelf(d) + yyv3883 := &yyv3881[yyj3881] + yyv3883.CodecDecodeSelf(d) } } } } else { - yyj3848 := 0 - for ; !r.CheckBreak(); yyj3848++ { + yyj3881 := 0 + for ; !r.CheckBreak(); yyj3881++ { - if yyj3848 >= len(yyv3848) { - yyv3848 = append(yyv3848, ContainerPort{}) // var yyz3848 ContainerPort - yyc3848 = true + if yyj3881 >= len(yyv3881) { + yyv3881 = append(yyv3881, ContainerPort{}) // var yyz3881 ContainerPort + yyc3881 = true } - yyh3848.ElemContainerState(yyj3848) - if yyj3848 < len(yyv3848) { + yyh3881.ElemContainerState(yyj3881) + if yyj3881 < len(yyv3881) { if r.TryDecodeAsNil() { - yyv3848[yyj3848] = ContainerPort{} + yyv3881[yyj3881] = ContainerPort{} } else { - yyv3851 := &yyv3848[yyj3848] - yyv3851.CodecDecodeSelf(d) + yyv3884 := &yyv3881[yyj3881] + yyv3884.CodecDecodeSelf(d) } } else { @@ -48049,17 +48564,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3848 < len(yyv3848) { - yyv3848 = yyv3848[:yyj3848] - yyc3848 = true - } else if yyj3848 == 0 && yyv3848 == nil { - yyv3848 = []ContainerPort{} - yyc3848 = true + if yyj3881 < len(yyv3881) { + yyv3881 = yyv3881[:yyj3881] + yyc3881 = true + } else if yyj3881 == 0 && yyv3881 == nil { + yyv3881 = []ContainerPort{} + yyc3881 = true } } - yyh3848.End() - if yyc3848 { - *v = yyv3848 + yyh3881.End() + if yyc3881 { + *v = yyv3881 } } @@ -48068,10 +48583,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3852 := range v { + for _, yyv3885 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3853 := &yyv3852 - yy3853.CodecEncodeSelf(e) + yy3886 := &yyv3885 + yy3886.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48081,83 +48596,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3854 := *v - yyh3854, yyl3854 := z.DecSliceHelperStart() - var yyc3854 bool - if yyl3854 == 0 { - if yyv3854 == nil { - yyv3854 = []EnvVar{} - yyc3854 = true - } else if len(yyv3854) != 0 { - yyv3854 = yyv3854[:0] - yyc3854 = true + yyv3887 := *v + yyh3887, yyl3887 := z.DecSliceHelperStart() + var yyc3887 bool + if yyl3887 == 0 { + if yyv3887 == nil { + yyv3887 = []EnvVar{} + yyc3887 = true + } else if len(yyv3887) != 0 { + yyv3887 = yyv3887[:0] + yyc3887 = true } - } else if yyl3854 > 0 { - var yyrr3854, yyrl3854 int - var yyrt3854 bool - if yyl3854 > cap(yyv3854) { + } else if yyl3887 > 0 { + var yyrr3887, yyrl3887 int + var yyrt3887 bool + if yyl3887 > cap(yyv3887) { - yyrg3854 := len(yyv3854) > 0 - yyv23854 := yyv3854 - yyrl3854, yyrt3854 = z.DecInferLen(yyl3854, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3854 { - if yyrl3854 <= cap(yyv3854) { - yyv3854 = yyv3854[:yyrl3854] + yyrg3887 := len(yyv3887) > 0 + yyv23887 := yyv3887 + yyrl3887, yyrt3887 = z.DecInferLen(yyl3887, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3887 { + if yyrl3887 <= cap(yyv3887) { + yyv3887 = yyv3887[:yyrl3887] } else { - yyv3854 = make([]EnvVar, yyrl3854) + yyv3887 = make([]EnvVar, yyrl3887) } } else { - yyv3854 = make([]EnvVar, yyrl3854) + yyv3887 = make([]EnvVar, yyrl3887) } - yyc3854 = true - yyrr3854 = len(yyv3854) - if yyrg3854 { - copy(yyv3854, yyv23854) + yyc3887 = true + yyrr3887 = len(yyv3887) + if yyrg3887 { + copy(yyv3887, yyv23887) } - } else if yyl3854 != len(yyv3854) { - yyv3854 = yyv3854[:yyl3854] - yyc3854 = true + } else if yyl3887 != len(yyv3887) { + yyv3887 = yyv3887[:yyl3887] + yyc3887 = true } - yyj3854 := 0 - for ; yyj3854 < yyrr3854; yyj3854++ { - yyh3854.ElemContainerState(yyj3854) + yyj3887 := 0 + for ; yyj3887 < yyrr3887; yyj3887++ { + yyh3887.ElemContainerState(yyj3887) if r.TryDecodeAsNil() { - yyv3854[yyj3854] = EnvVar{} + yyv3887[yyj3887] = EnvVar{} } else { - yyv3855 := &yyv3854[yyj3854] - yyv3855.CodecDecodeSelf(d) + yyv3888 := &yyv3887[yyj3887] + yyv3888.CodecDecodeSelf(d) } } - if yyrt3854 { - for ; yyj3854 < yyl3854; yyj3854++ { - yyv3854 = append(yyv3854, EnvVar{}) - yyh3854.ElemContainerState(yyj3854) + if yyrt3887 { + for ; yyj3887 < yyl3887; yyj3887++ { + yyv3887 = append(yyv3887, EnvVar{}) + yyh3887.ElemContainerState(yyj3887) if r.TryDecodeAsNil() { - yyv3854[yyj3854] = EnvVar{} + yyv3887[yyj3887] = EnvVar{} } else { - yyv3856 := &yyv3854[yyj3854] - yyv3856.CodecDecodeSelf(d) + yyv3889 := &yyv3887[yyj3887] + yyv3889.CodecDecodeSelf(d) } } } } else { - yyj3854 := 0 - for ; !r.CheckBreak(); yyj3854++ { + yyj3887 := 0 + for ; !r.CheckBreak(); yyj3887++ { - if yyj3854 >= len(yyv3854) { - yyv3854 = append(yyv3854, EnvVar{}) // var yyz3854 EnvVar - yyc3854 = true + if yyj3887 >= len(yyv3887) { + yyv3887 = append(yyv3887, EnvVar{}) // var yyz3887 EnvVar + yyc3887 = true } - yyh3854.ElemContainerState(yyj3854) - if yyj3854 < len(yyv3854) { + yyh3887.ElemContainerState(yyj3887) + if yyj3887 < len(yyv3887) { if r.TryDecodeAsNil() { - yyv3854[yyj3854] = EnvVar{} + yyv3887[yyj3887] = EnvVar{} } else { - yyv3857 := &yyv3854[yyj3854] - yyv3857.CodecDecodeSelf(d) + yyv3890 := &yyv3887[yyj3887] + yyv3890.CodecDecodeSelf(d) } } else { @@ -48165,17 +48680,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3854 < len(yyv3854) { - yyv3854 = yyv3854[:yyj3854] - yyc3854 = true - } else if yyj3854 == 0 && yyv3854 == nil { - yyv3854 = []EnvVar{} - yyc3854 = true + if yyj3887 < len(yyv3887) { + yyv3887 = yyv3887[:yyj3887] + yyc3887 = true + } else if yyj3887 == 0 && yyv3887 == nil { + yyv3887 = []EnvVar{} + yyc3887 = true } } - yyh3854.End() - if yyc3854 { - *v = yyv3854 + yyh3887.End() + if yyc3887 { + *v = yyv3887 } } @@ -48184,10 +48699,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3858 := range v { + for _, yyv3891 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3859 := &yyv3858 - yy3859.CodecEncodeSelf(e) + yy3892 := &yyv3891 + yy3892.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48197,83 +48712,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3860 := *v - yyh3860, yyl3860 := z.DecSliceHelperStart() - var yyc3860 bool - if yyl3860 == 0 { - if yyv3860 == nil { - yyv3860 = []VolumeMount{} - yyc3860 = true - } else if len(yyv3860) != 0 { - yyv3860 = yyv3860[:0] - yyc3860 = true + yyv3893 := *v + yyh3893, yyl3893 := z.DecSliceHelperStart() + var yyc3893 bool + if yyl3893 == 0 { + if yyv3893 == nil { + yyv3893 = []VolumeMount{} + yyc3893 = true + } else if len(yyv3893) != 0 { + yyv3893 = yyv3893[:0] + yyc3893 = true } - } else if yyl3860 > 0 { - var yyrr3860, yyrl3860 int - var yyrt3860 bool - if yyl3860 > cap(yyv3860) { + } else if yyl3893 > 0 { + var yyrr3893, yyrl3893 int + var yyrt3893 bool + if yyl3893 > cap(yyv3893) { - yyrg3860 := len(yyv3860) > 0 - yyv23860 := yyv3860 - yyrl3860, yyrt3860 = z.DecInferLen(yyl3860, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3860 { - if yyrl3860 <= cap(yyv3860) { - yyv3860 = yyv3860[:yyrl3860] + yyrg3893 := len(yyv3893) > 0 + yyv23893 := yyv3893 + yyrl3893, yyrt3893 = z.DecInferLen(yyl3893, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3893 { + if yyrl3893 <= cap(yyv3893) { + yyv3893 = yyv3893[:yyrl3893] } else { - yyv3860 = make([]VolumeMount, yyrl3860) + yyv3893 = make([]VolumeMount, yyrl3893) } } else { - yyv3860 = make([]VolumeMount, yyrl3860) + yyv3893 = make([]VolumeMount, yyrl3893) } - yyc3860 = true - yyrr3860 = len(yyv3860) - if yyrg3860 { - copy(yyv3860, yyv23860) + yyc3893 = true + yyrr3893 = len(yyv3893) + if yyrg3893 { + copy(yyv3893, yyv23893) } - } else if yyl3860 != len(yyv3860) { - yyv3860 = yyv3860[:yyl3860] - yyc3860 = true + } else if yyl3893 != len(yyv3893) { + yyv3893 = yyv3893[:yyl3893] + yyc3893 = true } - yyj3860 := 0 - for ; yyj3860 < yyrr3860; yyj3860++ { - yyh3860.ElemContainerState(yyj3860) + yyj3893 := 0 + for ; yyj3893 < yyrr3893; yyj3893++ { + yyh3893.ElemContainerState(yyj3893) if r.TryDecodeAsNil() { - yyv3860[yyj3860] = VolumeMount{} + yyv3893[yyj3893] = VolumeMount{} } else { - yyv3861 := &yyv3860[yyj3860] - yyv3861.CodecDecodeSelf(d) + yyv3894 := &yyv3893[yyj3893] + yyv3894.CodecDecodeSelf(d) } } - if yyrt3860 { - for ; yyj3860 < yyl3860; yyj3860++ { - yyv3860 = append(yyv3860, VolumeMount{}) - yyh3860.ElemContainerState(yyj3860) + if yyrt3893 { + for ; yyj3893 < yyl3893; yyj3893++ { + yyv3893 = append(yyv3893, VolumeMount{}) + yyh3893.ElemContainerState(yyj3893) if r.TryDecodeAsNil() { - yyv3860[yyj3860] = VolumeMount{} + yyv3893[yyj3893] = VolumeMount{} } else { - yyv3862 := &yyv3860[yyj3860] - yyv3862.CodecDecodeSelf(d) + yyv3895 := &yyv3893[yyj3893] + yyv3895.CodecDecodeSelf(d) } } } } else { - yyj3860 := 0 - for ; !r.CheckBreak(); yyj3860++ { + yyj3893 := 0 + for ; !r.CheckBreak(); yyj3893++ { - if yyj3860 >= len(yyv3860) { - yyv3860 = append(yyv3860, VolumeMount{}) // var yyz3860 VolumeMount - yyc3860 = true + if yyj3893 >= len(yyv3893) { + yyv3893 = append(yyv3893, VolumeMount{}) // var yyz3893 VolumeMount + yyc3893 = true } - yyh3860.ElemContainerState(yyj3860) - if yyj3860 < len(yyv3860) { + yyh3893.ElemContainerState(yyj3893) + if yyj3893 < len(yyv3893) { if r.TryDecodeAsNil() { - yyv3860[yyj3860] = VolumeMount{} + yyv3893[yyj3893] = VolumeMount{} } else { - yyv3863 := &yyv3860[yyj3860] - yyv3863.CodecDecodeSelf(d) + yyv3896 := &yyv3893[yyj3893] + yyv3896.CodecDecodeSelf(d) } } else { @@ -48281,17 +48796,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3860 < len(yyv3860) { - yyv3860 = yyv3860[:yyj3860] - yyc3860 = true - } else if yyj3860 == 0 && yyv3860 == nil { - yyv3860 = []VolumeMount{} - yyc3860 = true + if yyj3893 < len(yyv3893) { + yyv3893 = yyv3893[:yyj3893] + yyc3893 = true + } else if yyj3893 == 0 && yyv3893 == nil { + yyv3893 = []VolumeMount{} + yyc3893 = true } } - yyh3860.End() - if yyc3860 { - *v = yyv3860 + yyh3893.End() + if yyc3893 { + *v = yyv3893 } } @@ -48300,10 +48815,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3864 := range v { + for _, yyv3897 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3865 := &yyv3864 - yy3865.CodecEncodeSelf(e) + yy3898 := &yyv3897 + yy3898.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48313,83 +48828,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3866 := *v - yyh3866, yyl3866 := z.DecSliceHelperStart() - var yyc3866 bool - if yyl3866 == 0 { - if yyv3866 == nil { - yyv3866 = []Pod{} - yyc3866 = true - } else if len(yyv3866) != 0 { - yyv3866 = yyv3866[:0] - yyc3866 = true + yyv3899 := *v + yyh3899, yyl3899 := z.DecSliceHelperStart() + var yyc3899 bool + if yyl3899 == 0 { + if yyv3899 == nil { + yyv3899 = []Pod{} + yyc3899 = true + } else if len(yyv3899) != 0 { + yyv3899 = yyv3899[:0] + yyc3899 = true } - } else if yyl3866 > 0 { - var yyrr3866, yyrl3866 int - var yyrt3866 bool - if yyl3866 > cap(yyv3866) { + } else if yyl3899 > 0 { + var yyrr3899, yyrl3899 int + var yyrt3899 bool + if yyl3899 > cap(yyv3899) { - yyrg3866 := len(yyv3866) > 0 - yyv23866 := yyv3866 - yyrl3866, yyrt3866 = z.DecInferLen(yyl3866, z.DecBasicHandle().MaxInitLen, 496) - if yyrt3866 { - if yyrl3866 <= cap(yyv3866) { - yyv3866 = yyv3866[:yyrl3866] + yyrg3899 := len(yyv3899) > 0 + yyv23899 := yyv3899 + yyrl3899, yyrt3899 = z.DecInferLen(yyl3899, z.DecBasicHandle().MaxInitLen, 496) + if yyrt3899 { + if yyrl3899 <= cap(yyv3899) { + yyv3899 = yyv3899[:yyrl3899] } else { - yyv3866 = make([]Pod, yyrl3866) + yyv3899 = make([]Pod, yyrl3899) } } else { - yyv3866 = make([]Pod, yyrl3866) + yyv3899 = make([]Pod, yyrl3899) } - yyc3866 = true - yyrr3866 = len(yyv3866) - if yyrg3866 { - copy(yyv3866, yyv23866) + yyc3899 = true + yyrr3899 = len(yyv3899) + if yyrg3899 { + copy(yyv3899, yyv23899) } - } else if yyl3866 != len(yyv3866) { - yyv3866 = yyv3866[:yyl3866] - yyc3866 = true + } else if yyl3899 != len(yyv3899) { + yyv3899 = yyv3899[:yyl3899] + yyc3899 = true } - yyj3866 := 0 - for ; yyj3866 < yyrr3866; yyj3866++ { - yyh3866.ElemContainerState(yyj3866) + yyj3899 := 0 + for ; yyj3899 < yyrr3899; yyj3899++ { + yyh3899.ElemContainerState(yyj3899) if r.TryDecodeAsNil() { - yyv3866[yyj3866] = Pod{} + yyv3899[yyj3899] = Pod{} } else { - yyv3867 := &yyv3866[yyj3866] - yyv3867.CodecDecodeSelf(d) + yyv3900 := &yyv3899[yyj3899] + yyv3900.CodecDecodeSelf(d) } } - if yyrt3866 { - for ; yyj3866 < yyl3866; yyj3866++ { - yyv3866 = append(yyv3866, Pod{}) - yyh3866.ElemContainerState(yyj3866) + if yyrt3899 { + for ; yyj3899 < yyl3899; yyj3899++ { + yyv3899 = append(yyv3899, Pod{}) + yyh3899.ElemContainerState(yyj3899) if r.TryDecodeAsNil() { - yyv3866[yyj3866] = Pod{} + yyv3899[yyj3899] = Pod{} } else { - yyv3868 := &yyv3866[yyj3866] - yyv3868.CodecDecodeSelf(d) + yyv3901 := &yyv3899[yyj3899] + yyv3901.CodecDecodeSelf(d) } } } } else { - yyj3866 := 0 - for ; !r.CheckBreak(); yyj3866++ { + yyj3899 := 0 + for ; !r.CheckBreak(); yyj3899++ { - if yyj3866 >= len(yyv3866) { - yyv3866 = append(yyv3866, Pod{}) // var yyz3866 Pod - yyc3866 = true + if yyj3899 >= len(yyv3899) { + yyv3899 = append(yyv3899, Pod{}) // var yyz3899 Pod + yyc3899 = true } - yyh3866.ElemContainerState(yyj3866) - if yyj3866 < len(yyv3866) { + yyh3899.ElemContainerState(yyj3899) + if yyj3899 < len(yyv3899) { if r.TryDecodeAsNil() { - yyv3866[yyj3866] = Pod{} + yyv3899[yyj3899] = Pod{} } else { - yyv3869 := &yyv3866[yyj3866] - yyv3869.CodecDecodeSelf(d) + yyv3902 := &yyv3899[yyj3899] + yyv3902.CodecDecodeSelf(d) } } else { @@ -48397,17 +48912,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3866 < len(yyv3866) { - yyv3866 = yyv3866[:yyj3866] - yyc3866 = true - } else if yyj3866 == 0 && yyv3866 == nil { - yyv3866 = []Pod{} - yyc3866 = true + if yyj3899 < len(yyv3899) { + yyv3899 = yyv3899[:yyj3899] + yyc3899 = true + } else if yyj3899 == 0 && yyv3899 == nil { + yyv3899 = []Pod{} + yyc3899 = true } } - yyh3866.End() - if yyc3866 { - *v = yyv3866 + yyh3899.End() + if yyc3899 { + *v = yyv3899 } } @@ -48416,10 +48931,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3870 := range v { + for _, yyv3903 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3871 := &yyv3870 - yy3871.CodecEncodeSelf(e) + yy3904 := &yyv3903 + yy3904.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48429,83 +48944,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3872 := *v - yyh3872, yyl3872 := z.DecSliceHelperStart() - var yyc3872 bool - if yyl3872 == 0 { - if yyv3872 == nil { - yyv3872 = []NodeSelectorTerm{} - yyc3872 = true - } else if len(yyv3872) != 0 { - yyv3872 = yyv3872[:0] - yyc3872 = true + yyv3905 := *v + yyh3905, yyl3905 := z.DecSliceHelperStart() + var yyc3905 bool + if yyl3905 == 0 { + if yyv3905 == nil { + yyv3905 = []NodeSelectorTerm{} + yyc3905 = true + } else if len(yyv3905) != 0 { + yyv3905 = yyv3905[:0] + yyc3905 = true } - } else if yyl3872 > 0 { - var yyrr3872, yyrl3872 int - var yyrt3872 bool - if yyl3872 > cap(yyv3872) { + } else if yyl3905 > 0 { + var yyrr3905, yyrl3905 int + var yyrt3905 bool + if yyl3905 > cap(yyv3905) { - yyrg3872 := len(yyv3872) > 0 - yyv23872 := yyv3872 - yyrl3872, yyrt3872 = z.DecInferLen(yyl3872, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3872 { - if yyrl3872 <= cap(yyv3872) { - yyv3872 = yyv3872[:yyrl3872] + yyrg3905 := len(yyv3905) > 0 + yyv23905 := yyv3905 + yyrl3905, yyrt3905 = z.DecInferLen(yyl3905, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3905 { + if yyrl3905 <= cap(yyv3905) { + yyv3905 = yyv3905[:yyrl3905] } else { - yyv3872 = make([]NodeSelectorTerm, yyrl3872) + yyv3905 = make([]NodeSelectorTerm, yyrl3905) } } else { - yyv3872 = make([]NodeSelectorTerm, yyrl3872) + yyv3905 = make([]NodeSelectorTerm, yyrl3905) } - yyc3872 = true - yyrr3872 = len(yyv3872) - if yyrg3872 { - copy(yyv3872, yyv23872) + yyc3905 = true + yyrr3905 = len(yyv3905) + if yyrg3905 { + copy(yyv3905, yyv23905) } - } else if yyl3872 != len(yyv3872) { - yyv3872 = yyv3872[:yyl3872] - yyc3872 = true + } else if yyl3905 != len(yyv3905) { + yyv3905 = yyv3905[:yyl3905] + yyc3905 = true } - yyj3872 := 0 - for ; yyj3872 < yyrr3872; yyj3872++ { - yyh3872.ElemContainerState(yyj3872) + yyj3905 := 0 + for ; yyj3905 < yyrr3905; yyj3905++ { + yyh3905.ElemContainerState(yyj3905) if r.TryDecodeAsNil() { - yyv3872[yyj3872] = NodeSelectorTerm{} + yyv3905[yyj3905] = NodeSelectorTerm{} } else { - yyv3873 := &yyv3872[yyj3872] - yyv3873.CodecDecodeSelf(d) + yyv3906 := &yyv3905[yyj3905] + yyv3906.CodecDecodeSelf(d) } } - if yyrt3872 { - for ; yyj3872 < yyl3872; yyj3872++ { - yyv3872 = append(yyv3872, NodeSelectorTerm{}) - yyh3872.ElemContainerState(yyj3872) + if yyrt3905 { + for ; yyj3905 < yyl3905; yyj3905++ { + yyv3905 = append(yyv3905, NodeSelectorTerm{}) + yyh3905.ElemContainerState(yyj3905) if r.TryDecodeAsNil() { - yyv3872[yyj3872] = NodeSelectorTerm{} + yyv3905[yyj3905] = NodeSelectorTerm{} } else { - yyv3874 := &yyv3872[yyj3872] - yyv3874.CodecDecodeSelf(d) + yyv3907 := &yyv3905[yyj3905] + yyv3907.CodecDecodeSelf(d) } } } } else { - yyj3872 := 0 - for ; !r.CheckBreak(); yyj3872++ { + yyj3905 := 0 + for ; !r.CheckBreak(); yyj3905++ { - if yyj3872 >= len(yyv3872) { - yyv3872 = append(yyv3872, NodeSelectorTerm{}) // var yyz3872 NodeSelectorTerm - yyc3872 = true + if yyj3905 >= len(yyv3905) { + yyv3905 = append(yyv3905, NodeSelectorTerm{}) // var yyz3905 NodeSelectorTerm + yyc3905 = true } - yyh3872.ElemContainerState(yyj3872) - if yyj3872 < len(yyv3872) { + yyh3905.ElemContainerState(yyj3905) + if yyj3905 < len(yyv3905) { if r.TryDecodeAsNil() { - yyv3872[yyj3872] = NodeSelectorTerm{} + yyv3905[yyj3905] = NodeSelectorTerm{} } else { - yyv3875 := &yyv3872[yyj3872] - yyv3875.CodecDecodeSelf(d) + yyv3908 := &yyv3905[yyj3905] + yyv3908.CodecDecodeSelf(d) } } else { @@ -48513,17 +49028,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj3872 < len(yyv3872) { - yyv3872 = yyv3872[:yyj3872] - yyc3872 = true - } else if yyj3872 == 0 && yyv3872 == nil { - yyv3872 = []NodeSelectorTerm{} - yyc3872 = true + if yyj3905 < len(yyv3905) { + yyv3905 = yyv3905[:yyj3905] + yyc3905 = true + } else if yyj3905 == 0 && yyv3905 == nil { + yyv3905 = []NodeSelectorTerm{} + yyc3905 = true } } - yyh3872.End() - if yyc3872 { - *v = yyv3872 + yyh3905.End() + if yyc3905 { + *v = yyv3905 } } @@ -48532,10 +49047,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3876 := range v { + for _, yyv3909 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3877 := &yyv3876 - yy3877.CodecEncodeSelf(e) + yy3910 := &yyv3909 + yy3910.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48545,83 +49060,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3878 := *v - yyh3878, yyl3878 := z.DecSliceHelperStart() - var yyc3878 bool - if yyl3878 == 0 { - if yyv3878 == nil { - yyv3878 = []NodeSelectorRequirement{} - yyc3878 = true - } else if len(yyv3878) != 0 { - yyv3878 = yyv3878[:0] - yyc3878 = true + yyv3911 := *v + yyh3911, yyl3911 := z.DecSliceHelperStart() + var yyc3911 bool + if yyl3911 == 0 { + if yyv3911 == nil { + yyv3911 = []NodeSelectorRequirement{} + yyc3911 = true + } else if len(yyv3911) != 0 { + yyv3911 = yyv3911[:0] + yyc3911 = true } - } else if yyl3878 > 0 { - var yyrr3878, yyrl3878 int - var yyrt3878 bool - if yyl3878 > cap(yyv3878) { + } else if yyl3911 > 0 { + var yyrr3911, yyrl3911 int + var yyrt3911 bool + if yyl3911 > cap(yyv3911) { - yyrg3878 := len(yyv3878) > 0 - yyv23878 := yyv3878 - yyrl3878, yyrt3878 = z.DecInferLen(yyl3878, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3878 { - if yyrl3878 <= cap(yyv3878) { - yyv3878 = yyv3878[:yyrl3878] + yyrg3911 := len(yyv3911) > 0 + yyv23911 := yyv3911 + yyrl3911, yyrt3911 = z.DecInferLen(yyl3911, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3911 { + if yyrl3911 <= cap(yyv3911) { + yyv3911 = yyv3911[:yyrl3911] } else { - yyv3878 = make([]NodeSelectorRequirement, yyrl3878) + yyv3911 = make([]NodeSelectorRequirement, yyrl3911) } } else { - yyv3878 = make([]NodeSelectorRequirement, yyrl3878) + yyv3911 = make([]NodeSelectorRequirement, yyrl3911) } - yyc3878 = true - yyrr3878 = len(yyv3878) - if yyrg3878 { - copy(yyv3878, yyv23878) + yyc3911 = true + yyrr3911 = len(yyv3911) + if yyrg3911 { + copy(yyv3911, yyv23911) } - } else if yyl3878 != len(yyv3878) { - yyv3878 = yyv3878[:yyl3878] - yyc3878 = true + } else if yyl3911 != len(yyv3911) { + yyv3911 = yyv3911[:yyl3911] + yyc3911 = true } - yyj3878 := 0 - for ; yyj3878 < yyrr3878; yyj3878++ { - yyh3878.ElemContainerState(yyj3878) + yyj3911 := 0 + for ; yyj3911 < yyrr3911; yyj3911++ { + yyh3911.ElemContainerState(yyj3911) if r.TryDecodeAsNil() { - yyv3878[yyj3878] = NodeSelectorRequirement{} + yyv3911[yyj3911] = NodeSelectorRequirement{} } else { - yyv3879 := &yyv3878[yyj3878] - yyv3879.CodecDecodeSelf(d) + yyv3912 := &yyv3911[yyj3911] + yyv3912.CodecDecodeSelf(d) } } - if yyrt3878 { - for ; yyj3878 < yyl3878; yyj3878++ { - yyv3878 = append(yyv3878, NodeSelectorRequirement{}) - yyh3878.ElemContainerState(yyj3878) + if yyrt3911 { + for ; yyj3911 < yyl3911; yyj3911++ { + yyv3911 = append(yyv3911, NodeSelectorRequirement{}) + yyh3911.ElemContainerState(yyj3911) if r.TryDecodeAsNil() { - yyv3878[yyj3878] = NodeSelectorRequirement{} + yyv3911[yyj3911] = NodeSelectorRequirement{} } else { - yyv3880 := &yyv3878[yyj3878] - yyv3880.CodecDecodeSelf(d) + yyv3913 := &yyv3911[yyj3911] + yyv3913.CodecDecodeSelf(d) } } } } else { - yyj3878 := 0 - for ; !r.CheckBreak(); yyj3878++ { + yyj3911 := 0 + for ; !r.CheckBreak(); yyj3911++ { - if yyj3878 >= len(yyv3878) { - yyv3878 = append(yyv3878, NodeSelectorRequirement{}) // var yyz3878 NodeSelectorRequirement - yyc3878 = true + if yyj3911 >= len(yyv3911) { + yyv3911 = append(yyv3911, NodeSelectorRequirement{}) // var yyz3911 NodeSelectorRequirement + yyc3911 = true } - yyh3878.ElemContainerState(yyj3878) - if yyj3878 < len(yyv3878) { + yyh3911.ElemContainerState(yyj3911) + if yyj3911 < len(yyv3911) { if r.TryDecodeAsNil() { - yyv3878[yyj3878] = NodeSelectorRequirement{} + yyv3911[yyj3911] = NodeSelectorRequirement{} } else { - yyv3881 := &yyv3878[yyj3878] - yyv3881.CodecDecodeSelf(d) + yyv3914 := &yyv3911[yyj3911] + yyv3914.CodecDecodeSelf(d) } } else { @@ -48629,17 +49144,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj3878 < len(yyv3878) { - yyv3878 = yyv3878[:yyj3878] - yyc3878 = true - } else if yyj3878 == 0 && yyv3878 == nil { - yyv3878 = []NodeSelectorRequirement{} - yyc3878 = true + if yyj3911 < len(yyv3911) { + yyv3911 = yyv3911[:yyj3911] + yyc3911 = true + } else if yyj3911 == 0 && yyv3911 == nil { + yyv3911 = []NodeSelectorRequirement{} + yyc3911 = true } } - yyh3878.End() - if yyc3878 { - *v = yyv3878 + yyh3911.End() + if yyc3911 { + *v = yyv3911 } } @@ -48648,10 +49163,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3882 := range v { + for _, yyv3915 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3883 := &yyv3882 - yy3883.CodecEncodeSelf(e) + yy3916 := &yyv3915 + yy3916.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48661,83 +49176,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3884 := *v - yyh3884, yyl3884 := z.DecSliceHelperStart() - var yyc3884 bool - if yyl3884 == 0 { - if yyv3884 == nil { - yyv3884 = []PreferredSchedulingTerm{} - yyc3884 = true - } else if len(yyv3884) != 0 { - yyv3884 = yyv3884[:0] - yyc3884 = true + yyv3917 := *v + yyh3917, yyl3917 := z.DecSliceHelperStart() + var yyc3917 bool + if yyl3917 == 0 { + if yyv3917 == nil { + yyv3917 = []PreferredSchedulingTerm{} + yyc3917 = true + } else if len(yyv3917) != 0 { + yyv3917 = yyv3917[:0] + yyc3917 = true } - } else if yyl3884 > 0 { - var yyrr3884, yyrl3884 int - var yyrt3884 bool - if yyl3884 > cap(yyv3884) { + } else if yyl3917 > 0 { + var yyrr3917, yyrl3917 int + var yyrt3917 bool + if yyl3917 > cap(yyv3917) { - yyrg3884 := len(yyv3884) > 0 - yyv23884 := yyv3884 - yyrl3884, yyrt3884 = z.DecInferLen(yyl3884, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3884 { - if yyrl3884 <= cap(yyv3884) { - yyv3884 = yyv3884[:yyrl3884] + yyrg3917 := len(yyv3917) > 0 + yyv23917 := yyv3917 + yyrl3917, yyrt3917 = z.DecInferLen(yyl3917, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3917 { + if yyrl3917 <= cap(yyv3917) { + yyv3917 = yyv3917[:yyrl3917] } else { - yyv3884 = make([]PreferredSchedulingTerm, yyrl3884) + yyv3917 = make([]PreferredSchedulingTerm, yyrl3917) } } else { - yyv3884 = make([]PreferredSchedulingTerm, yyrl3884) + yyv3917 = make([]PreferredSchedulingTerm, yyrl3917) } - yyc3884 = true - yyrr3884 = len(yyv3884) - if yyrg3884 { - copy(yyv3884, yyv23884) + yyc3917 = true + yyrr3917 = len(yyv3917) + if yyrg3917 { + copy(yyv3917, yyv23917) } - } else if yyl3884 != len(yyv3884) { - yyv3884 = yyv3884[:yyl3884] - yyc3884 = true + } else if yyl3917 != len(yyv3917) { + yyv3917 = yyv3917[:yyl3917] + yyc3917 = true } - yyj3884 := 0 - for ; yyj3884 < yyrr3884; yyj3884++ { - yyh3884.ElemContainerState(yyj3884) + yyj3917 := 0 + for ; yyj3917 < yyrr3917; yyj3917++ { + yyh3917.ElemContainerState(yyj3917) if r.TryDecodeAsNil() { - yyv3884[yyj3884] = PreferredSchedulingTerm{} + yyv3917[yyj3917] = PreferredSchedulingTerm{} } else { - yyv3885 := &yyv3884[yyj3884] - yyv3885.CodecDecodeSelf(d) + yyv3918 := &yyv3917[yyj3917] + yyv3918.CodecDecodeSelf(d) } } - if yyrt3884 { - for ; yyj3884 < yyl3884; yyj3884++ { - yyv3884 = append(yyv3884, PreferredSchedulingTerm{}) - yyh3884.ElemContainerState(yyj3884) + if yyrt3917 { + for ; yyj3917 < yyl3917; yyj3917++ { + yyv3917 = append(yyv3917, PreferredSchedulingTerm{}) + yyh3917.ElemContainerState(yyj3917) if r.TryDecodeAsNil() { - yyv3884[yyj3884] = PreferredSchedulingTerm{} + yyv3917[yyj3917] = PreferredSchedulingTerm{} } else { - yyv3886 := &yyv3884[yyj3884] - yyv3886.CodecDecodeSelf(d) + yyv3919 := &yyv3917[yyj3917] + yyv3919.CodecDecodeSelf(d) } } } } else { - yyj3884 := 0 - for ; !r.CheckBreak(); yyj3884++ { + yyj3917 := 0 + for ; !r.CheckBreak(); yyj3917++ { - if yyj3884 >= len(yyv3884) { - yyv3884 = append(yyv3884, PreferredSchedulingTerm{}) // var yyz3884 PreferredSchedulingTerm - yyc3884 = true + if yyj3917 >= len(yyv3917) { + yyv3917 = append(yyv3917, PreferredSchedulingTerm{}) // var yyz3917 PreferredSchedulingTerm + yyc3917 = true } - yyh3884.ElemContainerState(yyj3884) - if yyj3884 < len(yyv3884) { + yyh3917.ElemContainerState(yyj3917) + if yyj3917 < len(yyv3917) { if r.TryDecodeAsNil() { - yyv3884[yyj3884] = PreferredSchedulingTerm{} + yyv3917[yyj3917] = PreferredSchedulingTerm{} } else { - yyv3887 := &yyv3884[yyj3884] - yyv3887.CodecDecodeSelf(d) + yyv3920 := &yyv3917[yyj3917] + yyv3920.CodecDecodeSelf(d) } } else { @@ -48745,17 +49260,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj3884 < len(yyv3884) { - yyv3884 = yyv3884[:yyj3884] - yyc3884 = true - } else if yyj3884 == 0 && yyv3884 == nil { - yyv3884 = []PreferredSchedulingTerm{} - yyc3884 = true + if yyj3917 < len(yyv3917) { + yyv3917 = yyv3917[:yyj3917] + yyc3917 = true + } else if yyj3917 == 0 && yyv3917 == nil { + yyv3917 = []PreferredSchedulingTerm{} + yyc3917 = true } } - yyh3884.End() - if yyc3884 { - *v = yyv3884 + yyh3917.End() + if yyc3917 { + *v = yyv3917 } } @@ -48764,10 +49279,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3888 := range v { + for _, yyv3921 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3889 := &yyv3888 - yy3889.CodecEncodeSelf(e) + yy3922 := &yyv3921 + yy3922.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48777,83 +49292,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3890 := *v - yyh3890, yyl3890 := z.DecSliceHelperStart() - var yyc3890 bool - if yyl3890 == 0 { - if yyv3890 == nil { - yyv3890 = []Volume{} - yyc3890 = true - } else if len(yyv3890) != 0 { - yyv3890 = yyv3890[:0] - yyc3890 = true + yyv3923 := *v + yyh3923, yyl3923 := z.DecSliceHelperStart() + var yyc3923 bool + if yyl3923 == 0 { + if yyv3923 == nil { + yyv3923 = []Volume{} + yyc3923 = true + } else if len(yyv3923) != 0 { + yyv3923 = yyv3923[:0] + yyc3923 = true } - } else if yyl3890 > 0 { - var yyrr3890, yyrl3890 int - var yyrt3890 bool - if yyl3890 > cap(yyv3890) { + } else if yyl3923 > 0 { + var yyrr3923, yyrl3923 int + var yyrt3923 bool + if yyl3923 > cap(yyv3923) { - yyrg3890 := len(yyv3890) > 0 - yyv23890 := yyv3890 - yyrl3890, yyrt3890 = z.DecInferLen(yyl3890, z.DecBasicHandle().MaxInitLen, 152) - if yyrt3890 { - if yyrl3890 <= cap(yyv3890) { - yyv3890 = yyv3890[:yyrl3890] + yyrg3923 := len(yyv3923) > 0 + yyv23923 := yyv3923 + yyrl3923, yyrt3923 = z.DecInferLen(yyl3923, z.DecBasicHandle().MaxInitLen, 160) + if yyrt3923 { + if yyrl3923 <= cap(yyv3923) { + yyv3923 = yyv3923[:yyrl3923] } else { - yyv3890 = make([]Volume, yyrl3890) + yyv3923 = make([]Volume, yyrl3923) } } else { - yyv3890 = make([]Volume, yyrl3890) + yyv3923 = make([]Volume, yyrl3923) } - yyc3890 = true - yyrr3890 = len(yyv3890) - if yyrg3890 { - copy(yyv3890, yyv23890) + yyc3923 = true + yyrr3923 = len(yyv3923) + if yyrg3923 { + copy(yyv3923, yyv23923) } - } else if yyl3890 != len(yyv3890) { - yyv3890 = yyv3890[:yyl3890] - yyc3890 = true + } else if yyl3923 != len(yyv3923) { + yyv3923 = yyv3923[:yyl3923] + yyc3923 = true } - yyj3890 := 0 - for ; yyj3890 < yyrr3890; yyj3890++ { - yyh3890.ElemContainerState(yyj3890) + yyj3923 := 0 + for ; yyj3923 < yyrr3923; yyj3923++ { + yyh3923.ElemContainerState(yyj3923) if r.TryDecodeAsNil() { - yyv3890[yyj3890] = Volume{} + yyv3923[yyj3923] = Volume{} } else { - yyv3891 := &yyv3890[yyj3890] - yyv3891.CodecDecodeSelf(d) + yyv3924 := &yyv3923[yyj3923] + yyv3924.CodecDecodeSelf(d) } } - if yyrt3890 { - for ; yyj3890 < yyl3890; yyj3890++ { - yyv3890 = append(yyv3890, Volume{}) - yyh3890.ElemContainerState(yyj3890) + if yyrt3923 { + for ; yyj3923 < yyl3923; yyj3923++ { + yyv3923 = append(yyv3923, Volume{}) + yyh3923.ElemContainerState(yyj3923) if r.TryDecodeAsNil() { - yyv3890[yyj3890] = Volume{} + yyv3923[yyj3923] = Volume{} } else { - yyv3892 := &yyv3890[yyj3890] - yyv3892.CodecDecodeSelf(d) + yyv3925 := &yyv3923[yyj3923] + yyv3925.CodecDecodeSelf(d) } } } } else { - yyj3890 := 0 - for ; !r.CheckBreak(); yyj3890++ { + yyj3923 := 0 + for ; !r.CheckBreak(); yyj3923++ { - if yyj3890 >= len(yyv3890) { - yyv3890 = append(yyv3890, Volume{}) // var yyz3890 Volume - yyc3890 = true + if yyj3923 >= len(yyv3923) { + yyv3923 = append(yyv3923, Volume{}) // var yyz3923 Volume + yyc3923 = true } - yyh3890.ElemContainerState(yyj3890) - if yyj3890 < len(yyv3890) { + yyh3923.ElemContainerState(yyj3923) + if yyj3923 < len(yyv3923) { if r.TryDecodeAsNil() { - yyv3890[yyj3890] = Volume{} + yyv3923[yyj3923] = Volume{} } else { - yyv3893 := &yyv3890[yyj3890] - yyv3893.CodecDecodeSelf(d) + yyv3926 := &yyv3923[yyj3923] + yyv3926.CodecDecodeSelf(d) } } else { @@ -48861,17 +49376,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3890 < len(yyv3890) { - yyv3890 = yyv3890[:yyj3890] - yyc3890 = true - } else if yyj3890 == 0 && yyv3890 == nil { - yyv3890 = []Volume{} - yyc3890 = true + if yyj3923 < len(yyv3923) { + yyv3923 = yyv3923[:yyj3923] + yyc3923 = true + } else if yyj3923 == 0 && yyv3923 == nil { + yyv3923 = []Volume{} + yyc3923 = true } } - yyh3890.End() - if yyc3890 { - *v = yyv3890 + yyh3923.End() + if yyc3923 { + *v = yyv3923 } } @@ -48880,10 +49395,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3894 := range v { + for _, yyv3927 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3895 := &yyv3894 - yy3895.CodecEncodeSelf(e) + yy3928 := &yyv3927 + yy3928.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48893,83 +49408,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3896 := *v - yyh3896, yyl3896 := z.DecSliceHelperStart() - var yyc3896 bool - if yyl3896 == 0 { - if yyv3896 == nil { - yyv3896 = []Container{} - yyc3896 = true - } else if len(yyv3896) != 0 { - yyv3896 = yyv3896[:0] - yyc3896 = true + yyv3929 := *v + yyh3929, yyl3929 := z.DecSliceHelperStart() + var yyc3929 bool + if yyl3929 == 0 { + if yyv3929 == nil { + yyv3929 = []Container{} + yyc3929 = true + } else if len(yyv3929) != 0 { + yyv3929 = yyv3929[:0] + yyc3929 = true } - } else if yyl3896 > 0 { - var yyrr3896, yyrl3896 int - var yyrt3896 bool - if yyl3896 > cap(yyv3896) { + } else if yyl3929 > 0 { + var yyrr3929, yyrl3929 int + var yyrt3929 bool + if yyl3929 > cap(yyv3929) { - yyrg3896 := len(yyv3896) > 0 - yyv23896 := yyv3896 - yyrl3896, yyrt3896 = z.DecInferLen(yyl3896, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3896 { - if yyrl3896 <= cap(yyv3896) { - yyv3896 = yyv3896[:yyrl3896] + yyrg3929 := len(yyv3929) > 0 + yyv23929 := yyv3929 + yyrl3929, yyrt3929 = z.DecInferLen(yyl3929, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3929 { + if yyrl3929 <= cap(yyv3929) { + yyv3929 = yyv3929[:yyrl3929] } else { - yyv3896 = make([]Container, yyrl3896) + yyv3929 = make([]Container, yyrl3929) } } else { - yyv3896 = make([]Container, yyrl3896) + yyv3929 = make([]Container, yyrl3929) } - yyc3896 = true - yyrr3896 = len(yyv3896) - if yyrg3896 { - copy(yyv3896, yyv23896) + yyc3929 = true + yyrr3929 = len(yyv3929) + if yyrg3929 { + copy(yyv3929, yyv23929) } - } else if yyl3896 != len(yyv3896) { - yyv3896 = yyv3896[:yyl3896] - yyc3896 = true + } else if yyl3929 != len(yyv3929) { + yyv3929 = yyv3929[:yyl3929] + yyc3929 = true } - yyj3896 := 0 - for ; yyj3896 < yyrr3896; yyj3896++ { - yyh3896.ElemContainerState(yyj3896) + yyj3929 := 0 + for ; yyj3929 < yyrr3929; yyj3929++ { + yyh3929.ElemContainerState(yyj3929) if r.TryDecodeAsNil() { - yyv3896[yyj3896] = Container{} + yyv3929[yyj3929] = Container{} } else { - yyv3897 := &yyv3896[yyj3896] - yyv3897.CodecDecodeSelf(d) + yyv3930 := &yyv3929[yyj3929] + yyv3930.CodecDecodeSelf(d) } } - if yyrt3896 { - for ; yyj3896 < yyl3896; yyj3896++ { - yyv3896 = append(yyv3896, Container{}) - yyh3896.ElemContainerState(yyj3896) + if yyrt3929 { + for ; yyj3929 < yyl3929; yyj3929++ { + yyv3929 = append(yyv3929, Container{}) + yyh3929.ElemContainerState(yyj3929) if r.TryDecodeAsNil() { - yyv3896[yyj3896] = Container{} + yyv3929[yyj3929] = Container{} } else { - yyv3898 := &yyv3896[yyj3896] - yyv3898.CodecDecodeSelf(d) + yyv3931 := &yyv3929[yyj3929] + yyv3931.CodecDecodeSelf(d) } } } } else { - yyj3896 := 0 - for ; !r.CheckBreak(); yyj3896++ { + yyj3929 := 0 + for ; !r.CheckBreak(); yyj3929++ { - if yyj3896 >= len(yyv3896) { - yyv3896 = append(yyv3896, Container{}) // var yyz3896 Container - yyc3896 = true + if yyj3929 >= len(yyv3929) { + yyv3929 = append(yyv3929, Container{}) // var yyz3929 Container + yyc3929 = true } - yyh3896.ElemContainerState(yyj3896) - if yyj3896 < len(yyv3896) { + yyh3929.ElemContainerState(yyj3929) + if yyj3929 < len(yyv3929) { if r.TryDecodeAsNil() { - yyv3896[yyj3896] = Container{} + yyv3929[yyj3929] = Container{} } else { - yyv3899 := &yyv3896[yyj3896] - yyv3899.CodecDecodeSelf(d) + yyv3932 := &yyv3929[yyj3929] + yyv3932.CodecDecodeSelf(d) } } else { @@ -48977,17 +49492,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3896 < len(yyv3896) { - yyv3896 = yyv3896[:yyj3896] - yyc3896 = true - } else if yyj3896 == 0 && yyv3896 == nil { - yyv3896 = []Container{} - yyc3896 = true + if yyj3929 < len(yyv3929) { + yyv3929 = yyv3929[:yyj3929] + yyc3929 = true + } else if yyj3929 == 0 && yyv3929 == nil { + yyv3929 = []Container{} + yyc3929 = true } } - yyh3896.End() - if yyc3896 { - *v = yyv3896 + yyh3929.End() + if yyc3929 { + *v = yyv3929 } } @@ -48996,10 +49511,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3900 := range v { + for _, yyv3933 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3901 := &yyv3900 - yy3901.CodecEncodeSelf(e) + yy3934 := &yyv3933 + yy3934.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49009,83 +49524,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3902 := *v - yyh3902, yyl3902 := z.DecSliceHelperStart() - var yyc3902 bool - if yyl3902 == 0 { - if yyv3902 == nil { - yyv3902 = []LocalObjectReference{} - yyc3902 = true - } else if len(yyv3902) != 0 { - yyv3902 = yyv3902[:0] - yyc3902 = true + yyv3935 := *v + yyh3935, yyl3935 := z.DecSliceHelperStart() + var yyc3935 bool + if yyl3935 == 0 { + if yyv3935 == nil { + yyv3935 = []LocalObjectReference{} + yyc3935 = true + } else if len(yyv3935) != 0 { + yyv3935 = yyv3935[:0] + yyc3935 = true } - } else if yyl3902 > 0 { - var yyrr3902, yyrl3902 int - var yyrt3902 bool - if yyl3902 > cap(yyv3902) { + } else if yyl3935 > 0 { + var yyrr3935, yyrl3935 int + var yyrt3935 bool + if yyl3935 > cap(yyv3935) { - yyrg3902 := len(yyv3902) > 0 - yyv23902 := yyv3902 - yyrl3902, yyrt3902 = z.DecInferLen(yyl3902, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3902 { - if yyrl3902 <= cap(yyv3902) { - yyv3902 = yyv3902[:yyrl3902] + yyrg3935 := len(yyv3935) > 0 + yyv23935 := yyv3935 + yyrl3935, yyrt3935 = z.DecInferLen(yyl3935, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3935 { + if yyrl3935 <= cap(yyv3935) { + yyv3935 = yyv3935[:yyrl3935] } else { - yyv3902 = make([]LocalObjectReference, yyrl3902) + yyv3935 = make([]LocalObjectReference, yyrl3935) } } else { - yyv3902 = make([]LocalObjectReference, yyrl3902) + yyv3935 = make([]LocalObjectReference, yyrl3935) } - yyc3902 = true - yyrr3902 = len(yyv3902) - if yyrg3902 { - copy(yyv3902, yyv23902) + yyc3935 = true + yyrr3935 = len(yyv3935) + if yyrg3935 { + copy(yyv3935, yyv23935) } - } else if yyl3902 != len(yyv3902) { - yyv3902 = yyv3902[:yyl3902] - yyc3902 = true + } else if yyl3935 != len(yyv3935) { + yyv3935 = yyv3935[:yyl3935] + yyc3935 = true } - yyj3902 := 0 - for ; yyj3902 < yyrr3902; yyj3902++ { - yyh3902.ElemContainerState(yyj3902) + yyj3935 := 0 + for ; yyj3935 < yyrr3935; yyj3935++ { + yyh3935.ElemContainerState(yyj3935) if r.TryDecodeAsNil() { - yyv3902[yyj3902] = LocalObjectReference{} + yyv3935[yyj3935] = LocalObjectReference{} } else { - yyv3903 := &yyv3902[yyj3902] - yyv3903.CodecDecodeSelf(d) + yyv3936 := &yyv3935[yyj3935] + yyv3936.CodecDecodeSelf(d) } } - if yyrt3902 { - for ; yyj3902 < yyl3902; yyj3902++ { - yyv3902 = append(yyv3902, LocalObjectReference{}) - yyh3902.ElemContainerState(yyj3902) + if yyrt3935 { + for ; yyj3935 < yyl3935; yyj3935++ { + yyv3935 = append(yyv3935, LocalObjectReference{}) + yyh3935.ElemContainerState(yyj3935) if r.TryDecodeAsNil() { - yyv3902[yyj3902] = LocalObjectReference{} + yyv3935[yyj3935] = LocalObjectReference{} } else { - yyv3904 := &yyv3902[yyj3902] - yyv3904.CodecDecodeSelf(d) + yyv3937 := &yyv3935[yyj3935] + yyv3937.CodecDecodeSelf(d) } } } } else { - yyj3902 := 0 - for ; !r.CheckBreak(); yyj3902++ { + yyj3935 := 0 + for ; !r.CheckBreak(); yyj3935++ { - if yyj3902 >= len(yyv3902) { - yyv3902 = append(yyv3902, LocalObjectReference{}) // var yyz3902 LocalObjectReference - yyc3902 = true + if yyj3935 >= len(yyv3935) { + yyv3935 = append(yyv3935, LocalObjectReference{}) // var yyz3935 LocalObjectReference + yyc3935 = true } - yyh3902.ElemContainerState(yyj3902) - if yyj3902 < len(yyv3902) { + yyh3935.ElemContainerState(yyj3935) + if yyj3935 < len(yyv3935) { if r.TryDecodeAsNil() { - yyv3902[yyj3902] = LocalObjectReference{} + yyv3935[yyj3935] = LocalObjectReference{} } else { - yyv3905 := &yyv3902[yyj3902] - yyv3905.CodecDecodeSelf(d) + yyv3938 := &yyv3935[yyj3935] + yyv3938.CodecDecodeSelf(d) } } else { @@ -49093,17 +49608,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3902 < len(yyv3902) { - yyv3902 = yyv3902[:yyj3902] - yyc3902 = true - } else if yyj3902 == 0 && yyv3902 == nil { - yyv3902 = []LocalObjectReference{} - yyc3902 = true + if yyj3935 < len(yyv3935) { + yyv3935 = yyv3935[:yyj3935] + yyc3935 = true + } else if yyj3935 == 0 && yyv3935 == nil { + yyv3935 = []LocalObjectReference{} + yyc3935 = true } } - yyh3902.End() - if yyc3902 { - *v = yyv3902 + yyh3935.End() + if yyc3935 { + *v = yyv3935 } } @@ -49112,10 +49627,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3906 := range v { + for _, yyv3939 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3907 := &yyv3906 - yy3907.CodecEncodeSelf(e) + yy3940 := &yyv3939 + yy3940.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49125,83 +49640,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3908 := *v - yyh3908, yyl3908 := z.DecSliceHelperStart() - var yyc3908 bool - if yyl3908 == 0 { - if yyv3908 == nil { - yyv3908 = []PodCondition{} - yyc3908 = true - } else if len(yyv3908) != 0 { - yyv3908 = yyv3908[:0] - yyc3908 = true + yyv3941 := *v + yyh3941, yyl3941 := z.DecSliceHelperStart() + var yyc3941 bool + if yyl3941 == 0 { + if yyv3941 == nil { + yyv3941 = []PodCondition{} + yyc3941 = true + } else if len(yyv3941) != 0 { + yyv3941 = yyv3941[:0] + yyc3941 = true } - } else if yyl3908 > 0 { - var yyrr3908, yyrl3908 int - var yyrt3908 bool - if yyl3908 > cap(yyv3908) { + } else if yyl3941 > 0 { + var yyrr3941, yyrl3941 int + var yyrt3941 bool + if yyl3941 > cap(yyv3941) { - yyrg3908 := len(yyv3908) > 0 - yyv23908 := yyv3908 - yyrl3908, yyrt3908 = z.DecInferLen(yyl3908, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3908 { - if yyrl3908 <= cap(yyv3908) { - yyv3908 = yyv3908[:yyrl3908] + yyrg3941 := len(yyv3941) > 0 + yyv23941 := yyv3941 + yyrl3941, yyrt3941 = z.DecInferLen(yyl3941, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3941 { + if yyrl3941 <= cap(yyv3941) { + yyv3941 = yyv3941[:yyrl3941] } else { - yyv3908 = make([]PodCondition, yyrl3908) + yyv3941 = make([]PodCondition, yyrl3941) } } else { - yyv3908 = make([]PodCondition, yyrl3908) + yyv3941 = make([]PodCondition, yyrl3941) } - yyc3908 = true - yyrr3908 = len(yyv3908) - if yyrg3908 { - copy(yyv3908, yyv23908) + yyc3941 = true + yyrr3941 = len(yyv3941) + if yyrg3941 { + copy(yyv3941, yyv23941) } - } else if yyl3908 != len(yyv3908) { - yyv3908 = yyv3908[:yyl3908] - yyc3908 = true + } else if yyl3941 != len(yyv3941) { + yyv3941 = yyv3941[:yyl3941] + yyc3941 = true } - yyj3908 := 0 - for ; yyj3908 < yyrr3908; yyj3908++ { - yyh3908.ElemContainerState(yyj3908) + yyj3941 := 0 + for ; yyj3941 < yyrr3941; yyj3941++ { + yyh3941.ElemContainerState(yyj3941) if r.TryDecodeAsNil() { - yyv3908[yyj3908] = PodCondition{} + yyv3941[yyj3941] = PodCondition{} } else { - yyv3909 := &yyv3908[yyj3908] - yyv3909.CodecDecodeSelf(d) + yyv3942 := &yyv3941[yyj3941] + yyv3942.CodecDecodeSelf(d) } } - if yyrt3908 { - for ; yyj3908 < yyl3908; yyj3908++ { - yyv3908 = append(yyv3908, PodCondition{}) - yyh3908.ElemContainerState(yyj3908) + if yyrt3941 { + for ; yyj3941 < yyl3941; yyj3941++ { + yyv3941 = append(yyv3941, PodCondition{}) + yyh3941.ElemContainerState(yyj3941) if r.TryDecodeAsNil() { - yyv3908[yyj3908] = PodCondition{} + yyv3941[yyj3941] = PodCondition{} } else { - yyv3910 := &yyv3908[yyj3908] - yyv3910.CodecDecodeSelf(d) + yyv3943 := &yyv3941[yyj3941] + yyv3943.CodecDecodeSelf(d) } } } } else { - yyj3908 := 0 - for ; !r.CheckBreak(); yyj3908++ { + yyj3941 := 0 + for ; !r.CheckBreak(); yyj3941++ { - if yyj3908 >= len(yyv3908) { - yyv3908 = append(yyv3908, PodCondition{}) // var yyz3908 PodCondition - yyc3908 = true + if yyj3941 >= len(yyv3941) { + yyv3941 = append(yyv3941, PodCondition{}) // var yyz3941 PodCondition + yyc3941 = true } - yyh3908.ElemContainerState(yyj3908) - if yyj3908 < len(yyv3908) { + yyh3941.ElemContainerState(yyj3941) + if yyj3941 < len(yyv3941) { if r.TryDecodeAsNil() { - yyv3908[yyj3908] = PodCondition{} + yyv3941[yyj3941] = PodCondition{} } else { - yyv3911 := &yyv3908[yyj3908] - yyv3911.CodecDecodeSelf(d) + yyv3944 := &yyv3941[yyj3941] + yyv3944.CodecDecodeSelf(d) } } else { @@ -49209,17 +49724,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3908 < len(yyv3908) { - yyv3908 = yyv3908[:yyj3908] - yyc3908 = true - } else if yyj3908 == 0 && yyv3908 == nil { - yyv3908 = []PodCondition{} - yyc3908 = true + if yyj3941 < len(yyv3941) { + yyv3941 = yyv3941[:yyj3941] + yyc3941 = true + } else if yyj3941 == 0 && yyv3941 == nil { + yyv3941 = []PodCondition{} + yyc3941 = true } } - yyh3908.End() - if yyc3908 { - *v = yyv3908 + yyh3941.End() + if yyc3941 { + *v = yyv3941 } } @@ -49228,10 +49743,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3912 := range v { + for _, yyv3945 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3913 := &yyv3912 - yy3913.CodecEncodeSelf(e) + yy3946 := &yyv3945 + yy3946.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49241,83 +49756,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3914 := *v - yyh3914, yyl3914 := z.DecSliceHelperStart() - var yyc3914 bool - if yyl3914 == 0 { - if yyv3914 == nil { - yyv3914 = []ContainerStatus{} - yyc3914 = true - } else if len(yyv3914) != 0 { - yyv3914 = yyv3914[:0] - yyc3914 = true + yyv3947 := *v + yyh3947, yyl3947 := z.DecSliceHelperStart() + var yyc3947 bool + if yyl3947 == 0 { + if yyv3947 == nil { + yyv3947 = []ContainerStatus{} + yyc3947 = true + } else if len(yyv3947) != 0 { + yyv3947 = yyv3947[:0] + yyc3947 = true } - } else if yyl3914 > 0 { - var yyrr3914, yyrl3914 int - var yyrt3914 bool - if yyl3914 > cap(yyv3914) { + } else if yyl3947 > 0 { + var yyrr3947, yyrl3947 int + var yyrt3947 bool + if yyl3947 > cap(yyv3947) { - yyrg3914 := len(yyv3914) > 0 - yyv23914 := yyv3914 - yyrl3914, yyrt3914 = z.DecInferLen(yyl3914, z.DecBasicHandle().MaxInitLen, 128) - if yyrt3914 { - if yyrl3914 <= cap(yyv3914) { - yyv3914 = yyv3914[:yyrl3914] + yyrg3947 := len(yyv3947) > 0 + yyv23947 := yyv3947 + yyrl3947, yyrt3947 = z.DecInferLen(yyl3947, z.DecBasicHandle().MaxInitLen, 128) + if yyrt3947 { + if yyrl3947 <= cap(yyv3947) { + yyv3947 = yyv3947[:yyrl3947] } else { - yyv3914 = make([]ContainerStatus, yyrl3914) + yyv3947 = make([]ContainerStatus, yyrl3947) } } else { - yyv3914 = make([]ContainerStatus, yyrl3914) + yyv3947 = make([]ContainerStatus, yyrl3947) } - yyc3914 = true - yyrr3914 = len(yyv3914) - if yyrg3914 { - copy(yyv3914, yyv23914) + yyc3947 = true + yyrr3947 = len(yyv3947) + if yyrg3947 { + copy(yyv3947, yyv23947) } - } else if yyl3914 != len(yyv3914) { - yyv3914 = yyv3914[:yyl3914] - yyc3914 = true + } else if yyl3947 != len(yyv3947) { + yyv3947 = yyv3947[:yyl3947] + yyc3947 = true } - yyj3914 := 0 - for ; yyj3914 < yyrr3914; yyj3914++ { - yyh3914.ElemContainerState(yyj3914) + yyj3947 := 0 + for ; yyj3947 < yyrr3947; yyj3947++ { + yyh3947.ElemContainerState(yyj3947) if r.TryDecodeAsNil() { - yyv3914[yyj3914] = ContainerStatus{} + yyv3947[yyj3947] = ContainerStatus{} } else { - yyv3915 := &yyv3914[yyj3914] - yyv3915.CodecDecodeSelf(d) + yyv3948 := &yyv3947[yyj3947] + yyv3948.CodecDecodeSelf(d) } } - if yyrt3914 { - for ; yyj3914 < yyl3914; yyj3914++ { - yyv3914 = append(yyv3914, ContainerStatus{}) - yyh3914.ElemContainerState(yyj3914) + if yyrt3947 { + for ; yyj3947 < yyl3947; yyj3947++ { + yyv3947 = append(yyv3947, ContainerStatus{}) + yyh3947.ElemContainerState(yyj3947) if r.TryDecodeAsNil() { - yyv3914[yyj3914] = ContainerStatus{} + yyv3947[yyj3947] = ContainerStatus{} } else { - yyv3916 := &yyv3914[yyj3914] - yyv3916.CodecDecodeSelf(d) + yyv3949 := &yyv3947[yyj3947] + yyv3949.CodecDecodeSelf(d) } } } } else { - yyj3914 := 0 - for ; !r.CheckBreak(); yyj3914++ { + yyj3947 := 0 + for ; !r.CheckBreak(); yyj3947++ { - if yyj3914 >= len(yyv3914) { - yyv3914 = append(yyv3914, ContainerStatus{}) // var yyz3914 ContainerStatus - yyc3914 = true + if yyj3947 >= len(yyv3947) { + yyv3947 = append(yyv3947, ContainerStatus{}) // var yyz3947 ContainerStatus + yyc3947 = true } - yyh3914.ElemContainerState(yyj3914) - if yyj3914 < len(yyv3914) { + yyh3947.ElemContainerState(yyj3947) + if yyj3947 < len(yyv3947) { if r.TryDecodeAsNil() { - yyv3914[yyj3914] = ContainerStatus{} + yyv3947[yyj3947] = ContainerStatus{} } else { - yyv3917 := &yyv3914[yyj3914] - yyv3917.CodecDecodeSelf(d) + yyv3950 := &yyv3947[yyj3947] + yyv3950.CodecDecodeSelf(d) } } else { @@ -49325,17 +49840,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3914 < len(yyv3914) { - yyv3914 = yyv3914[:yyj3914] - yyc3914 = true - } else if yyj3914 == 0 && yyv3914 == nil { - yyv3914 = []ContainerStatus{} - yyc3914 = true + if yyj3947 < len(yyv3947) { + yyv3947 = yyv3947[:yyj3947] + yyc3947 = true + } else if yyj3947 == 0 && yyv3947 == nil { + yyv3947 = []ContainerStatus{} + yyc3947 = true } } - yyh3914.End() - if yyc3914 { - *v = yyv3914 + yyh3947.End() + if yyc3947 { + *v = yyv3947 } } @@ -49344,10 +49859,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3918 := range v { + for _, yyv3951 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3919 := &yyv3918 - yy3919.CodecEncodeSelf(e) + yy3952 := &yyv3951 + yy3952.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49357,83 +49872,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3920 := *v - yyh3920, yyl3920 := z.DecSliceHelperStart() - var yyc3920 bool - if yyl3920 == 0 { - if yyv3920 == nil { - yyv3920 = []PodTemplate{} - yyc3920 = true - } else if len(yyv3920) != 0 { - yyv3920 = yyv3920[:0] - yyc3920 = true + yyv3953 := *v + yyh3953, yyl3953 := z.DecSliceHelperStart() + var yyc3953 bool + if yyl3953 == 0 { + if yyv3953 == nil { + yyv3953 = []PodTemplate{} + yyc3953 = true + } else if len(yyv3953) != 0 { + yyv3953 = yyv3953[:0] + yyc3953 = true } - } else if yyl3920 > 0 { - var yyrr3920, yyrl3920 int - var yyrt3920 bool - if yyl3920 > cap(yyv3920) { + } else if yyl3953 > 0 { + var yyrr3953, yyrl3953 int + var yyrt3953 bool + if yyl3953 > cap(yyv3953) { - yyrg3920 := len(yyv3920) > 0 - yyv23920 := yyv3920 - yyrl3920, yyrt3920 = z.DecInferLen(yyl3920, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3920 { - if yyrl3920 <= cap(yyv3920) { - yyv3920 = yyv3920[:yyrl3920] + yyrg3953 := len(yyv3953) > 0 + yyv23953 := yyv3953 + yyrl3953, yyrt3953 = z.DecInferLen(yyl3953, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3953 { + if yyrl3953 <= cap(yyv3953) { + yyv3953 = yyv3953[:yyrl3953] } else { - yyv3920 = make([]PodTemplate, yyrl3920) + yyv3953 = make([]PodTemplate, yyrl3953) } } else { - yyv3920 = make([]PodTemplate, yyrl3920) + yyv3953 = make([]PodTemplate, yyrl3953) } - yyc3920 = true - yyrr3920 = len(yyv3920) - if yyrg3920 { - copy(yyv3920, yyv23920) + yyc3953 = true + yyrr3953 = len(yyv3953) + if yyrg3953 { + copy(yyv3953, yyv23953) } - } else if yyl3920 != len(yyv3920) { - yyv3920 = yyv3920[:yyl3920] - yyc3920 = true + } else if yyl3953 != len(yyv3953) { + yyv3953 = yyv3953[:yyl3953] + yyc3953 = true } - yyj3920 := 0 - for ; yyj3920 < yyrr3920; yyj3920++ { - yyh3920.ElemContainerState(yyj3920) + yyj3953 := 0 + for ; yyj3953 < yyrr3953; yyj3953++ { + yyh3953.ElemContainerState(yyj3953) if r.TryDecodeAsNil() { - yyv3920[yyj3920] = PodTemplate{} + yyv3953[yyj3953] = PodTemplate{} } else { - yyv3921 := &yyv3920[yyj3920] - yyv3921.CodecDecodeSelf(d) + yyv3954 := &yyv3953[yyj3953] + yyv3954.CodecDecodeSelf(d) } } - if yyrt3920 { - for ; yyj3920 < yyl3920; yyj3920++ { - yyv3920 = append(yyv3920, PodTemplate{}) - yyh3920.ElemContainerState(yyj3920) + if yyrt3953 { + for ; yyj3953 < yyl3953; yyj3953++ { + yyv3953 = append(yyv3953, PodTemplate{}) + yyh3953.ElemContainerState(yyj3953) if r.TryDecodeAsNil() { - yyv3920[yyj3920] = PodTemplate{} + yyv3953[yyj3953] = PodTemplate{} } else { - yyv3922 := &yyv3920[yyj3920] - yyv3922.CodecDecodeSelf(d) + yyv3955 := &yyv3953[yyj3953] + yyv3955.CodecDecodeSelf(d) } } } } else { - yyj3920 := 0 - for ; !r.CheckBreak(); yyj3920++ { + yyj3953 := 0 + for ; !r.CheckBreak(); yyj3953++ { - if yyj3920 >= len(yyv3920) { - yyv3920 = append(yyv3920, PodTemplate{}) // var yyz3920 PodTemplate - yyc3920 = true + if yyj3953 >= len(yyv3953) { + yyv3953 = append(yyv3953, PodTemplate{}) // var yyz3953 PodTemplate + yyc3953 = true } - yyh3920.ElemContainerState(yyj3920) - if yyj3920 < len(yyv3920) { + yyh3953.ElemContainerState(yyj3953) + if yyj3953 < len(yyv3953) { if r.TryDecodeAsNil() { - yyv3920[yyj3920] = PodTemplate{} + yyv3953[yyj3953] = PodTemplate{} } else { - yyv3923 := &yyv3920[yyj3920] - yyv3923.CodecDecodeSelf(d) + yyv3956 := &yyv3953[yyj3953] + yyv3956.CodecDecodeSelf(d) } } else { @@ -49441,17 +49956,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3920 < len(yyv3920) { - yyv3920 = yyv3920[:yyj3920] - yyc3920 = true - } else if yyj3920 == 0 && yyv3920 == nil { - yyv3920 = []PodTemplate{} - yyc3920 = true + if yyj3953 < len(yyv3953) { + yyv3953 = yyv3953[:yyj3953] + yyc3953 = true + } else if yyj3953 == 0 && yyv3953 == nil { + yyv3953 = []PodTemplate{} + yyc3953 = true } } - yyh3920.End() - if yyc3920 { - *v = yyv3920 + yyh3953.End() + if yyc3953 { + *v = yyv3953 } } @@ -49460,10 +49975,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3924 := range v { + for _, yyv3957 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3925 := &yyv3924 - yy3925.CodecEncodeSelf(e) + yy3958 := &yyv3957 + yy3958.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49473,83 +49988,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3926 := *v - yyh3926, yyl3926 := z.DecSliceHelperStart() - var yyc3926 bool - if yyl3926 == 0 { - if yyv3926 == nil { - yyv3926 = []ReplicationController{} - yyc3926 = true - } else if len(yyv3926) != 0 { - yyv3926 = yyv3926[:0] - yyc3926 = true + yyv3959 := *v + yyh3959, yyl3959 := z.DecSliceHelperStart() + var yyc3959 bool + if yyl3959 == 0 { + if yyv3959 == nil { + yyv3959 = []ReplicationController{} + yyc3959 = true + } else if len(yyv3959) != 0 { + yyv3959 = yyv3959[:0] + yyc3959 = true } - } else if yyl3926 > 0 { - var yyrr3926, yyrl3926 int - var yyrt3926 bool - if yyl3926 > cap(yyv3926) { + } else if yyl3959 > 0 { + var yyrr3959, yyrl3959 int + var yyrt3959 bool + if yyl3959 > cap(yyv3959) { - yyrg3926 := len(yyv3926) > 0 - yyv23926 := yyv3926 - yyrl3926, yyrt3926 = z.DecInferLen(yyl3926, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3926 { - if yyrl3926 <= cap(yyv3926) { - yyv3926 = yyv3926[:yyrl3926] + yyrg3959 := len(yyv3959) > 0 + yyv23959 := yyv3959 + yyrl3959, yyrt3959 = z.DecInferLen(yyl3959, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3959 { + if yyrl3959 <= cap(yyv3959) { + yyv3959 = yyv3959[:yyrl3959] } else { - yyv3926 = make([]ReplicationController, yyrl3926) + yyv3959 = make([]ReplicationController, yyrl3959) } } else { - yyv3926 = make([]ReplicationController, yyrl3926) + yyv3959 = make([]ReplicationController, yyrl3959) } - yyc3926 = true - yyrr3926 = len(yyv3926) - if yyrg3926 { - copy(yyv3926, yyv23926) + yyc3959 = true + yyrr3959 = len(yyv3959) + if yyrg3959 { + copy(yyv3959, yyv23959) } - } else if yyl3926 != len(yyv3926) { - yyv3926 = yyv3926[:yyl3926] - yyc3926 = true + } else if yyl3959 != len(yyv3959) { + yyv3959 = yyv3959[:yyl3959] + yyc3959 = true } - yyj3926 := 0 - for ; yyj3926 < yyrr3926; yyj3926++ { - yyh3926.ElemContainerState(yyj3926) + yyj3959 := 0 + for ; yyj3959 < yyrr3959; yyj3959++ { + yyh3959.ElemContainerState(yyj3959) if r.TryDecodeAsNil() { - yyv3926[yyj3926] = ReplicationController{} + yyv3959[yyj3959] = ReplicationController{} } else { - yyv3927 := &yyv3926[yyj3926] - yyv3927.CodecDecodeSelf(d) + yyv3960 := &yyv3959[yyj3959] + yyv3960.CodecDecodeSelf(d) } } - if yyrt3926 { - for ; yyj3926 < yyl3926; yyj3926++ { - yyv3926 = append(yyv3926, ReplicationController{}) - yyh3926.ElemContainerState(yyj3926) + if yyrt3959 { + for ; yyj3959 < yyl3959; yyj3959++ { + yyv3959 = append(yyv3959, ReplicationController{}) + yyh3959.ElemContainerState(yyj3959) if r.TryDecodeAsNil() { - yyv3926[yyj3926] = ReplicationController{} + yyv3959[yyj3959] = ReplicationController{} } else { - yyv3928 := &yyv3926[yyj3926] - yyv3928.CodecDecodeSelf(d) + yyv3961 := &yyv3959[yyj3959] + yyv3961.CodecDecodeSelf(d) } } } } else { - yyj3926 := 0 - for ; !r.CheckBreak(); yyj3926++ { + yyj3959 := 0 + for ; !r.CheckBreak(); yyj3959++ { - if yyj3926 >= len(yyv3926) { - yyv3926 = append(yyv3926, ReplicationController{}) // var yyz3926 ReplicationController - yyc3926 = true + if yyj3959 >= len(yyv3959) { + yyv3959 = append(yyv3959, ReplicationController{}) // var yyz3959 ReplicationController + yyc3959 = true } - yyh3926.ElemContainerState(yyj3926) - if yyj3926 < len(yyv3926) { + yyh3959.ElemContainerState(yyj3959) + if yyj3959 < len(yyv3959) { if r.TryDecodeAsNil() { - yyv3926[yyj3926] = ReplicationController{} + yyv3959[yyj3959] = ReplicationController{} } else { - yyv3929 := &yyv3926[yyj3926] - yyv3929.CodecDecodeSelf(d) + yyv3962 := &yyv3959[yyj3959] + yyv3962.CodecDecodeSelf(d) } } else { @@ -49557,17 +50072,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3926 < len(yyv3926) { - yyv3926 = yyv3926[:yyj3926] - yyc3926 = true - } else if yyj3926 == 0 && yyv3926 == nil { - yyv3926 = []ReplicationController{} - yyc3926 = true + if yyj3959 < len(yyv3959) { + yyv3959 = yyv3959[:yyj3959] + yyc3959 = true + } else if yyj3959 == 0 && yyv3959 == nil { + yyv3959 = []ReplicationController{} + yyc3959 = true } } - yyh3926.End() - if yyc3926 { - *v = yyv3926 + yyh3959.End() + if yyc3959 { + *v = yyv3959 } } @@ -49576,10 +50091,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3930 := range v { + for _, yyv3963 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3931 := &yyv3930 - yy3931.CodecEncodeSelf(e) + yy3964 := &yyv3963 + yy3964.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49589,83 +50104,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3932 := *v - yyh3932, yyl3932 := z.DecSliceHelperStart() - var yyc3932 bool - if yyl3932 == 0 { - if yyv3932 == nil { - yyv3932 = []Service{} - yyc3932 = true - } else if len(yyv3932) != 0 { - yyv3932 = yyv3932[:0] - yyc3932 = true + yyv3965 := *v + yyh3965, yyl3965 := z.DecSliceHelperStart() + var yyc3965 bool + if yyl3965 == 0 { + if yyv3965 == nil { + yyv3965 = []Service{} + yyc3965 = true + } else if len(yyv3965) != 0 { + yyv3965 = yyv3965[:0] + yyc3965 = true } - } else if yyl3932 > 0 { - var yyrr3932, yyrl3932 int - var yyrt3932 bool - if yyl3932 > cap(yyv3932) { + } else if yyl3965 > 0 { + var yyrr3965, yyrl3965 int + var yyrt3965 bool + if yyl3965 > cap(yyv3965) { - yyrg3932 := len(yyv3932) > 0 - yyv23932 := yyv3932 - yyrl3932, yyrt3932 = z.DecInferLen(yyl3932, z.DecBasicHandle().MaxInitLen, 336) - if yyrt3932 { - if yyrl3932 <= cap(yyv3932) { - yyv3932 = yyv3932[:yyrl3932] + yyrg3965 := len(yyv3965) > 0 + yyv23965 := yyv3965 + yyrl3965, yyrt3965 = z.DecInferLen(yyl3965, z.DecBasicHandle().MaxInitLen, 336) + if yyrt3965 { + if yyrl3965 <= cap(yyv3965) { + yyv3965 = yyv3965[:yyrl3965] } else { - yyv3932 = make([]Service, yyrl3932) + yyv3965 = make([]Service, yyrl3965) } } else { - yyv3932 = make([]Service, yyrl3932) + yyv3965 = make([]Service, yyrl3965) } - yyc3932 = true - yyrr3932 = len(yyv3932) - if yyrg3932 { - copy(yyv3932, yyv23932) + yyc3965 = true + yyrr3965 = len(yyv3965) + if yyrg3965 { + copy(yyv3965, yyv23965) } - } else if yyl3932 != len(yyv3932) { - yyv3932 = yyv3932[:yyl3932] - yyc3932 = true + } else if yyl3965 != len(yyv3965) { + yyv3965 = yyv3965[:yyl3965] + yyc3965 = true } - yyj3932 := 0 - for ; yyj3932 < yyrr3932; yyj3932++ { - yyh3932.ElemContainerState(yyj3932) + yyj3965 := 0 + for ; yyj3965 < yyrr3965; yyj3965++ { + yyh3965.ElemContainerState(yyj3965) if r.TryDecodeAsNil() { - yyv3932[yyj3932] = Service{} + yyv3965[yyj3965] = Service{} } else { - yyv3933 := &yyv3932[yyj3932] - yyv3933.CodecDecodeSelf(d) + yyv3966 := &yyv3965[yyj3965] + yyv3966.CodecDecodeSelf(d) } } - if yyrt3932 { - for ; yyj3932 < yyl3932; yyj3932++ { - yyv3932 = append(yyv3932, Service{}) - yyh3932.ElemContainerState(yyj3932) + if yyrt3965 { + for ; yyj3965 < yyl3965; yyj3965++ { + yyv3965 = append(yyv3965, Service{}) + yyh3965.ElemContainerState(yyj3965) if r.TryDecodeAsNil() { - yyv3932[yyj3932] = Service{} + yyv3965[yyj3965] = Service{} } else { - yyv3934 := &yyv3932[yyj3932] - yyv3934.CodecDecodeSelf(d) + yyv3967 := &yyv3965[yyj3965] + yyv3967.CodecDecodeSelf(d) } } } } else { - yyj3932 := 0 - for ; !r.CheckBreak(); yyj3932++ { + yyj3965 := 0 + for ; !r.CheckBreak(); yyj3965++ { - if yyj3932 >= len(yyv3932) { - yyv3932 = append(yyv3932, Service{}) // var yyz3932 Service - yyc3932 = true + if yyj3965 >= len(yyv3965) { + yyv3965 = append(yyv3965, Service{}) // var yyz3965 Service + yyc3965 = true } - yyh3932.ElemContainerState(yyj3932) - if yyj3932 < len(yyv3932) { + yyh3965.ElemContainerState(yyj3965) + if yyj3965 < len(yyv3965) { if r.TryDecodeAsNil() { - yyv3932[yyj3932] = Service{} + yyv3965[yyj3965] = Service{} } else { - yyv3935 := &yyv3932[yyj3932] - yyv3935.CodecDecodeSelf(d) + yyv3968 := &yyv3965[yyj3965] + yyv3968.CodecDecodeSelf(d) } } else { @@ -49673,17 +50188,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3932 < len(yyv3932) { - yyv3932 = yyv3932[:yyj3932] - yyc3932 = true - } else if yyj3932 == 0 && yyv3932 == nil { - yyv3932 = []Service{} - yyc3932 = true + if yyj3965 < len(yyv3965) { + yyv3965 = yyv3965[:yyj3965] + yyc3965 = true + } else if yyj3965 == 0 && yyv3965 == nil { + yyv3965 = []Service{} + yyc3965 = true } } - yyh3932.End() - if yyc3932 { - *v = yyv3932 + yyh3965.End() + if yyc3965 { + *v = yyv3965 } } @@ -49692,10 +50207,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3936 := range v { + for _, yyv3969 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3937 := &yyv3936 - yy3937.CodecEncodeSelf(e) + yy3970 := &yyv3969 + yy3970.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49705,83 +50220,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3938 := *v - yyh3938, yyl3938 := z.DecSliceHelperStart() - var yyc3938 bool - if yyl3938 == 0 { - if yyv3938 == nil { - yyv3938 = []LoadBalancerIngress{} - yyc3938 = true - } else if len(yyv3938) != 0 { - yyv3938 = yyv3938[:0] - yyc3938 = true + yyv3971 := *v + yyh3971, yyl3971 := z.DecSliceHelperStart() + var yyc3971 bool + if yyl3971 == 0 { + if yyv3971 == nil { + yyv3971 = []LoadBalancerIngress{} + yyc3971 = true + } else if len(yyv3971) != 0 { + yyv3971 = yyv3971[:0] + yyc3971 = true } - } else if yyl3938 > 0 { - var yyrr3938, yyrl3938 int - var yyrt3938 bool - if yyl3938 > cap(yyv3938) { + } else if yyl3971 > 0 { + var yyrr3971, yyrl3971 int + var yyrt3971 bool + if yyl3971 > cap(yyv3971) { - yyrg3938 := len(yyv3938) > 0 - yyv23938 := yyv3938 - yyrl3938, yyrt3938 = z.DecInferLen(yyl3938, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3938 { - if yyrl3938 <= cap(yyv3938) { - yyv3938 = yyv3938[:yyrl3938] + yyrg3971 := len(yyv3971) > 0 + yyv23971 := yyv3971 + yyrl3971, yyrt3971 = z.DecInferLen(yyl3971, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3971 { + if yyrl3971 <= cap(yyv3971) { + yyv3971 = yyv3971[:yyrl3971] } else { - yyv3938 = make([]LoadBalancerIngress, yyrl3938) + yyv3971 = make([]LoadBalancerIngress, yyrl3971) } } else { - yyv3938 = make([]LoadBalancerIngress, yyrl3938) + yyv3971 = make([]LoadBalancerIngress, yyrl3971) } - yyc3938 = true - yyrr3938 = len(yyv3938) - if yyrg3938 { - copy(yyv3938, yyv23938) + yyc3971 = true + yyrr3971 = len(yyv3971) + if yyrg3971 { + copy(yyv3971, yyv23971) } - } else if yyl3938 != len(yyv3938) { - yyv3938 = yyv3938[:yyl3938] - yyc3938 = true + } else if yyl3971 != len(yyv3971) { + yyv3971 = yyv3971[:yyl3971] + yyc3971 = true } - yyj3938 := 0 - for ; yyj3938 < yyrr3938; yyj3938++ { - yyh3938.ElemContainerState(yyj3938) + yyj3971 := 0 + for ; yyj3971 < yyrr3971; yyj3971++ { + yyh3971.ElemContainerState(yyj3971) if r.TryDecodeAsNil() { - yyv3938[yyj3938] = LoadBalancerIngress{} + yyv3971[yyj3971] = LoadBalancerIngress{} } else { - yyv3939 := &yyv3938[yyj3938] - yyv3939.CodecDecodeSelf(d) + yyv3972 := &yyv3971[yyj3971] + yyv3972.CodecDecodeSelf(d) } } - if yyrt3938 { - for ; yyj3938 < yyl3938; yyj3938++ { - yyv3938 = append(yyv3938, LoadBalancerIngress{}) - yyh3938.ElemContainerState(yyj3938) + if yyrt3971 { + for ; yyj3971 < yyl3971; yyj3971++ { + yyv3971 = append(yyv3971, LoadBalancerIngress{}) + yyh3971.ElemContainerState(yyj3971) if r.TryDecodeAsNil() { - yyv3938[yyj3938] = LoadBalancerIngress{} + yyv3971[yyj3971] = LoadBalancerIngress{} } else { - yyv3940 := &yyv3938[yyj3938] - yyv3940.CodecDecodeSelf(d) + yyv3973 := &yyv3971[yyj3971] + yyv3973.CodecDecodeSelf(d) } } } } else { - yyj3938 := 0 - for ; !r.CheckBreak(); yyj3938++ { + yyj3971 := 0 + for ; !r.CheckBreak(); yyj3971++ { - if yyj3938 >= len(yyv3938) { - yyv3938 = append(yyv3938, LoadBalancerIngress{}) // var yyz3938 LoadBalancerIngress - yyc3938 = true + if yyj3971 >= len(yyv3971) { + yyv3971 = append(yyv3971, LoadBalancerIngress{}) // var yyz3971 LoadBalancerIngress + yyc3971 = true } - yyh3938.ElemContainerState(yyj3938) - if yyj3938 < len(yyv3938) { + yyh3971.ElemContainerState(yyj3971) + if yyj3971 < len(yyv3971) { if r.TryDecodeAsNil() { - yyv3938[yyj3938] = LoadBalancerIngress{} + yyv3971[yyj3971] = LoadBalancerIngress{} } else { - yyv3941 := &yyv3938[yyj3938] - yyv3941.CodecDecodeSelf(d) + yyv3974 := &yyv3971[yyj3971] + yyv3974.CodecDecodeSelf(d) } } else { @@ -49789,17 +50304,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3938 < len(yyv3938) { - yyv3938 = yyv3938[:yyj3938] - yyc3938 = true - } else if yyj3938 == 0 && yyv3938 == nil { - yyv3938 = []LoadBalancerIngress{} - yyc3938 = true + if yyj3971 < len(yyv3971) { + yyv3971 = yyv3971[:yyj3971] + yyc3971 = true + } else if yyj3971 == 0 && yyv3971 == nil { + yyv3971 = []LoadBalancerIngress{} + yyc3971 = true } } - yyh3938.End() - if yyc3938 { - *v = yyv3938 + yyh3971.End() + if yyc3971 { + *v = yyv3971 } } @@ -49808,10 +50323,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3942 := range v { + for _, yyv3975 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3943 := &yyv3942 - yy3943.CodecEncodeSelf(e) + yy3976 := &yyv3975 + yy3976.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49821,83 +50336,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3944 := *v - yyh3944, yyl3944 := z.DecSliceHelperStart() - var yyc3944 bool - if yyl3944 == 0 { - if yyv3944 == nil { - yyv3944 = []ServicePort{} - yyc3944 = true - } else if len(yyv3944) != 0 { - yyv3944 = yyv3944[:0] - yyc3944 = true + yyv3977 := *v + yyh3977, yyl3977 := z.DecSliceHelperStart() + var yyc3977 bool + if yyl3977 == 0 { + if yyv3977 == nil { + yyv3977 = []ServicePort{} + yyc3977 = true + } else if len(yyv3977) != 0 { + yyv3977 = yyv3977[:0] + yyc3977 = true } - } else if yyl3944 > 0 { - var yyrr3944, yyrl3944 int - var yyrt3944 bool - if yyl3944 > cap(yyv3944) { + } else if yyl3977 > 0 { + var yyrr3977, yyrl3977 int + var yyrt3977 bool + if yyl3977 > cap(yyv3977) { - yyrg3944 := len(yyv3944) > 0 - yyv23944 := yyv3944 - yyrl3944, yyrt3944 = z.DecInferLen(yyl3944, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3944 { - if yyrl3944 <= cap(yyv3944) { - yyv3944 = yyv3944[:yyrl3944] + yyrg3977 := len(yyv3977) > 0 + yyv23977 := yyv3977 + yyrl3977, yyrt3977 = z.DecInferLen(yyl3977, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3977 { + if yyrl3977 <= cap(yyv3977) { + yyv3977 = yyv3977[:yyrl3977] } else { - yyv3944 = make([]ServicePort, yyrl3944) + yyv3977 = make([]ServicePort, yyrl3977) } } else { - yyv3944 = make([]ServicePort, yyrl3944) + yyv3977 = make([]ServicePort, yyrl3977) } - yyc3944 = true - yyrr3944 = len(yyv3944) - if yyrg3944 { - copy(yyv3944, yyv23944) + yyc3977 = true + yyrr3977 = len(yyv3977) + if yyrg3977 { + copy(yyv3977, yyv23977) } - } else if yyl3944 != len(yyv3944) { - yyv3944 = yyv3944[:yyl3944] - yyc3944 = true + } else if yyl3977 != len(yyv3977) { + yyv3977 = yyv3977[:yyl3977] + yyc3977 = true } - yyj3944 := 0 - for ; yyj3944 < yyrr3944; yyj3944++ { - yyh3944.ElemContainerState(yyj3944) + yyj3977 := 0 + for ; yyj3977 < yyrr3977; yyj3977++ { + yyh3977.ElemContainerState(yyj3977) if r.TryDecodeAsNil() { - yyv3944[yyj3944] = ServicePort{} + yyv3977[yyj3977] = ServicePort{} } else { - yyv3945 := &yyv3944[yyj3944] - yyv3945.CodecDecodeSelf(d) + yyv3978 := &yyv3977[yyj3977] + yyv3978.CodecDecodeSelf(d) } } - if yyrt3944 { - for ; yyj3944 < yyl3944; yyj3944++ { - yyv3944 = append(yyv3944, ServicePort{}) - yyh3944.ElemContainerState(yyj3944) + if yyrt3977 { + for ; yyj3977 < yyl3977; yyj3977++ { + yyv3977 = append(yyv3977, ServicePort{}) + yyh3977.ElemContainerState(yyj3977) if r.TryDecodeAsNil() { - yyv3944[yyj3944] = ServicePort{} + yyv3977[yyj3977] = ServicePort{} } else { - yyv3946 := &yyv3944[yyj3944] - yyv3946.CodecDecodeSelf(d) + yyv3979 := &yyv3977[yyj3977] + yyv3979.CodecDecodeSelf(d) } } } } else { - yyj3944 := 0 - for ; !r.CheckBreak(); yyj3944++ { + yyj3977 := 0 + for ; !r.CheckBreak(); yyj3977++ { - if yyj3944 >= len(yyv3944) { - yyv3944 = append(yyv3944, ServicePort{}) // var yyz3944 ServicePort - yyc3944 = true + if yyj3977 >= len(yyv3977) { + yyv3977 = append(yyv3977, ServicePort{}) // var yyz3977 ServicePort + yyc3977 = true } - yyh3944.ElemContainerState(yyj3944) - if yyj3944 < len(yyv3944) { + yyh3977.ElemContainerState(yyj3977) + if yyj3977 < len(yyv3977) { if r.TryDecodeAsNil() { - yyv3944[yyj3944] = ServicePort{} + yyv3977[yyj3977] = ServicePort{} } else { - yyv3947 := &yyv3944[yyj3944] - yyv3947.CodecDecodeSelf(d) + yyv3980 := &yyv3977[yyj3977] + yyv3980.CodecDecodeSelf(d) } } else { @@ -49905,17 +50420,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3944 < len(yyv3944) { - yyv3944 = yyv3944[:yyj3944] - yyc3944 = true - } else if yyj3944 == 0 && yyv3944 == nil { - yyv3944 = []ServicePort{} - yyc3944 = true + if yyj3977 < len(yyv3977) { + yyv3977 = yyv3977[:yyj3977] + yyc3977 = true + } else if yyj3977 == 0 && yyv3977 == nil { + yyv3977 = []ServicePort{} + yyc3977 = true } } - yyh3944.End() - if yyc3944 { - *v = yyv3944 + yyh3977.End() + if yyc3977 { + *v = yyv3977 } } @@ -49924,10 +50439,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3948 := range v { + for _, yyv3981 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3949 := &yyv3948 - yy3949.CodecEncodeSelf(e) + yy3982 := &yyv3981 + yy3982.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49937,83 +50452,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3950 := *v - yyh3950, yyl3950 := z.DecSliceHelperStart() - var yyc3950 bool - if yyl3950 == 0 { - if yyv3950 == nil { - yyv3950 = []ObjectReference{} - yyc3950 = true - } else if len(yyv3950) != 0 { - yyv3950 = yyv3950[:0] - yyc3950 = true + yyv3983 := *v + yyh3983, yyl3983 := z.DecSliceHelperStart() + var yyc3983 bool + if yyl3983 == 0 { + if yyv3983 == nil { + yyv3983 = []ObjectReference{} + yyc3983 = true + } else if len(yyv3983) != 0 { + yyv3983 = yyv3983[:0] + yyc3983 = true } - } else if yyl3950 > 0 { - var yyrr3950, yyrl3950 int - var yyrt3950 bool - if yyl3950 > cap(yyv3950) { + } else if yyl3983 > 0 { + var yyrr3983, yyrl3983 int + var yyrt3983 bool + if yyl3983 > cap(yyv3983) { - yyrg3950 := len(yyv3950) > 0 - yyv23950 := yyv3950 - yyrl3950, yyrt3950 = z.DecInferLen(yyl3950, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3950 { - if yyrl3950 <= cap(yyv3950) { - yyv3950 = yyv3950[:yyrl3950] + yyrg3983 := len(yyv3983) > 0 + yyv23983 := yyv3983 + yyrl3983, yyrt3983 = z.DecInferLen(yyl3983, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3983 { + if yyrl3983 <= cap(yyv3983) { + yyv3983 = yyv3983[:yyrl3983] } else { - yyv3950 = make([]ObjectReference, yyrl3950) + yyv3983 = make([]ObjectReference, yyrl3983) } } else { - yyv3950 = make([]ObjectReference, yyrl3950) + yyv3983 = make([]ObjectReference, yyrl3983) } - yyc3950 = true - yyrr3950 = len(yyv3950) - if yyrg3950 { - copy(yyv3950, yyv23950) + yyc3983 = true + yyrr3983 = len(yyv3983) + if yyrg3983 { + copy(yyv3983, yyv23983) } - } else if yyl3950 != len(yyv3950) { - yyv3950 = yyv3950[:yyl3950] - yyc3950 = true + } else if yyl3983 != len(yyv3983) { + yyv3983 = yyv3983[:yyl3983] + yyc3983 = true } - yyj3950 := 0 - for ; yyj3950 < yyrr3950; yyj3950++ { - yyh3950.ElemContainerState(yyj3950) + yyj3983 := 0 + for ; yyj3983 < yyrr3983; yyj3983++ { + yyh3983.ElemContainerState(yyj3983) if r.TryDecodeAsNil() { - yyv3950[yyj3950] = ObjectReference{} + yyv3983[yyj3983] = ObjectReference{} } else { - yyv3951 := &yyv3950[yyj3950] - yyv3951.CodecDecodeSelf(d) + yyv3984 := &yyv3983[yyj3983] + yyv3984.CodecDecodeSelf(d) } } - if yyrt3950 { - for ; yyj3950 < yyl3950; yyj3950++ { - yyv3950 = append(yyv3950, ObjectReference{}) - yyh3950.ElemContainerState(yyj3950) + if yyrt3983 { + for ; yyj3983 < yyl3983; yyj3983++ { + yyv3983 = append(yyv3983, ObjectReference{}) + yyh3983.ElemContainerState(yyj3983) if r.TryDecodeAsNil() { - yyv3950[yyj3950] = ObjectReference{} + yyv3983[yyj3983] = ObjectReference{} } else { - yyv3952 := &yyv3950[yyj3950] - yyv3952.CodecDecodeSelf(d) + yyv3985 := &yyv3983[yyj3983] + yyv3985.CodecDecodeSelf(d) } } } } else { - yyj3950 := 0 - for ; !r.CheckBreak(); yyj3950++ { + yyj3983 := 0 + for ; !r.CheckBreak(); yyj3983++ { - if yyj3950 >= len(yyv3950) { - yyv3950 = append(yyv3950, ObjectReference{}) // var yyz3950 ObjectReference - yyc3950 = true + if yyj3983 >= len(yyv3983) { + yyv3983 = append(yyv3983, ObjectReference{}) // var yyz3983 ObjectReference + yyc3983 = true } - yyh3950.ElemContainerState(yyj3950) - if yyj3950 < len(yyv3950) { + yyh3983.ElemContainerState(yyj3983) + if yyj3983 < len(yyv3983) { if r.TryDecodeAsNil() { - yyv3950[yyj3950] = ObjectReference{} + yyv3983[yyj3983] = ObjectReference{} } else { - yyv3953 := &yyv3950[yyj3950] - yyv3953.CodecDecodeSelf(d) + yyv3986 := &yyv3983[yyj3983] + yyv3986.CodecDecodeSelf(d) } } else { @@ -50021,17 +50536,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3950 < len(yyv3950) { - yyv3950 = yyv3950[:yyj3950] - yyc3950 = true - } else if yyj3950 == 0 && yyv3950 == nil { - yyv3950 = []ObjectReference{} - yyc3950 = true + if yyj3983 < len(yyv3983) { + yyv3983 = yyv3983[:yyj3983] + yyc3983 = true + } else if yyj3983 == 0 && yyv3983 == nil { + yyv3983 = []ObjectReference{} + yyc3983 = true } } - yyh3950.End() - if yyc3950 { - *v = yyv3950 + yyh3983.End() + if yyc3983 { + *v = yyv3983 } } @@ -50040,10 +50555,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3954 := range v { + for _, yyv3987 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3955 := &yyv3954 - yy3955.CodecEncodeSelf(e) + yy3988 := &yyv3987 + yy3988.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50053,83 +50568,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3956 := *v - yyh3956, yyl3956 := z.DecSliceHelperStart() - var yyc3956 bool - if yyl3956 == 0 { - if yyv3956 == nil { - yyv3956 = []ServiceAccount{} - yyc3956 = true - } else if len(yyv3956) != 0 { - yyv3956 = yyv3956[:0] - yyc3956 = true + yyv3989 := *v + yyh3989, yyl3989 := z.DecSliceHelperStart() + var yyc3989 bool + if yyl3989 == 0 { + if yyv3989 == nil { + yyv3989 = []ServiceAccount{} + yyc3989 = true + } else if len(yyv3989) != 0 { + yyv3989 = yyv3989[:0] + yyc3989 = true } - } else if yyl3956 > 0 { - var yyrr3956, yyrl3956 int - var yyrt3956 bool - if yyl3956 > cap(yyv3956) { + } else if yyl3989 > 0 { + var yyrr3989, yyrl3989 int + var yyrt3989 bool + if yyl3989 > cap(yyv3989) { - yyrg3956 := len(yyv3956) > 0 - yyv23956 := yyv3956 - yyrl3956, yyrt3956 = z.DecInferLen(yyl3956, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3956 { - if yyrl3956 <= cap(yyv3956) { - yyv3956 = yyv3956[:yyrl3956] + yyrg3989 := len(yyv3989) > 0 + yyv23989 := yyv3989 + yyrl3989, yyrt3989 = z.DecInferLen(yyl3989, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3989 { + if yyrl3989 <= cap(yyv3989) { + yyv3989 = yyv3989[:yyrl3989] } else { - yyv3956 = make([]ServiceAccount, yyrl3956) + yyv3989 = make([]ServiceAccount, yyrl3989) } } else { - yyv3956 = make([]ServiceAccount, yyrl3956) + yyv3989 = make([]ServiceAccount, yyrl3989) } - yyc3956 = true - yyrr3956 = len(yyv3956) - if yyrg3956 { - copy(yyv3956, yyv23956) + yyc3989 = true + yyrr3989 = len(yyv3989) + if yyrg3989 { + copy(yyv3989, yyv23989) } - } else if yyl3956 != len(yyv3956) { - yyv3956 = yyv3956[:yyl3956] - yyc3956 = true + } else if yyl3989 != len(yyv3989) { + yyv3989 = yyv3989[:yyl3989] + yyc3989 = true } - yyj3956 := 0 - for ; yyj3956 < yyrr3956; yyj3956++ { - yyh3956.ElemContainerState(yyj3956) + yyj3989 := 0 + for ; yyj3989 < yyrr3989; yyj3989++ { + yyh3989.ElemContainerState(yyj3989) if r.TryDecodeAsNil() { - yyv3956[yyj3956] = ServiceAccount{} + yyv3989[yyj3989] = ServiceAccount{} } else { - yyv3957 := &yyv3956[yyj3956] - yyv3957.CodecDecodeSelf(d) + yyv3990 := &yyv3989[yyj3989] + yyv3990.CodecDecodeSelf(d) } } - if yyrt3956 { - for ; yyj3956 < yyl3956; yyj3956++ { - yyv3956 = append(yyv3956, ServiceAccount{}) - yyh3956.ElemContainerState(yyj3956) + if yyrt3989 { + for ; yyj3989 < yyl3989; yyj3989++ { + yyv3989 = append(yyv3989, ServiceAccount{}) + yyh3989.ElemContainerState(yyj3989) if r.TryDecodeAsNil() { - yyv3956[yyj3956] = ServiceAccount{} + yyv3989[yyj3989] = ServiceAccount{} } else { - yyv3958 := &yyv3956[yyj3956] - yyv3958.CodecDecodeSelf(d) + yyv3991 := &yyv3989[yyj3989] + yyv3991.CodecDecodeSelf(d) } } } } else { - yyj3956 := 0 - for ; !r.CheckBreak(); yyj3956++ { + yyj3989 := 0 + for ; !r.CheckBreak(); yyj3989++ { - if yyj3956 >= len(yyv3956) { - yyv3956 = append(yyv3956, ServiceAccount{}) // var yyz3956 ServiceAccount - yyc3956 = true + if yyj3989 >= len(yyv3989) { + yyv3989 = append(yyv3989, ServiceAccount{}) // var yyz3989 ServiceAccount + yyc3989 = true } - yyh3956.ElemContainerState(yyj3956) - if yyj3956 < len(yyv3956) { + yyh3989.ElemContainerState(yyj3989) + if yyj3989 < len(yyv3989) { if r.TryDecodeAsNil() { - yyv3956[yyj3956] = ServiceAccount{} + yyv3989[yyj3989] = ServiceAccount{} } else { - yyv3959 := &yyv3956[yyj3956] - yyv3959.CodecDecodeSelf(d) + yyv3992 := &yyv3989[yyj3989] + yyv3992.CodecDecodeSelf(d) } } else { @@ -50137,17 +50652,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3956 < len(yyv3956) { - yyv3956 = yyv3956[:yyj3956] - yyc3956 = true - } else if yyj3956 == 0 && yyv3956 == nil { - yyv3956 = []ServiceAccount{} - yyc3956 = true + if yyj3989 < len(yyv3989) { + yyv3989 = yyv3989[:yyj3989] + yyc3989 = true + } else if yyj3989 == 0 && yyv3989 == nil { + yyv3989 = []ServiceAccount{} + yyc3989 = true } } - yyh3956.End() - if yyc3956 { - *v = yyv3956 + yyh3989.End() + if yyc3989 { + *v = yyv3989 } } @@ -50156,10 +50671,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3960 := range v { + for _, yyv3993 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3961 := &yyv3960 - yy3961.CodecEncodeSelf(e) + yy3994 := &yyv3993 + yy3994.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50169,83 +50684,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3962 := *v - yyh3962, yyl3962 := z.DecSliceHelperStart() - var yyc3962 bool - if yyl3962 == 0 { - if yyv3962 == nil { - yyv3962 = []EndpointSubset{} - yyc3962 = true - } else if len(yyv3962) != 0 { - yyv3962 = yyv3962[:0] - yyc3962 = true + yyv3995 := *v + yyh3995, yyl3995 := z.DecSliceHelperStart() + var yyc3995 bool + if yyl3995 == 0 { + if yyv3995 == nil { + yyv3995 = []EndpointSubset{} + yyc3995 = true + } else if len(yyv3995) != 0 { + yyv3995 = yyv3995[:0] + yyc3995 = true } - } else if yyl3962 > 0 { - var yyrr3962, yyrl3962 int - var yyrt3962 bool - if yyl3962 > cap(yyv3962) { + } else if yyl3995 > 0 { + var yyrr3995, yyrl3995 int + var yyrt3995 bool + if yyl3995 > cap(yyv3995) { - yyrg3962 := len(yyv3962) > 0 - yyv23962 := yyv3962 - yyrl3962, yyrt3962 = z.DecInferLen(yyl3962, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3962 { - if yyrl3962 <= cap(yyv3962) { - yyv3962 = yyv3962[:yyrl3962] + yyrg3995 := len(yyv3995) > 0 + yyv23995 := yyv3995 + yyrl3995, yyrt3995 = z.DecInferLen(yyl3995, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3995 { + if yyrl3995 <= cap(yyv3995) { + yyv3995 = yyv3995[:yyrl3995] } else { - yyv3962 = make([]EndpointSubset, yyrl3962) + yyv3995 = make([]EndpointSubset, yyrl3995) } } else { - yyv3962 = make([]EndpointSubset, yyrl3962) + yyv3995 = make([]EndpointSubset, yyrl3995) } - yyc3962 = true - yyrr3962 = len(yyv3962) - if yyrg3962 { - copy(yyv3962, yyv23962) + yyc3995 = true + yyrr3995 = len(yyv3995) + if yyrg3995 { + copy(yyv3995, yyv23995) } - } else if yyl3962 != len(yyv3962) { - yyv3962 = yyv3962[:yyl3962] - yyc3962 = true + } else if yyl3995 != len(yyv3995) { + yyv3995 = yyv3995[:yyl3995] + yyc3995 = true } - yyj3962 := 0 - for ; yyj3962 < yyrr3962; yyj3962++ { - yyh3962.ElemContainerState(yyj3962) + yyj3995 := 0 + for ; yyj3995 < yyrr3995; yyj3995++ { + yyh3995.ElemContainerState(yyj3995) if r.TryDecodeAsNil() { - yyv3962[yyj3962] = EndpointSubset{} + yyv3995[yyj3995] = EndpointSubset{} } else { - yyv3963 := &yyv3962[yyj3962] - yyv3963.CodecDecodeSelf(d) + yyv3996 := &yyv3995[yyj3995] + yyv3996.CodecDecodeSelf(d) } } - if yyrt3962 { - for ; yyj3962 < yyl3962; yyj3962++ { - yyv3962 = append(yyv3962, EndpointSubset{}) - yyh3962.ElemContainerState(yyj3962) + if yyrt3995 { + for ; yyj3995 < yyl3995; yyj3995++ { + yyv3995 = append(yyv3995, EndpointSubset{}) + yyh3995.ElemContainerState(yyj3995) if r.TryDecodeAsNil() { - yyv3962[yyj3962] = EndpointSubset{} + yyv3995[yyj3995] = EndpointSubset{} } else { - yyv3964 := &yyv3962[yyj3962] - yyv3964.CodecDecodeSelf(d) + yyv3997 := &yyv3995[yyj3995] + yyv3997.CodecDecodeSelf(d) } } } } else { - yyj3962 := 0 - for ; !r.CheckBreak(); yyj3962++ { + yyj3995 := 0 + for ; !r.CheckBreak(); yyj3995++ { - if yyj3962 >= len(yyv3962) { - yyv3962 = append(yyv3962, EndpointSubset{}) // var yyz3962 EndpointSubset - yyc3962 = true + if yyj3995 >= len(yyv3995) { + yyv3995 = append(yyv3995, EndpointSubset{}) // var yyz3995 EndpointSubset + yyc3995 = true } - yyh3962.ElemContainerState(yyj3962) - if yyj3962 < len(yyv3962) { + yyh3995.ElemContainerState(yyj3995) + if yyj3995 < len(yyv3995) { if r.TryDecodeAsNil() { - yyv3962[yyj3962] = EndpointSubset{} + yyv3995[yyj3995] = EndpointSubset{} } else { - yyv3965 := &yyv3962[yyj3962] - yyv3965.CodecDecodeSelf(d) + yyv3998 := &yyv3995[yyj3995] + yyv3998.CodecDecodeSelf(d) } } else { @@ -50253,17 +50768,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3962 < len(yyv3962) { - yyv3962 = yyv3962[:yyj3962] - yyc3962 = true - } else if yyj3962 == 0 && yyv3962 == nil { - yyv3962 = []EndpointSubset{} - yyc3962 = true + if yyj3995 < len(yyv3995) { + yyv3995 = yyv3995[:yyj3995] + yyc3995 = true + } else if yyj3995 == 0 && yyv3995 == nil { + yyv3995 = []EndpointSubset{} + yyc3995 = true } } - yyh3962.End() - if yyc3962 { - *v = yyv3962 + yyh3995.End() + if yyc3995 { + *v = yyv3995 } } @@ -50272,10 +50787,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3966 := range v { + for _, yyv3999 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3967 := &yyv3966 - yy3967.CodecEncodeSelf(e) + yy4000 := &yyv3999 + yy4000.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50285,83 +50800,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3968 := *v - yyh3968, yyl3968 := z.DecSliceHelperStart() - var yyc3968 bool - if yyl3968 == 0 { - if yyv3968 == nil { - yyv3968 = []EndpointAddress{} - yyc3968 = true - } else if len(yyv3968) != 0 { - yyv3968 = yyv3968[:0] - yyc3968 = true + yyv4001 := *v + yyh4001, yyl4001 := z.DecSliceHelperStart() + var yyc4001 bool + if yyl4001 == 0 { + if yyv4001 == nil { + yyv4001 = []EndpointAddress{} + yyc4001 = true + } else if len(yyv4001) != 0 { + yyv4001 = yyv4001[:0] + yyc4001 = true } - } else if yyl3968 > 0 { - var yyrr3968, yyrl3968 int - var yyrt3968 bool - if yyl3968 > cap(yyv3968) { + } else if yyl4001 > 0 { + var yyrr4001, yyrl4001 int + var yyrt4001 bool + if yyl4001 > cap(yyv4001) { - yyrg3968 := len(yyv3968) > 0 - yyv23968 := yyv3968 - yyrl3968, yyrt3968 = z.DecInferLen(yyl3968, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3968 { - if yyrl3968 <= cap(yyv3968) { - yyv3968 = yyv3968[:yyrl3968] + yyrg4001 := len(yyv4001) > 0 + yyv24001 := yyv4001 + yyrl4001, yyrt4001 = z.DecInferLen(yyl4001, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4001 { + if yyrl4001 <= cap(yyv4001) { + yyv4001 = yyv4001[:yyrl4001] } else { - yyv3968 = make([]EndpointAddress, yyrl3968) + yyv4001 = make([]EndpointAddress, yyrl4001) } } else { - yyv3968 = make([]EndpointAddress, yyrl3968) + yyv4001 = make([]EndpointAddress, yyrl4001) } - yyc3968 = true - yyrr3968 = len(yyv3968) - if yyrg3968 { - copy(yyv3968, yyv23968) + yyc4001 = true + yyrr4001 = len(yyv4001) + if yyrg4001 { + copy(yyv4001, yyv24001) } - } else if yyl3968 != len(yyv3968) { - yyv3968 = yyv3968[:yyl3968] - yyc3968 = true + } else if yyl4001 != len(yyv4001) { + yyv4001 = yyv4001[:yyl4001] + yyc4001 = true } - yyj3968 := 0 - for ; yyj3968 < yyrr3968; yyj3968++ { - yyh3968.ElemContainerState(yyj3968) + yyj4001 := 0 + for ; yyj4001 < yyrr4001; yyj4001++ { + yyh4001.ElemContainerState(yyj4001) if r.TryDecodeAsNil() { - yyv3968[yyj3968] = EndpointAddress{} + yyv4001[yyj4001] = EndpointAddress{} } else { - yyv3969 := &yyv3968[yyj3968] - yyv3969.CodecDecodeSelf(d) + yyv4002 := &yyv4001[yyj4001] + yyv4002.CodecDecodeSelf(d) } } - if yyrt3968 { - for ; yyj3968 < yyl3968; yyj3968++ { - yyv3968 = append(yyv3968, EndpointAddress{}) - yyh3968.ElemContainerState(yyj3968) + if yyrt4001 { + for ; yyj4001 < yyl4001; yyj4001++ { + yyv4001 = append(yyv4001, EndpointAddress{}) + yyh4001.ElemContainerState(yyj4001) if r.TryDecodeAsNil() { - yyv3968[yyj3968] = EndpointAddress{} + yyv4001[yyj4001] = EndpointAddress{} } else { - yyv3970 := &yyv3968[yyj3968] - yyv3970.CodecDecodeSelf(d) + yyv4003 := &yyv4001[yyj4001] + yyv4003.CodecDecodeSelf(d) } } } } else { - yyj3968 := 0 - for ; !r.CheckBreak(); yyj3968++ { + yyj4001 := 0 + for ; !r.CheckBreak(); yyj4001++ { - if yyj3968 >= len(yyv3968) { - yyv3968 = append(yyv3968, EndpointAddress{}) // var yyz3968 EndpointAddress - yyc3968 = true + if yyj4001 >= len(yyv4001) { + yyv4001 = append(yyv4001, EndpointAddress{}) // var yyz4001 EndpointAddress + yyc4001 = true } - yyh3968.ElemContainerState(yyj3968) - if yyj3968 < len(yyv3968) { + yyh4001.ElemContainerState(yyj4001) + if yyj4001 < len(yyv4001) { if r.TryDecodeAsNil() { - yyv3968[yyj3968] = EndpointAddress{} + yyv4001[yyj4001] = EndpointAddress{} } else { - yyv3971 := &yyv3968[yyj3968] - yyv3971.CodecDecodeSelf(d) + yyv4004 := &yyv4001[yyj4001] + yyv4004.CodecDecodeSelf(d) } } else { @@ -50369,17 +50884,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3968 < len(yyv3968) { - yyv3968 = yyv3968[:yyj3968] - yyc3968 = true - } else if yyj3968 == 0 && yyv3968 == nil { - yyv3968 = []EndpointAddress{} - yyc3968 = true + if yyj4001 < len(yyv4001) { + yyv4001 = yyv4001[:yyj4001] + yyc4001 = true + } else if yyj4001 == 0 && yyv4001 == nil { + yyv4001 = []EndpointAddress{} + yyc4001 = true } } - yyh3968.End() - if yyc3968 { - *v = yyv3968 + yyh4001.End() + if yyc4001 { + *v = yyv4001 } } @@ -50388,10 +50903,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3972 := range v { + for _, yyv4005 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3973 := &yyv3972 - yy3973.CodecEncodeSelf(e) + yy4006 := &yyv4005 + yy4006.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50401,83 +50916,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3974 := *v - yyh3974, yyl3974 := z.DecSliceHelperStart() - var yyc3974 bool - if yyl3974 == 0 { - if yyv3974 == nil { - yyv3974 = []EndpointPort{} - yyc3974 = true - } else if len(yyv3974) != 0 { - yyv3974 = yyv3974[:0] - yyc3974 = true + yyv4007 := *v + yyh4007, yyl4007 := z.DecSliceHelperStart() + var yyc4007 bool + if yyl4007 == 0 { + if yyv4007 == nil { + yyv4007 = []EndpointPort{} + yyc4007 = true + } else if len(yyv4007) != 0 { + yyv4007 = yyv4007[:0] + yyc4007 = true } - } else if yyl3974 > 0 { - var yyrr3974, yyrl3974 int - var yyrt3974 bool - if yyl3974 > cap(yyv3974) { + } else if yyl4007 > 0 { + var yyrr4007, yyrl4007 int + var yyrt4007 bool + if yyl4007 > cap(yyv4007) { - yyrg3974 := len(yyv3974) > 0 - yyv23974 := yyv3974 - yyrl3974, yyrt3974 = z.DecInferLen(yyl3974, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3974 { - if yyrl3974 <= cap(yyv3974) { - yyv3974 = yyv3974[:yyrl3974] + yyrg4007 := len(yyv4007) > 0 + yyv24007 := yyv4007 + yyrl4007, yyrt4007 = z.DecInferLen(yyl4007, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4007 { + if yyrl4007 <= cap(yyv4007) { + yyv4007 = yyv4007[:yyrl4007] } else { - yyv3974 = make([]EndpointPort, yyrl3974) + yyv4007 = make([]EndpointPort, yyrl4007) } } else { - yyv3974 = make([]EndpointPort, yyrl3974) + yyv4007 = make([]EndpointPort, yyrl4007) } - yyc3974 = true - yyrr3974 = len(yyv3974) - if yyrg3974 { - copy(yyv3974, yyv23974) + yyc4007 = true + yyrr4007 = len(yyv4007) + if yyrg4007 { + copy(yyv4007, yyv24007) } - } else if yyl3974 != len(yyv3974) { - yyv3974 = yyv3974[:yyl3974] - yyc3974 = true + } else if yyl4007 != len(yyv4007) { + yyv4007 = yyv4007[:yyl4007] + yyc4007 = true } - yyj3974 := 0 - for ; yyj3974 < yyrr3974; yyj3974++ { - yyh3974.ElemContainerState(yyj3974) + yyj4007 := 0 + for ; yyj4007 < yyrr4007; yyj4007++ { + yyh4007.ElemContainerState(yyj4007) if r.TryDecodeAsNil() { - yyv3974[yyj3974] = EndpointPort{} + yyv4007[yyj4007] = EndpointPort{} } else { - yyv3975 := &yyv3974[yyj3974] - yyv3975.CodecDecodeSelf(d) + yyv4008 := &yyv4007[yyj4007] + yyv4008.CodecDecodeSelf(d) } } - if yyrt3974 { - for ; yyj3974 < yyl3974; yyj3974++ { - yyv3974 = append(yyv3974, EndpointPort{}) - yyh3974.ElemContainerState(yyj3974) + if yyrt4007 { + for ; yyj4007 < yyl4007; yyj4007++ { + yyv4007 = append(yyv4007, EndpointPort{}) + yyh4007.ElemContainerState(yyj4007) if r.TryDecodeAsNil() { - yyv3974[yyj3974] = EndpointPort{} + yyv4007[yyj4007] = EndpointPort{} } else { - yyv3976 := &yyv3974[yyj3974] - yyv3976.CodecDecodeSelf(d) + yyv4009 := &yyv4007[yyj4007] + yyv4009.CodecDecodeSelf(d) } } } } else { - yyj3974 := 0 - for ; !r.CheckBreak(); yyj3974++ { + yyj4007 := 0 + for ; !r.CheckBreak(); yyj4007++ { - if yyj3974 >= len(yyv3974) { - yyv3974 = append(yyv3974, EndpointPort{}) // var yyz3974 EndpointPort - yyc3974 = true + if yyj4007 >= len(yyv4007) { + yyv4007 = append(yyv4007, EndpointPort{}) // var yyz4007 EndpointPort + yyc4007 = true } - yyh3974.ElemContainerState(yyj3974) - if yyj3974 < len(yyv3974) { + yyh4007.ElemContainerState(yyj4007) + if yyj4007 < len(yyv4007) { if r.TryDecodeAsNil() { - yyv3974[yyj3974] = EndpointPort{} + yyv4007[yyj4007] = EndpointPort{} } else { - yyv3977 := &yyv3974[yyj3974] - yyv3977.CodecDecodeSelf(d) + yyv4010 := &yyv4007[yyj4007] + yyv4010.CodecDecodeSelf(d) } } else { @@ -50485,17 +51000,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3974 < len(yyv3974) { - yyv3974 = yyv3974[:yyj3974] - yyc3974 = true - } else if yyj3974 == 0 && yyv3974 == nil { - yyv3974 = []EndpointPort{} - yyc3974 = true + if yyj4007 < len(yyv4007) { + yyv4007 = yyv4007[:yyj4007] + yyc4007 = true + } else if yyj4007 == 0 && yyv4007 == nil { + yyv4007 = []EndpointPort{} + yyc4007 = true } } - yyh3974.End() - if yyc3974 { - *v = yyv3974 + yyh4007.End() + if yyc4007 { + *v = yyv4007 } } @@ -50504,10 +51019,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3978 := range v { + for _, yyv4011 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3979 := &yyv3978 - yy3979.CodecEncodeSelf(e) + yy4012 := &yyv4011 + yy4012.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50517,83 +51032,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3980 := *v - yyh3980, yyl3980 := z.DecSliceHelperStart() - var yyc3980 bool - if yyl3980 == 0 { - if yyv3980 == nil { - yyv3980 = []Endpoints{} - yyc3980 = true - } else if len(yyv3980) != 0 { - yyv3980 = yyv3980[:0] - yyc3980 = true + yyv4013 := *v + yyh4013, yyl4013 := z.DecSliceHelperStart() + var yyc4013 bool + if yyl4013 == 0 { + if yyv4013 == nil { + yyv4013 = []Endpoints{} + yyc4013 = true + } else if len(yyv4013) != 0 { + yyv4013 = yyv4013[:0] + yyc4013 = true } - } else if yyl3980 > 0 { - var yyrr3980, yyrl3980 int - var yyrt3980 bool - if yyl3980 > cap(yyv3980) { + } else if yyl4013 > 0 { + var yyrr4013, yyrl4013 int + var yyrt4013 bool + if yyl4013 > cap(yyv4013) { - yyrg3980 := len(yyv3980) > 0 - yyv23980 := yyv3980 - yyrl3980, yyrt3980 = z.DecInferLen(yyl3980, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3980 { - if yyrl3980 <= cap(yyv3980) { - yyv3980 = yyv3980[:yyrl3980] + yyrg4013 := len(yyv4013) > 0 + yyv24013 := yyv4013 + yyrl4013, yyrt4013 = z.DecInferLen(yyl4013, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4013 { + if yyrl4013 <= cap(yyv4013) { + yyv4013 = yyv4013[:yyrl4013] } else { - yyv3980 = make([]Endpoints, yyrl3980) + yyv4013 = make([]Endpoints, yyrl4013) } } else { - yyv3980 = make([]Endpoints, yyrl3980) + yyv4013 = make([]Endpoints, yyrl4013) } - yyc3980 = true - yyrr3980 = len(yyv3980) - if yyrg3980 { - copy(yyv3980, yyv23980) + yyc4013 = true + yyrr4013 = len(yyv4013) + if yyrg4013 { + copy(yyv4013, yyv24013) } - } else if yyl3980 != len(yyv3980) { - yyv3980 = yyv3980[:yyl3980] - yyc3980 = true + } else if yyl4013 != len(yyv4013) { + yyv4013 = yyv4013[:yyl4013] + yyc4013 = true } - yyj3980 := 0 - for ; yyj3980 < yyrr3980; yyj3980++ { - yyh3980.ElemContainerState(yyj3980) + yyj4013 := 0 + for ; yyj4013 < yyrr4013; yyj4013++ { + yyh4013.ElemContainerState(yyj4013) if r.TryDecodeAsNil() { - yyv3980[yyj3980] = Endpoints{} + yyv4013[yyj4013] = Endpoints{} } else { - yyv3981 := &yyv3980[yyj3980] - yyv3981.CodecDecodeSelf(d) + yyv4014 := &yyv4013[yyj4013] + yyv4014.CodecDecodeSelf(d) } } - if yyrt3980 { - for ; yyj3980 < yyl3980; yyj3980++ { - yyv3980 = append(yyv3980, Endpoints{}) - yyh3980.ElemContainerState(yyj3980) + if yyrt4013 { + for ; yyj4013 < yyl4013; yyj4013++ { + yyv4013 = append(yyv4013, Endpoints{}) + yyh4013.ElemContainerState(yyj4013) if r.TryDecodeAsNil() { - yyv3980[yyj3980] = Endpoints{} + yyv4013[yyj4013] = Endpoints{} } else { - yyv3982 := &yyv3980[yyj3980] - yyv3982.CodecDecodeSelf(d) + yyv4015 := &yyv4013[yyj4013] + yyv4015.CodecDecodeSelf(d) } } } } else { - yyj3980 := 0 - for ; !r.CheckBreak(); yyj3980++ { + yyj4013 := 0 + for ; !r.CheckBreak(); yyj4013++ { - if yyj3980 >= len(yyv3980) { - yyv3980 = append(yyv3980, Endpoints{}) // var yyz3980 Endpoints - yyc3980 = true + if yyj4013 >= len(yyv4013) { + yyv4013 = append(yyv4013, Endpoints{}) // var yyz4013 Endpoints + yyc4013 = true } - yyh3980.ElemContainerState(yyj3980) - if yyj3980 < len(yyv3980) { + yyh4013.ElemContainerState(yyj4013) + if yyj4013 < len(yyv4013) { if r.TryDecodeAsNil() { - yyv3980[yyj3980] = Endpoints{} + yyv4013[yyj4013] = Endpoints{} } else { - yyv3983 := &yyv3980[yyj3980] - yyv3983.CodecDecodeSelf(d) + yyv4016 := &yyv4013[yyj4013] + yyv4016.CodecDecodeSelf(d) } } else { @@ -50601,17 +51116,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3980 < len(yyv3980) { - yyv3980 = yyv3980[:yyj3980] - yyc3980 = true - } else if yyj3980 == 0 && yyv3980 == nil { - yyv3980 = []Endpoints{} - yyc3980 = true + if yyj4013 < len(yyv4013) { + yyv4013 = yyv4013[:yyj4013] + yyc4013 = true + } else if yyj4013 == 0 && yyv4013 == nil { + yyv4013 = []Endpoints{} + yyc4013 = true } } - yyh3980.End() - if yyc3980 { - *v = yyv3980 + yyh4013.End() + if yyc4013 { + *v = yyv4013 } } @@ -50620,10 +51135,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3984 := range v { + for _, yyv4017 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3985 := &yyv3984 - yy3985.CodecEncodeSelf(e) + yy4018 := &yyv4017 + yy4018.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50633,589 +51148,12 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3986 := *v - yyh3986, yyl3986 := z.DecSliceHelperStart() - var yyc3986 bool - if yyl3986 == 0 { - if yyv3986 == nil { - yyv3986 = []NodeCondition{} - yyc3986 = true - } else if len(yyv3986) != 0 { - yyv3986 = yyv3986[:0] - yyc3986 = true - } - } else if yyl3986 > 0 { - var yyrr3986, yyrl3986 int - var yyrt3986 bool - if yyl3986 > cap(yyv3986) { - - yyrg3986 := len(yyv3986) > 0 - yyv23986 := yyv3986 - yyrl3986, yyrt3986 = z.DecInferLen(yyl3986, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3986 { - if yyrl3986 <= cap(yyv3986) { - yyv3986 = yyv3986[:yyrl3986] - } else { - yyv3986 = make([]NodeCondition, yyrl3986) - } - } else { - yyv3986 = make([]NodeCondition, yyrl3986) - } - yyc3986 = true - yyrr3986 = len(yyv3986) - if yyrg3986 { - copy(yyv3986, yyv23986) - } - } else if yyl3986 != len(yyv3986) { - yyv3986 = yyv3986[:yyl3986] - yyc3986 = true - } - yyj3986 := 0 - for ; yyj3986 < yyrr3986; yyj3986++ { - yyh3986.ElemContainerState(yyj3986) - if r.TryDecodeAsNil() { - yyv3986[yyj3986] = NodeCondition{} - } else { - yyv3987 := &yyv3986[yyj3986] - yyv3987.CodecDecodeSelf(d) - } - - } - if yyrt3986 { - for ; yyj3986 < yyl3986; yyj3986++ { - yyv3986 = append(yyv3986, NodeCondition{}) - yyh3986.ElemContainerState(yyj3986) - if r.TryDecodeAsNil() { - yyv3986[yyj3986] = NodeCondition{} - } else { - yyv3988 := &yyv3986[yyj3986] - yyv3988.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3986 := 0 - for ; !r.CheckBreak(); yyj3986++ { - - if yyj3986 >= len(yyv3986) { - yyv3986 = append(yyv3986, NodeCondition{}) // var yyz3986 NodeCondition - yyc3986 = true - } - yyh3986.ElemContainerState(yyj3986) - if yyj3986 < len(yyv3986) { - if r.TryDecodeAsNil() { - yyv3986[yyj3986] = NodeCondition{} - } else { - yyv3989 := &yyv3986[yyj3986] - yyv3989.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3986 < len(yyv3986) { - yyv3986 = yyv3986[:yyj3986] - yyc3986 = true - } else if yyj3986 == 0 && yyv3986 == nil { - yyv3986 = []NodeCondition{} - yyc3986 = true - } - } - yyh3986.End() - if yyc3986 { - *v = yyv3986 - } -} - -func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3990 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3991 := &yyv3990 - yy3991.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3992 := *v - yyh3992, yyl3992 := z.DecSliceHelperStart() - var yyc3992 bool - if yyl3992 == 0 { - if yyv3992 == nil { - yyv3992 = []NodeAddress{} - yyc3992 = true - } else if len(yyv3992) != 0 { - yyv3992 = yyv3992[:0] - yyc3992 = true - } - } else if yyl3992 > 0 { - var yyrr3992, yyrl3992 int - var yyrt3992 bool - if yyl3992 > cap(yyv3992) { - - yyrg3992 := len(yyv3992) > 0 - yyv23992 := yyv3992 - yyrl3992, yyrt3992 = z.DecInferLen(yyl3992, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3992 { - if yyrl3992 <= cap(yyv3992) { - yyv3992 = yyv3992[:yyrl3992] - } else { - yyv3992 = make([]NodeAddress, yyrl3992) - } - } else { - yyv3992 = make([]NodeAddress, yyrl3992) - } - yyc3992 = true - yyrr3992 = len(yyv3992) - if yyrg3992 { - copy(yyv3992, yyv23992) - } - } else if yyl3992 != len(yyv3992) { - yyv3992 = yyv3992[:yyl3992] - yyc3992 = true - } - yyj3992 := 0 - for ; yyj3992 < yyrr3992; yyj3992++ { - yyh3992.ElemContainerState(yyj3992) - if r.TryDecodeAsNil() { - yyv3992[yyj3992] = NodeAddress{} - } else { - yyv3993 := &yyv3992[yyj3992] - yyv3993.CodecDecodeSelf(d) - } - - } - if yyrt3992 { - for ; yyj3992 < yyl3992; yyj3992++ { - yyv3992 = append(yyv3992, NodeAddress{}) - yyh3992.ElemContainerState(yyj3992) - if r.TryDecodeAsNil() { - yyv3992[yyj3992] = NodeAddress{} - } else { - yyv3994 := &yyv3992[yyj3992] - yyv3994.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3992 := 0 - for ; !r.CheckBreak(); yyj3992++ { - - if yyj3992 >= len(yyv3992) { - yyv3992 = append(yyv3992, NodeAddress{}) // var yyz3992 NodeAddress - yyc3992 = true - } - yyh3992.ElemContainerState(yyj3992) - if yyj3992 < len(yyv3992) { - if r.TryDecodeAsNil() { - yyv3992[yyj3992] = NodeAddress{} - } else { - yyv3995 := &yyv3992[yyj3992] - yyv3995.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3992 < len(yyv3992) { - yyv3992 = yyv3992[:yyj3992] - yyc3992 = true - } else if yyj3992 == 0 && yyv3992 == nil { - yyv3992 = []NodeAddress{} - yyc3992 = true - } - } - yyh3992.End() - if yyc3992 { - *v = yyv3992 - } -} - -func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3996 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3997 := &yyv3996 - yy3997.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3998 := *v - yyh3998, yyl3998 := z.DecSliceHelperStart() - var yyc3998 bool - if yyl3998 == 0 { - if yyv3998 == nil { - yyv3998 = []ContainerImage{} - yyc3998 = true - } else if len(yyv3998) != 0 { - yyv3998 = yyv3998[:0] - yyc3998 = true - } - } else if yyl3998 > 0 { - var yyrr3998, yyrl3998 int - var yyrt3998 bool - if yyl3998 > cap(yyv3998) { - - yyrg3998 := len(yyv3998) > 0 - yyv23998 := yyv3998 - yyrl3998, yyrt3998 = z.DecInferLen(yyl3998, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3998 { - if yyrl3998 <= cap(yyv3998) { - yyv3998 = yyv3998[:yyrl3998] - } else { - yyv3998 = make([]ContainerImage, yyrl3998) - } - } else { - yyv3998 = make([]ContainerImage, yyrl3998) - } - yyc3998 = true - yyrr3998 = len(yyv3998) - if yyrg3998 { - copy(yyv3998, yyv23998) - } - } else if yyl3998 != len(yyv3998) { - yyv3998 = yyv3998[:yyl3998] - yyc3998 = true - } - yyj3998 := 0 - for ; yyj3998 < yyrr3998; yyj3998++ { - yyh3998.ElemContainerState(yyj3998) - if r.TryDecodeAsNil() { - yyv3998[yyj3998] = ContainerImage{} - } else { - yyv3999 := &yyv3998[yyj3998] - yyv3999.CodecDecodeSelf(d) - } - - } - if yyrt3998 { - for ; yyj3998 < yyl3998; yyj3998++ { - yyv3998 = append(yyv3998, ContainerImage{}) - yyh3998.ElemContainerState(yyj3998) - if r.TryDecodeAsNil() { - yyv3998[yyj3998] = ContainerImage{} - } else { - yyv4000 := &yyv3998[yyj3998] - yyv4000.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3998 := 0 - for ; !r.CheckBreak(); yyj3998++ { - - if yyj3998 >= len(yyv3998) { - yyv3998 = append(yyv3998, ContainerImage{}) // var yyz3998 ContainerImage - yyc3998 = true - } - yyh3998.ElemContainerState(yyj3998) - if yyj3998 < len(yyv3998) { - if r.TryDecodeAsNil() { - yyv3998[yyj3998] = ContainerImage{} - } else { - yyv4001 := &yyv3998[yyj3998] - yyv4001.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3998 < len(yyv3998) { - yyv3998 = yyv3998[:yyj3998] - yyc3998 = true - } else if yyj3998 == 0 && yyv3998 == nil { - yyv3998 = []ContainerImage{} - yyc3998 = true - } - } - yyh3998.End() - if yyc3998 { - *v = yyv3998 - } -} - -func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeMapStart(len(v)) - for yyk4002, yyv4002 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4002.CodecEncodeSelf(e) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4003 := &yyv4002 - yym4004 := z.EncBinary() - _ = yym4004 - if false { - } else if z.HasExtensions() && z.EncExt(yy4003) { - } else if !yym4004 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4003) - } else { - z.EncFallback(yy4003) - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4005 := *v - yyl4005 := r.ReadMapStart() - yybh4005 := z.DecBasicHandle() - if yyv4005 == nil { - yyrl4005, _ := z.DecInferLen(yyl4005, yybh4005.MaxInitLen, 40) - yyv4005 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4005) - *v = yyv4005 - } - var yymk4005 ResourceName - var yymv4005 pkg3_resource.Quantity - var yymg4005 bool - if yybh4005.MapValueReset { - yymg4005 = true - } - if yyl4005 > 0 { - for yyj4005 := 0; yyj4005 < yyl4005; yyj4005++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk4005 = "" - } else { - yymk4005 = ResourceName(r.DecodeString()) - } - - if yymg4005 { - yymv4005 = yyv4005[yymk4005] - } else { - yymv4005 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4005 = pkg3_resource.Quantity{} - } else { - yyv4007 := &yymv4005 - yym4008 := z.DecBinary() - _ = yym4008 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4007) { - } else if !yym4008 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4007) - } else { - z.DecFallback(yyv4007, false) - } - } - - if yyv4005 != nil { - yyv4005[yymk4005] = yymv4005 - } - } - } else if yyl4005 < 0 { - for yyj4005 := 0; !r.CheckBreak(); yyj4005++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk4005 = "" - } else { - yymk4005 = ResourceName(r.DecodeString()) - } - - if yymg4005 { - yymv4005 = yyv4005[yymk4005] - } else { - yymv4005 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4005 = pkg3_resource.Quantity{} - } else { - yyv4010 := &yymv4005 - yym4011 := z.DecBinary() - _ = yym4011 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4010) { - } else if !yym4011 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4010) - } else { - z.DecFallback(yyv4010, false) - } - } - - if yyv4005 != nil { - yyv4005[yymk4005] = yymv4005 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4012 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4013 := &yyv4012 - yy4013.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4014 := *v - yyh4014, yyl4014 := z.DecSliceHelperStart() - var yyc4014 bool - if yyl4014 == 0 { - if yyv4014 == nil { - yyv4014 = []Node{} - yyc4014 = true - } else if len(yyv4014) != 0 { - yyv4014 = yyv4014[:0] - yyc4014 = true - } - } else if yyl4014 > 0 { - var yyrr4014, yyrl4014 int - var yyrt4014 bool - if yyl4014 > cap(yyv4014) { - - yyrg4014 := len(yyv4014) > 0 - yyv24014 := yyv4014 - yyrl4014, yyrt4014 = z.DecInferLen(yyl4014, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4014 { - if yyrl4014 <= cap(yyv4014) { - yyv4014 = yyv4014[:yyrl4014] - } else { - yyv4014 = make([]Node, yyrl4014) - } - } else { - yyv4014 = make([]Node, yyrl4014) - } - yyc4014 = true - yyrr4014 = len(yyv4014) - if yyrg4014 { - copy(yyv4014, yyv24014) - } - } else if yyl4014 != len(yyv4014) { - yyv4014 = yyv4014[:yyl4014] - yyc4014 = true - } - yyj4014 := 0 - for ; yyj4014 < yyrr4014; yyj4014++ { - yyh4014.ElemContainerState(yyj4014) - if r.TryDecodeAsNil() { - yyv4014[yyj4014] = Node{} - } else { - yyv4015 := &yyv4014[yyj4014] - yyv4015.CodecDecodeSelf(d) - } - - } - if yyrt4014 { - for ; yyj4014 < yyl4014; yyj4014++ { - yyv4014 = append(yyv4014, Node{}) - yyh4014.ElemContainerState(yyj4014) - if r.TryDecodeAsNil() { - yyv4014[yyj4014] = Node{} - } else { - yyv4016 := &yyv4014[yyj4014] - yyv4016.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4014 := 0 - for ; !r.CheckBreak(); yyj4014++ { - - if yyj4014 >= len(yyv4014) { - yyv4014 = append(yyv4014, Node{}) // var yyz4014 Node - yyc4014 = true - } - yyh4014.ElemContainerState(yyj4014) - if yyj4014 < len(yyv4014) { - if r.TryDecodeAsNil() { - yyv4014[yyj4014] = Node{} - } else { - yyv4017 := &yyv4014[yyj4014] - yyv4017.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4014 < len(yyv4014) { - yyv4014 = yyv4014[:yyj4014] - yyc4014 = true - } else if yyj4014 == 0 && yyv4014 == nil { - yyv4014 = []Node{} - yyc4014 = true - } - } - yyh4014.End() - if yyc4014 { - *v = yyv4014 - } -} - -func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4018 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4018.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv4019 := *v yyh4019, yyl4019 := z.DecSliceHelperStart() var yyc4019 bool if yyl4019 == 0 { if yyv4019 == nil { - yyv4019 = []FinalizerName{} + yyv4019 = []NodeCondition{} yyc4019 = true } else if len(yyv4019) != 0 { yyv4019 = yyv4019[:0] @@ -51226,18 +51164,23 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. var yyrt4019 bool if yyl4019 > cap(yyv4019) { - yyrl4019, yyrt4019 = z.DecInferLen(yyl4019, z.DecBasicHandle().MaxInitLen, 16) + yyrg4019 := len(yyv4019) > 0 + yyv24019 := yyv4019 + yyrl4019, yyrt4019 = z.DecInferLen(yyl4019, z.DecBasicHandle().MaxInitLen, 112) if yyrt4019 { if yyrl4019 <= cap(yyv4019) { yyv4019 = yyv4019[:yyrl4019] } else { - yyv4019 = make([]FinalizerName, yyrl4019) + yyv4019 = make([]NodeCondition, yyrl4019) } } else { - yyv4019 = make([]FinalizerName, yyrl4019) + yyv4019 = make([]NodeCondition, yyrl4019) } yyc4019 = true yyrr4019 = len(yyv4019) + if yyrg4019 { + copy(yyv4019, yyv24019) + } } else if yyl4019 != len(yyv4019) { yyv4019 = yyv4019[:yyl4019] yyc4019 = true @@ -51246,20 +51189,22 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. for ; yyj4019 < yyrr4019; yyj4019++ { yyh4019.ElemContainerState(yyj4019) if r.TryDecodeAsNil() { - yyv4019[yyj4019] = "" + yyv4019[yyj4019] = NodeCondition{} } else { - yyv4019[yyj4019] = FinalizerName(r.DecodeString()) + yyv4020 := &yyv4019[yyj4019] + yyv4020.CodecDecodeSelf(d) } } if yyrt4019 { for ; yyj4019 < yyl4019; yyj4019++ { - yyv4019 = append(yyv4019, "") + yyv4019 = append(yyv4019, NodeCondition{}) yyh4019.ElemContainerState(yyj4019) if r.TryDecodeAsNil() { - yyv4019[yyj4019] = "" + yyv4019[yyj4019] = NodeCondition{} } else { - yyv4019[yyj4019] = FinalizerName(r.DecodeString()) + yyv4021 := &yyv4019[yyj4019] + yyv4021.CodecDecodeSelf(d) } } @@ -51270,15 +51215,16 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. for ; !r.CheckBreak(); yyj4019++ { if yyj4019 >= len(yyv4019) { - yyv4019 = append(yyv4019, "") // var yyz4019 FinalizerName + yyv4019 = append(yyv4019, NodeCondition{}) // var yyz4019 NodeCondition yyc4019 = true } yyh4019.ElemContainerState(yyj4019) if yyj4019 < len(yyv4019) { if r.TryDecodeAsNil() { - yyv4019[yyj4019] = "" + yyv4019[yyj4019] = NodeCondition{} } else { - yyv4019[yyj4019] = FinalizerName(r.DecodeString()) + yyv4022 := &yyv4019[yyj4019] + yyv4022.CodecDecodeSelf(d) } } else { @@ -51290,7 +51236,7 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. yyv4019 = yyv4019[:yyj4019] yyc4019 = true } else if yyj4019 == 0 && yyv4019 == nil { - yyv4019 = []FinalizerName{} + yyv4019 = []NodeCondition{} yyc4019 = true } } @@ -51300,7 +51246,7 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } -func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51313,7 +51259,7 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51323,7 +51269,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) var yyc4025 bool if yyl4025 == 0 { if yyv4025 == nil { - yyv4025 = []Namespace{} + yyv4025 = []NodeAddress{} yyc4025 = true } else if len(yyv4025) != 0 { yyv4025 = yyv4025[:0] @@ -51336,15 +51282,15 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) yyrg4025 := len(yyv4025) > 0 yyv24025 := yyv4025 - yyrl4025, yyrt4025 = z.DecInferLen(yyl4025, z.DecBasicHandle().MaxInitLen, 232) + yyrl4025, yyrt4025 = z.DecInferLen(yyl4025, z.DecBasicHandle().MaxInitLen, 32) if yyrt4025 { if yyrl4025 <= cap(yyv4025) { yyv4025 = yyv4025[:yyrl4025] } else { - yyv4025 = make([]Namespace, yyrl4025) + yyv4025 = make([]NodeAddress, yyrl4025) } } else { - yyv4025 = make([]Namespace, yyrl4025) + yyv4025 = make([]NodeAddress, yyrl4025) } yyc4025 = true yyrr4025 = len(yyv4025) @@ -51359,7 +51305,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) for ; yyj4025 < yyrr4025; yyj4025++ { yyh4025.ElemContainerState(yyj4025) if r.TryDecodeAsNil() { - yyv4025[yyj4025] = Namespace{} + yyv4025[yyj4025] = NodeAddress{} } else { yyv4026 := &yyv4025[yyj4025] yyv4026.CodecDecodeSelf(d) @@ -51368,10 +51314,10 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } if yyrt4025 { for ; yyj4025 < yyl4025; yyj4025++ { - yyv4025 = append(yyv4025, Namespace{}) + yyv4025 = append(yyv4025, NodeAddress{}) yyh4025.ElemContainerState(yyj4025) if r.TryDecodeAsNil() { - yyv4025[yyj4025] = Namespace{} + yyv4025[yyj4025] = NodeAddress{} } else { yyv4027 := &yyv4025[yyj4025] yyv4027.CodecDecodeSelf(d) @@ -51385,13 +51331,13 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj4025++ { if yyj4025 >= len(yyv4025) { - yyv4025 = append(yyv4025, Namespace{}) // var yyz4025 Namespace + yyv4025 = append(yyv4025, NodeAddress{}) // var yyz4025 NodeAddress yyc4025 = true } yyh4025.ElemContainerState(yyj4025) if yyj4025 < len(yyv4025) { if r.TryDecodeAsNil() { - yyv4025[yyj4025] = Namespace{} + yyv4025[yyj4025] = NodeAddress{} } else { yyv4028 := &yyv4025[yyj4025] yyv4028.CodecDecodeSelf(d) @@ -51406,7 +51352,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) yyv4025 = yyv4025[:yyj4025] yyc4025 = true } else if yyj4025 == 0 && yyv4025 == nil { - yyv4025 = []Namespace{} + yyv4025 = []NodeAddress{} yyc4025 = true } } @@ -51416,7 +51362,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51429,7 +51375,7 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51439,7 +51385,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { var yyc4031 bool if yyl4031 == 0 { if yyv4031 == nil { - yyv4031 = []Event{} + yyv4031 = []ContainerImage{} yyc4031 = true } else if len(yyv4031) != 0 { yyv4031 = yyv4031[:0] @@ -51452,15 +51398,15 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { yyrg4031 := len(yyv4031) > 0 yyv24031 := yyv4031 - yyrl4031, yyrt4031 = z.DecInferLen(yyl4031, z.DecBasicHandle().MaxInitLen, 440) + yyrl4031, yyrt4031 = z.DecInferLen(yyl4031, z.DecBasicHandle().MaxInitLen, 32) if yyrt4031 { if yyrl4031 <= cap(yyv4031) { yyv4031 = yyv4031[:yyrl4031] } else { - yyv4031 = make([]Event, yyrl4031) + yyv4031 = make([]ContainerImage, yyrl4031) } } else { - yyv4031 = make([]Event, yyrl4031) + yyv4031 = make([]ContainerImage, yyrl4031) } yyc4031 = true yyrr4031 = len(yyv4031) @@ -51475,7 +51421,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { for ; yyj4031 < yyrr4031; yyj4031++ { yyh4031.ElemContainerState(yyj4031) if r.TryDecodeAsNil() { - yyv4031[yyj4031] = Event{} + yyv4031[yyj4031] = ContainerImage{} } else { yyv4032 := &yyv4031[yyj4031] yyv4032.CodecDecodeSelf(d) @@ -51484,10 +51430,10 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } if yyrt4031 { for ; yyj4031 < yyl4031; yyj4031++ { - yyv4031 = append(yyv4031, Event{}) + yyv4031 = append(yyv4031, ContainerImage{}) yyh4031.ElemContainerState(yyj4031) if r.TryDecodeAsNil() { - yyv4031[yyj4031] = Event{} + yyv4031[yyj4031] = ContainerImage{} } else { yyv4033 := &yyv4031[yyj4031] yyv4033.CodecDecodeSelf(d) @@ -51501,13 +51447,13 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj4031++ { if yyj4031 >= len(yyv4031) { - yyv4031 = append(yyv4031, Event{}) // var yyz4031 Event + yyv4031 = append(yyv4031, ContainerImage{}) // var yyz4031 ContainerImage yyc4031 = true } yyh4031.ElemContainerState(yyj4031) if yyj4031 < len(yyv4031) { if r.TryDecodeAsNil() { - yyv4031[yyj4031] = Event{} + yyv4031[yyj4031] = ContainerImage{} } else { yyv4034 := &yyv4031[yyj4031] yyv4034.CodecDecodeSelf(d) @@ -51522,7 +51468,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { yyv4031 = yyv4031[:yyj4031] yyc4031 = true } else if yyj4031 == 0 && yyv4031 == nil { - yyv4031 = []Event{} + yyv4031 = []ContainerImage{} yyc4031 = true } } @@ -51532,279 +51478,249 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceruntime_Object(v []pkg8_runtime.Object, e *codec1978.Encoder) { +func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4035 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv4035 == nil { - r.EncodeNil() + r.EncodeMapStart(len(v)) + for yyk4035, yyv4035 := range v { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + yyk4035.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4036 := &yyv4035 + yym4037 := z.EncBinary() + _ = yym4037 + if false { + } else if z.HasExtensions() && z.EncExt(yy4036) { + } else if !yym4037 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4036) } else { - yym4036 := z.EncBinary() - _ = yym4036 - if false { - } else if z.HasExtensions() && z.EncExt(yyv4035) { - } else { - z.EncFallback(yyv4035) - } + z.EncFallback(yy4036) } } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + z.EncSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *codec1978.Decoder) { +func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4037 := *v - yyh4037, yyl4037 := z.DecSliceHelperStart() - var yyc4037 bool - if yyl4037 == 0 { - if yyv4037 == nil { - yyv4037 = []pkg8_runtime.Object{} - yyc4037 = true - } else if len(yyv4037) != 0 { - yyv4037 = yyv4037[:0] - yyc4037 = true - } - } else if yyl4037 > 0 { - var yyrr4037, yyrl4037 int - var yyrt4037 bool - if yyl4037 > cap(yyv4037) { - - yyrg4037 := len(yyv4037) > 0 - yyv24037 := yyv4037 - yyrl4037, yyrt4037 = z.DecInferLen(yyl4037, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4037 { - if yyrl4037 <= cap(yyv4037) { - yyv4037 = yyv4037[:yyrl4037] - } else { - yyv4037 = make([]pkg8_runtime.Object, yyrl4037) - } - } else { - yyv4037 = make([]pkg8_runtime.Object, yyrl4037) - } - yyc4037 = true - yyrr4037 = len(yyv4037) - if yyrg4037 { - copy(yyv4037, yyv24037) - } - } else if yyl4037 != len(yyv4037) { - yyv4037 = yyv4037[:yyl4037] - yyc4037 = true - } - yyj4037 := 0 - for ; yyj4037 < yyrr4037; yyj4037++ { - yyh4037.ElemContainerState(yyj4037) + yyv4038 := *v + yyl4038 := r.ReadMapStart() + yybh4038 := z.DecBasicHandle() + if yyv4038 == nil { + yyrl4038, _ := z.DecInferLen(yyl4038, yybh4038.MaxInitLen, 40) + yyv4038 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4038) + *v = yyv4038 + } + var yymk4038 ResourceName + var yymv4038 pkg3_resource.Quantity + var yymg4038 bool + if yybh4038.MapValueReset { + yymg4038 = true + } + if yyl4038 > 0 { + for yyj4038 := 0; yyj4038 < yyl4038; yyj4038++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yyv4037[yyj4037] = nil + yymk4038 = "" } else { - yyv4038 := &yyv4037[yyj4037] - yym4039 := z.DecBinary() - _ = yym4039 + yymk4038 = ResourceName(r.DecodeString()) + } + + if yymg4038 { + yymv4038 = yyv4038[yymk4038] + } else { + yymv4038 = pkg3_resource.Quantity{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv4038 = pkg3_resource.Quantity{} + } else { + yyv4040 := &yymv4038 + yym4041 := z.DecBinary() + _ = yym4041 if false { - } else if z.HasExtensions() && z.DecExt(yyv4038) { + } else if z.HasExtensions() && z.DecExt(yyv4040) { + } else if !yym4041 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4040) } else { - z.DecFallback(yyv4038, true) + z.DecFallback(yyv4040, false) } } - } - if yyrt4037 { - for ; yyj4037 < yyl4037; yyj4037++ { - yyv4037 = append(yyv4037, nil) - yyh4037.ElemContainerState(yyj4037) - if r.TryDecodeAsNil() { - yyv4037[yyj4037] = nil - } else { - yyv4040 := &yyv4037[yyj4037] - yym4041 := z.DecBinary() - _ = yym4041 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4040) { - } else { - z.DecFallback(yyv4040, true) - } - } - + if yyv4038 != nil { + yyv4038[yymk4038] = yymv4038 } } - - } else { - yyj4037 := 0 - for ; !r.CheckBreak(); yyj4037++ { - - if yyj4037 >= len(yyv4037) { - yyv4037 = append(yyv4037, nil) // var yyz4037 pkg8_runtime.Object - yyc4037 = true - } - yyh4037.ElemContainerState(yyj4037) - if yyj4037 < len(yyv4037) { - if r.TryDecodeAsNil() { - yyv4037[yyj4037] = nil - } else { - yyv4042 := &yyv4037[yyj4037] - yym4043 := z.DecBinary() - _ = yym4043 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4042) { - } else { - z.DecFallback(yyv4042, true) - } - } - + } else if yyl4038 < 0 { + for yyj4038 := 0; !r.CheckBreak(); yyj4038++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk4038 = "" } else { - z.DecSwallow() + yymk4038 = ResourceName(r.DecodeString()) } + if yymg4038 { + yymv4038 = yyv4038[yymk4038] + } else { + yymv4038 = pkg3_resource.Quantity{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv4038 = pkg3_resource.Quantity{} + } else { + yyv4043 := &yymv4038 + yym4044 := z.DecBinary() + _ = yym4044 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4043) { + } else if !yym4044 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4043) + } else { + z.DecFallback(yyv4043, false) + } + } + + if yyv4038 != nil { + yyv4038[yymk4038] = yymv4038 + } } - if yyj4037 < len(yyv4037) { - yyv4037 = yyv4037[:yyj4037] - yyc4037 = true - } else if yyj4037 == 0 && yyv4037 == nil { - yyv4037 = []pkg8_runtime.Object{} - yyc4037 = true - } - } - yyh4037.End() - if yyc4037 { - *v = yyv4037 - } + } // else len==0: TODO: Should we clear map entries? + z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4044 := range v { + for _, yyv4045 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4045 := &yyv4044 - yy4045.CodecEncodeSelf(e) + yy4046 := &yyv4045 + yy4046.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4046 := *v - yyh4046, yyl4046 := z.DecSliceHelperStart() - var yyc4046 bool - if yyl4046 == 0 { - if yyv4046 == nil { - yyv4046 = []LimitRangeItem{} - yyc4046 = true - } else if len(yyv4046) != 0 { - yyv4046 = yyv4046[:0] - yyc4046 = true + yyv4047 := *v + yyh4047, yyl4047 := z.DecSliceHelperStart() + var yyc4047 bool + if yyl4047 == 0 { + if yyv4047 == nil { + yyv4047 = []Node{} + yyc4047 = true + } else if len(yyv4047) != 0 { + yyv4047 = yyv4047[:0] + yyc4047 = true } - } else if yyl4046 > 0 { - var yyrr4046, yyrl4046 int - var yyrt4046 bool - if yyl4046 > cap(yyv4046) { + } else if yyl4047 > 0 { + var yyrr4047, yyrl4047 int + var yyrt4047 bool + if yyl4047 > cap(yyv4047) { - yyrg4046 := len(yyv4046) > 0 - yyv24046 := yyv4046 - yyrl4046, yyrt4046 = z.DecInferLen(yyl4046, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4046 { - if yyrl4046 <= cap(yyv4046) { - yyv4046 = yyv4046[:yyrl4046] + yyrg4047 := len(yyv4047) > 0 + yyv24047 := yyv4047 + yyrl4047, yyrt4047 = z.DecInferLen(yyl4047, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4047 { + if yyrl4047 <= cap(yyv4047) { + yyv4047 = yyv4047[:yyrl4047] } else { - yyv4046 = make([]LimitRangeItem, yyrl4046) + yyv4047 = make([]Node, yyrl4047) } } else { - yyv4046 = make([]LimitRangeItem, yyrl4046) + yyv4047 = make([]Node, yyrl4047) } - yyc4046 = true - yyrr4046 = len(yyv4046) - if yyrg4046 { - copy(yyv4046, yyv24046) + yyc4047 = true + yyrr4047 = len(yyv4047) + if yyrg4047 { + copy(yyv4047, yyv24047) } - } else if yyl4046 != len(yyv4046) { - yyv4046 = yyv4046[:yyl4046] - yyc4046 = true + } else if yyl4047 != len(yyv4047) { + yyv4047 = yyv4047[:yyl4047] + yyc4047 = true } - yyj4046 := 0 - for ; yyj4046 < yyrr4046; yyj4046++ { - yyh4046.ElemContainerState(yyj4046) + yyj4047 := 0 + for ; yyj4047 < yyrr4047; yyj4047++ { + yyh4047.ElemContainerState(yyj4047) if r.TryDecodeAsNil() { - yyv4046[yyj4046] = LimitRangeItem{} + yyv4047[yyj4047] = Node{} } else { - yyv4047 := &yyv4046[yyj4046] - yyv4047.CodecDecodeSelf(d) + yyv4048 := &yyv4047[yyj4047] + yyv4048.CodecDecodeSelf(d) } } - if yyrt4046 { - for ; yyj4046 < yyl4046; yyj4046++ { - yyv4046 = append(yyv4046, LimitRangeItem{}) - yyh4046.ElemContainerState(yyj4046) + if yyrt4047 { + for ; yyj4047 < yyl4047; yyj4047++ { + yyv4047 = append(yyv4047, Node{}) + yyh4047.ElemContainerState(yyj4047) if r.TryDecodeAsNil() { - yyv4046[yyj4046] = LimitRangeItem{} + yyv4047[yyj4047] = Node{} } else { - yyv4048 := &yyv4046[yyj4046] - yyv4048.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4046 := 0 - for ; !r.CheckBreak(); yyj4046++ { - - if yyj4046 >= len(yyv4046) { - yyv4046 = append(yyv4046, LimitRangeItem{}) // var yyz4046 LimitRangeItem - yyc4046 = true - } - yyh4046.ElemContainerState(yyj4046) - if yyj4046 < len(yyv4046) { - if r.TryDecodeAsNil() { - yyv4046[yyj4046] = LimitRangeItem{} - } else { - yyv4049 := &yyv4046[yyj4046] + yyv4049 := &yyv4047[yyj4047] yyv4049.CodecDecodeSelf(d) } + } + } + + } else { + yyj4047 := 0 + for ; !r.CheckBreak(); yyj4047++ { + + if yyj4047 >= len(yyv4047) { + yyv4047 = append(yyv4047, Node{}) // var yyz4047 Node + yyc4047 = true + } + yyh4047.ElemContainerState(yyj4047) + if yyj4047 < len(yyv4047) { + if r.TryDecodeAsNil() { + yyv4047[yyj4047] = Node{} + } else { + yyv4050 := &yyv4047[yyj4047] + yyv4050.CodecDecodeSelf(d) + } + } else { z.DecSwallow() } } - if yyj4046 < len(yyv4046) { - yyv4046 = yyv4046[:yyj4046] - yyc4046 = true - } else if yyj4046 == 0 && yyv4046 == nil { - yyv4046 = []LimitRangeItem{} - yyc4046 = true + if yyj4047 < len(yyv4047) { + yyv4047 = yyv4047[:yyj4047] + yyc4047 = true + } else if yyj4047 == 0 && yyv4047 == nil { + yyv4047 = []Node{} + yyc4047 = true } } - yyh4046.End() - if yyc4046 { - *v = yyv4046 + yyh4047.End() + if yyc4047 { + *v = yyv4047 } } -func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4050 := range v { + for _, yyv4051 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4051 := &yyv4050 - yy4051.CodecEncodeSelf(e) + yyv4051.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51814,7 +51730,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode var yyc4052 bool if yyl4052 == 0 { if yyv4052 == nil { - yyv4052 = []LimitRange{} + yyv4052 = []FinalizerName{} yyc4052 = true } else if len(yyv4052) != 0 { yyv4052 = yyv4052[:0] @@ -51825,23 +51741,18 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode var yyrt4052 bool if yyl4052 > cap(yyv4052) { - yyrg4052 := len(yyv4052) > 0 - yyv24052 := yyv4052 - yyrl4052, yyrt4052 = z.DecInferLen(yyl4052, z.DecBasicHandle().MaxInitLen, 216) + yyrl4052, yyrt4052 = z.DecInferLen(yyl4052, z.DecBasicHandle().MaxInitLen, 16) if yyrt4052 { if yyrl4052 <= cap(yyv4052) { yyv4052 = yyv4052[:yyrl4052] } else { - yyv4052 = make([]LimitRange, yyrl4052) + yyv4052 = make([]FinalizerName, yyrl4052) } } else { - yyv4052 = make([]LimitRange, yyrl4052) + yyv4052 = make([]FinalizerName, yyrl4052) } yyc4052 = true yyrr4052 = len(yyv4052) - if yyrg4052 { - copy(yyv4052, yyv24052) - } } else if yyl4052 != len(yyv4052) { yyv4052 = yyv4052[:yyl4052] yyc4052 = true @@ -51850,22 +51761,20 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode for ; yyj4052 < yyrr4052; yyj4052++ { yyh4052.ElemContainerState(yyj4052) if r.TryDecodeAsNil() { - yyv4052[yyj4052] = LimitRange{} + yyv4052[yyj4052] = "" } else { - yyv4053 := &yyv4052[yyj4052] - yyv4053.CodecDecodeSelf(d) + yyv4052[yyj4052] = FinalizerName(r.DecodeString()) } } if yyrt4052 { for ; yyj4052 < yyl4052; yyj4052++ { - yyv4052 = append(yyv4052, LimitRange{}) + yyv4052 = append(yyv4052, "") yyh4052.ElemContainerState(yyj4052) if r.TryDecodeAsNil() { - yyv4052[yyj4052] = LimitRange{} + yyv4052[yyj4052] = "" } else { - yyv4054 := &yyv4052[yyj4052] - yyv4054.CodecDecodeSelf(d) + yyv4052[yyj4052] = FinalizerName(r.DecodeString()) } } @@ -51876,16 +51785,15 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode for ; !r.CheckBreak(); yyj4052++ { if yyj4052 >= len(yyv4052) { - yyv4052 = append(yyv4052, LimitRange{}) // var yyz4052 LimitRange + yyv4052 = append(yyv4052, "") // var yyz4052 FinalizerName yyc4052 = true } yyh4052.ElemContainerState(yyj4052) if yyj4052 < len(yyv4052) { if r.TryDecodeAsNil() { - yyv4052[yyj4052] = LimitRange{} + yyv4052[yyj4052] = "" } else { - yyv4055 := &yyv4052[yyj4052] - yyv4055.CodecDecodeSelf(d) + yyv4052[yyj4052] = FinalizerName(r.DecodeString()) } } else { @@ -51897,7 +51805,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode yyv4052 = yyv4052[:yyj4052] yyc4052 = true } else if yyj4052 == 0 && yyv4052 == nil { - yyv4052 = []LimitRange{} + yyv4052 = []FinalizerName{} yyc4052 = true } } @@ -51907,7 +51815,7 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51920,7 +51828,7 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51930,7 +51838,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. var yyc4058 bool if yyl4058 == 0 { if yyv4058 == nil { - yyv4058 = []ResourceQuota{} + yyv4058 = []Namespace{} yyc4058 = true } else if len(yyv4058) != 0 { yyv4058 = yyv4058[:0] @@ -51943,15 +51851,15 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. yyrg4058 := len(yyv4058) > 0 yyv24058 := yyv4058 - yyrl4058, yyrt4058 = z.DecInferLen(yyl4058, z.DecBasicHandle().MaxInitLen, 216) + yyrl4058, yyrt4058 = z.DecInferLen(yyl4058, z.DecBasicHandle().MaxInitLen, 232) if yyrt4058 { if yyrl4058 <= cap(yyv4058) { yyv4058 = yyv4058[:yyrl4058] } else { - yyv4058 = make([]ResourceQuota, yyrl4058) + yyv4058 = make([]Namespace, yyrl4058) } } else { - yyv4058 = make([]ResourceQuota, yyrl4058) + yyv4058 = make([]Namespace, yyrl4058) } yyc4058 = true yyrr4058 = len(yyv4058) @@ -51966,7 +51874,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. for ; yyj4058 < yyrr4058; yyj4058++ { yyh4058.ElemContainerState(yyj4058) if r.TryDecodeAsNil() { - yyv4058[yyj4058] = ResourceQuota{} + yyv4058[yyj4058] = Namespace{} } else { yyv4059 := &yyv4058[yyj4058] yyv4059.CodecDecodeSelf(d) @@ -51975,10 +51883,10 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } if yyrt4058 { for ; yyj4058 < yyl4058; yyj4058++ { - yyv4058 = append(yyv4058, ResourceQuota{}) + yyv4058 = append(yyv4058, Namespace{}) yyh4058.ElemContainerState(yyj4058) if r.TryDecodeAsNil() { - yyv4058[yyj4058] = ResourceQuota{} + yyv4058[yyj4058] = Namespace{} } else { yyv4060 := &yyv4058[yyj4058] yyv4060.CodecDecodeSelf(d) @@ -51992,13 +51900,13 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. for ; !r.CheckBreak(); yyj4058++ { if yyj4058 >= len(yyv4058) { - yyv4058 = append(yyv4058, ResourceQuota{}) // var yyz4058 ResourceQuota + yyv4058 = append(yyv4058, Namespace{}) // var yyz4058 Namespace yyc4058 = true } yyh4058.ElemContainerState(yyj4058) if yyj4058 < len(yyv4058) { if r.TryDecodeAsNil() { - yyv4058[yyj4058] = ResourceQuota{} + yyv4058[yyj4058] = Namespace{} } else { yyv4061 := &yyv4058[yyj4058] yyv4061.CodecDecodeSelf(d) @@ -52013,7 +51921,7 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. yyv4058 = yyv4058[:yyj4058] yyc4058 = true } else if yyj4058 == 0 && yyv4058 == nil { - yyv4058 = []ResourceQuota{} + yyv4058 = []Namespace{} yyc4058 = true } } @@ -52023,28 +51931,635 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } +func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4062 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4063 := &yyv4062 + yy4063.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4064 := *v + yyh4064, yyl4064 := z.DecSliceHelperStart() + var yyc4064 bool + if yyl4064 == 0 { + if yyv4064 == nil { + yyv4064 = []Event{} + yyc4064 = true + } else if len(yyv4064) != 0 { + yyv4064 = yyv4064[:0] + yyc4064 = true + } + } else if yyl4064 > 0 { + var yyrr4064, yyrl4064 int + var yyrt4064 bool + if yyl4064 > cap(yyv4064) { + + yyrg4064 := len(yyv4064) > 0 + yyv24064 := yyv4064 + yyrl4064, yyrt4064 = z.DecInferLen(yyl4064, z.DecBasicHandle().MaxInitLen, 440) + if yyrt4064 { + if yyrl4064 <= cap(yyv4064) { + yyv4064 = yyv4064[:yyrl4064] + } else { + yyv4064 = make([]Event, yyrl4064) + } + } else { + yyv4064 = make([]Event, yyrl4064) + } + yyc4064 = true + yyrr4064 = len(yyv4064) + if yyrg4064 { + copy(yyv4064, yyv24064) + } + } else if yyl4064 != len(yyv4064) { + yyv4064 = yyv4064[:yyl4064] + yyc4064 = true + } + yyj4064 := 0 + for ; yyj4064 < yyrr4064; yyj4064++ { + yyh4064.ElemContainerState(yyj4064) + if r.TryDecodeAsNil() { + yyv4064[yyj4064] = Event{} + } else { + yyv4065 := &yyv4064[yyj4064] + yyv4065.CodecDecodeSelf(d) + } + + } + if yyrt4064 { + for ; yyj4064 < yyl4064; yyj4064++ { + yyv4064 = append(yyv4064, Event{}) + yyh4064.ElemContainerState(yyj4064) + if r.TryDecodeAsNil() { + yyv4064[yyj4064] = Event{} + } else { + yyv4066 := &yyv4064[yyj4064] + yyv4066.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4064 := 0 + for ; !r.CheckBreak(); yyj4064++ { + + if yyj4064 >= len(yyv4064) { + yyv4064 = append(yyv4064, Event{}) // var yyz4064 Event + yyc4064 = true + } + yyh4064.ElemContainerState(yyj4064) + if yyj4064 < len(yyv4064) { + if r.TryDecodeAsNil() { + yyv4064[yyj4064] = Event{} + } else { + yyv4067 := &yyv4064[yyj4064] + yyv4067.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4064 < len(yyv4064) { + yyv4064 = yyv4064[:yyj4064] + yyc4064 = true + } else if yyj4064 == 0 && yyv4064 == nil { + yyv4064 = []Event{} + yyc4064 = true + } + } + yyh4064.End() + if yyc4064 { + *v = yyv4064 + } +} + +func (x codecSelfer1234) encSliceruntime_Object(v []pkg8_runtime.Object, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4068 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyv4068 == nil { + r.EncodeNil() + } else { + yym4069 := z.EncBinary() + _ = yym4069 + if false { + } else if z.HasExtensions() && z.EncExt(yyv4068) { + } else { + z.EncFallback(yyv4068) + } + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4070 := *v + yyh4070, yyl4070 := z.DecSliceHelperStart() + var yyc4070 bool + if yyl4070 == 0 { + if yyv4070 == nil { + yyv4070 = []pkg8_runtime.Object{} + yyc4070 = true + } else if len(yyv4070) != 0 { + yyv4070 = yyv4070[:0] + yyc4070 = true + } + } else if yyl4070 > 0 { + var yyrr4070, yyrl4070 int + var yyrt4070 bool + if yyl4070 > cap(yyv4070) { + + yyrg4070 := len(yyv4070) > 0 + yyv24070 := yyv4070 + yyrl4070, yyrt4070 = z.DecInferLen(yyl4070, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4070 { + if yyrl4070 <= cap(yyv4070) { + yyv4070 = yyv4070[:yyrl4070] + } else { + yyv4070 = make([]pkg8_runtime.Object, yyrl4070) + } + } else { + yyv4070 = make([]pkg8_runtime.Object, yyrl4070) + } + yyc4070 = true + yyrr4070 = len(yyv4070) + if yyrg4070 { + copy(yyv4070, yyv24070) + } + } else if yyl4070 != len(yyv4070) { + yyv4070 = yyv4070[:yyl4070] + yyc4070 = true + } + yyj4070 := 0 + for ; yyj4070 < yyrr4070; yyj4070++ { + yyh4070.ElemContainerState(yyj4070) + if r.TryDecodeAsNil() { + yyv4070[yyj4070] = nil + } else { + yyv4071 := &yyv4070[yyj4070] + yym4072 := z.DecBinary() + _ = yym4072 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4071) { + } else { + z.DecFallback(yyv4071, true) + } + } + + } + if yyrt4070 { + for ; yyj4070 < yyl4070; yyj4070++ { + yyv4070 = append(yyv4070, nil) + yyh4070.ElemContainerState(yyj4070) + if r.TryDecodeAsNil() { + yyv4070[yyj4070] = nil + } else { + yyv4073 := &yyv4070[yyj4070] + yym4074 := z.DecBinary() + _ = yym4074 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4073) { + } else { + z.DecFallback(yyv4073, true) + } + } + + } + } + + } else { + yyj4070 := 0 + for ; !r.CheckBreak(); yyj4070++ { + + if yyj4070 >= len(yyv4070) { + yyv4070 = append(yyv4070, nil) // var yyz4070 pkg8_runtime.Object + yyc4070 = true + } + yyh4070.ElemContainerState(yyj4070) + if yyj4070 < len(yyv4070) { + if r.TryDecodeAsNil() { + yyv4070[yyj4070] = nil + } else { + yyv4075 := &yyv4070[yyj4070] + yym4076 := z.DecBinary() + _ = yym4076 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4075) { + } else { + z.DecFallback(yyv4075, true) + } + } + + } else { + z.DecSwallow() + } + + } + if yyj4070 < len(yyv4070) { + yyv4070 = yyv4070[:yyj4070] + yyc4070 = true + } else if yyj4070 == 0 && yyv4070 == nil { + yyv4070 = []pkg8_runtime.Object{} + yyc4070 = true + } + } + yyh4070.End() + if yyc4070 { + *v = yyv4070 + } +} + +func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4077 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4078 := &yyv4077 + yy4078.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4079 := *v + yyh4079, yyl4079 := z.DecSliceHelperStart() + var yyc4079 bool + if yyl4079 == 0 { + if yyv4079 == nil { + yyv4079 = []LimitRangeItem{} + yyc4079 = true + } else if len(yyv4079) != 0 { + yyv4079 = yyv4079[:0] + yyc4079 = true + } + } else if yyl4079 > 0 { + var yyrr4079, yyrl4079 int + var yyrt4079 bool + if yyl4079 > cap(yyv4079) { + + yyrg4079 := len(yyv4079) > 0 + yyv24079 := yyv4079 + yyrl4079, yyrt4079 = z.DecInferLen(yyl4079, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4079 { + if yyrl4079 <= cap(yyv4079) { + yyv4079 = yyv4079[:yyrl4079] + } else { + yyv4079 = make([]LimitRangeItem, yyrl4079) + } + } else { + yyv4079 = make([]LimitRangeItem, yyrl4079) + } + yyc4079 = true + yyrr4079 = len(yyv4079) + if yyrg4079 { + copy(yyv4079, yyv24079) + } + } else if yyl4079 != len(yyv4079) { + yyv4079 = yyv4079[:yyl4079] + yyc4079 = true + } + yyj4079 := 0 + for ; yyj4079 < yyrr4079; yyj4079++ { + yyh4079.ElemContainerState(yyj4079) + if r.TryDecodeAsNil() { + yyv4079[yyj4079] = LimitRangeItem{} + } else { + yyv4080 := &yyv4079[yyj4079] + yyv4080.CodecDecodeSelf(d) + } + + } + if yyrt4079 { + for ; yyj4079 < yyl4079; yyj4079++ { + yyv4079 = append(yyv4079, LimitRangeItem{}) + yyh4079.ElemContainerState(yyj4079) + if r.TryDecodeAsNil() { + yyv4079[yyj4079] = LimitRangeItem{} + } else { + yyv4081 := &yyv4079[yyj4079] + yyv4081.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4079 := 0 + for ; !r.CheckBreak(); yyj4079++ { + + if yyj4079 >= len(yyv4079) { + yyv4079 = append(yyv4079, LimitRangeItem{}) // var yyz4079 LimitRangeItem + yyc4079 = true + } + yyh4079.ElemContainerState(yyj4079) + if yyj4079 < len(yyv4079) { + if r.TryDecodeAsNil() { + yyv4079[yyj4079] = LimitRangeItem{} + } else { + yyv4082 := &yyv4079[yyj4079] + yyv4082.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4079 < len(yyv4079) { + yyv4079 = yyv4079[:yyj4079] + yyc4079 = true + } else if yyj4079 == 0 && yyv4079 == nil { + yyv4079 = []LimitRangeItem{} + yyc4079 = true + } + } + yyh4079.End() + if yyc4079 { + *v = yyv4079 + } +} + +func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4083 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4084 := &yyv4083 + yy4084.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4085 := *v + yyh4085, yyl4085 := z.DecSliceHelperStart() + var yyc4085 bool + if yyl4085 == 0 { + if yyv4085 == nil { + yyv4085 = []LimitRange{} + yyc4085 = true + } else if len(yyv4085) != 0 { + yyv4085 = yyv4085[:0] + yyc4085 = true + } + } else if yyl4085 > 0 { + var yyrr4085, yyrl4085 int + var yyrt4085 bool + if yyl4085 > cap(yyv4085) { + + yyrg4085 := len(yyv4085) > 0 + yyv24085 := yyv4085 + yyrl4085, yyrt4085 = z.DecInferLen(yyl4085, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4085 { + if yyrl4085 <= cap(yyv4085) { + yyv4085 = yyv4085[:yyrl4085] + } else { + yyv4085 = make([]LimitRange, yyrl4085) + } + } else { + yyv4085 = make([]LimitRange, yyrl4085) + } + yyc4085 = true + yyrr4085 = len(yyv4085) + if yyrg4085 { + copy(yyv4085, yyv24085) + } + } else if yyl4085 != len(yyv4085) { + yyv4085 = yyv4085[:yyl4085] + yyc4085 = true + } + yyj4085 := 0 + for ; yyj4085 < yyrr4085; yyj4085++ { + yyh4085.ElemContainerState(yyj4085) + if r.TryDecodeAsNil() { + yyv4085[yyj4085] = LimitRange{} + } else { + yyv4086 := &yyv4085[yyj4085] + yyv4086.CodecDecodeSelf(d) + } + + } + if yyrt4085 { + for ; yyj4085 < yyl4085; yyj4085++ { + yyv4085 = append(yyv4085, LimitRange{}) + yyh4085.ElemContainerState(yyj4085) + if r.TryDecodeAsNil() { + yyv4085[yyj4085] = LimitRange{} + } else { + yyv4087 := &yyv4085[yyj4085] + yyv4087.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4085 := 0 + for ; !r.CheckBreak(); yyj4085++ { + + if yyj4085 >= len(yyv4085) { + yyv4085 = append(yyv4085, LimitRange{}) // var yyz4085 LimitRange + yyc4085 = true + } + yyh4085.ElemContainerState(yyj4085) + if yyj4085 < len(yyv4085) { + if r.TryDecodeAsNil() { + yyv4085[yyj4085] = LimitRange{} + } else { + yyv4088 := &yyv4085[yyj4085] + yyv4088.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4085 < len(yyv4085) { + yyv4085 = yyv4085[:yyj4085] + yyc4085 = true + } else if yyj4085 == 0 && yyv4085 == nil { + yyv4085 = []LimitRange{} + yyc4085 = true + } + } + yyh4085.End() + if yyc4085 { + *v = yyv4085 + } +} + +func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4089 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4090 := &yyv4089 + yy4090.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4091 := *v + yyh4091, yyl4091 := z.DecSliceHelperStart() + var yyc4091 bool + if yyl4091 == 0 { + if yyv4091 == nil { + yyv4091 = []ResourceQuota{} + yyc4091 = true + } else if len(yyv4091) != 0 { + yyv4091 = yyv4091[:0] + yyc4091 = true + } + } else if yyl4091 > 0 { + var yyrr4091, yyrl4091 int + var yyrt4091 bool + if yyl4091 > cap(yyv4091) { + + yyrg4091 := len(yyv4091) > 0 + yyv24091 := yyv4091 + yyrl4091, yyrt4091 = z.DecInferLen(yyl4091, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4091 { + if yyrl4091 <= cap(yyv4091) { + yyv4091 = yyv4091[:yyrl4091] + } else { + yyv4091 = make([]ResourceQuota, yyrl4091) + } + } else { + yyv4091 = make([]ResourceQuota, yyrl4091) + } + yyc4091 = true + yyrr4091 = len(yyv4091) + if yyrg4091 { + copy(yyv4091, yyv24091) + } + } else if yyl4091 != len(yyv4091) { + yyv4091 = yyv4091[:yyl4091] + yyc4091 = true + } + yyj4091 := 0 + for ; yyj4091 < yyrr4091; yyj4091++ { + yyh4091.ElemContainerState(yyj4091) + if r.TryDecodeAsNil() { + yyv4091[yyj4091] = ResourceQuota{} + } else { + yyv4092 := &yyv4091[yyj4091] + yyv4092.CodecDecodeSelf(d) + } + + } + if yyrt4091 { + for ; yyj4091 < yyl4091; yyj4091++ { + yyv4091 = append(yyv4091, ResourceQuota{}) + yyh4091.ElemContainerState(yyj4091) + if r.TryDecodeAsNil() { + yyv4091[yyj4091] = ResourceQuota{} + } else { + yyv4093 := &yyv4091[yyj4091] + yyv4093.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4091 := 0 + for ; !r.CheckBreak(); yyj4091++ { + + if yyj4091 >= len(yyv4091) { + yyv4091 = append(yyv4091, ResourceQuota{}) // var yyz4091 ResourceQuota + yyc4091 = true + } + yyh4091.ElemContainerState(yyj4091) + if yyj4091 < len(yyv4091) { + if r.TryDecodeAsNil() { + yyv4091[yyj4091] = ResourceQuota{} + } else { + yyv4094 := &yyv4091[yyj4091] + yyv4094.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4091 < len(yyv4091) { + yyv4091 = yyv4091[:yyj4091] + yyc4091 = true + } else if yyj4091 == 0 && yyv4091 == nil { + yyv4091 = []ResourceQuota{} + yyc4091 = true + } + } + yyh4091.End() + if yyc4091 { + *v = yyv4091 + } +} + func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4062, yyv4062 := range v { + for yyk4095, yyv4095 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4063 := z.EncBinary() - _ = yym4063 + yym4096 := z.EncBinary() + _ = yym4096 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4062)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4095)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4062 == nil { + if yyv4095 == nil { r.EncodeNil() } else { - yym4064 := z.EncBinary() - _ = yym4064 + yym4097 := z.EncBinary() + _ = yym4097 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4062)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4095)) } } } @@ -52056,80 +52571,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4065 := *v - yyl4065 := r.ReadMapStart() - yybh4065 := z.DecBasicHandle() - if yyv4065 == nil { - yyrl4065, _ := z.DecInferLen(yyl4065, yybh4065.MaxInitLen, 40) - yyv4065 = make(map[string][]uint8, yyrl4065) - *v = yyv4065 + yyv4098 := *v + yyl4098 := r.ReadMapStart() + yybh4098 := z.DecBasicHandle() + if yyv4098 == nil { + yyrl4098, _ := z.DecInferLen(yyl4098, yybh4098.MaxInitLen, 40) + yyv4098 = make(map[string][]uint8, yyrl4098) + *v = yyv4098 } - var yymk4065 string - var yymv4065 []uint8 - var yymg4065 bool - if yybh4065.MapValueReset { - yymg4065 = true + var yymk4098 string + var yymv4098 []uint8 + var yymg4098 bool + if yybh4098.MapValueReset { + yymg4098 = true } - if yyl4065 > 0 { - for yyj4065 := 0; yyj4065 < yyl4065; yyj4065++ { + if yyl4098 > 0 { + for yyj4098 := 0; yyj4098 < yyl4098; yyj4098++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4065 = "" + yymk4098 = "" } else { - yymk4065 = string(r.DecodeString()) + yymk4098 = string(r.DecodeString()) } - if yymg4065 { - yymv4065 = yyv4065[yymk4065] + if yymg4098 { + yymv4098 = yyv4098[yymk4098] } else { - yymv4065 = nil + yymv4098 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4065 = nil + yymv4098 = nil } else { - yyv4067 := &yymv4065 - yym4068 := z.DecBinary() - _ = yym4068 + yyv4100 := &yymv4098 + yym4101 := z.DecBinary() + _ = yym4101 if false { } else { - *yyv4067 = r.DecodeBytes(*(*[]byte)(yyv4067), false, false) + *yyv4100 = r.DecodeBytes(*(*[]byte)(yyv4100), false, false) } } - if yyv4065 != nil { - yyv4065[yymk4065] = yymv4065 + if yyv4098 != nil { + yyv4098[yymk4098] = yymv4098 } } - } else if yyl4065 < 0 { - for yyj4065 := 0; !r.CheckBreak(); yyj4065++ { + } else if yyl4098 < 0 { + for yyj4098 := 0; !r.CheckBreak(); yyj4098++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4065 = "" + yymk4098 = "" } else { - yymk4065 = string(r.DecodeString()) + yymk4098 = string(r.DecodeString()) } - if yymg4065 { - yymv4065 = yyv4065[yymk4065] + if yymg4098 { + yymv4098 = yyv4098[yymk4098] } else { - yymv4065 = nil + yymv4098 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4065 = nil + yymv4098 = nil } else { - yyv4070 := &yymv4065 - yym4071 := z.DecBinary() - _ = yym4071 + yyv4103 := &yymv4098 + yym4104 := z.DecBinary() + _ = yym4104 if false { } else { - *yyv4070 = r.DecodeBytes(*(*[]byte)(yyv4070), false, false) + *yyv4103 = r.DecodeBytes(*(*[]byte)(yyv4103), false, false) } } - if yyv4065 != nil { - yyv4065[yymk4065] = yymv4065 + if yyv4098 != nil { + yyv4098[yymk4098] = yymv4098 } } } // else len==0: TODO: Should we clear map entries? @@ -52141,10 +52656,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4072 := range v { + for _, yyv4105 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4073 := &yyv4072 - yy4073.CodecEncodeSelf(e) + yy4106 := &yyv4105 + yy4106.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52154,83 +52669,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4074 := *v - yyh4074, yyl4074 := z.DecSliceHelperStart() - var yyc4074 bool - if yyl4074 == 0 { - if yyv4074 == nil { - yyv4074 = []Secret{} - yyc4074 = true - } else if len(yyv4074) != 0 { - yyv4074 = yyv4074[:0] - yyc4074 = true + yyv4107 := *v + yyh4107, yyl4107 := z.DecSliceHelperStart() + var yyc4107 bool + if yyl4107 == 0 { + if yyv4107 == nil { + yyv4107 = []Secret{} + yyc4107 = true + } else if len(yyv4107) != 0 { + yyv4107 = yyv4107[:0] + yyc4107 = true } - } else if yyl4074 > 0 { - var yyrr4074, yyrl4074 int - var yyrt4074 bool - if yyl4074 > cap(yyv4074) { + } else if yyl4107 > 0 { + var yyrr4107, yyrl4107 int + var yyrt4107 bool + if yyl4107 > cap(yyv4107) { - yyrg4074 := len(yyv4074) > 0 - yyv24074 := yyv4074 - yyrl4074, yyrt4074 = z.DecInferLen(yyl4074, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4074 { - if yyrl4074 <= cap(yyv4074) { - yyv4074 = yyv4074[:yyrl4074] + yyrg4107 := len(yyv4107) > 0 + yyv24107 := yyv4107 + yyrl4107, yyrt4107 = z.DecInferLen(yyl4107, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4107 { + if yyrl4107 <= cap(yyv4107) { + yyv4107 = yyv4107[:yyrl4107] } else { - yyv4074 = make([]Secret, yyrl4074) + yyv4107 = make([]Secret, yyrl4107) } } else { - yyv4074 = make([]Secret, yyrl4074) + yyv4107 = make([]Secret, yyrl4107) } - yyc4074 = true - yyrr4074 = len(yyv4074) - if yyrg4074 { - copy(yyv4074, yyv24074) + yyc4107 = true + yyrr4107 = len(yyv4107) + if yyrg4107 { + copy(yyv4107, yyv24107) } - } else if yyl4074 != len(yyv4074) { - yyv4074 = yyv4074[:yyl4074] - yyc4074 = true + } else if yyl4107 != len(yyv4107) { + yyv4107 = yyv4107[:yyl4107] + yyc4107 = true } - yyj4074 := 0 - for ; yyj4074 < yyrr4074; yyj4074++ { - yyh4074.ElemContainerState(yyj4074) + yyj4107 := 0 + for ; yyj4107 < yyrr4107; yyj4107++ { + yyh4107.ElemContainerState(yyj4107) if r.TryDecodeAsNil() { - yyv4074[yyj4074] = Secret{} + yyv4107[yyj4107] = Secret{} } else { - yyv4075 := &yyv4074[yyj4074] - yyv4075.CodecDecodeSelf(d) + yyv4108 := &yyv4107[yyj4107] + yyv4108.CodecDecodeSelf(d) } } - if yyrt4074 { - for ; yyj4074 < yyl4074; yyj4074++ { - yyv4074 = append(yyv4074, Secret{}) - yyh4074.ElemContainerState(yyj4074) + if yyrt4107 { + for ; yyj4107 < yyl4107; yyj4107++ { + yyv4107 = append(yyv4107, Secret{}) + yyh4107.ElemContainerState(yyj4107) if r.TryDecodeAsNil() { - yyv4074[yyj4074] = Secret{} + yyv4107[yyj4107] = Secret{} } else { - yyv4076 := &yyv4074[yyj4074] - yyv4076.CodecDecodeSelf(d) + yyv4109 := &yyv4107[yyj4107] + yyv4109.CodecDecodeSelf(d) } } } } else { - yyj4074 := 0 - for ; !r.CheckBreak(); yyj4074++ { + yyj4107 := 0 + for ; !r.CheckBreak(); yyj4107++ { - if yyj4074 >= len(yyv4074) { - yyv4074 = append(yyv4074, Secret{}) // var yyz4074 Secret - yyc4074 = true + if yyj4107 >= len(yyv4107) { + yyv4107 = append(yyv4107, Secret{}) // var yyz4107 Secret + yyc4107 = true } - yyh4074.ElemContainerState(yyj4074) - if yyj4074 < len(yyv4074) { + yyh4107.ElemContainerState(yyj4107) + if yyj4107 < len(yyv4107) { if r.TryDecodeAsNil() { - yyv4074[yyj4074] = Secret{} + yyv4107[yyj4107] = Secret{} } else { - yyv4077 := &yyv4074[yyj4074] - yyv4077.CodecDecodeSelf(d) + yyv4110 := &yyv4107[yyj4107] + yyv4110.CodecDecodeSelf(d) } } else { @@ -52238,17 +52753,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4074 < len(yyv4074) { - yyv4074 = yyv4074[:yyj4074] - yyc4074 = true - } else if yyj4074 == 0 && yyv4074 == nil { - yyv4074 = []Secret{} - yyc4074 = true + if yyj4107 < len(yyv4107) { + yyv4107 = yyv4107[:yyj4107] + yyc4107 = true + } else if yyj4107 == 0 && yyv4107 == nil { + yyv4107 = []Secret{} + yyc4107 = true } } - yyh4074.End() - if yyc4074 { - *v = yyv4074 + yyh4107.End() + if yyc4107 { + *v = yyv4107 } } @@ -52257,10 +52772,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4078 := range v { + for _, yyv4111 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4079 := &yyv4078 - yy4079.CodecEncodeSelf(e) + yy4112 := &yyv4111 + yy4112.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52270,83 +52785,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4080 := *v - yyh4080, yyl4080 := z.DecSliceHelperStart() - var yyc4080 bool - if yyl4080 == 0 { - if yyv4080 == nil { - yyv4080 = []ConfigMap{} - yyc4080 = true - } else if len(yyv4080) != 0 { - yyv4080 = yyv4080[:0] - yyc4080 = true + yyv4113 := *v + yyh4113, yyl4113 := z.DecSliceHelperStart() + var yyc4113 bool + if yyl4113 == 0 { + if yyv4113 == nil { + yyv4113 = []ConfigMap{} + yyc4113 = true + } else if len(yyv4113) != 0 { + yyv4113 = yyv4113[:0] + yyc4113 = true } - } else if yyl4080 > 0 { - var yyrr4080, yyrl4080 int - var yyrt4080 bool - if yyl4080 > cap(yyv4080) { + } else if yyl4113 > 0 { + var yyrr4113, yyrl4113 int + var yyrt4113 bool + if yyl4113 > cap(yyv4113) { - yyrg4080 := len(yyv4080) > 0 - yyv24080 := yyv4080 - yyrl4080, yyrt4080 = z.DecInferLen(yyl4080, z.DecBasicHandle().MaxInitLen, 200) - if yyrt4080 { - if yyrl4080 <= cap(yyv4080) { - yyv4080 = yyv4080[:yyrl4080] + yyrg4113 := len(yyv4113) > 0 + yyv24113 := yyv4113 + yyrl4113, yyrt4113 = z.DecInferLen(yyl4113, z.DecBasicHandle().MaxInitLen, 200) + if yyrt4113 { + if yyrl4113 <= cap(yyv4113) { + yyv4113 = yyv4113[:yyrl4113] } else { - yyv4080 = make([]ConfigMap, yyrl4080) + yyv4113 = make([]ConfigMap, yyrl4113) } } else { - yyv4080 = make([]ConfigMap, yyrl4080) + yyv4113 = make([]ConfigMap, yyrl4113) } - yyc4080 = true - yyrr4080 = len(yyv4080) - if yyrg4080 { - copy(yyv4080, yyv24080) + yyc4113 = true + yyrr4113 = len(yyv4113) + if yyrg4113 { + copy(yyv4113, yyv24113) } - } else if yyl4080 != len(yyv4080) { - yyv4080 = yyv4080[:yyl4080] - yyc4080 = true + } else if yyl4113 != len(yyv4113) { + yyv4113 = yyv4113[:yyl4113] + yyc4113 = true } - yyj4080 := 0 - for ; yyj4080 < yyrr4080; yyj4080++ { - yyh4080.ElemContainerState(yyj4080) + yyj4113 := 0 + for ; yyj4113 < yyrr4113; yyj4113++ { + yyh4113.ElemContainerState(yyj4113) if r.TryDecodeAsNil() { - yyv4080[yyj4080] = ConfigMap{} + yyv4113[yyj4113] = ConfigMap{} } else { - yyv4081 := &yyv4080[yyj4080] - yyv4081.CodecDecodeSelf(d) + yyv4114 := &yyv4113[yyj4113] + yyv4114.CodecDecodeSelf(d) } } - if yyrt4080 { - for ; yyj4080 < yyl4080; yyj4080++ { - yyv4080 = append(yyv4080, ConfigMap{}) - yyh4080.ElemContainerState(yyj4080) + if yyrt4113 { + for ; yyj4113 < yyl4113; yyj4113++ { + yyv4113 = append(yyv4113, ConfigMap{}) + yyh4113.ElemContainerState(yyj4113) if r.TryDecodeAsNil() { - yyv4080[yyj4080] = ConfigMap{} + yyv4113[yyj4113] = ConfigMap{} } else { - yyv4082 := &yyv4080[yyj4080] - yyv4082.CodecDecodeSelf(d) + yyv4115 := &yyv4113[yyj4113] + yyv4115.CodecDecodeSelf(d) } } } } else { - yyj4080 := 0 - for ; !r.CheckBreak(); yyj4080++ { + yyj4113 := 0 + for ; !r.CheckBreak(); yyj4113++ { - if yyj4080 >= len(yyv4080) { - yyv4080 = append(yyv4080, ConfigMap{}) // var yyz4080 ConfigMap - yyc4080 = true + if yyj4113 >= len(yyv4113) { + yyv4113 = append(yyv4113, ConfigMap{}) // var yyz4113 ConfigMap + yyc4113 = true } - yyh4080.ElemContainerState(yyj4080) - if yyj4080 < len(yyv4080) { + yyh4113.ElemContainerState(yyj4113) + if yyj4113 < len(yyv4113) { if r.TryDecodeAsNil() { - yyv4080[yyj4080] = ConfigMap{} + yyv4113[yyj4113] = ConfigMap{} } else { - yyv4083 := &yyv4080[yyj4080] - yyv4083.CodecDecodeSelf(d) + yyv4116 := &yyv4113[yyj4113] + yyv4116.CodecDecodeSelf(d) } } else { @@ -52354,17 +52869,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4080 < len(yyv4080) { - yyv4080 = yyv4080[:yyj4080] - yyc4080 = true - } else if yyj4080 == 0 && yyv4080 == nil { - yyv4080 = []ConfigMap{} - yyc4080 = true + if yyj4113 < len(yyv4113) { + yyv4113 = yyv4113[:yyj4113] + yyc4113 = true + } else if yyj4113 == 0 && yyv4113 == nil { + yyv4113 = []ConfigMap{} + yyc4113 = true } } - yyh4080.End() - if yyc4080 { - *v = yyv4080 + yyh4113.End() + if yyc4113 { + *v = yyv4113 } } @@ -52373,10 +52888,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4084 := range v { + for _, yyv4117 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4085 := &yyv4084 - yy4085.CodecEncodeSelf(e) + yy4118 := &yyv4117 + yy4118.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52386,83 +52901,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4086 := *v - yyh4086, yyl4086 := z.DecSliceHelperStart() - var yyc4086 bool - if yyl4086 == 0 { - if yyv4086 == nil { - yyv4086 = []ComponentCondition{} - yyc4086 = true - } else if len(yyv4086) != 0 { - yyv4086 = yyv4086[:0] - yyc4086 = true + yyv4119 := *v + yyh4119, yyl4119 := z.DecSliceHelperStart() + var yyc4119 bool + if yyl4119 == 0 { + if yyv4119 == nil { + yyv4119 = []ComponentCondition{} + yyc4119 = true + } else if len(yyv4119) != 0 { + yyv4119 = yyv4119[:0] + yyc4119 = true } - } else if yyl4086 > 0 { - var yyrr4086, yyrl4086 int - var yyrt4086 bool - if yyl4086 > cap(yyv4086) { + } else if yyl4119 > 0 { + var yyrr4119, yyrl4119 int + var yyrt4119 bool + if yyl4119 > cap(yyv4119) { - yyrg4086 := len(yyv4086) > 0 - yyv24086 := yyv4086 - yyrl4086, yyrt4086 = z.DecInferLen(yyl4086, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4086 { - if yyrl4086 <= cap(yyv4086) { - yyv4086 = yyv4086[:yyrl4086] + yyrg4119 := len(yyv4119) > 0 + yyv24119 := yyv4119 + yyrl4119, yyrt4119 = z.DecInferLen(yyl4119, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4119 { + if yyrl4119 <= cap(yyv4119) { + yyv4119 = yyv4119[:yyrl4119] } else { - yyv4086 = make([]ComponentCondition, yyrl4086) + yyv4119 = make([]ComponentCondition, yyrl4119) } } else { - yyv4086 = make([]ComponentCondition, yyrl4086) + yyv4119 = make([]ComponentCondition, yyrl4119) } - yyc4086 = true - yyrr4086 = len(yyv4086) - if yyrg4086 { - copy(yyv4086, yyv24086) + yyc4119 = true + yyrr4119 = len(yyv4119) + if yyrg4119 { + copy(yyv4119, yyv24119) } - } else if yyl4086 != len(yyv4086) { - yyv4086 = yyv4086[:yyl4086] - yyc4086 = true + } else if yyl4119 != len(yyv4119) { + yyv4119 = yyv4119[:yyl4119] + yyc4119 = true } - yyj4086 := 0 - for ; yyj4086 < yyrr4086; yyj4086++ { - yyh4086.ElemContainerState(yyj4086) + yyj4119 := 0 + for ; yyj4119 < yyrr4119; yyj4119++ { + yyh4119.ElemContainerState(yyj4119) if r.TryDecodeAsNil() { - yyv4086[yyj4086] = ComponentCondition{} + yyv4119[yyj4119] = ComponentCondition{} } else { - yyv4087 := &yyv4086[yyj4086] - yyv4087.CodecDecodeSelf(d) + yyv4120 := &yyv4119[yyj4119] + yyv4120.CodecDecodeSelf(d) } } - if yyrt4086 { - for ; yyj4086 < yyl4086; yyj4086++ { - yyv4086 = append(yyv4086, ComponentCondition{}) - yyh4086.ElemContainerState(yyj4086) + if yyrt4119 { + for ; yyj4119 < yyl4119; yyj4119++ { + yyv4119 = append(yyv4119, ComponentCondition{}) + yyh4119.ElemContainerState(yyj4119) if r.TryDecodeAsNil() { - yyv4086[yyj4086] = ComponentCondition{} + yyv4119[yyj4119] = ComponentCondition{} } else { - yyv4088 := &yyv4086[yyj4086] - yyv4088.CodecDecodeSelf(d) + yyv4121 := &yyv4119[yyj4119] + yyv4121.CodecDecodeSelf(d) } } } } else { - yyj4086 := 0 - for ; !r.CheckBreak(); yyj4086++ { + yyj4119 := 0 + for ; !r.CheckBreak(); yyj4119++ { - if yyj4086 >= len(yyv4086) { - yyv4086 = append(yyv4086, ComponentCondition{}) // var yyz4086 ComponentCondition - yyc4086 = true + if yyj4119 >= len(yyv4119) { + yyv4119 = append(yyv4119, ComponentCondition{}) // var yyz4119 ComponentCondition + yyc4119 = true } - yyh4086.ElemContainerState(yyj4086) - if yyj4086 < len(yyv4086) { + yyh4119.ElemContainerState(yyj4119) + if yyj4119 < len(yyv4119) { if r.TryDecodeAsNil() { - yyv4086[yyj4086] = ComponentCondition{} + yyv4119[yyj4119] = ComponentCondition{} } else { - yyv4089 := &yyv4086[yyj4086] - yyv4089.CodecDecodeSelf(d) + yyv4122 := &yyv4119[yyj4119] + yyv4122.CodecDecodeSelf(d) } } else { @@ -52470,17 +52985,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4086 < len(yyv4086) { - yyv4086 = yyv4086[:yyj4086] - yyc4086 = true - } else if yyj4086 == 0 && yyv4086 == nil { - yyv4086 = []ComponentCondition{} - yyc4086 = true + if yyj4119 < len(yyv4119) { + yyv4119 = yyv4119[:yyj4119] + yyc4119 = true + } else if yyj4119 == 0 && yyv4119 == nil { + yyv4119 = []ComponentCondition{} + yyc4119 = true } } - yyh4086.End() - if yyc4086 { - *v = yyv4086 + yyh4119.End() + if yyc4119 { + *v = yyv4119 } } @@ -52489,10 +53004,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4090 := range v { + for _, yyv4123 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4091 := &yyv4090 - yy4091.CodecEncodeSelf(e) + yy4124 := &yyv4123 + yy4124.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52502,83 +53017,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4092 := *v - yyh4092, yyl4092 := z.DecSliceHelperStart() - var yyc4092 bool - if yyl4092 == 0 { - if yyv4092 == nil { - yyv4092 = []ComponentStatus{} - yyc4092 = true - } else if len(yyv4092) != 0 { - yyv4092 = yyv4092[:0] - yyc4092 = true + yyv4125 := *v + yyh4125, yyl4125 := z.DecSliceHelperStart() + var yyc4125 bool + if yyl4125 == 0 { + if yyv4125 == nil { + yyv4125 = []ComponentStatus{} + yyc4125 = true + } else if len(yyv4125) != 0 { + yyv4125 = yyv4125[:0] + yyc4125 = true } - } else if yyl4092 > 0 { - var yyrr4092, yyrl4092 int - var yyrt4092 bool - if yyl4092 > cap(yyv4092) { + } else if yyl4125 > 0 { + var yyrr4125, yyrl4125 int + var yyrt4125 bool + if yyl4125 > cap(yyv4125) { - yyrg4092 := len(yyv4092) > 0 - yyv24092 := yyv4092 - yyrl4092, yyrt4092 = z.DecInferLen(yyl4092, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4092 { - if yyrl4092 <= cap(yyv4092) { - yyv4092 = yyv4092[:yyrl4092] + yyrg4125 := len(yyv4125) > 0 + yyv24125 := yyv4125 + yyrl4125, yyrt4125 = z.DecInferLen(yyl4125, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4125 { + if yyrl4125 <= cap(yyv4125) { + yyv4125 = yyv4125[:yyrl4125] } else { - yyv4092 = make([]ComponentStatus, yyrl4092) + yyv4125 = make([]ComponentStatus, yyrl4125) } } else { - yyv4092 = make([]ComponentStatus, yyrl4092) + yyv4125 = make([]ComponentStatus, yyrl4125) } - yyc4092 = true - yyrr4092 = len(yyv4092) - if yyrg4092 { - copy(yyv4092, yyv24092) + yyc4125 = true + yyrr4125 = len(yyv4125) + if yyrg4125 { + copy(yyv4125, yyv24125) } - } else if yyl4092 != len(yyv4092) { - yyv4092 = yyv4092[:yyl4092] - yyc4092 = true + } else if yyl4125 != len(yyv4125) { + yyv4125 = yyv4125[:yyl4125] + yyc4125 = true } - yyj4092 := 0 - for ; yyj4092 < yyrr4092; yyj4092++ { - yyh4092.ElemContainerState(yyj4092) + yyj4125 := 0 + for ; yyj4125 < yyrr4125; yyj4125++ { + yyh4125.ElemContainerState(yyj4125) if r.TryDecodeAsNil() { - yyv4092[yyj4092] = ComponentStatus{} + yyv4125[yyj4125] = ComponentStatus{} } else { - yyv4093 := &yyv4092[yyj4092] - yyv4093.CodecDecodeSelf(d) + yyv4126 := &yyv4125[yyj4125] + yyv4126.CodecDecodeSelf(d) } } - if yyrt4092 { - for ; yyj4092 < yyl4092; yyj4092++ { - yyv4092 = append(yyv4092, ComponentStatus{}) - yyh4092.ElemContainerState(yyj4092) + if yyrt4125 { + for ; yyj4125 < yyl4125; yyj4125++ { + yyv4125 = append(yyv4125, ComponentStatus{}) + yyh4125.ElemContainerState(yyj4125) if r.TryDecodeAsNil() { - yyv4092[yyj4092] = ComponentStatus{} + yyv4125[yyj4125] = ComponentStatus{} } else { - yyv4094 := &yyv4092[yyj4092] - yyv4094.CodecDecodeSelf(d) + yyv4127 := &yyv4125[yyj4125] + yyv4127.CodecDecodeSelf(d) } } } } else { - yyj4092 := 0 - for ; !r.CheckBreak(); yyj4092++ { + yyj4125 := 0 + for ; !r.CheckBreak(); yyj4125++ { - if yyj4092 >= len(yyv4092) { - yyv4092 = append(yyv4092, ComponentStatus{}) // var yyz4092 ComponentStatus - yyc4092 = true + if yyj4125 >= len(yyv4125) { + yyv4125 = append(yyv4125, ComponentStatus{}) // var yyz4125 ComponentStatus + yyc4125 = true } - yyh4092.ElemContainerState(yyj4092) - if yyj4092 < len(yyv4092) { + yyh4125.ElemContainerState(yyj4125) + if yyj4125 < len(yyv4125) { if r.TryDecodeAsNil() { - yyv4092[yyj4092] = ComponentStatus{} + yyv4125[yyj4125] = ComponentStatus{} } else { - yyv4095 := &yyv4092[yyj4092] - yyv4095.CodecDecodeSelf(d) + yyv4128 := &yyv4125[yyj4125] + yyv4128.CodecDecodeSelf(d) } } else { @@ -52586,16 +53101,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4092 < len(yyv4092) { - yyv4092 = yyv4092[:yyj4092] - yyc4092 = true - } else if yyj4092 == 0 && yyv4092 == nil { - yyv4092 = []ComponentStatus{} - yyc4092 = true + if yyj4125 < len(yyv4125) { + yyv4125 = yyv4125[:yyj4125] + yyc4125 = true + } else if yyj4125 == 0 && yyv4125 == nil { + yyv4125 = []ComponentStatus{} + yyc4125 = true } } - yyh4092.End() - if yyc4092 { - *v = yyv4092 + yyh4125.End() + if yyc4125 { + *v = yyv4125 } } diff --git a/pkg/api/types.go b/pkg/api/types.go index ef37f3b7872..1a6e8fc64fd 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -215,6 +215,8 @@ type VolumeSource struct { DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. FC *FCVolumeSource `json:"fc,omitempty"` + // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` } // Similar to VolumeSource but meant for the administrator who creates PVs. @@ -251,6 +253,8 @@ type PersistentVolumeSource struct { FC *FCVolumeSource `json:"fc,omitempty"` // Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running Flocker *FlockerVolumeSource `json:"flocker,omitempty"` + // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` } type PersistentVolumeClaimVolumeSource struct { @@ -672,6 +676,17 @@ type DownwardAPIVolumeFile struct { FieldRef ObjectFieldSelector `json:"fieldRef"` } +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +type AzureFileVolumeSource struct { + // the name of secret that contains Azure Storage Account Name and Key + SecretName string `json:"secretName"` + // Share Name + ShareName string `json:"shareName"` + // Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + ReadOnly bool `json:"readOnly,omitempty"` +} + // ContainerPort represents a network port in a single container type ContainerPort struct { // Optional: If specified, this must be an IANA_SVC_NAME Each named port diff --git a/pkg/api/v1/conversion_generated.go b/pkg/api/v1/conversion_generated.go index c056e36b870..7c2c2f8ea55 100644 --- a/pkg/api/v1/conversion_generated.go +++ b/pkg/api/v1/conversion_generated.go @@ -43,6 +43,20 @@ func Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolu return autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource(in, out, s) } +func autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.AzureFileVolumeSource, out *AzureFileVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.AzureFileVolumeSource))(in) + } + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + +func Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.AzureFileVolumeSource, out *AzureFileVolumeSource, s conversion.Scope) error { + return autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in, out, s) +} + func autoConvert_api_Binding_To_v1_Binding(in *api.Binding, out *Binding, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.Binding))(in) @@ -1970,6 +1984,15 @@ func autoConvert_api_PersistentVolumeSource_To_v1_PersistentVolumeSource(in *api } else { out.Flocker = nil } + // unable to generate simple pointer conversion for api.AzureFileVolumeSource -> v1.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(AzureFileVolumeSource) + if err := Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -3196,6 +3219,15 @@ func autoConvert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out * } else { out.FC = nil } + // unable to generate simple pointer conversion for api.AzureFileVolumeSource -> v1.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(AzureFileVolumeSource) + if err := Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -3231,6 +3263,20 @@ func Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolu return autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in, out, s) } +func autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in *AzureFileVolumeSource, out *api.AzureFileVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*AzureFileVolumeSource))(in) + } + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + +func Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in *AzureFileVolumeSource, out *api.AzureFileVolumeSource, s conversion.Scope) error { + return autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in, out, s) +} + func autoConvert_v1_Binding_To_api_Binding(in *Binding, out *api.Binding, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*Binding))(in) @@ -5099,6 +5145,15 @@ func autoConvert_v1_PersistentVolumeSource_To_api_PersistentVolumeSource(in *Per } else { out.FlexVolume = nil } + // unable to generate simple pointer conversion for v1.AzureFileVolumeSource -> api.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(api.AzureFileVolumeSource) + if err := Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -6274,6 +6329,15 @@ func autoConvert_v1_VolumeSource_To_api_VolumeSource(in *VolumeSource, out *api. } else { out.FC = nil } + // unable to generate simple pointer conversion for v1.AzureFileVolumeSource -> api.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(api.AzureFileVolumeSource) + if err := Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -6284,6 +6348,7 @@ func Convert_v1_VolumeSource_To_api_VolumeSource(in *VolumeSource, out *api.Volu func init() { err := api.Scheme.AddGeneratedConversionFuncs( autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource, + autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource, autoConvert_api_Binding_To_v1_Binding, autoConvert_api_Capabilities_To_v1_Capabilities, autoConvert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource, @@ -6410,6 +6475,7 @@ func init() { autoConvert_api_Volume_To_v1_Volume, autoConvert_unversioned_ExportOptions_To_v1_ExportOptions, autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource, + autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource, autoConvert_v1_Binding_To_api_Binding, autoConvert_v1_Capabilities_To_api_Capabilities, autoConvert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource, diff --git a/pkg/api/v1/deep_copy_generated.go b/pkg/api/v1/deep_copy_generated.go index 2e278c11ebc..f5b35610466 100644 --- a/pkg/api/v1/deep_copy_generated.go +++ b/pkg/api/v1/deep_copy_generated.go @@ -73,6 +73,13 @@ func deepCopy_v1_AWSElasticBlockStoreVolumeSource(in AWSElasticBlockStoreVolumeS return nil } +func deepCopy_v1_AzureFileVolumeSource(in AzureFileVolumeSource, out *AzureFileVolumeSource, c *conversion.Cloner) error { + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + func deepCopy_v1_Binding(in Binding, out *Binding, c *conversion.Cloner) error { if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { return err @@ -1490,6 +1497,14 @@ func deepCopy_v1_PersistentVolumeSource(in PersistentVolumeSource, out *Persiste } else { out.FlexVolume = nil } + if in.AzureFile != nil { + out.AzureFile = new(AzureFileVolumeSource) + if err := deepCopy_v1_AzureFileVolumeSource(*in.AzureFile, out.AzureFile, c); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -2514,6 +2529,14 @@ func deepCopy_v1_VolumeSource(in VolumeSource, out *VolumeSource, c *conversion. } else { out.FC = nil } + if in.AzureFile != nil { + out.AzureFile = new(AzureFileVolumeSource) + if err := deepCopy_v1_AzureFileVolumeSource(*in.AzureFile, out.AzureFile, c); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -2550,6 +2573,7 @@ func init() { deepCopy_unversioned_Time, deepCopy_unversioned_TypeMeta, deepCopy_v1_AWSElasticBlockStoreVolumeSource, + deepCopy_v1_AzureFileVolumeSource, deepCopy_v1_Binding, deepCopy_v1_Capabilities, deepCopy_v1_CephFSVolumeSource, diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index b6f200d8e15..648132dc90f 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -942,7 +942,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep82 := !z.EncBinary() yy2arr82 := z.EncBasicHandle().StructToArray - var yyq82 [18]bool + var yyq82 [19]bool _, _, _ = yysep82, yyq82, yy2arr82 const yyr82 bool = false yyq82[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil @@ -962,9 +962,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { yyq82[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil yyq82[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil yyq82[17] = x.VolumeSource.FC != nil && x.FC != nil + yyq82[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil var yynn82 int if yyr82 || yy2arr82 { - r.EncodeArrayStart(18) + r.EncodeArrayStart(19) } else { yynn82 = 1 for _, b := range yyq82 { @@ -1623,6 +1624,43 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } + var yyn103 bool + if x.VolumeSource.AzureFile == nil { + yyn103 = true + goto LABEL103 + } + LABEL103: + if yyr82 || yy2arr82 { + if yyn103 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[18] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq82[18] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn103 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -1636,25 +1674,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym103 := z.DecBinary() - _ = yym103 + yym104 := z.DecBinary() + _ = yym104 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct104 := r.ContainerType() - if yyct104 == codecSelferValueTypeMap1234 { - yyl104 := r.ReadMapStart() - if yyl104 == 0 { + yyct105 := r.ContainerType() + if yyct105 == codecSelferValueTypeMap1234 { + yyl105 := r.ReadMapStart() + if yyl105 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl104, d) + x.codecDecodeSelfFromMap(yyl105, d) } - } else if yyct104 == codecSelferValueTypeArray1234 { - yyl104 := r.ReadArrayStart() - if yyl104 == 0 { + } else if yyct105 == codecSelferValueTypeArray1234 { + yyl105 := r.ReadArrayStart() + if yyl105 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl104, d) + x.codecDecodeSelfFromArray(yyl105, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1666,12 +1704,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys105Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys105Slc - var yyhl105 bool = l >= 0 - for yyj105 := 0; ; yyj105++ { - if yyhl105 { - if yyj105 >= l { + var yys106Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys106Slc + var yyhl106 bool = l >= 0 + for yyj106 := 0; ; yyj106++ { + if yyhl106 { + if yyj106 >= l { break } } else { @@ -1680,10 +1718,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys105Slc = r.DecodeBytes(yys105Slc, true, true) - yys105 := string(yys105Slc) + yys106Slc = r.DecodeBytes(yys106Slc, true, true) + yys106 := string(yys106Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys105 { + switch yys106 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1928,10 +1966,24 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } + case "azureFile": + if x.VolumeSource.AzureFile == nil { + x.VolumeSource.AzureFile = new(AzureFileVolumeSource) + } + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys105) - } // end switch yys105 - } // end for yyj105 + z.DecStructFieldNotFound(-1, yys106) + } // end switch yys106 + } // end for yyj106 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1939,16 +1991,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj124 int - var yyb124 bool - var yyhl124 bool = l >= 0 - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + var yyj126 int + var yyb126 bool + var yyhl126 bool = l >= 0 + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1961,13 +2013,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1985,13 +2037,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2009,13 +2061,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2033,13 +2085,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2057,13 +2109,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2081,13 +2133,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2105,13 +2157,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2129,13 +2181,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2153,13 +2205,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2177,13 +2229,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2201,13 +2253,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2225,13 +2277,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FlexVolume == nil { x.VolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2249,13 +2301,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2273,13 +2325,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2297,13 +2349,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2321,13 +2373,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2345,13 +2397,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb124 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb124 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2366,18 +2418,42 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - for { - yyj124++ - if yyhl124 { - yyb124 = yyj124 > l - } else { - yyb124 = r.CheckBreak() + if x.VolumeSource.AzureFile == nil { + x.VolumeSource.AzureFile = new(AzureFileVolumeSource) + } + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l + } else { + yyb126 = r.CheckBreak() + } + if yyb126 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb124 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l + } else { + yyb126 = r.CheckBreak() + } + if yyb126 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj124-1, "") + z.DecStructFieldNotFound(yyj126-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2389,49 +2465,50 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym143 := z.EncBinary() - _ = yym143 + yym146 := z.EncBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep144 := !z.EncBinary() - yy2arr144 := z.EncBasicHandle().StructToArray - var yyq144 [17]bool - _, _, _ = yysep144, yyq144, yy2arr144 - const yyr144 bool = false - yyq144[0] = x.HostPath != nil - yyq144[1] = x.EmptyDir != nil - yyq144[2] = x.GCEPersistentDisk != nil - yyq144[3] = x.AWSElasticBlockStore != nil - yyq144[4] = x.GitRepo != nil - yyq144[5] = x.Secret != nil - yyq144[6] = x.NFS != nil - yyq144[7] = x.ISCSI != nil - yyq144[8] = x.Glusterfs != nil - yyq144[9] = x.PersistentVolumeClaim != nil - yyq144[10] = x.RBD != nil - yyq144[11] = x.FlexVolume != nil - yyq144[12] = x.Cinder != nil - yyq144[13] = x.CephFS != nil - yyq144[14] = x.Flocker != nil - yyq144[15] = x.DownwardAPI != nil - yyq144[16] = x.FC != nil - var yynn144 int - if yyr144 || yy2arr144 { - r.EncodeArrayStart(17) + yysep147 := !z.EncBinary() + yy2arr147 := z.EncBasicHandle().StructToArray + var yyq147 [18]bool + _, _, _ = yysep147, yyq147, yy2arr147 + const yyr147 bool = false + yyq147[0] = x.HostPath != nil + yyq147[1] = x.EmptyDir != nil + yyq147[2] = x.GCEPersistentDisk != nil + yyq147[3] = x.AWSElasticBlockStore != nil + yyq147[4] = x.GitRepo != nil + yyq147[5] = x.Secret != nil + yyq147[6] = x.NFS != nil + yyq147[7] = x.ISCSI != nil + yyq147[8] = x.Glusterfs != nil + yyq147[9] = x.PersistentVolumeClaim != nil + yyq147[10] = x.RBD != nil + yyq147[11] = x.FlexVolume != nil + yyq147[12] = x.Cinder != nil + yyq147[13] = x.CephFS != nil + yyq147[14] = x.Flocker != nil + yyq147[15] = x.DownwardAPI != nil + yyq147[16] = x.FC != nil + yyq147[17] = x.AzureFile != nil + var yynn147 int + if yyr147 || yy2arr147 { + r.EncodeArrayStart(18) } else { - yynn144 = 0 - for _, b := range yyq144 { + yynn147 = 0 + for _, b := range yyq147 { if b { - yynn144++ + yynn147++ } } - r.EncodeMapStart(yynn144) - yynn144 = 0 + r.EncodeMapStart(yynn147) + yynn147 = 0 } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[0] { + if yyq147[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2441,7 +2518,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[0] { + if yyq147[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2452,9 +2529,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[1] { + if yyq147[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2464,7 +2541,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[1] { + if yyq147[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2475,9 +2552,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[2] { + if yyq147[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2487,7 +2564,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[2] { + if yyq147[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2498,9 +2575,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[3] { + if yyq147[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2510,7 +2587,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[3] { + if yyq147[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2521,9 +2598,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[4] { + if yyq147[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2533,7 +2610,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[4] { + if yyq147[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2544,9 +2621,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[5] { + if yyq147[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2556,7 +2633,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[5] { + if yyq147[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2567,9 +2644,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[6] { + if yyq147[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2579,7 +2656,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[6] { + if yyq147[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2590,9 +2667,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[7] { + if yyq147[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2602,7 +2679,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[7] { + if yyq147[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2613,9 +2690,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[8] { + if yyq147[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2625,7 +2702,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[8] { + if yyq147[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2636,9 +2713,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[9] { + if yyq147[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -2648,7 +2725,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[9] { + if yyq147[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2659,9 +2736,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[10] { + if yyq147[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -2671,7 +2748,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[10] { + if yyq147[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2682,9 +2759,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[11] { + if yyq147[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -2694,7 +2771,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[11] { + if yyq147[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2705,9 +2782,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[12] { + if yyq147[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -2717,7 +2794,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[12] { + if yyq147[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2728,9 +2805,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[13] { + if yyq147[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -2740,7 +2817,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[13] { + if yyq147[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2751,9 +2828,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[14] { + if yyq147[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -2763,7 +2840,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[14] { + if yyq147[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2774,9 +2851,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[15] { + if yyq147[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -2786,7 +2863,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[15] { + if yyq147[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2797,9 +2874,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq144[16] { + if yyq147[16] { if x.FC == nil { r.EncodeNil() } else { @@ -2809,7 +2886,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq144[16] { + if yyq147[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2820,7 +2897,30 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr144 || yy2arr144 { + if yyr147 || yy2arr147 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq147[17] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq147[17] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2833,25 +2933,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym162 := z.DecBinary() - _ = yym162 + yym166 := z.DecBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct163 := r.ContainerType() - if yyct163 == codecSelferValueTypeMap1234 { - yyl163 := r.ReadMapStart() - if yyl163 == 0 { + yyct167 := r.ContainerType() + if yyct167 == codecSelferValueTypeMap1234 { + yyl167 := r.ReadMapStart() + if yyl167 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl163, d) + x.codecDecodeSelfFromMap(yyl167, d) } - } else if yyct163 == codecSelferValueTypeArray1234 { - yyl163 := r.ReadArrayStart() - if yyl163 == 0 { + } else if yyct167 == codecSelferValueTypeArray1234 { + yyl167 := r.ReadArrayStart() + if yyl167 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl163, d) + x.codecDecodeSelfFromArray(yyl167, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2863,12 +2963,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys164Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys164Slc - var yyhl164 bool = l >= 0 - for yyj164 := 0; ; yyj164++ { - if yyhl164 { - if yyj164 >= l { + var yys168Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys168Slc + var yyhl168 bool = l >= 0 + for yyj168 := 0; ; yyj168++ { + if yyhl168 { + if yyj168 >= l { break } } else { @@ -2877,10 +2977,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys164Slc = r.DecodeBytes(yys164Slc, true, true) - yys164 := string(yys164Slc) + yys168Slc = r.DecodeBytes(yys168Slc, true, true) + yys168 := string(yys168Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys164 { + switch yys168 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -3068,10 +3168,21 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } + case "azureFile": + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys164) - } // end switch yys164 - } // end for yyj164 + z.DecStructFieldNotFound(-1, yys168) + } // end switch yys168 + } // end for yyj168 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3079,16 +3190,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj182 int - var yyb182 bool - var yyhl182 bool = l >= 0 - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + var yyj187 int + var yyb187 bool + var yyhl187 bool = l >= 0 + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3103,13 +3214,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3124,13 +3235,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3145,13 +3256,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3166,13 +3277,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3187,13 +3298,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3208,13 +3319,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3229,13 +3340,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3250,13 +3361,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3271,13 +3382,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3292,13 +3403,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3313,13 +3424,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3334,13 +3445,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FlexVolume.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3355,13 +3466,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3376,13 +3487,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3397,13 +3508,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3418,13 +3529,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l } else { - yyb182 = r.CheckBreak() + yyb187 = r.CheckBreak() } - if yyb182 { + if yyb187 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3439,18 +3550,39 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - for { - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l - } else { - yyb182 = r.CheckBreak() + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l + } else { + yyb187 = r.CheckBreak() + } + if yyb187 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb182 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj187++ + if yyhl187 { + yyb187 = yyj187 > l + } else { + yyb187 = r.CheckBreak() + } + if yyb187 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj182-1, "") + z.DecStructFieldNotFound(yyj187-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3462,34 +3594,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym200 := z.EncBinary() - _ = yym200 + yym206 := z.EncBinary() + _ = yym206 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[1] = x.ReadOnly != false - var yynn201 int - if yyr201 || yy2arr201 { + yysep207 := !z.EncBinary() + yy2arr207 := z.EncBasicHandle().StructToArray + var yyq207 [2]bool + _, _, _ = yysep207, yyq207, yy2arr207 + const yyr207 bool = false + yyq207[1] = x.ReadOnly != false + var yynn207 int + if yyr207 || yy2arr207 { r.EncodeArrayStart(2) } else { - yynn201 = 1 - for _, b := range yyq201 { + yynn207 = 1 + for _, b := range yyq207 { if b { - yynn201++ + yynn207++ } } - r.EncodeMapStart(yynn201) - yynn201 = 0 + r.EncodeMapStart(yynn207) + yynn207 = 0 } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym203 := z.EncBinary() - _ = yym203 + yym209 := z.EncBinary() + _ = yym209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -3498,18 +3630,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym204 := z.EncBinary() - _ = yym204 + yym210 := z.EncBinary() + _ = yym210 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq201[1] { - yym206 := z.EncBinary() - _ = yym206 + if yyq207[1] { + yym212 := z.EncBinary() + _ = yym212 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -3518,19 +3650,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq201[1] { + if yyq207[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym207 := z.EncBinary() - _ = yym207 + yym213 := z.EncBinary() + _ = yym213 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr201 || yy2arr201 { + if yyr207 || yy2arr207 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3543,25 +3675,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym208 := z.DecBinary() - _ = yym208 + yym214 := z.DecBinary() + _ = yym214 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct209 := r.ContainerType() - if yyct209 == codecSelferValueTypeMap1234 { - yyl209 := r.ReadMapStart() - if yyl209 == 0 { + yyct215 := r.ContainerType() + if yyct215 == codecSelferValueTypeMap1234 { + yyl215 := r.ReadMapStart() + if yyl215 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl209, d) + x.codecDecodeSelfFromMap(yyl215, d) } - } else if yyct209 == codecSelferValueTypeArray1234 { - yyl209 := r.ReadArrayStart() - if yyl209 == 0 { + } else if yyct215 == codecSelferValueTypeArray1234 { + yyl215 := r.ReadArrayStart() + if yyl215 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl209, d) + x.codecDecodeSelfFromArray(yyl215, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3573,12 +3705,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod 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 { + var yys216Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys216Slc + var yyhl216 bool = l >= 0 + for yyj216 := 0; ; yyj216++ { + if yyhl216 { + if yyj216 >= l { break } } else { @@ -3587,10 +3719,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys210Slc = r.DecodeBytes(yys210Slc, true, true) - yys210 := string(yys210Slc) + yys216Slc = r.DecodeBytes(yys216Slc, true, true) + yys216 := string(yys216Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys210 { + switch yys216 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -3604,9 +3736,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys210) - } // end switch yys210 - } // end for yyj210 + z.DecStructFieldNotFound(-1, yys216) + } // end switch yys216 + } // end for yyj216 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3614,16 +3746,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj213 int - var yyb213 bool - var yyhl213 bool = l >= 0 - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + var yyj219 int + var yyb219 bool + var yyhl219 bool = l >= 0 + yyj219++ + if yyhl219 { + yyb219 = yyj219 > l } else { - yyb213 = r.CheckBreak() + yyb219 = r.CheckBreak() } - if yyb213 { + if yyb219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3633,13 +3765,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + yyj219++ + if yyhl219 { + yyb219 = yyj219 > l } else { - yyb213 = r.CheckBreak() + yyb219 = r.CheckBreak() } - if yyb213 { + if yyb219 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3650,17 +3782,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + yyj219++ + if yyhl219 { + yyb219 = yyj219 > l } else { - yyb213 = r.CheckBreak() + yyb219 = r.CheckBreak() } - if yyb213 { + if yyb219 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj213-1, "") + z.DecStructFieldNotFound(yyj219-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3672,44 +3804,45 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym216 := z.EncBinary() - _ = yym216 + yym222 := z.EncBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep217 := !z.EncBinary() - yy2arr217 := z.EncBasicHandle().StructToArray - var yyq217 [12]bool - _, _, _ = yysep217, yyq217, yy2arr217 - const yyr217 bool = false - yyq217[0] = x.GCEPersistentDisk != nil - yyq217[1] = x.AWSElasticBlockStore != nil - yyq217[2] = x.HostPath != nil - yyq217[3] = x.Glusterfs != nil - yyq217[4] = x.NFS != nil - yyq217[5] = x.RBD != nil - yyq217[6] = x.ISCSI != nil - yyq217[7] = x.Cinder != nil - yyq217[8] = x.CephFS != nil - yyq217[9] = x.FC != nil - yyq217[10] = x.Flocker != nil - yyq217[11] = x.FlexVolume != nil - var yynn217 int - if yyr217 || yy2arr217 { - r.EncodeArrayStart(12) + yysep223 := !z.EncBinary() + yy2arr223 := z.EncBasicHandle().StructToArray + var yyq223 [13]bool + _, _, _ = yysep223, yyq223, yy2arr223 + const yyr223 bool = false + yyq223[0] = x.GCEPersistentDisk != nil + yyq223[1] = x.AWSElasticBlockStore != nil + yyq223[2] = x.HostPath != nil + yyq223[3] = x.Glusterfs != nil + yyq223[4] = x.NFS != nil + yyq223[5] = x.RBD != nil + yyq223[6] = x.ISCSI != nil + yyq223[7] = x.Cinder != nil + yyq223[8] = x.CephFS != nil + yyq223[9] = x.FC != nil + yyq223[10] = x.Flocker != nil + yyq223[11] = x.FlexVolume != nil + yyq223[12] = x.AzureFile != nil + var yynn223 int + if yyr223 || yy2arr223 { + r.EncodeArrayStart(13) } else { - yynn217 = 0 - for _, b := range yyq217 { + yynn223 = 0 + for _, b := range yyq223 { if b { - yynn217++ + yynn223++ } } - r.EncodeMapStart(yynn217) - yynn217 = 0 + r.EncodeMapStart(yynn223) + yynn223 = 0 } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[0] { + if yyq223[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -3719,7 +3852,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[0] { + if yyq223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3730,9 +3863,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[1] { + if yyq223[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -3742,7 +3875,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[1] { + if yyq223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3753,9 +3886,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[2] { + if yyq223[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -3765,7 +3898,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[2] { + if yyq223[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3776,9 +3909,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[3] { + if yyq223[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -3788,7 +3921,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[3] { + if yyq223[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3799,9 +3932,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[4] { + if yyq223[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -3811,7 +3944,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[4] { + if yyq223[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3822,9 +3955,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[5] { + if yyq223[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -3834,7 +3967,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[5] { + if yyq223[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3845,9 +3978,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[6] { + if yyq223[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -3857,7 +3990,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[6] { + if yyq223[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3868,9 +4001,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[7] { + if yyq223[7] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3880,7 +4013,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[7] { + if yyq223[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3891,9 +4024,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[8] { + if yyq223[8] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3903,7 +4036,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[8] { + if yyq223[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3914,9 +4047,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[9] { + if yyq223[9] { if x.FC == nil { r.EncodeNil() } else { @@ -3926,7 +4059,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[9] { + if yyq223[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3937,9 +4070,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[10] { + if yyq223[10] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3949,7 +4082,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[10] { + if yyq223[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3960,9 +4093,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq217[11] { + if yyq223[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -3972,7 +4105,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq217[11] { + if yyq223[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3983,7 +4116,30 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr217 || yy2arr217 { + if yyr223 || yy2arr223 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq223[12] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq223[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3996,25 +4152,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym230 := z.DecBinary() - _ = yym230 + yym237 := z.DecBinary() + _ = yym237 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct231 := r.ContainerType() - if yyct231 == codecSelferValueTypeMap1234 { - yyl231 := r.ReadMapStart() - if yyl231 == 0 { + yyct238 := r.ContainerType() + if yyct238 == codecSelferValueTypeMap1234 { + yyl238 := r.ReadMapStart() + if yyl238 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl231, d) + x.codecDecodeSelfFromMap(yyl238, d) } - } else if yyct231 == codecSelferValueTypeArray1234 { - yyl231 := r.ReadArrayStart() - if yyl231 == 0 { + } else if yyct238 == codecSelferValueTypeArray1234 { + yyl238 := r.ReadArrayStart() + if yyl238 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl231, d) + x.codecDecodeSelfFromArray(yyl238, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4026,12 +4182,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys232Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys232Slc - var yyhl232 bool = l >= 0 - for yyj232 := 0; ; yyj232++ { - if yyhl232 { - if yyj232 >= l { + var yys239Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys239Slc + var yyhl239 bool = l >= 0 + for yyj239 := 0; ; yyj239++ { + if yyhl239 { + if yyj239 >= l { break } } else { @@ -4040,10 +4196,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys232Slc = r.DecodeBytes(yys232Slc, true, true) - yys232 := string(yys232Slc) + yys239Slc = r.DecodeBytes(yys239Slc, true, true) + yys239 := string(yys239Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys232 { + switch yys239 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -4176,10 +4332,21 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } x.FlexVolume.CodecDecodeSelf(d) } + case "azureFile": + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys232) - } // end switch yys232 - } // end for yyj232 + z.DecStructFieldNotFound(-1, yys239) + } // end switch yys239 + } // end for yyj239 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4187,16 +4354,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj245 int - var yyb245 bool - var yyhl245 bool = l >= 0 - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + var yyj253 int + var yyb253 bool + var yyhl253 bool = l >= 0 + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4211,13 +4378,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4232,13 +4399,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4253,13 +4420,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4274,13 +4441,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4295,13 +4462,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4316,13 +4483,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4337,13 +4504,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4358,13 +4525,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4379,13 +4546,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4400,13 +4567,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4421,13 +4588,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l } else { - yyb245 = r.CheckBreak() + yyb253 = r.CheckBreak() } - if yyb245 { + if yyb253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4442,18 +4609,39 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FlexVolume.CodecDecodeSelf(d) } - for { - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l - } else { - yyb245 = r.CheckBreak() + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l + } else { + yyb253 = r.CheckBreak() + } + if yyb253 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb245 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj253++ + if yyhl253 { + yyb253 = yyj253 > l + } else { + yyb253 = r.CheckBreak() + } + if yyb253 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj245-1, "") + z.DecStructFieldNotFound(yyj253-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4465,90 +4653,90 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym258 := z.EncBinary() - _ = yym258 + yym267 := z.EncBinary() + _ = yym267 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep259 := !z.EncBinary() - yy2arr259 := z.EncBasicHandle().StructToArray - var yyq259 [5]bool - _, _, _ = yysep259, yyq259, yy2arr259 - const yyr259 bool = false - yyq259[0] = true - yyq259[1] = true - yyq259[2] = true - yyq259[3] = x.Kind != "" - yyq259[4] = x.APIVersion != "" - var yynn259 int - if yyr259 || yy2arr259 { + yysep268 := !z.EncBinary() + yy2arr268 := z.EncBasicHandle().StructToArray + var yyq268 [5]bool + _, _, _ = yysep268, yyq268, yy2arr268 + const yyr268 bool = false + yyq268[0] = true + yyq268[1] = true + yyq268[2] = true + yyq268[3] = x.Kind != "" + yyq268[4] = x.APIVersion != "" + var yynn268 int + if yyr268 || yy2arr268 { r.EncodeArrayStart(5) } else { - yynn259 = 0 - for _, b := range yyq259 { + yynn268 = 0 + for _, b := range yyq268 { if b { - yynn259++ + yynn268++ } } - r.EncodeMapStart(yynn259) - yynn259 = 0 + r.EncodeMapStart(yynn268) + yynn268 = 0 } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[0] { - yy261 := &x.ObjectMeta - yy261.CodecEncodeSelf(e) + if yyq268[0] { + yy270 := &x.ObjectMeta + yy270.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[0] { + if yyq268[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.ObjectMeta - yy262.CodecEncodeSelf(e) + yy271 := &x.ObjectMeta + yy271.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[1] { - yy264 := &x.Spec - yy264.CodecEncodeSelf(e) + if yyq268[1] { + yy273 := &x.Spec + yy273.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[1] { + if yyq268[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy265 := &x.Spec - yy265.CodecEncodeSelf(e) + yy274 := &x.Spec + yy274.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[2] { - yy267 := &x.Status - yy267.CodecEncodeSelf(e) + if yyq268[2] { + yy276 := &x.Status + yy276.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq259[2] { + if yyq268[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy268 := &x.Status - yy268.CodecEncodeSelf(e) + yy277 := &x.Status + yy277.CodecEncodeSelf(e) } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[3] { - yym270 := z.EncBinary() - _ = yym270 + if yyq268[3] { + yym279 := z.EncBinary() + _ = yym279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4557,23 +4745,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq259[3] { + if yyq268[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym271 := z.EncBinary() - _ = yym271 + yym280 := z.EncBinary() + _ = yym280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq259[4] { - yym273 := z.EncBinary() - _ = yym273 + if yyq268[4] { + yym282 := z.EncBinary() + _ = yym282 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4582,19 +4770,19 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq259[4] { + if yyq268[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym274 := z.EncBinary() - _ = yym274 + yym283 := z.EncBinary() + _ = yym283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr259 || yy2arr259 { + if yyr268 || yy2arr268 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4607,25 +4795,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym275 := z.DecBinary() - _ = yym275 + yym284 := z.DecBinary() + _ = yym284 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct276 := r.ContainerType() - if yyct276 == codecSelferValueTypeMap1234 { - yyl276 := r.ReadMapStart() - if yyl276 == 0 { + yyct285 := r.ContainerType() + if yyct285 == codecSelferValueTypeMap1234 { + yyl285 := r.ReadMapStart() + if yyl285 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl276, d) + x.codecDecodeSelfFromMap(yyl285, d) } - } else if yyct276 == codecSelferValueTypeArray1234 { - yyl276 := r.ReadArrayStart() - if yyl276 == 0 { + } else if yyct285 == codecSelferValueTypeArray1234 { + yyl285 := r.ReadArrayStart() + if yyl285 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl276, d) + x.codecDecodeSelfFromArray(yyl285, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4637,12 +4825,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys277Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys277Slc - var yyhl277 bool = l >= 0 - for yyj277 := 0; ; yyj277++ { - if yyhl277 { - if yyj277 >= l { + var yys286Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys286Slc + var yyhl286 bool = l >= 0 + for yyj286 := 0; ; yyj286++ { + if yyhl286 { + if yyj286 >= l { break } } else { @@ -4651,30 +4839,30 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys277Slc = r.DecodeBytes(yys277Slc, true, true) - yys277 := string(yys277Slc) + yys286Slc = r.DecodeBytes(yys286Slc, true, true) + yys286 := string(yys286Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys277 { + switch yys286 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv278 := &x.ObjectMeta - yyv278.CodecDecodeSelf(d) + yyv287 := &x.ObjectMeta + yyv287.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv279 := &x.Spec - yyv279.CodecDecodeSelf(d) + yyv288 := &x.Spec + yyv288.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv280 := &x.Status - yyv280.CodecDecodeSelf(d) + yyv289 := &x.Status + yyv289.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -4689,9 +4877,9 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys277) - } // end switch yys277 - } // end for yyj277 + z.DecStructFieldNotFound(-1, yys286) + } // end switch yys286 + } // end for yyj286 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4699,16 +4887,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj283 int - var yyb283 bool - var yyhl283 bool = l >= 0 - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + var yyj292 int + var yyb292 bool + var yyhl292 bool = l >= 0 + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4716,16 +4904,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv284 := &x.ObjectMeta - yyv284.CodecDecodeSelf(d) + yyv293 := &x.ObjectMeta + yyv293.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4733,16 +4921,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv285 := &x.Spec - yyv285.CodecDecodeSelf(d) + yyv294 := &x.Spec + yyv294.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4750,16 +4938,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv286 := &x.Status - yyv286.CodecDecodeSelf(d) + yyv295 := &x.Status + yyv295.CodecDecodeSelf(d) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4769,13 +4957,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4786,17 +4974,17 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj283++ - if yyhl283 { - yyb283 = yyj283 > l + yyj292++ + if yyhl292 { + yyb292 = yyj292 > l } else { - yyb283 = r.CheckBreak() + yyb292 = r.CheckBreak() } - if yyb283 { + if yyb292 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj283-1, "") + z.DecStructFieldNotFound(yyj292-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4808,48 +4996,49 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym289 := z.EncBinary() - _ = yym289 + yym298 := z.EncBinary() + _ = yym298 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep290 := !z.EncBinary() - yy2arr290 := z.EncBasicHandle().StructToArray - var yyq290 [16]bool - _, _, _ = yysep290, yyq290, yy2arr290 - const yyr290 bool = false - yyq290[0] = len(x.Capacity) != 0 - yyq290[1] = len(x.AccessModes) != 0 - yyq290[2] = x.ClaimRef != nil - yyq290[3] = x.PersistentVolumeReclaimPolicy != "" - yyq290[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq290[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq290[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq290[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq290[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq290[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq290[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq290[11] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq290[12] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq290[13] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq290[14] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq290[15] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil - var yynn290 int - if yyr290 || yy2arr290 { - r.EncodeArrayStart(16) + yysep299 := !z.EncBinary() + yy2arr299 := z.EncBasicHandle().StructToArray + var yyq299 [17]bool + _, _, _ = yysep299, yyq299, yy2arr299 + const yyr299 bool = false + yyq299[0] = len(x.Capacity) != 0 + yyq299[1] = len(x.AccessModes) != 0 + yyq299[2] = x.ClaimRef != nil + yyq299[3] = x.PersistentVolumeReclaimPolicy != "" + yyq299[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq299[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq299[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq299[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq299[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq299[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq299[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq299[11] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq299[12] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq299[13] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq299[14] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq299[15] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq299[16] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil + var yynn299 int + if yyr299 || yy2arr299 { + r.EncodeArrayStart(17) } else { - yynn290 = 0 - for _, b := range yyq290 { + yynn299 = 0 + for _, b := range yyq299 { if b { - yynn290++ + yynn299++ } } - r.EncodeMapStart(yynn290) - yynn290 = 0 + r.EncodeMapStart(yynn299) + yynn299 = 0 } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[0] { + if yyq299[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -4859,7 +5048,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq290[0] { + if yyq299[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4870,14 +5059,14 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[1] { + if yyq299[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym293 := z.EncBinary() - _ = yym293 + yym302 := z.EncBinary() + _ = yym302 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -4887,15 +5076,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq290[1] { + if yyq299[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym294 := z.EncBinary() - _ = yym294 + yym303 := z.EncBinary() + _ = yym303 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -4903,9 +5092,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[2] { + if yyq299[2] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -4915,7 +5104,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq290[2] { + if yyq299[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4926,440 +5115,440 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[3] { + if yyq299[3] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq290[3] { + if yyq299[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - var yyn297 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn297 = true - goto LABEL297 - } - LABEL297: - if yyr290 || yy2arr290 { - if yyn297 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[4] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn297 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn298 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn298 = true - goto LABEL298 - } - LABEL298: - if yyr290 || yy2arr290 { - if yyn298 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[5] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn298 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn299 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn299 = true - goto LABEL299 - } - LABEL299: - if yyr290 || yy2arr290 { - if yyn299 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[6] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn299 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn300 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn300 = true - goto LABEL300 - } - LABEL300: - if yyr290 || yy2arr290 { - if yyn300 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[7] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn300 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn301 bool - if x.PersistentVolumeSource.NFS == nil { - yyn301 = true - goto LABEL301 - } - LABEL301: - if yyr290 || yy2arr290 { - if yyn301 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[8] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn301 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn302 bool - if x.PersistentVolumeSource.RBD == nil { - yyn302 = true - goto LABEL302 - } - LABEL302: - if yyr290 || yy2arr290 { - if yyn302 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[9] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn302 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn303 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn303 = true - goto LABEL303 - } - LABEL303: - if yyr290 || yy2arr290 { - if yyn303 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[10] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn303 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn304 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn304 = true - goto LABEL304 - } - LABEL304: - if yyr290 || yy2arr290 { - if yyn304 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[11] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[11] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn304 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } - var yyn305 bool - if x.PersistentVolumeSource.CephFS == nil { - yyn305 = true - goto LABEL305 - } - LABEL305: - if yyr290 || yy2arr290 { - if yyn305 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[12] { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq290[12] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn305 { - r.EncodeNil() - } else { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } - } - } var yyn306 bool - if x.PersistentVolumeSource.FC == nil { + if x.PersistentVolumeSource.GCEPersistentDisk == nil { yyn306 = true goto LABEL306 } LABEL306: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn306 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[13] { - if x.FC == nil { + if yyq299[4] { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq290[13] { + if yyq299[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn306 { r.EncodeNil() } else { - if x.FC == nil { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } } } var yyn307 bool - if x.PersistentVolumeSource.Flocker == nil { + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { yyn307 = true goto LABEL307 } LABEL307: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn307 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[14] { - if x.Flocker == nil { + if yyq299[5] { + if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.AWSElasticBlockStore.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq290[14] { + if yyq299[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flocker")) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn307 { r.EncodeNil() } else { - if x.Flocker == nil { + if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.AWSElasticBlockStore.CodecEncodeSelf(e) } } } } var yyn308 bool - if x.PersistentVolumeSource.FlexVolume == nil { + if x.PersistentVolumeSource.HostPath == nil { yyn308 = true goto LABEL308 } LABEL308: - if yyr290 || yy2arr290 { + if yyr299 || yy2arr299 { if yyn308 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq290[15] { + if yyq299[6] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn308 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn309 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn309 = true + goto LABEL309 + } + LABEL309: + if yyr299 || yy2arr299 { + if yyn309 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[7] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn309 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn310 bool + if x.PersistentVolumeSource.NFS == nil { + yyn310 = true + goto LABEL310 + } + LABEL310: + if yyr299 || yy2arr299 { + if yyn310 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[8] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn310 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn311 bool + if x.PersistentVolumeSource.RBD == nil { + yyn311 = true + goto LABEL311 + } + LABEL311: + if yyr299 || yy2arr299 { + if yyn311 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[9] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn311 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn312 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn312 = true + goto LABEL312 + } + LABEL312: + if yyr299 || yy2arr299 { + if yyn312 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[10] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn312 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn313 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn313 = true + goto LABEL313 + } + LABEL313: + if yyr299 || yy2arr299 { + if yyn313 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[11] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn313 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn314 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn314 = true + goto LABEL314 + } + LABEL314: + if yyr299 || yy2arr299 { + if yyn314 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[12] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn314 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn315 bool + if x.PersistentVolumeSource.FC == nil { + yyn315 = true + goto LABEL315 + } + LABEL315: + if yyr299 || yy2arr299 { + if yyn315 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[13] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[13] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn315 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn316 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn316 = true + goto LABEL316 + } + LABEL316: + if yyr299 || yy2arr299 { + if yyn316 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[14] { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[14] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flocker")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn316 { + r.EncodeNil() + } else { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } + } + } + var yyn317 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn317 = true + goto LABEL317 + } + LABEL317: + if yyr299 || yy2arr299 { + if yyn317 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[15] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -5370,11 +5559,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq290[15] { + if yyq299[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn308 { + if yyn317 { r.EncodeNil() } else { if x.FlexVolume == nil { @@ -5385,7 +5574,44 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr290 || yy2arr290 { + var yyn318 bool + if x.PersistentVolumeSource.AzureFile == nil { + yyn318 = true + goto LABEL318 + } + LABEL318: + if yyr299 || yy2arr299 { + if yyn318 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq299[16] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq299[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn318 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } + if yyr299 || yy2arr299 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5398,25 +5624,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym309 := z.DecBinary() - _ = yym309 + yym319 := z.DecBinary() + _ = yym319 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct310 := r.ContainerType() - if yyct310 == codecSelferValueTypeMap1234 { - yyl310 := r.ReadMapStart() - if yyl310 == 0 { + yyct320 := r.ContainerType() + if yyct320 == codecSelferValueTypeMap1234 { + yyl320 := r.ReadMapStart() + if yyl320 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl310, d) + x.codecDecodeSelfFromMap(yyl320, d) } - } else if yyct310 == codecSelferValueTypeArray1234 { - yyl310 := r.ReadArrayStart() - if yyl310 == 0 { + } else if yyct320 == codecSelferValueTypeArray1234 { + yyl320 := r.ReadArrayStart() + if yyl320 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl310, d) + x.codecDecodeSelfFromArray(yyl320, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5428,12 +5654,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys311Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys311Slc - var yyhl311 bool = l >= 0 - for yyj311 := 0; ; yyj311++ { - if yyhl311 { - if yyj311 >= l { + var yys321Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys321Slc + var yyhl321 bool = l >= 0 + for yyj321 := 0; ; yyj321++ { + if yyhl321 { + if yyj321 >= l { break } } else { @@ -5442,27 +5668,27 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys311Slc = r.DecodeBytes(yys311Slc, true, true) - yys311 := string(yys311Slc) + yys321Slc = r.DecodeBytes(yys321Slc, true, true) + yys321 := string(yys321Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys311 { + switch yys321 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv312 := &x.Capacity - yyv312.CodecDecodeSelf(d) + yyv322 := &x.Capacity + yyv322.CodecDecodeSelf(d) } case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv313 := &x.AccessModes - yym314 := z.DecBinary() - _ = yym314 + yyv323 := &x.AccessModes + yym324 := z.DecBinary() + _ = yym324 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv313), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv323), d) } } case "claimRef": @@ -5650,10 +5876,24 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.FlexVolume.CodecDecodeSelf(d) } + case "azureFile": + if x.PersistentVolumeSource.AzureFile == nil { + x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) + } + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil + } + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys311) - } // end switch yys311 - } // end for yyj311 + z.DecStructFieldNotFound(-1, yys321) + } // end switch yys321 + } // end for yyj321 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5661,16 +5901,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj329 int - var yyb329 bool - var yyhl329 bool = l >= 0 - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + var yyj340 int + var yyb340 bool + var yyhl340 bool = l >= 0 + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5678,16 +5918,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv330 := &x.Capacity - yyv330.CodecDecodeSelf(d) + yyv341 := &x.Capacity + yyv341.CodecDecodeSelf(d) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5695,21 +5935,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv331 := &x.AccessModes - yym332 := z.DecBinary() - _ = yym332 + yyv342 := &x.AccessModes + yym343 := z.DecBinary() + _ = yym343 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv331), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv342), d) } } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5724,13 +5964,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ClaimRef.CodecDecodeSelf(d) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5743,13 +5983,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5767,13 +6007,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5791,13 +6031,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5815,13 +6055,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5839,13 +6079,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5863,13 +6103,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5887,13 +6127,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5911,13 +6151,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5935,13 +6175,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5959,13 +6199,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5983,13 +6223,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6007,13 +6247,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FlexVolume == nil { x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l } else { - yyb329 = r.CheckBreak() + yyb340 = r.CheckBreak() } - if yyb329 { + if yyb340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6028,18 +6268,42 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.FlexVolume.CodecDecodeSelf(d) } - for { - yyj329++ - if yyhl329 { - yyb329 = yyj329 > l - } else { - yyb329 = r.CheckBreak() + if x.PersistentVolumeSource.AzureFile == nil { + x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) + } + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l + } else { + yyb340 = r.CheckBreak() + } + if yyb340 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.AzureFile != nil { + x.AzureFile = nil } - if yyb329 { + } else { + if x.AzureFile == nil { + x.AzureFile = new(AzureFileVolumeSource) + } + x.AzureFile.CodecDecodeSelf(d) + } + for { + yyj340++ + if yyhl340 { + yyb340 = yyj340 > l + } else { + yyb340 = r.CheckBreak() + } + if yyb340 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj329-1, "") + z.DecStructFieldNotFound(yyj340-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6048,8 +6312,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym347 := z.EncBinary() - _ = yym347 + yym359 := z.EncBinary() + _ = yym359 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6061,8 +6325,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym348 := z.DecBinary() - _ = yym348 + yym360 := z.DecBinary() + _ = yym360 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6077,52 +6341,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym349 := z.EncBinary() - _ = yym349 + yym361 := z.EncBinary() + _ = yym361 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep350 := !z.EncBinary() - yy2arr350 := z.EncBasicHandle().StructToArray - var yyq350 [3]bool - _, _, _ = yysep350, yyq350, yy2arr350 - const yyr350 bool = false - yyq350[0] = x.Phase != "" - yyq350[1] = x.Message != "" - yyq350[2] = x.Reason != "" - var yynn350 int - if yyr350 || yy2arr350 { + yysep362 := !z.EncBinary() + yy2arr362 := z.EncBasicHandle().StructToArray + var yyq362 [3]bool + _, _, _ = yysep362, yyq362, yy2arr362 + const yyr362 bool = false + yyq362[0] = x.Phase != "" + yyq362[1] = x.Message != "" + yyq362[2] = x.Reason != "" + var yynn362 int + if yyr362 || yy2arr362 { r.EncodeArrayStart(3) } else { - yynn350 = 0 - for _, b := range yyq350 { + yynn362 = 0 + for _, b := range yyq362 { if b { - yynn350++ + yynn362++ } } - r.EncodeMapStart(yynn350) - yynn350 = 0 + r.EncodeMapStart(yynn362) + yynn362 = 0 } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[0] { + if yyq362[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[0] { + if yyq362[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[1] { - yym353 := z.EncBinary() - _ = yym353 + if yyq362[1] { + yym365 := z.EncBinary() + _ = yym365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -6131,23 +6395,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[1] { + if yyq362[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym354 := z.EncBinary() - _ = yym354 + yym366 := z.EncBinary() + _ = yym366 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq350[2] { - yym356 := z.EncBinary() - _ = yym356 + if yyq362[2] { + yym368 := z.EncBinary() + _ = yym368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -6156,19 +6420,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq350[2] { + if yyq362[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym357 := z.EncBinary() - _ = yym357 + yym369 := z.EncBinary() + _ = yym369 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr350 || yy2arr350 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6181,25 +6445,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym358 := z.DecBinary() - _ = yym358 + yym370 := z.DecBinary() + _ = yym370 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct359 := r.ContainerType() - if yyct359 == codecSelferValueTypeMap1234 { - yyl359 := r.ReadMapStart() - if yyl359 == 0 { + yyct371 := r.ContainerType() + if yyct371 == codecSelferValueTypeMap1234 { + yyl371 := r.ReadMapStart() + if yyl371 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl359, d) + x.codecDecodeSelfFromMap(yyl371, d) } - } else if yyct359 == codecSelferValueTypeArray1234 { - yyl359 := r.ReadArrayStart() - if yyl359 == 0 { + } else if yyct371 == codecSelferValueTypeArray1234 { + yyl371 := r.ReadArrayStart() + if yyl371 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl359, d) + x.codecDecodeSelfFromArray(yyl371, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6211,12 +6475,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys360Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys360Slc - var yyhl360 bool = l >= 0 - for yyj360 := 0; ; yyj360++ { - if yyhl360 { - if yyj360 >= l { + var yys372Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys372Slc + var yyhl372 bool = l >= 0 + for yyj372 := 0; ; yyj372++ { + if yyhl372 { + if yyj372 >= l { break } } else { @@ -6225,10 +6489,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys360Slc = r.DecodeBytes(yys360Slc, true, true) - yys360 := string(yys360Slc) + yys372Slc = r.DecodeBytes(yys372Slc, true, true) + yys372 := string(yys372Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys360 { + switch yys372 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -6248,9 +6512,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys360) - } // end switch yys360 - } // end for yyj360 + z.DecStructFieldNotFound(-1, yys372) + } // end switch yys372 + } // end for yyj372 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6258,16 +6522,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj364 int - var yyb364 bool - var yyhl364 bool = l >= 0 - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + var yyj376 int + var yyb376 bool + var yyhl376 bool = l >= 0 + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6277,13 +6541,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6293,13 +6557,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6310,17 +6574,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj364++ - if yyhl364 { - yyb364 = yyj364 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb364 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb364 { + if yyb376 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj364-1, "") + z.DecStructFieldNotFound(yyj376-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6332,68 +6596,68 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym368 := z.EncBinary() - _ = yym368 + yym380 := z.EncBinary() + _ = yym380 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep369 := !z.EncBinary() - yy2arr369 := z.EncBasicHandle().StructToArray - var yyq369 [4]bool - _, _, _ = yysep369, yyq369, yy2arr369 - const yyr369 bool = false - yyq369[0] = true - yyq369[2] = x.Kind != "" - yyq369[3] = x.APIVersion != "" - var yynn369 int - if yyr369 || yy2arr369 { + yysep381 := !z.EncBinary() + yy2arr381 := z.EncBasicHandle().StructToArray + var yyq381 [4]bool + _, _, _ = yysep381, yyq381, yy2arr381 + const yyr381 bool = false + yyq381[0] = true + yyq381[2] = x.Kind != "" + yyq381[3] = x.APIVersion != "" + var yynn381 int + if yyr381 || yy2arr381 { r.EncodeArrayStart(4) } else { - yynn369 = 1 - for _, b := range yyq369 { + yynn381 = 1 + for _, b := range yyq381 { if b { - yynn369++ + yynn381++ } } - r.EncodeMapStart(yynn369) - yynn369 = 0 + r.EncodeMapStart(yynn381) + yynn381 = 0 } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[0] { - yy371 := &x.ListMeta - yym372 := z.EncBinary() - _ = yym372 + if yyq381[0] { + yy383 := &x.ListMeta + yym384 := z.EncBinary() + _ = yym384 if false { - } else if z.HasExtensions() && z.EncExt(yy371) { + } else if z.HasExtensions() && z.EncExt(yy383) { } else { - z.EncFallback(yy371) + z.EncFallback(yy383) } } else { r.EncodeNil() } } else { - if yyq369[0] { + if yyq381[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy373 := &x.ListMeta - yym374 := z.EncBinary() - _ = yym374 + yy385 := &x.ListMeta + yym386 := z.EncBinary() + _ = yym386 if false { - } else if z.HasExtensions() && z.EncExt(yy373) { + } else if z.HasExtensions() && z.EncExt(yy385) { } else { - z.EncFallback(yy373) + z.EncFallback(yy385) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym376 := z.EncBinary() - _ = yym376 + yym388 := z.EncBinary() + _ = yym388 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -6406,19 +6670,19 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym377 := z.EncBinary() - _ = yym377 + yym389 := z.EncBinary() + _ = yym389 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[2] { - yym379 := z.EncBinary() - _ = yym379 + if yyq381[2] { + yym391 := z.EncBinary() + _ = yym391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6427,23 +6691,23 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq369[2] { + if yyq381[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym380 := z.EncBinary() - _ = yym380 + yym392 := z.EncBinary() + _ = yym392 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq369[3] { - yym382 := z.EncBinary() - _ = yym382 + if yyq381[3] { + yym394 := z.EncBinary() + _ = yym394 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6452,19 +6716,19 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq369[3] { + if yyq381[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym383 := z.EncBinary() - _ = yym383 + yym395 := z.EncBinary() + _ = yym395 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr369 || yy2arr369 { + if yyr381 || yy2arr381 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6477,25 +6741,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym384 := z.DecBinary() - _ = yym384 + yym396 := z.DecBinary() + _ = yym396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct385 := r.ContainerType() - if yyct385 == codecSelferValueTypeMap1234 { - yyl385 := r.ReadMapStart() - if yyl385 == 0 { + yyct397 := r.ContainerType() + if yyct397 == codecSelferValueTypeMap1234 { + yyl397 := r.ReadMapStart() + if yyl397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl385, d) + x.codecDecodeSelfFromMap(yyl397, d) } - } else if yyct385 == codecSelferValueTypeArray1234 { - yyl385 := r.ReadArrayStart() - if yyl385 == 0 { + } else if yyct397 == codecSelferValueTypeArray1234 { + yyl397 := r.ReadArrayStart() + if yyl397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl385, d) + x.codecDecodeSelfFromArray(yyl397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6507,12 +6771,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys386Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys386Slc - var yyhl386 bool = l >= 0 - for yyj386 := 0; ; yyj386++ { - if yyhl386 { - if yyj386 >= l { + var yys398Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys398Slc + var yyhl398 bool = l >= 0 + for yyj398 := 0; ; yyj398++ { + if yyhl398 { + if yyj398 >= l { break } } else { @@ -6521,33 +6785,33 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys386Slc = r.DecodeBytes(yys386Slc, true, true) - yys386 := string(yys386Slc) + yys398Slc = r.DecodeBytes(yys398Slc, true, true) + yys398 := string(yys398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys386 { + switch yys398 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv387 := &x.ListMeta - yym388 := z.DecBinary() - _ = yym388 + yyv399 := &x.ListMeta + yym400 := z.DecBinary() + _ = yym400 if false { - } else if z.HasExtensions() && z.DecExt(yyv387) { + } else if z.HasExtensions() && z.DecExt(yyv399) { } else { - z.DecFallback(yyv387, false) + z.DecFallback(yyv399, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv389 := &x.Items - yym390 := z.DecBinary() - _ = yym390 + yyv401 := &x.Items + yym402 := z.DecBinary() + _ = yym402 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv389), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv401), d) } } case "kind": @@ -6563,9 +6827,9 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys386) - } // end switch yys386 - } // end for yyj386 + z.DecStructFieldNotFound(-1, yys398) + } // end switch yys398 + } // end for yyj398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6573,16 +6837,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj393 int - var yyb393 bool - var yyhl393 bool = l >= 0 - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + var yyj405 int + var yyb405 bool + var yyhl405 bool = l >= 0 + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6590,22 +6854,22 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv394 := &x.ListMeta - yym395 := z.DecBinary() - _ = yym395 + yyv406 := &x.ListMeta + yym407 := z.DecBinary() + _ = yym407 if false { - } else if z.HasExtensions() && z.DecExt(yyv394) { + } else if z.HasExtensions() && z.DecExt(yyv406) { } else { - z.DecFallback(yyv394, false) + z.DecFallback(yyv406, false) } } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6613,21 +6877,21 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Items = nil } else { - yyv396 := &x.Items - yym397 := z.DecBinary() - _ = yym397 + yyv408 := &x.Items + yym409 := z.DecBinary() + _ = yym409 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv396), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv408), d) } } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6637,13 +6901,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6654,17 +6918,17 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.APIVersion = string(r.DecodeString()) } for { - yyj393++ - if yyhl393 { - yyb393 = yyj393 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb393 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb393 { + if yyb405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj393-1, "") + z.DecStructFieldNotFound(yyj405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6676,90 +6940,90 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym400 := z.EncBinary() - _ = yym400 + yym412 := z.EncBinary() + _ = yym412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep401 := !z.EncBinary() - yy2arr401 := z.EncBasicHandle().StructToArray - var yyq401 [5]bool - _, _, _ = yysep401, yyq401, yy2arr401 - const yyr401 bool = false - yyq401[0] = true - yyq401[1] = true - yyq401[2] = true - yyq401[3] = x.Kind != "" - yyq401[4] = x.APIVersion != "" - var yynn401 int - if yyr401 || yy2arr401 { + yysep413 := !z.EncBinary() + yy2arr413 := z.EncBasicHandle().StructToArray + var yyq413 [5]bool + _, _, _ = yysep413, yyq413, yy2arr413 + const yyr413 bool = false + yyq413[0] = true + yyq413[1] = true + yyq413[2] = true + yyq413[3] = x.Kind != "" + yyq413[4] = x.APIVersion != "" + var yynn413 int + if yyr413 || yy2arr413 { r.EncodeArrayStart(5) } else { - yynn401 = 0 - for _, b := range yyq401 { + yynn413 = 0 + for _, b := range yyq413 { if b { - yynn401++ + yynn413++ } } - r.EncodeMapStart(yynn401) - yynn401 = 0 + r.EncodeMapStart(yynn413) + yynn413 = 0 } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[0] { - yy403 := &x.ObjectMeta - yy403.CodecEncodeSelf(e) + if yyq413[0] { + yy415 := &x.ObjectMeta + yy415.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[0] { + if yyq413[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy404 := &x.ObjectMeta - yy404.CodecEncodeSelf(e) + yy416 := &x.ObjectMeta + yy416.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[1] { - yy406 := &x.Spec - yy406.CodecEncodeSelf(e) + if yyq413[1] { + yy418 := &x.Spec + yy418.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[1] { + if yyq413[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy407 := &x.Spec - yy407.CodecEncodeSelf(e) + yy419 := &x.Spec + yy419.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[2] { - yy409 := &x.Status - yy409.CodecEncodeSelf(e) + if yyq413[2] { + yy421 := &x.Status + yy421.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq401[2] { + if yyq413[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy410 := &x.Status - yy410.CodecEncodeSelf(e) + yy422 := &x.Status + yy422.CodecEncodeSelf(e) } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[3] { - yym412 := z.EncBinary() - _ = yym412 + if yyq413[3] { + yym424 := z.EncBinary() + _ = yym424 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6768,23 +7032,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq401[3] { + if yyq413[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym413 := z.EncBinary() - _ = yym413 + yym425 := z.EncBinary() + _ = yym425 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq401[4] { - yym415 := z.EncBinary() - _ = yym415 + if yyq413[4] { + yym427 := z.EncBinary() + _ = yym427 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6793,19 +7057,19 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq401[4] { + if yyq413[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym416 := z.EncBinary() - _ = yym416 + yym428 := z.EncBinary() + _ = yym428 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr401 || yy2arr401 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6818,25 +7082,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym417 := z.DecBinary() - _ = yym417 + yym429 := z.DecBinary() + _ = yym429 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct418 := r.ContainerType() - if yyct418 == codecSelferValueTypeMap1234 { - yyl418 := r.ReadMapStart() - if yyl418 == 0 { + yyct430 := r.ContainerType() + if yyct430 == codecSelferValueTypeMap1234 { + yyl430 := r.ReadMapStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl418, d) + x.codecDecodeSelfFromMap(yyl430, d) } - } else if yyct418 == codecSelferValueTypeArray1234 { - yyl418 := r.ReadArrayStart() - if yyl418 == 0 { + } else if yyct430 == codecSelferValueTypeArray1234 { + yyl430 := r.ReadArrayStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl418, d) + x.codecDecodeSelfFromArray(yyl430, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6848,12 +7112,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys419Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys419Slc - var yyhl419 bool = l >= 0 - for yyj419 := 0; ; yyj419++ { - if yyhl419 { - if yyj419 >= l { + var yys431Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys431Slc + var yyhl431 bool = l >= 0 + for yyj431 := 0; ; yyj431++ { + if yyhl431 { + if yyj431 >= l { break } } else { @@ -6862,30 +7126,30 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys419Slc = r.DecodeBytes(yys419Slc, true, true) - yys419 := string(yys419Slc) + yys431Slc = r.DecodeBytes(yys431Slc, true, true) + yys431 := string(yys431Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys419 { + switch yys431 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv420 := &x.ObjectMeta - yyv420.CodecDecodeSelf(d) + yyv432 := &x.ObjectMeta + yyv432.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv421 := &x.Spec - yyv421.CodecDecodeSelf(d) + yyv433 := &x.Spec + yyv433.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv422 := &x.Status - yyv422.CodecDecodeSelf(d) + yyv434 := &x.Status + yyv434.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -6900,9 +7164,9 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys419) - } // end switch yys419 - } // end for yyj419 + z.DecStructFieldNotFound(-1, yys431) + } // end switch yys431 + } // end for yyj431 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6910,16 +7174,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj425 int - var yyb425 bool - var yyhl425 bool = l >= 0 - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + var yyj437 int + var yyb437 bool + var yyhl437 bool = l >= 0 + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6927,16 +7191,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv426 := &x.ObjectMeta - yyv426.CodecDecodeSelf(d) + yyv438 := &x.ObjectMeta + yyv438.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6944,16 +7208,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv427 := &x.Spec - yyv427.CodecDecodeSelf(d) + yyv439 := &x.Spec + yyv439.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6961,16 +7225,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv428 := &x.Status - yyv428.CodecDecodeSelf(d) + yyv440 := &x.Status + yyv440.CodecDecodeSelf(d) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6980,13 +7244,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6997,17 +7261,17 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.APIVersion = string(r.DecodeString()) } for { - yyj425++ - if yyhl425 { - yyb425 = yyj425 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb425 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb425 { + if yyb437 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj425-1, "") + z.DecStructFieldNotFound(yyj437-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7019,68 +7283,68 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym431 := z.EncBinary() - _ = yym431 + yym443 := z.EncBinary() + _ = yym443 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep432 := !z.EncBinary() - yy2arr432 := z.EncBasicHandle().StructToArray - var yyq432 [4]bool - _, _, _ = yysep432, yyq432, yy2arr432 - const yyr432 bool = false - yyq432[0] = true - yyq432[2] = x.Kind != "" - yyq432[3] = x.APIVersion != "" - var yynn432 int - if yyr432 || yy2arr432 { + yysep444 := !z.EncBinary() + yy2arr444 := z.EncBasicHandle().StructToArray + var yyq444 [4]bool + _, _, _ = yysep444, yyq444, yy2arr444 + const yyr444 bool = false + yyq444[0] = true + yyq444[2] = x.Kind != "" + yyq444[3] = x.APIVersion != "" + var yynn444 int + if yyr444 || yy2arr444 { r.EncodeArrayStart(4) } else { - yynn432 = 1 - for _, b := range yyq432 { + yynn444 = 1 + for _, b := range yyq444 { if b { - yynn432++ + yynn444++ } } - r.EncodeMapStart(yynn432) - yynn432 = 0 + r.EncodeMapStart(yynn444) + yynn444 = 0 } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[0] { - yy434 := &x.ListMeta - yym435 := z.EncBinary() - _ = yym435 + if yyq444[0] { + yy446 := &x.ListMeta + yym447 := z.EncBinary() + _ = yym447 if false { - } else if z.HasExtensions() && z.EncExt(yy434) { + } else if z.HasExtensions() && z.EncExt(yy446) { } else { - z.EncFallback(yy434) + z.EncFallback(yy446) } } else { r.EncodeNil() } } else { - if yyq432[0] { + if yyq444[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy436 := &x.ListMeta - yym437 := z.EncBinary() - _ = yym437 + yy448 := &x.ListMeta + yym449 := z.EncBinary() + _ = yym449 if false { - } else if z.HasExtensions() && z.EncExt(yy436) { + } else if z.HasExtensions() && z.EncExt(yy448) { } else { - z.EncFallback(yy436) + z.EncFallback(yy448) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym439 := z.EncBinary() - _ = yym439 + yym451 := z.EncBinary() + _ = yym451 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -7093,19 +7357,19 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym440 := z.EncBinary() - _ = yym440 + yym452 := z.EncBinary() + _ = yym452 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[2] { - yym442 := z.EncBinary() - _ = yym442 + if yyq444[2] { + yym454 := z.EncBinary() + _ = yym454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7114,23 +7378,23 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq432[2] { + if yyq444[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym443 := z.EncBinary() - _ = yym443 + yym455 := z.EncBinary() + _ = yym455 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq432[3] { - yym445 := z.EncBinary() - _ = yym445 + if yyq444[3] { + yym457 := z.EncBinary() + _ = yym457 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7139,19 +7403,19 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq432[3] { + if yyq444[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym446 := z.EncBinary() - _ = yym446 + yym458 := z.EncBinary() + _ = yym458 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr432 || yy2arr432 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7164,25 +7428,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym447 := z.DecBinary() - _ = yym447 + yym459 := z.DecBinary() + _ = yym459 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct448 := r.ContainerType() - if yyct448 == codecSelferValueTypeMap1234 { - yyl448 := r.ReadMapStart() - if yyl448 == 0 { + yyct460 := r.ContainerType() + if yyct460 == codecSelferValueTypeMap1234 { + yyl460 := r.ReadMapStart() + if yyl460 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl448, d) + x.codecDecodeSelfFromMap(yyl460, d) } - } else if yyct448 == codecSelferValueTypeArray1234 { - yyl448 := r.ReadArrayStart() - if yyl448 == 0 { + } else if yyct460 == codecSelferValueTypeArray1234 { + yyl460 := r.ReadArrayStart() + if yyl460 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl448, d) + x.codecDecodeSelfFromArray(yyl460, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7194,12 +7458,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys449Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys449Slc - var yyhl449 bool = l >= 0 - for yyj449 := 0; ; yyj449++ { - if yyhl449 { - if yyj449 >= l { + var yys461Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys461Slc + var yyhl461 bool = l >= 0 + for yyj461 := 0; ; yyj461++ { + if yyhl461 { + if yyj461 >= l { break } } else { @@ -7208,33 +7472,33 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys449Slc = r.DecodeBytes(yys449Slc, true, true) - yys449 := string(yys449Slc) + yys461Slc = r.DecodeBytes(yys461Slc, true, true) + yys461 := string(yys461Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys449 { + switch yys461 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv450 := &x.ListMeta - yym451 := z.DecBinary() - _ = yym451 + yyv462 := &x.ListMeta + yym463 := z.DecBinary() + _ = yym463 if false { - } else if z.HasExtensions() && z.DecExt(yyv450) { + } else if z.HasExtensions() && z.DecExt(yyv462) { } else { - z.DecFallback(yyv450, false) + z.DecFallback(yyv462, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv452 := &x.Items - yym453 := z.DecBinary() - _ = yym453 + yyv464 := &x.Items + yym465 := z.DecBinary() + _ = yym465 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv452), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv464), d) } } case "kind": @@ -7250,9 +7514,9 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys449) - } // end switch yys449 - } // end for yyj449 + z.DecStructFieldNotFound(-1, yys461) + } // end switch yys461 + } // end for yyj461 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7260,16 +7524,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj456 int - var yyb456 bool - var yyhl456 bool = l >= 0 - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + var yyj468 int + var yyb468 bool + var yyhl468 bool = l >= 0 + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7277,22 +7541,22 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv457 := &x.ListMeta - yym458 := z.DecBinary() - _ = yym458 + yyv469 := &x.ListMeta + yym470 := z.DecBinary() + _ = yym470 if false { - } else if z.HasExtensions() && z.DecExt(yyv457) { + } else if z.HasExtensions() && z.DecExt(yyv469) { } else { - z.DecFallback(yyv457, false) + z.DecFallback(yyv469, false) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7300,21 +7564,21 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv459 := &x.Items - yym460 := z.DecBinary() - _ = yym460 + yyv471 := &x.Items + yym472 := z.DecBinary() + _ = yym472 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv459), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv471), d) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7324,13 +7588,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7341,17 +7605,17 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } for { - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj468++ + if yyhl468 { + yyb468 = yyj468 > l } else { - yyb456 = r.CheckBreak() + yyb468 = r.CheckBreak() } - if yyb456 { + if yyb468 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj456-1, "") + z.DecStructFieldNotFound(yyj468-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7363,40 +7627,40 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym463 := z.EncBinary() - _ = yym463 + yym475 := z.EncBinary() + _ = yym475 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep464 := !z.EncBinary() - yy2arr464 := z.EncBasicHandle().StructToArray - var yyq464 [3]bool - _, _, _ = yysep464, yyq464, yy2arr464 - const yyr464 bool = false - yyq464[0] = len(x.AccessModes) != 0 - yyq464[1] = true - yyq464[2] = x.VolumeName != "" - var yynn464 int - if yyr464 || yy2arr464 { + yysep476 := !z.EncBinary() + yy2arr476 := z.EncBasicHandle().StructToArray + var yyq476 [3]bool + _, _, _ = yysep476, yyq476, yy2arr476 + const yyr476 bool = false + yyq476[0] = len(x.AccessModes) != 0 + yyq476[1] = true + yyq476[2] = x.VolumeName != "" + var yynn476 int + if yyr476 || yy2arr476 { r.EncodeArrayStart(3) } else { - yynn464 = 0 - for _, b := range yyq464 { + yynn476 = 0 + for _, b := range yyq476 { if b { - yynn464++ + yynn476++ } } - r.EncodeMapStart(yynn464) - yynn464 = 0 + r.EncodeMapStart(yynn476) + yynn476 = 0 } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[0] { + if yyq476[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym466 := z.EncBinary() - _ = yym466 + yym478 := z.EncBinary() + _ = yym478 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7406,15 +7670,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq464[0] { + if yyq476[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym467 := z.EncBinary() - _ = yym467 + yym479 := z.EncBinary() + _ = yym479 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7422,28 +7686,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[1] { - yy469 := &x.Resources - yy469.CodecEncodeSelf(e) + if yyq476[1] { + yy481 := &x.Resources + yy481.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq464[1] { + if yyq476[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy470 := &x.Resources - yy470.CodecEncodeSelf(e) + yy482 := &x.Resources + yy482.CodecEncodeSelf(e) } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq464[2] { - yym472 := z.EncBinary() - _ = yym472 + if yyq476[2] { + yym484 := z.EncBinary() + _ = yym484 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -7452,19 +7716,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq464[2] { + if yyq476[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym473 := z.EncBinary() - _ = yym473 + yym485 := z.EncBinary() + _ = yym485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr464 || yy2arr464 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7477,25 +7741,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym474 := z.DecBinary() - _ = yym474 + yym486 := z.DecBinary() + _ = yym486 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct475 := r.ContainerType() - if yyct475 == codecSelferValueTypeMap1234 { - yyl475 := r.ReadMapStart() - if yyl475 == 0 { + yyct487 := r.ContainerType() + if yyct487 == codecSelferValueTypeMap1234 { + yyl487 := r.ReadMapStart() + if yyl487 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl475, d) + x.codecDecodeSelfFromMap(yyl487, d) } - } else if yyct475 == codecSelferValueTypeArray1234 { - yyl475 := r.ReadArrayStart() - if yyl475 == 0 { + } else if yyct487 == codecSelferValueTypeArray1234 { + yyl487 := r.ReadArrayStart() + if yyl487 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl475, d) + x.codecDecodeSelfFromArray(yyl487, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7507,12 +7771,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys476Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys476Slc - var yyhl476 bool = l >= 0 - for yyj476 := 0; ; yyj476++ { - if yyhl476 { - if yyj476 >= l { + var yys488Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys488Slc + var yyhl488 bool = l >= 0 + for yyj488 := 0; ; yyj488++ { + if yyhl488 { + if yyj488 >= l { break } } else { @@ -7521,28 +7785,28 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys476Slc = r.DecodeBytes(yys476Slc, true, true) - yys476 := string(yys476Slc) + yys488Slc = r.DecodeBytes(yys488Slc, true, true) + yys488 := string(yys488Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys476 { + switch yys488 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv477 := &x.AccessModes - yym478 := z.DecBinary() - _ = yym478 + yyv489 := &x.AccessModes + yym490 := z.DecBinary() + _ = yym490 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv477), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv489), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv479 := &x.Resources - yyv479.CodecDecodeSelf(d) + yyv491 := &x.Resources + yyv491.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -7551,9 +7815,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys476) - } // end switch yys476 - } // end for yyj476 + z.DecStructFieldNotFound(-1, yys488) + } // end switch yys488 + } // end for yyj488 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7561,16 +7825,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj481 int - var yyb481 bool - var yyhl481 bool = l >= 0 - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + var yyj493 int + var yyb493 bool + var yyhl493 bool = l >= 0 + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7578,21 +7842,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv482 := &x.AccessModes - yym483 := z.DecBinary() - _ = yym483 + yyv494 := &x.AccessModes + yym495 := z.DecBinary() + _ = yym495 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv482), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv494), d) } } - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7600,16 +7864,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv484 := &x.Resources - yyv484.CodecDecodeSelf(d) + yyv496 := &x.Resources + yyv496.CodecDecodeSelf(d) } - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7620,17 +7884,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj481++ - if yyhl481 { - yyb481 = yyj481 > l + yyj493++ + if yyhl493 { + yyb493 = yyj493 > l } else { - yyb481 = r.CheckBreak() + yyb493 = r.CheckBreak() } - if yyb481 { + if yyb493 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj481-1, "") + z.DecStructFieldNotFound(yyj493-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7642,55 +7906,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym486 := z.EncBinary() - _ = yym486 + yym498 := z.EncBinary() + _ = yym498 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep487 := !z.EncBinary() - yy2arr487 := z.EncBasicHandle().StructToArray - var yyq487 [3]bool - _, _, _ = yysep487, yyq487, yy2arr487 - const yyr487 bool = false - yyq487[0] = x.Phase != "" - yyq487[1] = len(x.AccessModes) != 0 - yyq487[2] = len(x.Capacity) != 0 - var yynn487 int - if yyr487 || yy2arr487 { + yysep499 := !z.EncBinary() + yy2arr499 := z.EncBasicHandle().StructToArray + var yyq499 [3]bool + _, _, _ = yysep499, yyq499, yy2arr499 + const yyr499 bool = false + yyq499[0] = x.Phase != "" + yyq499[1] = len(x.AccessModes) != 0 + yyq499[2] = len(x.Capacity) != 0 + var yynn499 int + if yyr499 || yy2arr499 { r.EncodeArrayStart(3) } else { - yynn487 = 0 - for _, b := range yyq487 { + yynn499 = 0 + for _, b := range yyq499 { if b { - yynn487++ + yynn499++ } } - r.EncodeMapStart(yynn487) - yynn487 = 0 + r.EncodeMapStart(yynn499) + yynn499 = 0 } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[0] { + if yyq499[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq487[0] { + if yyq499[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[1] { + if yyq499[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym490 := z.EncBinary() - _ = yym490 + yym502 := z.EncBinary() + _ = yym502 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7700,15 +7964,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq487[1] { + if yyq499[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym491 := z.EncBinary() - _ = yym491 + yym503 := z.EncBinary() + _ = yym503 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7716,9 +7980,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq487[2] { + if yyq499[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -7728,7 +7992,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq487[2] { + if yyq499[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7739,7 +8003,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr487 || yy2arr487 { + if yyr499 || yy2arr499 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7752,25 +8016,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym493 := z.DecBinary() - _ = yym493 + yym505 := z.DecBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct494 := r.ContainerType() - if yyct494 == codecSelferValueTypeMap1234 { - yyl494 := r.ReadMapStart() - if yyl494 == 0 { + yyct506 := r.ContainerType() + if yyct506 == codecSelferValueTypeMap1234 { + yyl506 := r.ReadMapStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl494, d) + x.codecDecodeSelfFromMap(yyl506, d) } - } else if yyct494 == codecSelferValueTypeArray1234 { - yyl494 := r.ReadArrayStart() - if yyl494 == 0 { + } else if yyct506 == codecSelferValueTypeArray1234 { + yyl506 := r.ReadArrayStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl494, d) + x.codecDecodeSelfFromArray(yyl506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7782,12 +8046,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys495Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys495Slc - var yyhl495 bool = l >= 0 - for yyj495 := 0; ; yyj495++ { - if yyhl495 { - if yyj495 >= l { + var yys507Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys507Slc + var yyhl507 bool = l >= 0 + for yyj507 := 0; ; yyj507++ { + if yyhl507 { + if yyj507 >= l { break } } else { @@ -7796,10 +8060,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys495Slc = r.DecodeBytes(yys495Slc, true, true) - yys495 := string(yys495Slc) + yys507Slc = r.DecodeBytes(yys507Slc, true, true) + yys507 := string(yys507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys495 { + switch yys507 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7810,25 +8074,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv497 := &x.AccessModes - yym498 := z.DecBinary() - _ = yym498 + yyv509 := &x.AccessModes + yym510 := z.DecBinary() + _ = yym510 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv497), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv509), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv499 := &x.Capacity - yyv499.CodecDecodeSelf(d) + yyv511 := &x.Capacity + yyv511.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys495) - } // end switch yys495 - } // end for yyj495 + z.DecStructFieldNotFound(-1, yys507) + } // end switch yys507 + } // end for yyj507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7836,16 +8100,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj500 int - var yyb500 bool - var yyhl500 bool = l >= 0 - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + var yyj512 int + var yyb512 bool + var yyhl512 bool = l >= 0 + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7855,13 +8119,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7869,21 +8133,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv502 := &x.AccessModes - yym503 := z.DecBinary() - _ = yym503 + yyv514 := &x.AccessModes + yym515 := z.DecBinary() + _ = yym515 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv502), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv514), d) } } - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7891,21 +8155,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv504 := &x.Capacity - yyv504.CodecDecodeSelf(d) + yyv516 := &x.Capacity + yyv516.CodecDecodeSelf(d) } for { - yyj500++ - if yyhl500 { - yyb500 = yyj500 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb500 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb500 { + if yyb512 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj500-1, "") + z.DecStructFieldNotFound(yyj512-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7914,8 +8178,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym505 := z.EncBinary() - _ = yym505 + yym517 := z.EncBinary() + _ = yym517 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7927,8 +8191,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym506 := z.DecBinary() - _ = yym506 + yym518 := z.DecBinary() + _ = yym518 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7940,8 +8204,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym507 := z.EncBinary() - _ = yym507 + yym519 := z.EncBinary() + _ = yym519 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7953,8 +8217,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym508 := z.DecBinary() - _ = yym508 + yym520 := z.DecBinary() + _ = yym520 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7966,8 +8230,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym509 := z.EncBinary() - _ = yym509 + yym521 := z.EncBinary() + _ = yym521 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7979,8 +8243,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym510 := z.DecBinary() - _ = yym510 + yym522 := z.DecBinary() + _ = yym522 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7995,33 +8259,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym511 := z.EncBinary() - _ = yym511 + yym523 := z.EncBinary() + _ = yym523 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep512 := !z.EncBinary() - yy2arr512 := z.EncBasicHandle().StructToArray - var yyq512 [1]bool - _, _, _ = yysep512, yyq512, yy2arr512 - const yyr512 bool = false - var yynn512 int - if yyr512 || yy2arr512 { + yysep524 := !z.EncBinary() + yy2arr524 := z.EncBasicHandle().StructToArray + var yyq524 [1]bool + _, _, _ = yysep524, yyq524, yy2arr524 + const yyr524 bool = false + var yynn524 int + if yyr524 || yy2arr524 { r.EncodeArrayStart(1) } else { - yynn512 = 1 - for _, b := range yyq512 { + yynn524 = 1 + for _, b := range yyq524 { if b { - yynn512++ + yynn524++ } } - r.EncodeMapStart(yynn512) - yynn512 = 0 + r.EncodeMapStart(yynn524) + yynn524 = 0 } - if yyr512 || yy2arr512 { + if yyr524 || yy2arr524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym514 := z.EncBinary() - _ = yym514 + yym526 := z.EncBinary() + _ = yym526 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8030,14 +8294,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym515 := z.EncBinary() - _ = yym515 + yym527 := z.EncBinary() + _ = yym527 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr512 || yy2arr512 { + if yyr524 || yy2arr524 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8050,25 +8314,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym516 := z.DecBinary() - _ = yym516 + yym528 := z.DecBinary() + _ = yym528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct517 := r.ContainerType() - if yyct517 == codecSelferValueTypeMap1234 { - yyl517 := r.ReadMapStart() - if yyl517 == 0 { + yyct529 := r.ContainerType() + if yyct529 == codecSelferValueTypeMap1234 { + yyl529 := r.ReadMapStart() + if yyl529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl517, d) + x.codecDecodeSelfFromMap(yyl529, d) } - } else if yyct517 == codecSelferValueTypeArray1234 { - yyl517 := r.ReadArrayStart() - if yyl517 == 0 { + } else if yyct529 == codecSelferValueTypeArray1234 { + yyl529 := r.ReadArrayStart() + if yyl529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl517, d) + x.codecDecodeSelfFromArray(yyl529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8080,12 +8344,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys518Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys518Slc - var yyhl518 bool = l >= 0 - for yyj518 := 0; ; yyj518++ { - if yyhl518 { - if yyj518 >= l { + var yys530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys530Slc + var yyhl530 bool = l >= 0 + for yyj530 := 0; ; yyj530++ { + if yyhl530 { + if yyj530 >= l { break } } else { @@ -8094,10 +8358,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys518Slc = r.DecodeBytes(yys518Slc, true, true) - yys518 := string(yys518Slc) + yys530Slc = r.DecodeBytes(yys530Slc, true, true) + yys530 := string(yys530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys518 { + switch yys530 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -8105,9 +8369,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys518) - } // end switch yys518 - } // end for yyj518 + z.DecStructFieldNotFound(-1, yys530) + } // end switch yys530 + } // end for yyj530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8115,16 +8379,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj520 int - var yyb520 bool - var yyhl520 bool = l >= 0 - yyj520++ - if yyhl520 { - yyb520 = yyj520 > l + var yyj532 int + var yyb532 bool + var yyhl532 bool = l >= 0 + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb520 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb520 { + if yyb532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8135,17 +8399,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj520++ - if yyhl520 { - yyb520 = yyj520 > l + yyj532++ + if yyhl532 { + yyb532 = yyj532 > l } else { - yyb520 = r.CheckBreak() + yyb532 = r.CheckBreak() } - if yyb520 { + if yyb532 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj520-1, "") + z.DecStructFieldNotFound(yyj532-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8157,46 +8421,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym522 := z.EncBinary() - _ = yym522 + yym534 := z.EncBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep523 := !z.EncBinary() - yy2arr523 := z.EncBasicHandle().StructToArray - var yyq523 [1]bool - _, _, _ = yysep523, yyq523, yy2arr523 - const yyr523 bool = false - yyq523[0] = x.Medium != "" - var yynn523 int - if yyr523 || yy2arr523 { + yysep535 := !z.EncBinary() + yy2arr535 := z.EncBasicHandle().StructToArray + var yyq535 [1]bool + _, _, _ = yysep535, yyq535, yy2arr535 + const yyr535 bool = false + yyq535[0] = x.Medium != "" + var yynn535 int + if yyr535 || yy2arr535 { r.EncodeArrayStart(1) } else { - yynn523 = 0 - for _, b := range yyq523 { + yynn535 = 0 + for _, b := range yyq535 { if b { - yynn523++ + yynn535++ } } - r.EncodeMapStart(yynn523) - yynn523 = 0 + r.EncodeMapStart(yynn535) + yynn535 = 0 } - if yyr523 || yy2arr523 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq523[0] { + if yyq535[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq523[0] { + if yyq535[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr523 || yy2arr523 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8209,25 +8473,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym525 := z.DecBinary() - _ = yym525 + yym537 := z.DecBinary() + _ = yym537 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct526 := r.ContainerType() - if yyct526 == codecSelferValueTypeMap1234 { - yyl526 := r.ReadMapStart() - if yyl526 == 0 { + yyct538 := r.ContainerType() + if yyct538 == codecSelferValueTypeMap1234 { + yyl538 := r.ReadMapStart() + if yyl538 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl526, d) + x.codecDecodeSelfFromMap(yyl538, d) } - } else if yyct526 == codecSelferValueTypeArray1234 { - yyl526 := r.ReadArrayStart() - if yyl526 == 0 { + } else if yyct538 == codecSelferValueTypeArray1234 { + yyl538 := r.ReadArrayStart() + if yyl538 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl526, d) + x.codecDecodeSelfFromArray(yyl538, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8239,12 +8503,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys527Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys527Slc - var yyhl527 bool = l >= 0 - for yyj527 := 0; ; yyj527++ { - if yyhl527 { - if yyj527 >= l { + var yys539Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys539Slc + var yyhl539 bool = l >= 0 + for yyj539 := 0; ; yyj539++ { + if yyhl539 { + if yyj539 >= l { break } } else { @@ -8253,10 +8517,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys527Slc = r.DecodeBytes(yys527Slc, true, true) - yys527 := string(yys527Slc) + yys539Slc = r.DecodeBytes(yys539Slc, true, true) + yys539 := string(yys539Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys527 { + switch yys539 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -8264,9 +8528,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys527) - } // end switch yys527 - } // end for yyj527 + z.DecStructFieldNotFound(-1, yys539) + } // end switch yys539 + } // end for yyj539 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8274,16 +8538,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj529 int - var yyb529 bool - var yyhl529 bool = l >= 0 - yyj529++ - if yyhl529 { - yyb529 = yyj529 > l + var yyj541 int + var yyb541 bool + var yyhl541 bool = l >= 0 + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb529 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb529 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8294,17 +8558,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj529++ - if yyhl529 { - yyb529 = yyj529 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb529 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb529 { + if yyb541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj529-1, "") + z.DecStructFieldNotFound(yyj541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8316,34 +8580,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym531 := z.EncBinary() - _ = yym531 + yym543 := z.EncBinary() + _ = yym543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep532 := !z.EncBinary() - yy2arr532 := z.EncBasicHandle().StructToArray - var yyq532 [3]bool - _, _, _ = yysep532, yyq532, yy2arr532 - const yyr532 bool = false - yyq532[2] = x.ReadOnly != false - var yynn532 int - if yyr532 || yy2arr532 { + yysep544 := !z.EncBinary() + yy2arr544 := z.EncBasicHandle().StructToArray + var yyq544 [3]bool + _, _, _ = yysep544, yyq544, yy2arr544 + const yyr544 bool = false + yyq544[2] = x.ReadOnly != false + var yynn544 int + if yyr544 || yy2arr544 { r.EncodeArrayStart(3) } else { - yynn532 = 2 - for _, b := range yyq532 { + yynn544 = 2 + for _, b := range yyq544 { if b { - yynn532++ + yynn544++ } } - r.EncodeMapStart(yynn532) - yynn532 = 0 + r.EncodeMapStart(yynn544) + yynn544 = 0 } - if yyr532 || yy2arr532 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym534 := z.EncBinary() - _ = yym534 + yym546 := z.EncBinary() + _ = yym546 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -8352,17 +8616,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym535 := z.EncBinary() - _ = yym535 + yym547 := z.EncBinary() + _ = yym547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr532 || yy2arr532 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym537 := z.EncBinary() - _ = yym537 + yym549 := z.EncBinary() + _ = yym549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8371,18 +8635,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym538 := z.EncBinary() - _ = yym538 + yym550 := z.EncBinary() + _ = yym550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr532 || yy2arr532 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq532[2] { - yym540 := z.EncBinary() - _ = yym540 + if yyq544[2] { + yym552 := z.EncBinary() + _ = yym552 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8391,19 +8655,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq532[2] { + if yyq544[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym541 := z.EncBinary() - _ = yym541 + yym553 := z.EncBinary() + _ = yym553 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr532 || yy2arr532 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8416,25 +8680,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym542 := z.DecBinary() - _ = yym542 + yym554 := z.DecBinary() + _ = yym554 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct543 := r.ContainerType() - if yyct543 == codecSelferValueTypeMap1234 { - yyl543 := r.ReadMapStart() - if yyl543 == 0 { + yyct555 := r.ContainerType() + if yyct555 == codecSelferValueTypeMap1234 { + yyl555 := r.ReadMapStart() + if yyl555 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl543, d) + x.codecDecodeSelfFromMap(yyl555, d) } - } else if yyct543 == codecSelferValueTypeArray1234 { - yyl543 := r.ReadArrayStart() - if yyl543 == 0 { + } else if yyct555 == codecSelferValueTypeArray1234 { + yyl555 := r.ReadArrayStart() + if yyl555 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl543, d) + x.codecDecodeSelfFromArray(yyl555, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8446,12 +8710,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys544Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys544Slc - var yyhl544 bool = l >= 0 - for yyj544 := 0; ; yyj544++ { - if yyhl544 { - if yyj544 >= 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 { @@ -8460,10 +8724,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys544Slc = r.DecodeBytes(yys544Slc, true, true) - yys544 := string(yys544Slc) + yys556Slc = r.DecodeBytes(yys556Slc, true, true) + yys556 := string(yys556Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys544 { + switch yys556 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -8483,9 +8747,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys544) - } // end switch yys544 - } // end for yyj544 + z.DecStructFieldNotFound(-1, yys556) + } // end switch yys556 + } // end for yyj556 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8493,16 +8757,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj548 int - var yyb548 bool - var yyhl548 bool = l >= 0 - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + var yyj560 int + var yyb560 bool + var yyhl560 bool = l >= 0 + yyj560++ + if yyhl560 { + yyb560 = yyj560 > l } else { - yyb548 = r.CheckBreak() + yyb560 = r.CheckBreak() } - if yyb548 { + if yyb560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8512,13 +8776,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + yyj560++ + if yyhl560 { + yyb560 = yyj560 > l } else { - yyb548 = r.CheckBreak() + yyb560 = r.CheckBreak() } - if yyb548 { + if yyb560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8528,13 +8792,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + yyj560++ + if yyhl560 { + yyb560 = yyj560 > l } else { - yyb548 = r.CheckBreak() + yyb560 = r.CheckBreak() } - if yyb548 { + if yyb560 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8545,17 +8809,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + yyj560++ + if yyhl560 { + yyb560 = yyj560 > l } else { - yyb548 = r.CheckBreak() + yyb560 = r.CheckBreak() } - if yyb548 { + if yyb560 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj548-1, "") + z.DecStructFieldNotFound(yyj560-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8567,38 +8831,38 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym552 := z.EncBinary() - _ = yym552 + yym564 := z.EncBinary() + _ = yym564 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep553 := !z.EncBinary() - yy2arr553 := z.EncBasicHandle().StructToArray - var yyq553 [8]bool - _, _, _ = yysep553, yyq553, yy2arr553 - const yyr553 bool = false - yyq553[2] = x.FSType != "" - yyq553[7] = x.ReadOnly != false - var yynn553 int - if yyr553 || yy2arr553 { + yysep565 := !z.EncBinary() + yy2arr565 := z.EncBasicHandle().StructToArray + var yyq565 [8]bool + _, _, _ = yysep565, yyq565, yy2arr565 + const yyr565 bool = false + yyq565[2] = x.FSType != "" + yyq565[7] = x.ReadOnly != false + var yynn565 int + if yyr565 || yy2arr565 { r.EncodeArrayStart(8) } else { - yynn553 = 6 - for _, b := range yyq553 { + yynn565 = 6 + for _, b := range yyq565 { if b { - yynn553++ + yynn565++ } } - r.EncodeMapStart(yynn553) - yynn553 = 0 + r.EncodeMapStart(yynn565) + yynn565 = 0 } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym555 := z.EncBinary() - _ = yym555 + yym567 := z.EncBinary() + _ = yym567 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -8611,18 +8875,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym556 := z.EncBinary() - _ = yym556 + yym568 := z.EncBinary() + _ = yym568 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym558 := z.EncBinary() - _ = yym558 + yym570 := z.EncBinary() + _ = yym570 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -8631,18 +8895,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym559 := z.EncBinary() - _ = yym559 + yym571 := z.EncBinary() + _ = yym571 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq553[2] { - yym561 := z.EncBinary() - _ = yym561 + if yyq565[2] { + yym573 := z.EncBinary() + _ = yym573 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8651,22 +8915,22 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq553[2] { + if yyq565[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym562 := z.EncBinary() - _ = yym562 + yym574 := z.EncBinary() + _ = yym574 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym564 := z.EncBinary() - _ = yym564 + yym576 := z.EncBinary() + _ = yym576 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -8675,17 +8939,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym565 := z.EncBinary() - _ = yym565 + yym577 := z.EncBinary() + _ = yym577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym567 := z.EncBinary() - _ = yym567 + yym579 := z.EncBinary() + _ = yym579 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -8694,17 +8958,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym568 := z.EncBinary() - _ = yym568 + yym580 := z.EncBinary() + _ = yym580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym570 := z.EncBinary() - _ = yym570 + yym582 := z.EncBinary() + _ = yym582 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -8713,14 +8977,14 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym571 := z.EncBinary() - _ = yym571 + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SecretRef == nil { r.EncodeNil() @@ -8737,11 +9001,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { x.SecretRef.CodecEncodeSelf(e) } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq553[7] { - yym574 := z.EncBinary() - _ = yym574 + if yyq565[7] { + yym586 := z.EncBinary() + _ = yym586 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8750,19 +9014,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq553[7] { + if yyq565[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym575 := z.EncBinary() - _ = yym575 + yym587 := z.EncBinary() + _ = yym587 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr553 || yy2arr553 { + if yyr565 || yy2arr565 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8775,25 +9039,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym576 := z.DecBinary() - _ = yym576 + yym588 := z.DecBinary() + _ = yym588 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct577 := r.ContainerType() - if yyct577 == codecSelferValueTypeMap1234 { - yyl577 := r.ReadMapStart() - if yyl577 == 0 { + yyct589 := r.ContainerType() + if yyct589 == codecSelferValueTypeMap1234 { + yyl589 := r.ReadMapStart() + if yyl589 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl577, d) + x.codecDecodeSelfFromMap(yyl589, d) } - } else if yyct577 == codecSelferValueTypeArray1234 { - yyl577 := r.ReadArrayStart() - if yyl577 == 0 { + } else if yyct589 == codecSelferValueTypeArray1234 { + yyl589 := r.ReadArrayStart() + if yyl589 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl577, d) + x.codecDecodeSelfFromArray(yyl589, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8805,12 +9069,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys578Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys578Slc - var yyhl578 bool = l >= 0 - for yyj578 := 0; ; yyj578++ { - if yyhl578 { - if yyj578 >= l { + var yys590Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys590Slc + var yyhl590 bool = l >= 0 + for yyj590 := 0; ; yyj590++ { + if yyhl590 { + if yyj590 >= l { break } } else { @@ -8819,20 +9083,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys578Slc = r.DecodeBytes(yys578Slc, true, true) - yys578 := string(yys578Slc) + yys590Slc = r.DecodeBytes(yys590Slc, true, true) + yys590 := string(yys590Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys578 { + switch yys590 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv579 := &x.CephMonitors - yym580 := z.DecBinary() - _ = yym580 + yyv591 := &x.CephMonitors + yym592 := z.DecBinary() + _ = yym592 if false { } else { - z.F.DecSliceStringX(yyv579, false, d) + z.F.DecSliceStringX(yyv591, false, d) } } case "image": @@ -8883,9 +9147,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys578) - } // end switch yys578 - } // end for yyj578 + z.DecStructFieldNotFound(-1, yys590) + } // end switch yys590 + } // end for yyj590 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8893,16 +9157,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj588 int - var yyb588 bool - var yyhl588 bool = l >= 0 - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + var yyj600 int + var yyb600 bool + var yyhl600 bool = l >= 0 + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8910,21 +9174,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv589 := &x.CephMonitors - yym590 := z.DecBinary() - _ = yym590 + yyv601 := &x.CephMonitors + yym602 := z.DecBinary() + _ = yym602 if false { } else { - z.F.DecSliceStringX(yyv589, false, d) + z.F.DecSliceStringX(yyv601, false, d) } } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8934,13 +9198,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8950,13 +9214,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8966,13 +9230,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8982,13 +9246,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8998,13 +9262,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9019,13 +9283,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9036,17 +9300,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb588 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb588 { + if yyb600 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj588-1, "") + z.DecStructFieldNotFound(yyj600-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9058,35 +9322,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym598 := z.EncBinary() - _ = yym598 + yym610 := z.EncBinary() + _ = yym610 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep599 := !z.EncBinary() - yy2arr599 := z.EncBasicHandle().StructToArray - var yyq599 [3]bool - _, _, _ = yysep599, yyq599, yy2arr599 - const yyr599 bool = false - yyq599[1] = x.FSType != "" - yyq599[2] = x.ReadOnly != false - var yynn599 int - if yyr599 || yy2arr599 { + yysep611 := !z.EncBinary() + yy2arr611 := z.EncBasicHandle().StructToArray + var yyq611 [3]bool + _, _, _ = yysep611, yyq611, yy2arr611 + const yyr611 bool = false + yyq611[1] = x.FSType != "" + yyq611[2] = x.ReadOnly != false + var yynn611 int + if yyr611 || yy2arr611 { r.EncodeArrayStart(3) } else { - yynn599 = 1 - for _, b := range yyq599 { + yynn611 = 1 + for _, b := range yyq611 { if b { - yynn599++ + yynn611++ } } - r.EncodeMapStart(yynn599) - yynn599 = 0 + r.EncodeMapStart(yynn611) + yynn611 = 0 } - if yyr599 || yy2arr599 { + if yyr611 || yy2arr611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym601 := z.EncBinary() - _ = yym601 + yym613 := z.EncBinary() + _ = yym613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -9095,18 +9359,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym602 := z.EncBinary() - _ = yym602 + yym614 := z.EncBinary() + _ = yym614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr599 || yy2arr599 { + if yyr611 || yy2arr611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq599[1] { - yym604 := z.EncBinary() - _ = yym604 + if yyq611[1] { + yym616 := z.EncBinary() + _ = yym616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9115,23 +9379,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq599[1] { + if yyq611[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym605 := z.EncBinary() - _ = yym605 + yym617 := z.EncBinary() + _ = yym617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr599 || yy2arr599 { + if yyr611 || yy2arr611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq599[2] { - yym607 := z.EncBinary() - _ = yym607 + if yyq611[2] { + yym619 := z.EncBinary() + _ = yym619 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9140,19 +9404,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq599[2] { + if yyq611[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym608 := z.EncBinary() - _ = yym608 + yym620 := z.EncBinary() + _ = yym620 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr599 || yy2arr599 { + if yyr611 || yy2arr611 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9165,25 +9429,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym609 := z.DecBinary() - _ = yym609 + yym621 := z.DecBinary() + _ = yym621 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct610 := r.ContainerType() - if yyct610 == codecSelferValueTypeMap1234 { - yyl610 := r.ReadMapStart() - if yyl610 == 0 { + yyct622 := r.ContainerType() + if yyct622 == codecSelferValueTypeMap1234 { + yyl622 := r.ReadMapStart() + if yyl622 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl610, d) + x.codecDecodeSelfFromMap(yyl622, d) } - } else if yyct610 == codecSelferValueTypeArray1234 { - yyl610 := r.ReadArrayStart() - if yyl610 == 0 { + } else if yyct622 == codecSelferValueTypeArray1234 { + yyl622 := r.ReadArrayStart() + if yyl622 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl610, d) + x.codecDecodeSelfFromArray(yyl622, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9195,12 +9459,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys611Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys611Slc - var yyhl611 bool = l >= 0 - for yyj611 := 0; ; yyj611++ { - if yyhl611 { - if yyj611 >= l { + var yys623Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys623Slc + var yyhl623 bool = l >= 0 + for yyj623 := 0; ; yyj623++ { + if yyhl623 { + if yyj623 >= l { break } } else { @@ -9209,10 +9473,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys611Slc = r.DecodeBytes(yys611Slc, true, true) - yys611 := string(yys611Slc) + yys623Slc = r.DecodeBytes(yys623Slc, true, true) + yys623 := string(yys623Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys611 { + switch yys623 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -9232,9 +9496,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys611) - } // end switch yys611 - } // end for yyj611 + z.DecStructFieldNotFound(-1, yys623) + } // end switch yys623 + } // end for yyj623 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9242,16 +9506,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj615 int - var yyb615 bool - var yyhl615 bool = l >= 0 - yyj615++ - if yyhl615 { - yyb615 = yyj615 > l + var yyj627 int + var yyb627 bool + var yyhl627 bool = l >= 0 + yyj627++ + if yyhl627 { + yyb627 = yyj627 > l } else { - yyb615 = r.CheckBreak() + yyb627 = r.CheckBreak() } - if yyb615 { + if yyb627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9261,13 +9525,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj615++ - if yyhl615 { - yyb615 = yyj615 > l + yyj627++ + if yyhl627 { + yyb627 = yyj627 > l } else { - yyb615 = r.CheckBreak() + yyb627 = r.CheckBreak() } - if yyb615 { + if yyb627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9277,13 +9541,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj615++ - if yyhl615 { - yyb615 = yyj615 > l + yyj627++ + if yyhl627 { + yyb627 = yyj627 > l } else { - yyb615 = r.CheckBreak() + yyb627 = r.CheckBreak() } - if yyb615 { + if yyb627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9294,17 +9558,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj615++ - if yyhl615 { - yyb615 = yyj615 > l + yyj627++ + if yyhl627 { + yyb627 = yyj627 > l } else { - yyb615 = r.CheckBreak() + yyb627 = r.CheckBreak() } - if yyb615 { + if yyb627 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj615-1, "") + z.DecStructFieldNotFound(yyj627-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9316,41 +9580,41 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym619 := z.EncBinary() - _ = yym619 + yym631 := z.EncBinary() + _ = yym631 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep620 := !z.EncBinary() - yy2arr620 := z.EncBasicHandle().StructToArray - var yyq620 [6]bool - _, _, _ = yysep620, yyq620, yy2arr620 - const yyr620 bool = false - yyq620[1] = x.Path != "" - yyq620[2] = x.User != "" - yyq620[3] = x.SecretFile != "" - yyq620[4] = x.SecretRef != nil - yyq620[5] = x.ReadOnly != false - var yynn620 int - if yyr620 || yy2arr620 { + yysep632 := !z.EncBinary() + yy2arr632 := z.EncBasicHandle().StructToArray + var yyq632 [6]bool + _, _, _ = yysep632, yyq632, yy2arr632 + const yyr632 bool = false + yyq632[1] = x.Path != "" + yyq632[2] = x.User != "" + yyq632[3] = x.SecretFile != "" + yyq632[4] = x.SecretRef != nil + yyq632[5] = x.ReadOnly != false + var yynn632 int + if yyr632 || yy2arr632 { r.EncodeArrayStart(6) } else { - yynn620 = 1 - for _, b := range yyq620 { + yynn632 = 1 + for _, b := range yyq632 { if b { - yynn620++ + yynn632++ } } - r.EncodeMapStart(yynn620) - yynn620 = 0 + r.EncodeMapStart(yynn632) + yynn632 = 0 } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym622 := z.EncBinary() - _ = yym622 + yym634 := z.EncBinary() + _ = yym634 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -9363,19 +9627,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym623 := z.EncBinary() - _ = yym623 + yym635 := z.EncBinary() + _ = yym635 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq620[1] { - yym625 := z.EncBinary() - _ = yym625 + if yyq632[1] { + yym637 := z.EncBinary() + _ = yym637 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9384,23 +9648,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq620[1] { + if yyq632[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym626 := z.EncBinary() - _ = yym626 + yym638 := z.EncBinary() + _ = yym638 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq620[2] { - yym628 := z.EncBinary() - _ = yym628 + if yyq632[2] { + yym640 := z.EncBinary() + _ = yym640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -9409,23 +9673,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq620[2] { + if yyq632[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym629 := z.EncBinary() - _ = yym629 + yym641 := z.EncBinary() + _ = yym641 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq620[3] { - yym631 := z.EncBinary() - _ = yym631 + if yyq632[3] { + yym643 := z.EncBinary() + _ = yym643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -9434,21 +9698,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq620[3] { + if yyq632[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym632 := z.EncBinary() - _ = yym632 + yym644 := z.EncBinary() + _ = yym644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq620[4] { + if yyq632[4] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -9458,7 +9722,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq620[4] { + if yyq632[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -9469,11 +9733,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq620[5] { - yym635 := z.EncBinary() - _ = yym635 + if yyq632[5] { + yym647 := z.EncBinary() + _ = yym647 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9482,19 +9746,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq620[5] { + if yyq632[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym636 := z.EncBinary() - _ = yym636 + yym648 := z.EncBinary() + _ = yym648 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr620 || yy2arr620 { + if yyr632 || yy2arr632 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9507,25 +9771,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym637 := z.DecBinary() - _ = yym637 + yym649 := z.DecBinary() + _ = yym649 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct638 := r.ContainerType() - if yyct638 == codecSelferValueTypeMap1234 { - yyl638 := r.ReadMapStart() - if yyl638 == 0 { + yyct650 := r.ContainerType() + if yyct650 == codecSelferValueTypeMap1234 { + yyl650 := r.ReadMapStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl638, d) + x.codecDecodeSelfFromMap(yyl650, d) } - } else if yyct638 == codecSelferValueTypeArray1234 { - yyl638 := r.ReadArrayStart() - if yyl638 == 0 { + } else if yyct650 == codecSelferValueTypeArray1234 { + yyl650 := r.ReadArrayStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl638, d) + x.codecDecodeSelfFromArray(yyl650, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9537,12 +9801,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys639Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys639Slc - var yyhl639 bool = l >= 0 - for yyj639 := 0; ; yyj639++ { - if yyhl639 { - if yyj639 >= l { + var yys651Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys651Slc + var yyhl651 bool = l >= 0 + for yyj651 := 0; ; yyj651++ { + if yyhl651 { + if yyj651 >= l { break } } else { @@ -9551,20 +9815,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys639Slc = r.DecodeBytes(yys639Slc, true, true) - yys639 := string(yys639Slc) + yys651Slc = r.DecodeBytes(yys651Slc, true, true) + yys651 := string(yys651Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys639 { + switch yys651 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv640 := &x.Monitors - yym641 := z.DecBinary() - _ = yym641 + yyv652 := &x.Monitors + yym653 := z.DecBinary() + _ = yym653 if false { } else { - z.F.DecSliceStringX(yyv640, false, d) + z.F.DecSliceStringX(yyv652, false, d) } } case "path": @@ -9603,9 +9867,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys639) - } // end switch yys639 - } // end for yyj639 + z.DecStructFieldNotFound(-1, yys651) + } // end switch yys651 + } // end for yyj651 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9613,16 +9877,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj647 int - var yyb647 bool - var yyhl647 bool = l >= 0 - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + var yyj659 int + var yyb659 bool + var yyhl659 bool = l >= 0 + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9630,21 +9894,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv648 := &x.Monitors - yym649 := z.DecBinary() - _ = yym649 + yyv660 := &x.Monitors + yym661 := z.DecBinary() + _ = yym661 if false { } else { - z.F.DecSliceStringX(yyv648, false, d) + z.F.DecSliceStringX(yyv660, false, d) } } - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9654,13 +9918,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Path = string(r.DecodeString()) } - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9670,13 +9934,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9686,13 +9950,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9707,13 +9971,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9724,17 +9988,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj647++ - if yyhl647 { - yyb647 = yyj647 > l + yyj659++ + if yyhl659 { + yyb659 = yyj659 > l } else { - yyb647 = r.CheckBreak() + yyb659 = r.CheckBreak() } - if yyb647 { + if yyb659 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj647-1, "") + z.DecStructFieldNotFound(yyj659-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9746,33 +10010,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym655 := z.EncBinary() - _ = yym655 + yym667 := z.EncBinary() + _ = yym667 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep656 := !z.EncBinary() - yy2arr656 := z.EncBasicHandle().StructToArray - var yyq656 [1]bool - _, _, _ = yysep656, yyq656, yy2arr656 - const yyr656 bool = false - var yynn656 int - if yyr656 || yy2arr656 { + yysep668 := !z.EncBinary() + yy2arr668 := z.EncBasicHandle().StructToArray + var yyq668 [1]bool + _, _, _ = yysep668, yyq668, yy2arr668 + const yyr668 bool = false + var yynn668 int + if yyr668 || yy2arr668 { r.EncodeArrayStart(1) } else { - yynn656 = 1 - for _, b := range yyq656 { + yynn668 = 1 + for _, b := range yyq668 { if b { - yynn656++ + yynn668++ } } - r.EncodeMapStart(yynn656) - yynn656 = 0 + r.EncodeMapStart(yynn668) + yynn668 = 0 } - if yyr656 || yy2arr656 { + if yyr668 || yy2arr668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym658 := z.EncBinary() - _ = yym658 + yym670 := z.EncBinary() + _ = yym670 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -9781,14 +10045,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym659 := z.EncBinary() - _ = yym659 + yym671 := z.EncBinary() + _ = yym671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr656 || yy2arr656 { + if yyr668 || yy2arr668 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9801,25 +10065,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym660 := z.DecBinary() - _ = yym660 + yym672 := z.DecBinary() + _ = yym672 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct661 := r.ContainerType() - if yyct661 == codecSelferValueTypeMap1234 { - yyl661 := r.ReadMapStart() - if yyl661 == 0 { + yyct673 := r.ContainerType() + if yyct673 == codecSelferValueTypeMap1234 { + yyl673 := r.ReadMapStart() + if yyl673 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl661, d) + x.codecDecodeSelfFromMap(yyl673, d) } - } else if yyct661 == codecSelferValueTypeArray1234 { - yyl661 := r.ReadArrayStart() - if yyl661 == 0 { + } else if yyct673 == codecSelferValueTypeArray1234 { + yyl673 := r.ReadArrayStart() + if yyl673 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl661, d) + x.codecDecodeSelfFromArray(yyl673, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9831,12 +10095,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys662Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys662Slc - var yyhl662 bool = l >= 0 - for yyj662 := 0; ; yyj662++ { - if yyhl662 { - if yyj662 >= l { + var yys674Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys674Slc + var yyhl674 bool = l >= 0 + for yyj674 := 0; ; yyj674++ { + if yyhl674 { + if yyj674 >= l { break } } else { @@ -9845,10 +10109,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys662Slc = r.DecodeBytes(yys662Slc, true, true) - yys662 := string(yys662Slc) + yys674Slc = r.DecodeBytes(yys674Slc, true, true) + yys674 := string(yys674Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys662 { + switch yys674 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -9856,9 +10120,9 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys662) - } // end switch yys662 - } // end for yyj662 + z.DecStructFieldNotFound(-1, yys674) + } // end switch yys674 + } // end for yyj674 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9866,16 +10130,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj664 int - var yyb664 bool - var yyhl664 bool = l >= 0 - yyj664++ - if yyhl664 { - yyb664 = yyj664 > l + var yyj676 int + var yyb676 bool + var yyhl676 bool = l >= 0 + yyj676++ + if yyhl676 { + yyb676 = yyj676 > l } else { - yyb664 = r.CheckBreak() + yyb676 = r.CheckBreak() } - if yyb664 { + if yyb676 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9886,17 +10150,17 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.DatasetName = string(r.DecodeString()) } for { - yyj664++ - if yyhl664 { - yyb664 = yyj664 > l + yyj676++ + if yyhl676 { + yyb676 = yyj676 > l } else { - yyb664 = r.CheckBreak() + yyb676 = r.CheckBreak() } - if yyb664 { + if yyb676 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj664-1, "") + z.DecStructFieldNotFound(yyj676-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9905,8 +10169,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym666 := z.EncBinary() - _ = yym666 + yym678 := z.EncBinary() + _ = yym678 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9918,8 +10182,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym667 := z.DecBinary() - _ = yym667 + yym679 := z.DecBinary() + _ = yym679 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9931,8 +10195,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym668 := z.EncBinary() - _ = yym668 + yym680 := z.EncBinary() + _ = yym680 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9944,8 +10208,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym669 := z.DecBinary() - _ = yym669 + yym681 := z.DecBinary() + _ = yym681 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9960,35 +10224,35 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym670 := z.EncBinary() - _ = yym670 + yym682 := z.EncBinary() + _ = yym682 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep671 := !z.EncBinary() - yy2arr671 := z.EncBasicHandle().StructToArray - var yyq671 [4]bool - _, _, _ = yysep671, yyq671, yy2arr671 - const yyr671 bool = false - yyq671[2] = x.Partition != 0 - yyq671[3] = x.ReadOnly != false - var yynn671 int - if yyr671 || yy2arr671 { + yysep683 := !z.EncBinary() + yy2arr683 := z.EncBasicHandle().StructToArray + var yyq683 [4]bool + _, _, _ = yysep683, yyq683, yy2arr683 + const yyr683 bool = false + yyq683[2] = x.Partition != 0 + yyq683[3] = x.ReadOnly != false + var yynn683 int + if yyr683 || yy2arr683 { r.EncodeArrayStart(4) } else { - yynn671 = 2 - for _, b := range yyq671 { + yynn683 = 2 + for _, b := range yyq683 { if b { - yynn671++ + yynn683++ } } - r.EncodeMapStart(yynn671) - yynn671 = 0 + r.EncodeMapStart(yynn683) + yynn683 = 0 } - if yyr671 || yy2arr671 { + if yyr683 || yy2arr683 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym673 := z.EncBinary() - _ = yym673 + yym685 := z.EncBinary() + _ = yym685 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -9997,17 +10261,17 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym674 := z.EncBinary() - _ = yym674 + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr671 || yy2arr671 { + if yyr683 || yy2arr683 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym676 := z.EncBinary() - _ = yym676 + yym688 := z.EncBinary() + _ = yym688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10016,18 +10280,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym677 := z.EncBinary() - _ = yym677 + yym689 := z.EncBinary() + _ = yym689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr671 || yy2arr671 { + if yyr683 || yy2arr683 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq671[2] { - yym679 := z.EncBinary() - _ = yym679 + if yyq683[2] { + yym691 := z.EncBinary() + _ = yym691 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -10036,23 +10300,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq671[2] { + if yyq683[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym680 := z.EncBinary() - _ = yym680 + yym692 := z.EncBinary() + _ = yym692 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr671 || yy2arr671 { + if yyr683 || yy2arr683 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq671[3] { - yym682 := z.EncBinary() - _ = yym682 + if yyq683[3] { + yym694 := z.EncBinary() + _ = yym694 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10061,19 +10325,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq671[3] { + if yyq683[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym683 := z.EncBinary() - _ = yym683 + yym695 := z.EncBinary() + _ = yym695 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr671 || yy2arr671 { + if yyr683 || yy2arr683 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10086,25 +10350,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym684 := z.DecBinary() - _ = yym684 + yym696 := z.DecBinary() + _ = yym696 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct685 := r.ContainerType() - if yyct685 == codecSelferValueTypeMap1234 { - yyl685 := r.ReadMapStart() - if yyl685 == 0 { + yyct697 := r.ContainerType() + if yyct697 == codecSelferValueTypeMap1234 { + yyl697 := r.ReadMapStart() + if yyl697 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl685, d) + x.codecDecodeSelfFromMap(yyl697, d) } - } else if yyct685 == codecSelferValueTypeArray1234 { - yyl685 := r.ReadArrayStart() - if yyl685 == 0 { + } else if yyct697 == codecSelferValueTypeArray1234 { + yyl697 := r.ReadArrayStart() + if yyl697 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl685, d) + x.codecDecodeSelfFromArray(yyl697, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10116,12 +10380,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys686Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys686Slc - var yyhl686 bool = l >= 0 - for yyj686 := 0; ; yyj686++ { - if yyhl686 { - if yyj686 >= l { + var yys698Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys698Slc + var yyhl698 bool = l >= 0 + for yyj698 := 0; ; yyj698++ { + if yyhl698 { + if yyj698 >= l { break } } else { @@ -10130,10 +10394,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys686Slc = r.DecodeBytes(yys686Slc, true, true) - yys686 := string(yys686Slc) + yys698Slc = r.DecodeBytes(yys698Slc, true, true) + yys698 := string(yys698Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys686 { + switch yys698 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -10159,9 +10423,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys686) - } // end switch yys686 - } // end for yyj686 + z.DecStructFieldNotFound(-1, yys698) + } // end switch yys698 + } // end for yyj698 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10169,16 +10433,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj691 int - var yyb691 bool - var yyhl691 bool = l >= 0 - yyj691++ - if yyhl691 { - yyb691 = yyj691 > l + var yyj703 int + var yyb703 bool + var yyhl703 bool = l >= 0 + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb691 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb691 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10188,13 +10452,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj691++ - if yyhl691 { - yyb691 = yyj691 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb691 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb691 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10204,13 +10468,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj691++ - if yyhl691 { - yyb691 = yyj691 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb691 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb691 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10220,13 +10484,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int32(r.DecodeInt(32)) } - yyj691++ - if yyhl691 { - yyb691 = yyj691 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb691 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb691 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10237,17 +10501,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj691++ - if yyhl691 { - yyb691 = yyj691 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb691 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb691 { + if yyb703 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj691-1, "") + z.DecStructFieldNotFound(yyj703-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10259,37 +10523,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym696 := z.EncBinary() - _ = yym696 + yym708 := z.EncBinary() + _ = yym708 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep697 := !z.EncBinary() - yy2arr697 := z.EncBasicHandle().StructToArray - var yyq697 [5]bool - _, _, _ = yysep697, yyq697, yy2arr697 - const yyr697 bool = false - yyq697[1] = x.FSType != "" - yyq697[2] = x.SecretRef != nil - yyq697[3] = x.ReadOnly != false - yyq697[4] = len(x.Options) != 0 - var yynn697 int - if yyr697 || yy2arr697 { + yysep709 := !z.EncBinary() + yy2arr709 := z.EncBasicHandle().StructToArray + var yyq709 [5]bool + _, _, _ = yysep709, yyq709, yy2arr709 + const yyr709 bool = false + yyq709[1] = x.FSType != "" + yyq709[2] = x.SecretRef != nil + yyq709[3] = x.ReadOnly != false + yyq709[4] = len(x.Options) != 0 + var yynn709 int + if yyr709 || yy2arr709 { r.EncodeArrayStart(5) } else { - yynn697 = 1 - for _, b := range yyq697 { + yynn709 = 1 + for _, b := range yyq709 { if b { - yynn697++ + yynn709++ } } - r.EncodeMapStart(yynn697) - yynn697 = 0 + r.EncodeMapStart(yynn709) + yynn709 = 0 } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym699 := z.EncBinary() - _ = yym699 + yym711 := z.EncBinary() + _ = yym711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -10298,18 +10562,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym700 := z.EncBinary() - _ = yym700 + yym712 := z.EncBinary() + _ = yym712 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq697[1] { - yym702 := z.EncBinary() - _ = yym702 + if yyq709[1] { + yym714 := z.EncBinary() + _ = yym714 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10318,21 +10582,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq697[1] { + if yyq709[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym703 := z.EncBinary() - _ = yym703 + yym715 := z.EncBinary() + _ = yym715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq697[2] { + if yyq709[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -10342,7 +10606,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq697[2] { + if yyq709[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10353,11 +10617,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq697[3] { - yym706 := z.EncBinary() - _ = yym706 + if yyq709[3] { + yym718 := z.EncBinary() + _ = yym718 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10366,26 +10630,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq697[3] { + if yyq709[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym707 := z.EncBinary() - _ = yym707 + yym719 := z.EncBinary() + _ = yym719 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq697[4] { + if yyq709[4] { if x.Options == nil { r.EncodeNil() } else { - yym709 := z.EncBinary() - _ = yym709 + yym721 := z.EncBinary() + _ = yym721 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -10395,15 +10659,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq697[4] { + if yyq709[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym710 := z.EncBinary() - _ = yym710 + yym722 := z.EncBinary() + _ = yym722 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -10411,7 +10675,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr697 || yy2arr697 { + if yyr709 || yy2arr709 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10424,25 +10688,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym711 := z.DecBinary() - _ = yym711 + yym723 := z.DecBinary() + _ = yym723 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct712 := r.ContainerType() - if yyct712 == codecSelferValueTypeMap1234 { - yyl712 := r.ReadMapStart() - if yyl712 == 0 { + yyct724 := r.ContainerType() + if yyct724 == codecSelferValueTypeMap1234 { + yyl724 := r.ReadMapStart() + if yyl724 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl712, d) + x.codecDecodeSelfFromMap(yyl724, d) } - } else if yyct712 == codecSelferValueTypeArray1234 { - yyl712 := r.ReadArrayStart() - if yyl712 == 0 { + } else if yyct724 == codecSelferValueTypeArray1234 { + yyl724 := r.ReadArrayStart() + if yyl724 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl712, d) + x.codecDecodeSelfFromArray(yyl724, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10454,12 +10718,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys713Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys713Slc - var yyhl713 bool = l >= 0 - for yyj713 := 0; ; yyj713++ { - if yyhl713 { - if yyj713 >= l { + var yys725Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys725Slc + var yyhl725 bool = l >= 0 + for yyj725 := 0; ; yyj725++ { + if yyhl725 { + if yyj725 >= l { break } } else { @@ -10468,10 +10732,10 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys713Slc = r.DecodeBytes(yys713Slc, true, true) - yys713 := string(yys713Slc) + yys725Slc = r.DecodeBytes(yys725Slc, true, true) + yys725 := string(yys725Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys713 { + switch yys725 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" @@ -10505,18 +10769,18 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Options = nil } else { - yyv718 := &x.Options - yym719 := z.DecBinary() - _ = yym719 + yyv730 := &x.Options + yym731 := z.DecBinary() + _ = yym731 if false { } else { - z.F.DecMapStringStringX(yyv718, false, d) + z.F.DecMapStringStringX(yyv730, false, d) } } default: - z.DecStructFieldNotFound(-1, yys713) - } // end switch yys713 - } // end for yyj713 + z.DecStructFieldNotFound(-1, yys725) + } // end switch yys725 + } // end for yyj725 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10524,16 +10788,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj720 int - var yyb720 bool - var yyhl720 bool = l >= 0 - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + var yyj732 int + var yyb732 bool + var yyhl732 bool = l >= 0 + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10543,13 +10807,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Driver = string(r.DecodeString()) } - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10559,13 +10823,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10580,13 +10844,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10596,13 +10860,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10610,26 +10874,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv725 := &x.Options - yym726 := z.DecBinary() - _ = yym726 + yyv737 := &x.Options + yym738 := z.DecBinary() + _ = yym738 if false { } else { - z.F.DecMapStringStringX(yyv725, false, d) + z.F.DecMapStringStringX(yyv737, false, d) } } for { - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb720 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb720 { + if yyb732 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj720-1, "") + z.DecStructFieldNotFound(yyj732-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10641,35 +10905,35 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym727 := z.EncBinary() - _ = yym727 + yym739 := z.EncBinary() + _ = yym739 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep728 := !z.EncBinary() - yy2arr728 := z.EncBasicHandle().StructToArray - var yyq728 [4]bool - _, _, _ = yysep728, yyq728, yy2arr728 - const yyr728 bool = false - yyq728[2] = x.Partition != 0 - yyq728[3] = x.ReadOnly != false - var yynn728 int - if yyr728 || yy2arr728 { + yysep740 := !z.EncBinary() + yy2arr740 := z.EncBasicHandle().StructToArray + var yyq740 [4]bool + _, _, _ = yysep740, yyq740, yy2arr740 + const yyr740 bool = false + yyq740[2] = x.Partition != 0 + yyq740[3] = x.ReadOnly != false + var yynn740 int + if yyr740 || yy2arr740 { r.EncodeArrayStart(4) } else { - yynn728 = 2 - for _, b := range yyq728 { + yynn740 = 2 + for _, b := range yyq740 { if b { - yynn728++ + yynn740++ } } - r.EncodeMapStart(yynn728) - yynn728 = 0 + r.EncodeMapStart(yynn740) + yynn740 = 0 } - if yyr728 || yy2arr728 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym730 := z.EncBinary() - _ = yym730 + yym742 := z.EncBinary() + _ = yym742 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -10678,17 +10942,17 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym731 := z.EncBinary() - _ = yym731 + yym743 := z.EncBinary() + _ = yym743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr728 || yy2arr728 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym733 := z.EncBinary() - _ = yym733 + yym745 := z.EncBinary() + _ = yym745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10697,18 +10961,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym734 := z.EncBinary() - _ = yym734 + yym746 := z.EncBinary() + _ = yym746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr728 || yy2arr728 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[2] { - yym736 := z.EncBinary() - _ = yym736 + if yyq740[2] { + yym748 := z.EncBinary() + _ = yym748 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -10717,23 +10981,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq728[2] { + if yyq740[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym737 := z.EncBinary() - _ = yym737 + yym749 := z.EncBinary() + _ = yym749 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr728 || yy2arr728 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[3] { - yym739 := z.EncBinary() - _ = yym739 + if yyq740[3] { + yym751 := z.EncBinary() + _ = yym751 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10742,19 +11006,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq728[3] { + if yyq740[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym740 := z.EncBinary() - _ = yym740 + yym752 := z.EncBinary() + _ = yym752 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr728 || yy2arr728 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10767,25 +11031,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym741 := z.DecBinary() - _ = yym741 + yym753 := z.DecBinary() + _ = yym753 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct742 := r.ContainerType() - if yyct742 == codecSelferValueTypeMap1234 { - yyl742 := r.ReadMapStart() - if yyl742 == 0 { + yyct754 := r.ContainerType() + if yyct754 == codecSelferValueTypeMap1234 { + yyl754 := r.ReadMapStart() + if yyl754 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl742, d) + x.codecDecodeSelfFromMap(yyl754, d) } - } else if yyct742 == codecSelferValueTypeArray1234 { - yyl742 := r.ReadArrayStart() - if yyl742 == 0 { + } else if yyct754 == codecSelferValueTypeArray1234 { + yyl754 := r.ReadArrayStart() + if yyl754 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl742, d) + x.codecDecodeSelfFromArray(yyl754, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10797,12 +11061,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys743Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys743Slc - var yyhl743 bool = l >= 0 - for yyj743 := 0; ; yyj743++ { - if yyhl743 { - if yyj743 >= l { + var yys755Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys755Slc + var yyhl755 bool = l >= 0 + for yyj755 := 0; ; yyj755++ { + if yyhl755 { + if yyj755 >= l { break } } else { @@ -10811,10 +11075,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys743Slc = r.DecodeBytes(yys743Slc, true, true) - yys743 := string(yys743Slc) + yys755Slc = r.DecodeBytes(yys755Slc, true, true) + yys755 := string(yys755Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys743 { + switch yys755 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -10840,9 +11104,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys743) - } // end switch yys743 - } // end for yyj743 + z.DecStructFieldNotFound(-1, yys755) + } // end switch yys755 + } // end for yyj755 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10850,16 +11114,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj748 int - var yyb748 bool - var yyhl748 bool = l >= 0 - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + var yyj760 int + var yyb760 bool + var yyhl760 bool = l >= 0 + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb748 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb748 { + if yyb760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10869,13 +11133,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb748 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb748 { + if yyb760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10885,13 +11149,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb748 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb748 { + if yyb760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10901,13 +11165,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int32(r.DecodeInt(32)) } - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb748 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb748 { + if yyb760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10918,17 +11182,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb748 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb748 { + if yyb760 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj748-1, "") + z.DecStructFieldNotFound(yyj760-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10940,35 +11204,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym753 := z.EncBinary() - _ = yym753 + yym765 := z.EncBinary() + _ = yym765 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep754 := !z.EncBinary() - yy2arr754 := z.EncBasicHandle().StructToArray - var yyq754 [3]bool - _, _, _ = yysep754, yyq754, yy2arr754 - const yyr754 bool = false - yyq754[1] = x.Revision != "" - yyq754[2] = x.Directory != "" - var yynn754 int - if yyr754 || yy2arr754 { + yysep766 := !z.EncBinary() + yy2arr766 := z.EncBasicHandle().StructToArray + var yyq766 [3]bool + _, _, _ = yysep766, yyq766, yy2arr766 + const yyr766 bool = false + yyq766[1] = x.Revision != "" + yyq766[2] = x.Directory != "" + var yynn766 int + if yyr766 || yy2arr766 { r.EncodeArrayStart(3) } else { - yynn754 = 1 - for _, b := range yyq754 { + yynn766 = 1 + for _, b := range yyq766 { if b { - yynn754++ + yynn766++ } } - r.EncodeMapStart(yynn754) - yynn754 = 0 + r.EncodeMapStart(yynn766) + yynn766 = 0 } - if yyr754 || yy2arr754 { + if yyr766 || yy2arr766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym756 := z.EncBinary() - _ = yym756 + yym768 := z.EncBinary() + _ = yym768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -10977,18 +11241,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym757 := z.EncBinary() - _ = yym757 + yym769 := z.EncBinary() + _ = yym769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr754 || yy2arr754 { + if yyr766 || yy2arr766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq754[1] { - yym759 := z.EncBinary() - _ = yym759 + if yyq766[1] { + yym771 := z.EncBinary() + _ = yym771 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -10997,23 +11261,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq754[1] { + if yyq766[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym760 := z.EncBinary() - _ = yym760 + yym772 := z.EncBinary() + _ = yym772 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr754 || yy2arr754 { + if yyr766 || yy2arr766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq754[2] { - yym762 := z.EncBinary() - _ = yym762 + if yyq766[2] { + yym774 := z.EncBinary() + _ = yym774 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -11022,19 +11286,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq754[2] { + if yyq766[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym763 := z.EncBinary() - _ = yym763 + yym775 := z.EncBinary() + _ = yym775 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr754 || yy2arr754 { + if yyr766 || yy2arr766 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11047,25 +11311,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym764 := z.DecBinary() - _ = yym764 + yym776 := z.DecBinary() + _ = yym776 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct765 := r.ContainerType() - if yyct765 == codecSelferValueTypeMap1234 { - yyl765 := r.ReadMapStart() - if yyl765 == 0 { + yyct777 := r.ContainerType() + if yyct777 == codecSelferValueTypeMap1234 { + yyl777 := r.ReadMapStart() + if yyl777 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl765, d) + x.codecDecodeSelfFromMap(yyl777, d) } - } else if yyct765 == codecSelferValueTypeArray1234 { - yyl765 := r.ReadArrayStart() - if yyl765 == 0 { + } else if yyct777 == codecSelferValueTypeArray1234 { + yyl777 := r.ReadArrayStart() + if yyl777 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl765, d) + x.codecDecodeSelfFromArray(yyl777, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11077,12 +11341,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys766Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys766Slc - var yyhl766 bool = l >= 0 - for yyj766 := 0; ; yyj766++ { - if yyhl766 { - if yyj766 >= l { + var yys778Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys778Slc + var yyhl778 bool = l >= 0 + for yyj778 := 0; ; yyj778++ { + if yyhl778 { + if yyj778 >= l { break } } else { @@ -11091,10 +11355,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys766Slc = r.DecodeBytes(yys766Slc, true, true) - yys766 := string(yys766Slc) + yys778Slc = r.DecodeBytes(yys778Slc, true, true) + yys778 := string(yys778Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys766 { + switch yys778 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -11114,9 +11378,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys766) - } // end switch yys766 - } // end for yyj766 + z.DecStructFieldNotFound(-1, yys778) + } // end switch yys778 + } // end for yyj778 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11124,16 +11388,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj770 int - var yyb770 bool - var yyhl770 bool = l >= 0 - yyj770++ - if yyhl770 { - yyb770 = yyj770 > l + var yyj782 int + var yyb782 bool + var yyhl782 bool = l >= 0 + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb770 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb770 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11143,13 +11407,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj770++ - if yyhl770 { - yyb770 = yyj770 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb770 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb770 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11159,13 +11423,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj770++ - if yyhl770 { - yyb770 = yyj770 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb770 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb770 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11176,17 +11440,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj770++ - if yyhl770 { - yyb770 = yyj770 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb770 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb770 { + if yyb782 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj770-1, "") + z.DecStructFieldNotFound(yyj782-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11198,35 +11462,35 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym774 := z.EncBinary() - _ = yym774 + yym786 := z.EncBinary() + _ = yym786 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep775 := !z.EncBinary() - yy2arr775 := z.EncBasicHandle().StructToArray - var yyq775 [1]bool - _, _, _ = yysep775, yyq775, yy2arr775 - const yyr775 bool = false - yyq775[0] = x.SecretName != "" - var yynn775 int - if yyr775 || yy2arr775 { + yysep787 := !z.EncBinary() + yy2arr787 := z.EncBasicHandle().StructToArray + var yyq787 [1]bool + _, _, _ = yysep787, yyq787, yy2arr787 + const yyr787 bool = false + yyq787[0] = x.SecretName != "" + var yynn787 int + if yyr787 || yy2arr787 { r.EncodeArrayStart(1) } else { - yynn775 = 0 - for _, b := range yyq775 { + yynn787 = 0 + for _, b := range yyq787 { if b { - yynn775++ + yynn787++ } } - r.EncodeMapStart(yynn775) - yynn775 = 0 + r.EncodeMapStart(yynn787) + yynn787 = 0 } - if yyr775 || yy2arr775 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq775[0] { - yym777 := z.EncBinary() - _ = yym777 + if yyq787[0] { + yym789 := z.EncBinary() + _ = yym789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -11235,19 +11499,19 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq775[0] { + if yyq787[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym778 := z.EncBinary() - _ = yym778 + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr775 || yy2arr775 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11260,25 +11524,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym779 := z.DecBinary() - _ = yym779 + yym791 := z.DecBinary() + _ = yym791 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct780 := r.ContainerType() - if yyct780 == codecSelferValueTypeMap1234 { - yyl780 := r.ReadMapStart() - if yyl780 == 0 { + yyct792 := r.ContainerType() + if yyct792 == codecSelferValueTypeMap1234 { + yyl792 := r.ReadMapStart() + if yyl792 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl780, d) + x.codecDecodeSelfFromMap(yyl792, d) } - } else if yyct780 == codecSelferValueTypeArray1234 { - yyl780 := r.ReadArrayStart() - if yyl780 == 0 { + } else if yyct792 == codecSelferValueTypeArray1234 { + yyl792 := r.ReadArrayStart() + if yyl792 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl780, d) + x.codecDecodeSelfFromArray(yyl792, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11290,12 +11554,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys781Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys781Slc - var yyhl781 bool = l >= 0 - for yyj781 := 0; ; yyj781++ { - if yyhl781 { - if yyj781 >= l { + var yys793Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys793Slc + var yyhl793 bool = l >= 0 + for yyj793 := 0; ; yyj793++ { + if yyhl793 { + if yyj793 >= l { break } } else { @@ -11304,10 +11568,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys781Slc = r.DecodeBytes(yys781Slc, true, true) - yys781 := string(yys781Slc) + yys793Slc = r.DecodeBytes(yys793Slc, true, true) + yys793 := string(yys793Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys781 { + switch yys793 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -11315,9 +11579,9 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys781) - } // end switch yys781 - } // end for yyj781 + z.DecStructFieldNotFound(-1, yys793) + } // end switch yys793 + } // end for yyj793 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11325,16 +11589,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj783 int - var yyb783 bool - var yyhl783 bool = l >= 0 - yyj783++ - if yyhl783 { - yyb783 = yyj783 > l + var yyj795 int + var yyb795 bool + var yyhl795 bool = l >= 0 + yyj795++ + if yyhl795 { + yyb795 = yyj795 > l } else { - yyb783 = r.CheckBreak() + yyb795 = r.CheckBreak() } - if yyb783 { + if yyb795 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11345,17 +11609,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.SecretName = string(r.DecodeString()) } for { - yyj783++ - if yyhl783 { - yyb783 = yyj783 > l + yyj795++ + if yyhl795 { + yyb795 = yyj795 > l } else { - yyb783 = r.CheckBreak() + yyb795 = r.CheckBreak() } - if yyb783 { + if yyb795 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj783-1, "") + z.DecStructFieldNotFound(yyj795-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11367,34 +11631,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym785 := z.EncBinary() - _ = yym785 + yym797 := z.EncBinary() + _ = yym797 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep786 := !z.EncBinary() - yy2arr786 := z.EncBasicHandle().StructToArray - var yyq786 [3]bool - _, _, _ = yysep786, yyq786, yy2arr786 - const yyr786 bool = false - yyq786[2] = x.ReadOnly != false - var yynn786 int - if yyr786 || yy2arr786 { + yysep798 := !z.EncBinary() + yy2arr798 := z.EncBasicHandle().StructToArray + var yyq798 [3]bool + _, _, _ = yysep798, yyq798, yy2arr798 + const yyr798 bool = false + yyq798[2] = x.ReadOnly != false + var yynn798 int + if yyr798 || yy2arr798 { r.EncodeArrayStart(3) } else { - yynn786 = 2 - for _, b := range yyq786 { + yynn798 = 2 + for _, b := range yyq798 { if b { - yynn786++ + yynn798++ } } - r.EncodeMapStart(yynn786) - yynn786 = 0 + r.EncodeMapStart(yynn798) + yynn798 = 0 } - if yyr786 || yy2arr786 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym788 := z.EncBinary() - _ = yym788 + yym800 := z.EncBinary() + _ = yym800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -11403,17 +11667,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym789 := z.EncBinary() - _ = yym789 + yym801 := z.EncBinary() + _ = yym801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr786 || yy2arr786 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym791 := z.EncBinary() - _ = yym791 + yym803 := z.EncBinary() + _ = yym803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11422,18 +11686,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym792 := z.EncBinary() - _ = yym792 + yym804 := z.EncBinary() + _ = yym804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr786 || yy2arr786 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq786[2] { - yym794 := z.EncBinary() - _ = yym794 + if yyq798[2] { + yym806 := z.EncBinary() + _ = yym806 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11442,19 +11706,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq786[2] { + if yyq798[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym795 := z.EncBinary() - _ = yym795 + yym807 := z.EncBinary() + _ = yym807 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr786 || yy2arr786 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11467,25 +11731,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym796 := z.DecBinary() - _ = yym796 + yym808 := z.DecBinary() + _ = yym808 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct797 := r.ContainerType() - if yyct797 == codecSelferValueTypeMap1234 { - yyl797 := r.ReadMapStart() - if yyl797 == 0 { + yyct809 := r.ContainerType() + if yyct809 == codecSelferValueTypeMap1234 { + yyl809 := r.ReadMapStart() + if yyl809 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl797, d) + x.codecDecodeSelfFromMap(yyl809, d) } - } else if yyct797 == codecSelferValueTypeArray1234 { - yyl797 := r.ReadArrayStart() - if yyl797 == 0 { + } else if yyct809 == codecSelferValueTypeArray1234 { + yyl809 := r.ReadArrayStart() + if yyl809 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl797, d) + x.codecDecodeSelfFromArray(yyl809, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11497,12 +11761,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys798Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys798Slc - var yyhl798 bool = l >= 0 - for yyj798 := 0; ; yyj798++ { - if yyhl798 { - if yyj798 >= l { + var yys810Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys810Slc + var yyhl810 bool = l >= 0 + for yyj810 := 0; ; yyj810++ { + if yyhl810 { + if yyj810 >= l { break } } else { @@ -11511,10 +11775,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys798Slc = r.DecodeBytes(yys798Slc, true, true) - yys798 := string(yys798Slc) + yys810Slc = r.DecodeBytes(yys810Slc, true, true) + yys810 := string(yys810Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys798 { + switch yys810 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -11534,9 +11798,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys798) - } // end switch yys798 - } // end for yyj798 + z.DecStructFieldNotFound(-1, yys810) + } // end switch yys810 + } // end for yyj810 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11544,16 +11808,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj802 int - var yyb802 bool - var yyhl802 bool = l >= 0 - yyj802++ - if yyhl802 { - yyb802 = yyj802 > l + var yyj814 int + var yyb814 bool + var yyhl814 bool = l >= 0 + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb802 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb802 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11563,13 +11827,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj802++ - if yyhl802 { - yyb802 = yyj802 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb802 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb802 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11579,13 +11843,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj802++ - if yyhl802 { - yyb802 = yyj802 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb802 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb802 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11596,17 +11860,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj802++ - if yyhl802 { - yyb802 = yyj802 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb802 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb802 { + if yyb814 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj802-1, "") + z.DecStructFieldNotFound(yyj814-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11618,35 +11882,35 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym806 := z.EncBinary() - _ = yym806 + yym818 := z.EncBinary() + _ = yym818 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep807 := !z.EncBinary() - yy2arr807 := z.EncBasicHandle().StructToArray - var yyq807 [6]bool - _, _, _ = yysep807, yyq807, yy2arr807 - const yyr807 bool = false - yyq807[3] = x.ISCSIInterface != "" - yyq807[5] = x.ReadOnly != false - var yynn807 int - if yyr807 || yy2arr807 { + yysep819 := !z.EncBinary() + yy2arr819 := z.EncBasicHandle().StructToArray + var yyq819 [6]bool + _, _, _ = yysep819, yyq819, yy2arr819 + const yyr819 bool = false + yyq819[3] = x.ISCSIInterface != "" + yyq819[5] = x.ReadOnly != false + var yynn819 int + if yyr819 || yy2arr819 { r.EncodeArrayStart(6) } else { - yynn807 = 4 - for _, b := range yyq807 { + yynn819 = 4 + for _, b := range yyq819 { if b { - yynn807++ + yynn819++ } } - r.EncodeMapStart(yynn807) - yynn807 = 0 + r.EncodeMapStart(yynn819) + yynn819 = 0 } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym809 := z.EncBinary() - _ = yym809 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -11655,17 +11919,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym810 := z.EncBinary() - _ = yym810 + yym822 := z.EncBinary() + _ = yym822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym812 := z.EncBinary() - _ = yym812 + yym824 := z.EncBinary() + _ = yym824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -11674,17 +11938,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym813 := z.EncBinary() - _ = yym813 + yym825 := z.EncBinary() + _ = yym825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym815 := z.EncBinary() - _ = yym815 + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -11693,18 +11957,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym816 := z.EncBinary() - _ = yym816 + yym828 := z.EncBinary() + _ = yym828 if false { } else { r.EncodeInt(int64(x.Lun)) } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq807[3] { - yym818 := z.EncBinary() - _ = yym818 + if yyq819[3] { + yym830 := z.EncBinary() + _ = yym830 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -11713,22 +11977,22 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq807[3] { + if yyq819[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym819 := z.EncBinary() - _ = yym819 + yym831 := z.EncBinary() + _ = yym831 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym821 := z.EncBinary() - _ = yym821 + yym833 := z.EncBinary() + _ = yym833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11737,18 +12001,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym822 := z.EncBinary() - _ = yym822 + yym834 := z.EncBinary() + _ = yym834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq807[5] { - yym824 := z.EncBinary() - _ = yym824 + if yyq819[5] { + yym836 := z.EncBinary() + _ = yym836 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11757,19 +12021,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq807[5] { + if yyq819[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym825 := z.EncBinary() - _ = yym825 + yym837 := z.EncBinary() + _ = yym837 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr807 || yy2arr807 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11782,25 +12046,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym826 := z.DecBinary() - _ = yym826 + yym838 := z.DecBinary() + _ = yym838 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct827 := r.ContainerType() - if yyct827 == codecSelferValueTypeMap1234 { - yyl827 := r.ReadMapStart() - if yyl827 == 0 { + yyct839 := r.ContainerType() + if yyct839 == codecSelferValueTypeMap1234 { + yyl839 := r.ReadMapStart() + if yyl839 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl827, d) + x.codecDecodeSelfFromMap(yyl839, d) } - } else if yyct827 == codecSelferValueTypeArray1234 { - yyl827 := r.ReadArrayStart() - if yyl827 == 0 { + } else if yyct839 == codecSelferValueTypeArray1234 { + yyl839 := r.ReadArrayStart() + if yyl839 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl827, d) + x.codecDecodeSelfFromArray(yyl839, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11812,12 +12076,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys828Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys828Slc - var yyhl828 bool = l >= 0 - for yyj828 := 0; ; yyj828++ { - if yyhl828 { - if yyj828 >= l { + var yys840Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys840Slc + var yyhl840 bool = l >= 0 + for yyj840 := 0; ; yyj840++ { + if yyhl840 { + if yyj840 >= l { break } } else { @@ -11826,10 +12090,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys828Slc = r.DecodeBytes(yys828Slc, true, true) - yys828 := string(yys828Slc) + yys840Slc = r.DecodeBytes(yys840Slc, true, true) + yys840 := string(yys840Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys828 { + switch yys840 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -11867,9 +12131,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys828) - } // end switch yys828 - } // end for yyj828 + z.DecStructFieldNotFound(-1, yys840) + } // end switch yys840 + } // end for yyj840 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11877,16 +12141,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj835 int - var yyb835 bool - var yyhl835 bool = l >= 0 - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + var yyj847 int + var yyb847 bool + var yyhl847 bool = l >= 0 + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11896,13 +12160,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11912,13 +12176,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11928,13 +12192,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int32(r.DecodeInt(32)) } - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11944,13 +12208,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11960,13 +12224,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11977,17 +12241,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj835++ - if yyhl835 { - yyb835 = yyj835 > l + yyj847++ + if yyhl847 { + yyb847 = yyj847 > l } else { - yyb835 = r.CheckBreak() + yyb847 = r.CheckBreak() } - if yyb835 { + if yyb847 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj835-1, "") + z.DecStructFieldNotFound(yyj847-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11999,37 +12263,37 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym842 := z.EncBinary() - _ = yym842 + yym854 := z.EncBinary() + _ = yym854 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep843 := !z.EncBinary() - yy2arr843 := z.EncBasicHandle().StructToArray - var yyq843 [4]bool - _, _, _ = yysep843, yyq843, yy2arr843 - const yyr843 bool = false - yyq843[3] = x.ReadOnly != false - var yynn843 int - if yyr843 || yy2arr843 { + yysep855 := !z.EncBinary() + yy2arr855 := z.EncBasicHandle().StructToArray + var yyq855 [4]bool + _, _, _ = yysep855, yyq855, yy2arr855 + const yyr855 bool = false + yyq855[3] = x.ReadOnly != false + var yynn855 int + if yyr855 || yy2arr855 { r.EncodeArrayStart(4) } else { - yynn843 = 3 - for _, b := range yyq843 { + yynn855 = 3 + for _, b := range yyq855 { if b { - yynn843++ + yynn855++ } } - r.EncodeMapStart(yynn843) - yynn843 = 0 + r.EncodeMapStart(yynn855) + yynn855 = 0 } - if yyr843 || yy2arr843 { + if yyr855 || yy2arr855 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym845 := z.EncBinary() - _ = yym845 + yym857 := z.EncBinary() + _ = yym857 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -12042,25 +12306,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym846 := z.EncBinary() - _ = yym846 + yym858 := z.EncBinary() + _ = yym858 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr843 || yy2arr843 { + if yyr855 || yy2arr855 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy848 := *x.Lun - yym849 := z.EncBinary() - _ = yym849 + yy860 := *x.Lun + yym861 := z.EncBinary() + _ = yym861 if false { } else { - r.EncodeInt(int64(yy848)) + r.EncodeInt(int64(yy860)) } } } else { @@ -12070,19 +12334,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy850 := *x.Lun - yym851 := z.EncBinary() - _ = yym851 + yy862 := *x.Lun + yym863 := z.EncBinary() + _ = yym863 if false { } else { - r.EncodeInt(int64(yy850)) + r.EncodeInt(int64(yy862)) } } } - if yyr843 || yy2arr843 { + if yyr855 || yy2arr855 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym853 := z.EncBinary() - _ = yym853 + yym865 := z.EncBinary() + _ = yym865 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12091,18 +12355,18 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym854 := z.EncBinary() - _ = yym854 + yym866 := z.EncBinary() + _ = yym866 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr843 || yy2arr843 { + if yyr855 || yy2arr855 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq843[3] { - yym856 := z.EncBinary() - _ = yym856 + if yyq855[3] { + yym868 := z.EncBinary() + _ = yym868 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12111,19 +12375,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq843[3] { + if yyq855[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym857 := z.EncBinary() - _ = yym857 + yym869 := z.EncBinary() + _ = yym869 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr843 || yy2arr843 { + if yyr855 || yy2arr855 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12136,25 +12400,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym858 := z.DecBinary() - _ = yym858 + yym870 := z.DecBinary() + _ = yym870 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct859 := r.ContainerType() - if yyct859 == codecSelferValueTypeMap1234 { - yyl859 := r.ReadMapStart() - if yyl859 == 0 { + yyct871 := r.ContainerType() + if yyct871 == codecSelferValueTypeMap1234 { + yyl871 := r.ReadMapStart() + if yyl871 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl859, d) + x.codecDecodeSelfFromMap(yyl871, d) } - } else if yyct859 == codecSelferValueTypeArray1234 { - yyl859 := r.ReadArrayStart() - if yyl859 == 0 { + } else if yyct871 == codecSelferValueTypeArray1234 { + yyl871 := r.ReadArrayStart() + if yyl871 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl859, d) + x.codecDecodeSelfFromArray(yyl871, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12166,12 +12430,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys860Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys860Slc - var yyhl860 bool = l >= 0 - for yyj860 := 0; ; yyj860++ { - if yyhl860 { - if yyj860 >= l { + var yys872Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys872Slc + var yyhl872 bool = l >= 0 + for yyj872 := 0; ; yyj872++ { + if yyhl872 { + if yyj872 >= l { break } } else { @@ -12180,20 +12444,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys860Slc = r.DecodeBytes(yys860Slc, true, true) - yys860 := string(yys860Slc) + yys872Slc = r.DecodeBytes(yys872Slc, true, true) + yys872 := string(yys872Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys860 { + switch yys872 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv861 := &x.TargetWWNs - yym862 := z.DecBinary() - _ = yym862 + yyv873 := &x.TargetWWNs + yym874 := z.DecBinary() + _ = yym874 if false { } else { - z.F.DecSliceStringX(yyv861, false, d) + z.F.DecSliceStringX(yyv873, false, d) } } case "lun": @@ -12205,8 +12469,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym864 := z.DecBinary() - _ = yym864 + yym876 := z.DecBinary() + _ = yym876 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -12225,9 +12489,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys860) - } // end switch yys860 - } // end for yyj860 + z.DecStructFieldNotFound(-1, yys872) + } // end switch yys872 + } // end for yyj872 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12235,16 +12499,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj867 int - var yyb867 bool - var yyhl867 bool = l >= 0 - yyj867++ - if yyhl867 { - yyb867 = yyj867 > l + var yyj879 int + var yyb879 bool + var yyhl879 bool = l >= 0 + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb867 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb867 { + if yyb879 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12252,21 +12516,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv868 := &x.TargetWWNs - yym869 := z.DecBinary() - _ = yym869 + yyv880 := &x.TargetWWNs + yym881 := z.DecBinary() + _ = yym881 if false { } else { - z.F.DecSliceStringX(yyv868, false, d) + z.F.DecSliceStringX(yyv880, false, d) } } - yyj867++ - if yyhl867 { - yyb867 = yyj867 > l + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb867 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb867 { + if yyb879 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12279,20 +12543,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym871 := z.DecBinary() - _ = yym871 + yym883 := z.DecBinary() + _ = yym883 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj867++ - if yyhl867 { - yyb867 = yyj867 > l + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb867 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb867 { + if yyb879 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12302,13 +12566,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj867++ - if yyhl867 { - yyb867 = yyj867 > l + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb867 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb867 { + if yyb879 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12319,17 +12583,268 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj867++ - if yyhl867 { - yyb867 = yyj867 > l + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb867 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb867 { + if yyb879 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj867-1, "") + z.DecStructFieldNotFound(yyj879-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym886 := z.EncBinary() + _ = yym886 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep887 := !z.EncBinary() + yy2arr887 := z.EncBasicHandle().StructToArray + var yyq887 [3]bool + _, _, _ = yysep887, yyq887, yy2arr887 + const yyr887 bool = false + yyq887[2] = x.ReadOnly != false + var yynn887 int + if yyr887 || yy2arr887 { + r.EncodeArrayStart(3) + } else { + yynn887 = 2 + for _, b := range yyq887 { + if b { + yynn887++ + } + } + r.EncodeMapStart(yynn887) + yynn887 = 0 + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym889 := z.EncBinary() + _ = yym889 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym890 := z.EncBinary() + _ = yym890 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym892 := z.EncBinary() + _ = yym892 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("shareName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym893 := z.EncBinary() + _ = yym893 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) + } + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq887[2] { + yym895 := z.EncBinary() + _ = yym895 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq887[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("readOnly")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym896 := z.EncBinary() + _ = yym896 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } + } + if yyr887 || yy2arr887 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym897 := z.DecBinary() + _ = yym897 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct898 := r.ContainerType() + if yyct898 == codecSelferValueTypeMap1234 { + yyl898 := r.ReadMapStart() + if yyl898 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl898, d) + } + } else if yyct898 == codecSelferValueTypeArray1234 { + yyl898 := r.ReadArrayStart() + if yyl898 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl898, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys899Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys899Slc + var yyhl899 bool = l >= 0 + for yyj899 := 0; ; yyj899++ { + if yyhl899 { + if yyj899 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys899Slc = r.DecodeBytes(yys899Slc, true, true) + yys899 := string(yys899Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys899 { + case "secretName": + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + case "shareName": + if r.TryDecodeAsNil() { + x.ShareName = "" + } else { + x.ShareName = string(r.DecodeString()) + } + case "readOnly": + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys899) + } // end switch yys899 + } // end for yyj899 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj903 int + var yyb903 bool + var yyhl903 bool = l >= 0 + yyj903++ + if yyhl903 { + yyb903 = yyj903 > l + } else { + yyb903 = r.CheckBreak() + } + if yyb903 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + yyj903++ + if yyhl903 { + yyb903 = yyj903 > l + } else { + yyb903 = r.CheckBreak() + } + if yyb903 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ShareName = "" + } else { + x.ShareName = string(r.DecodeString()) + } + yyj903++ + if yyhl903 { + yyb903 = yyj903 > l + } else { + yyb903 = r.CheckBreak() + } + if yyb903 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + for { + yyj903++ + if yyhl903 { + yyb903 = yyj903 > l + } else { + yyb903 = r.CheckBreak() + } + if yyb903 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj903-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12341,38 +12856,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym874 := z.EncBinary() - _ = yym874 + yym907 := z.EncBinary() + _ = yym907 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep875 := !z.EncBinary() - yy2arr875 := z.EncBasicHandle().StructToArray - var yyq875 [5]bool - _, _, _ = yysep875, yyq875, yy2arr875 - const yyr875 bool = false - yyq875[0] = x.Name != "" - yyq875[1] = x.HostPort != 0 - yyq875[3] = x.Protocol != "" - yyq875[4] = x.HostIP != "" - var yynn875 int - if yyr875 || yy2arr875 { + yysep908 := !z.EncBinary() + yy2arr908 := z.EncBasicHandle().StructToArray + var yyq908 [5]bool + _, _, _ = yysep908, yyq908, yy2arr908 + const yyr908 bool = false + yyq908[0] = x.Name != "" + yyq908[1] = x.HostPort != 0 + yyq908[3] = x.Protocol != "" + yyq908[4] = x.HostIP != "" + var yynn908 int + if yyr908 || yy2arr908 { r.EncodeArrayStart(5) } else { - yynn875 = 1 - for _, b := range yyq875 { + yynn908 = 1 + for _, b := range yyq908 { if b { - yynn875++ + yynn908++ } } - r.EncodeMapStart(yynn875) - yynn875 = 0 + r.EncodeMapStart(yynn908) + yynn908 = 0 } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq875[0] { - yym877 := z.EncBinary() - _ = yym877 + if yyq908[0] { + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12381,23 +12896,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq875[0] { + if yyq908[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym878 := z.EncBinary() - _ = yym878 + yym911 := z.EncBinary() + _ = yym911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq875[1] { - yym880 := z.EncBinary() - _ = yym880 + if yyq908[1] { + yym913 := z.EncBinary() + _ = yym913 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -12406,22 +12921,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq875[1] { + if yyq908[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym881 := z.EncBinary() - _ = yym881 + yym914 := z.EncBinary() + _ = yym914 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym883 := z.EncBinary() - _ = yym883 + yym916 := z.EncBinary() + _ = yym916 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -12430,33 +12945,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym884 := z.EncBinary() - _ = yym884 + yym917 := z.EncBinary() + _ = yym917 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq875[3] { + if yyq908[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq875[3] { + if yyq908[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq875[4] { - yym887 := z.EncBinary() - _ = yym887 + if yyq908[4] { + yym920 := z.EncBinary() + _ = yym920 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -12465,19 +12980,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq875[4] { + if yyq908[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym888 := z.EncBinary() - _ = yym888 + yym921 := z.EncBinary() + _ = yym921 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr875 || yy2arr875 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12490,25 +13005,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym889 := z.DecBinary() - _ = yym889 + yym922 := z.DecBinary() + _ = yym922 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct890 := r.ContainerType() - if yyct890 == codecSelferValueTypeMap1234 { - yyl890 := r.ReadMapStart() - if yyl890 == 0 { + yyct923 := r.ContainerType() + if yyct923 == codecSelferValueTypeMap1234 { + yyl923 := r.ReadMapStart() + if yyl923 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl890, d) + x.codecDecodeSelfFromMap(yyl923, d) } - } else if yyct890 == codecSelferValueTypeArray1234 { - yyl890 := r.ReadArrayStart() - if yyl890 == 0 { + } else if yyct923 == codecSelferValueTypeArray1234 { + yyl923 := r.ReadArrayStart() + if yyl923 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl890, d) + x.codecDecodeSelfFromArray(yyl923, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12520,12 +13035,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys891Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys891Slc - var yyhl891 bool = l >= 0 - for yyj891 := 0; ; yyj891++ { - if yyhl891 { - if yyj891 >= l { + var yys924Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys924Slc + var yyhl924 bool = l >= 0 + for yyj924 := 0; ; yyj924++ { + if yyhl924 { + if yyj924 >= l { break } } else { @@ -12534,10 +13049,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys891Slc = r.DecodeBytes(yys891Slc, true, true) - yys891 := string(yys891Slc) + yys924Slc = r.DecodeBytes(yys924Slc, true, true) + yys924 := string(yys924Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys891 { + switch yys924 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12569,9 +13084,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys891) - } // end switch yys891 - } // end for yyj891 + z.DecStructFieldNotFound(-1, yys924) + } // end switch yys924 + } // end for yyj924 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12579,16 +13094,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj897 int - var yyb897 bool - var yyhl897 bool = l >= 0 - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + var yyj930 int + var yyb930 bool + var yyhl930 bool = l >= 0 + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12598,13 +13113,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12614,13 +13129,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12630,13 +13145,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12646,13 +13161,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12663,17 +13178,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj897++ - if yyhl897 { - yyb897 = yyj897 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb897 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb897 { + if yyb930 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj897-1, "") + z.DecStructFieldNotFound(yyj930-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12685,34 +13200,34 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym903 := z.EncBinary() - _ = yym903 + yym936 := z.EncBinary() + _ = yym936 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep904 := !z.EncBinary() - yy2arr904 := z.EncBasicHandle().StructToArray - var yyq904 [3]bool - _, _, _ = yysep904, yyq904, yy2arr904 - const yyr904 bool = false - yyq904[1] = x.ReadOnly != false - var yynn904 int - if yyr904 || yy2arr904 { + yysep937 := !z.EncBinary() + yy2arr937 := z.EncBasicHandle().StructToArray + var yyq937 [3]bool + _, _, _ = yysep937, yyq937, yy2arr937 + const yyr937 bool = false + yyq937[1] = x.ReadOnly != false + var yynn937 int + if yyr937 || yy2arr937 { r.EncodeArrayStart(3) } else { - yynn904 = 2 - for _, b := range yyq904 { + yynn937 = 2 + for _, b := range yyq937 { if b { - yynn904++ + yynn937++ } } - r.EncodeMapStart(yynn904) - yynn904 = 0 + r.EncodeMapStart(yynn937) + yynn937 = 0 } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym906 := z.EncBinary() - _ = yym906 + yym939 := z.EncBinary() + _ = yym939 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12721,18 +13236,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym940 := z.EncBinary() + _ = yym940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[1] { - yym909 := z.EncBinary() - _ = yym909 + if yyq937[1] { + yym942 := z.EncBinary() + _ = yym942 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12741,22 +13256,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq904[1] { + if yyq937[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym943 := z.EncBinary() + _ = yym943 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym912 := z.EncBinary() - _ = yym912 + yym945 := z.EncBinary() + _ = yym945 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -12765,14 +13280,14 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym913 := z.EncBinary() - _ = yym913 + yym946 := z.EncBinary() + _ = yym946 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr904 || yy2arr904 { + if yyr937 || yy2arr937 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12785,25 +13300,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym914 := z.DecBinary() - _ = yym914 + yym947 := z.DecBinary() + _ = yym947 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct915 := r.ContainerType() - if yyct915 == codecSelferValueTypeMap1234 { - yyl915 := r.ReadMapStart() - if yyl915 == 0 { + yyct948 := r.ContainerType() + if yyct948 == codecSelferValueTypeMap1234 { + yyl948 := r.ReadMapStart() + if yyl948 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl915, d) + x.codecDecodeSelfFromMap(yyl948, d) } - } else if yyct915 == codecSelferValueTypeArray1234 { - yyl915 := r.ReadArrayStart() - if yyl915 == 0 { + } else if yyct948 == codecSelferValueTypeArray1234 { + yyl948 := r.ReadArrayStart() + if yyl948 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl915, d) + x.codecDecodeSelfFromArray(yyl948, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12815,12 +13330,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys916Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys916Slc - var yyhl916 bool = l >= 0 - for yyj916 := 0; ; yyj916++ { - if yyhl916 { - if yyj916 >= l { + var yys949Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys949Slc + var yyhl949 bool = l >= 0 + for yyj949 := 0; ; yyj949++ { + if yyhl949 { + if yyj949 >= l { break } } else { @@ -12829,10 +13344,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys916Slc = r.DecodeBytes(yys916Slc, true, true) - yys916 := string(yys916Slc) + yys949Slc = r.DecodeBytes(yys949Slc, true, true) + yys949 := string(yys949Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys916 { + switch yys949 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12852,9 +13367,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys916) - } // end switch yys916 - } // end for yyj916 + z.DecStructFieldNotFound(-1, yys949) + } // end switch yys949 + } // end for yyj949 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12862,16 +13377,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj920 int - var yyb920 bool - var yyhl920 bool = l >= 0 - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + var yyj953 int + var yyb953 bool + var yyhl953 bool = l >= 0 + yyj953++ + if yyhl953 { + yyb953 = yyj953 > l } else { - yyb920 = r.CheckBreak() + yyb953 = r.CheckBreak() } - if yyb920 { + if yyb953 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12881,13 +13396,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj953++ + if yyhl953 { + yyb953 = yyj953 > l } else { - yyb920 = r.CheckBreak() + yyb953 = r.CheckBreak() } - if yyb920 { + if yyb953 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12897,13 +13412,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj953++ + if yyhl953 { + yyb953 = yyj953 > l } else { - yyb920 = r.CheckBreak() + yyb953 = r.CheckBreak() } - if yyb920 { + if yyb953 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12914,17 +13429,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } for { - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj953++ + if yyhl953 { + yyb953 = yyj953 > l } else { - yyb920 = r.CheckBreak() + yyb953 = r.CheckBreak() } - if yyb920 { + if yyb953 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj920-1, "") + z.DecStructFieldNotFound(yyj953-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12936,35 +13451,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym924 := z.EncBinary() - _ = yym924 + yym957 := z.EncBinary() + _ = yym957 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep925 := !z.EncBinary() - yy2arr925 := z.EncBasicHandle().StructToArray - var yyq925 [3]bool - _, _, _ = yysep925, yyq925, yy2arr925 - const yyr925 bool = false - yyq925[1] = x.Value != "" - yyq925[2] = x.ValueFrom != nil - var yynn925 int - if yyr925 || yy2arr925 { + yysep958 := !z.EncBinary() + yy2arr958 := z.EncBasicHandle().StructToArray + var yyq958 [3]bool + _, _, _ = yysep958, yyq958, yy2arr958 + const yyr958 bool = false + yyq958[1] = x.Value != "" + yyq958[2] = x.ValueFrom != nil + var yynn958 int + if yyr958 || yy2arr958 { r.EncodeArrayStart(3) } else { - yynn925 = 1 - for _, b := range yyq925 { + yynn958 = 1 + for _, b := range yyq958 { if b { - yynn925++ + yynn958++ } } - r.EncodeMapStart(yynn925) - yynn925 = 0 + r.EncodeMapStart(yynn958) + yynn958 = 0 } - if yyr925 || yy2arr925 { + if yyr958 || yy2arr958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym927 := z.EncBinary() - _ = yym927 + yym960 := z.EncBinary() + _ = yym960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12973,18 +13488,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym928 := z.EncBinary() - _ = yym928 + yym961 := z.EncBinary() + _ = yym961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr925 || yy2arr925 { + if yyr958 || yy2arr958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq925[1] { - yym930 := z.EncBinary() - _ = yym930 + if yyq958[1] { + yym963 := z.EncBinary() + _ = yym963 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -12993,21 +13508,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq925[1] { + if yyq958[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym931 := z.EncBinary() - _ = yym931 + yym964 := z.EncBinary() + _ = yym964 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr925 || yy2arr925 { + if yyr958 || yy2arr958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq925[2] { + if yyq958[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -13017,7 +13532,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq925[2] { + if yyq958[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13028,7 +13543,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr925 || yy2arr925 { + if yyr958 || yy2arr958 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13041,25 +13556,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym933 := z.DecBinary() - _ = yym933 + yym966 := z.DecBinary() + _ = yym966 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct934 := r.ContainerType() - if yyct934 == codecSelferValueTypeMap1234 { - yyl934 := r.ReadMapStart() - if yyl934 == 0 { + yyct967 := r.ContainerType() + if yyct967 == codecSelferValueTypeMap1234 { + yyl967 := r.ReadMapStart() + if yyl967 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl934, d) + x.codecDecodeSelfFromMap(yyl967, d) } - } else if yyct934 == codecSelferValueTypeArray1234 { - yyl934 := r.ReadArrayStart() - if yyl934 == 0 { + } else if yyct967 == codecSelferValueTypeArray1234 { + yyl967 := r.ReadArrayStart() + if yyl967 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl934, d) + x.codecDecodeSelfFromArray(yyl967, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13071,12 +13586,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys935Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys935Slc - var yyhl935 bool = l >= 0 - for yyj935 := 0; ; yyj935++ { - if yyhl935 { - if yyj935 >= l { + var yys968Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys968Slc + var yyhl968 bool = l >= 0 + for yyj968 := 0; ; yyj968++ { + if yyhl968 { + if yyj968 >= l { break } } else { @@ -13085,10 +13600,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys935Slc = r.DecodeBytes(yys935Slc, true, true) - yys935 := string(yys935Slc) + yys968Slc = r.DecodeBytes(yys968Slc, true, true) + yys968 := string(yys968Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys935 { + switch yys968 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -13113,9 +13628,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys935) - } // end switch yys935 - } // end for yyj935 + z.DecStructFieldNotFound(-1, yys968) + } // end switch yys968 + } // end for yyj968 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13123,16 +13638,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj939 int - var yyb939 bool - var yyhl939 bool = l >= 0 - yyj939++ - if yyhl939 { - yyb939 = yyj939 > l + var yyj972 int + var yyb972 bool + var yyhl972 bool = l >= 0 + yyj972++ + if yyhl972 { + yyb972 = yyj972 > l } else { - yyb939 = r.CheckBreak() + yyb972 = r.CheckBreak() } - if yyb939 { + if yyb972 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13142,13 +13657,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj939++ - if yyhl939 { - yyb939 = yyj939 > l + yyj972++ + if yyhl972 { + yyb972 = yyj972 > l } else { - yyb939 = r.CheckBreak() + yyb972 = r.CheckBreak() } - if yyb939 { + if yyb972 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13158,13 +13673,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj939++ - if yyhl939 { - yyb939 = yyj939 > l + yyj972++ + if yyhl972 { + yyb972 = yyj972 > l } else { - yyb939 = r.CheckBreak() + yyb972 = r.CheckBreak() } - if yyb939 { + if yyb972 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13180,17 +13695,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj939++ - if yyhl939 { - yyb939 = yyj939 > l + yyj972++ + if yyhl972 { + yyb972 = yyj972 > l } else { - yyb939 = r.CheckBreak() + yyb972 = r.CheckBreak() } - if yyb939 { + if yyb972 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj939-1, "") + z.DecStructFieldNotFound(yyj972-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13202,35 +13717,35 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym943 := z.EncBinary() - _ = yym943 + yym976 := z.EncBinary() + _ = yym976 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep944 := !z.EncBinary() - yy2arr944 := z.EncBasicHandle().StructToArray - var yyq944 [3]bool - _, _, _ = yysep944, yyq944, yy2arr944 - const yyr944 bool = false - yyq944[0] = x.FieldRef != nil - yyq944[1] = x.ConfigMapKeyRef != nil - yyq944[2] = x.SecretKeyRef != nil - var yynn944 int - if yyr944 || yy2arr944 { + yysep977 := !z.EncBinary() + yy2arr977 := z.EncBasicHandle().StructToArray + var yyq977 [3]bool + _, _, _ = yysep977, yyq977, yy2arr977 + const yyr977 bool = false + yyq977[0] = x.FieldRef != nil + yyq977[1] = x.ConfigMapKeyRef != nil + yyq977[2] = x.SecretKeyRef != nil + var yynn977 int + if yyr977 || yy2arr977 { r.EncodeArrayStart(3) } else { - yynn944 = 0 - for _, b := range yyq944 { + yynn977 = 0 + for _, b := range yyq977 { if b { - yynn944++ + yynn977++ } } - r.EncodeMapStart(yynn944) - yynn944 = 0 + r.EncodeMapStart(yynn977) + yynn977 = 0 } - if yyr944 || yy2arr944 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq944[0] { + if yyq977[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -13240,7 +13755,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq944[0] { + if yyq977[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13251,9 +13766,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr944 || yy2arr944 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq944[1] { + if yyq977[1] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -13263,7 +13778,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq944[1] { + if yyq977[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13274,9 +13789,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr944 || yy2arr944 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq944[2] { + if yyq977[2] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -13286,7 +13801,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq944[2] { + if yyq977[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13297,7 +13812,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr944 || yy2arr944 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13310,25 +13825,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym948 := z.DecBinary() - _ = yym948 + yym981 := z.DecBinary() + _ = yym981 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct949 := r.ContainerType() - if yyct949 == codecSelferValueTypeMap1234 { - yyl949 := r.ReadMapStart() - if yyl949 == 0 { + yyct982 := r.ContainerType() + if yyct982 == codecSelferValueTypeMap1234 { + yyl982 := r.ReadMapStart() + if yyl982 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl949, d) + x.codecDecodeSelfFromMap(yyl982, d) } - } else if yyct949 == codecSelferValueTypeArray1234 { - yyl949 := r.ReadArrayStart() - if yyl949 == 0 { + } else if yyct982 == codecSelferValueTypeArray1234 { + yyl982 := r.ReadArrayStart() + if yyl982 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl949, d) + x.codecDecodeSelfFromArray(yyl982, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13340,12 +13855,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys950Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys950Slc - var yyhl950 bool = l >= 0 - for yyj950 := 0; ; yyj950++ { - if yyhl950 { - if yyj950 >= l { + var yys983Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys983Slc + var yyhl983 bool = l >= 0 + for yyj983 := 0; ; yyj983++ { + if yyhl983 { + if yyj983 >= l { break } } else { @@ -13354,10 +13869,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys950Slc = r.DecodeBytes(yys950Slc, true, true) - yys950 := string(yys950Slc) + yys983Slc = r.DecodeBytes(yys983Slc, true, true) + yys983 := string(yys983Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys950 { + switch yys983 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -13392,464 +13907,13 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys950) - } // end switch yys950 - } // end for yyj950 + z.DecStructFieldNotFound(-1, yys983) + } // end switch yys983 + } // end for yyj983 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj954 int - var yyb954 bool - var yyhl954 bool = l >= 0 - yyj954++ - if yyhl954 { - yyb954 = yyj954 > l - } else { - yyb954 = r.CheckBreak() - } - if yyb954 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.FieldRef != nil { - x.FieldRef = nil - } - } else { - if x.FieldRef == nil { - x.FieldRef = new(ObjectFieldSelector) - } - x.FieldRef.CodecDecodeSelf(d) - } - yyj954++ - if yyhl954 { - yyb954 = yyj954 > l - } else { - yyb954 = r.CheckBreak() - } - if yyb954 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.ConfigMapKeyRef != nil { - x.ConfigMapKeyRef = nil - } - } else { - if x.ConfigMapKeyRef == nil { - x.ConfigMapKeyRef = new(ConfigMapKeySelector) - } - x.ConfigMapKeyRef.CodecDecodeSelf(d) - } - yyj954++ - if yyhl954 { - yyb954 = yyj954 > l - } else { - yyb954 = r.CheckBreak() - } - if yyb954 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.SecretKeyRef != nil { - x.SecretKeyRef = nil - } - } else { - if x.SecretKeyRef == nil { - x.SecretKeyRef = new(SecretKeySelector) - } - x.SecretKeyRef.CodecDecodeSelf(d) - } - for { - yyj954++ - if yyhl954 { - yyb954 = yyj954 > l - } else { - yyb954 = r.CheckBreak() - } - if yyb954 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj954-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym958 := z.EncBinary() - _ = yym958 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep959 := !z.EncBinary() - yy2arr959 := z.EncBasicHandle().StructToArray - var yyq959 [2]bool - _, _, _ = yysep959, yyq959, yy2arr959 - const yyr959 bool = false - yyq959[0] = x.APIVersion != "" - var yynn959 int - if yyr959 || yy2arr959 { - r.EncodeArrayStart(2) - } else { - yynn959 = 1 - for _, b := range yyq959 { - if b { - yynn959++ - } - } - r.EncodeMapStart(yynn959) - yynn959 = 0 - } - if yyr959 || yy2arr959 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq959[0] { - yym961 := z.EncBinary() - _ = yym961 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq959[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym962 := z.EncBinary() - _ = yym962 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr959 || yy2arr959 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym964 := z.EncBinary() - _ = yym964 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym965 := z.EncBinary() - _ = yym965 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) - } - } - if yyr959 || yy2arr959 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym966 := z.DecBinary() - _ = yym966 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct967 := r.ContainerType() - if yyct967 == codecSelferValueTypeMap1234 { - yyl967 := r.ReadMapStart() - if yyl967 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl967, d) - } - } else if yyct967 == codecSelferValueTypeArray1234 { - yyl967 := r.ReadArrayStart() - if yyl967 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl967, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys968Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys968Slc - var yyhl968 bool = l >= 0 - for yyj968 := 0; ; yyj968++ { - if yyhl968 { - if yyj968 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys968Slc = r.DecodeBytes(yys968Slc, true, true) - yys968 := string(yys968Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys968 { - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "fieldPath": - if r.TryDecodeAsNil() { - x.FieldPath = "" - } else { - x.FieldPath = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys968) - } // end switch yys968 - } // end for yyj968 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj971 int - var yyb971 bool - var yyhl971 bool = l >= 0 - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l - } else { - yyb971 = r.CheckBreak() - } - if yyb971 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l - } else { - yyb971 = r.CheckBreak() - } - if yyb971 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FieldPath = "" - } else { - x.FieldPath = string(r.DecodeString()) - } - for { - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l - } else { - yyb971 = r.CheckBreak() - } - if yyb971 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj971-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym974 := z.EncBinary() - _ = yym974 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep975 := !z.EncBinary() - yy2arr975 := z.EncBasicHandle().StructToArray - var yyq975 [2]bool - _, _, _ = yysep975, yyq975, yy2arr975 - const yyr975 bool = false - yyq975[1] = x.Name != "" - var yynn975 int - if yyr975 || yy2arr975 { - r.EncodeArrayStart(2) - } else { - yynn975 = 1 - for _, b := range yyq975 { - if b { - yynn975++ - } - } - r.EncodeMapStart(yynn975) - yynn975 = 0 - } - if yyr975 || yy2arr975 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym977 := z.EncBinary() - _ = yym977 - 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) - yym978 := z.EncBinary() - _ = yym978 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr975 || yy2arr975 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq975[1] { - yym980 := z.EncBinary() - _ = yym980 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq975[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym981 := z.EncBinary() - _ = yym981 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr975 || yy2arr975 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym982 := z.DecBinary() - _ = yym982 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct983 := r.ContainerType() - if yyct983 == codecSelferValueTypeMap1234 { - yyl983 := r.ReadMapStart() - if yyl983 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl983, d) - } - } else if yyct983 == codecSelferValueTypeArray1234 { - yyl983 := r.ReadArrayStart() - if yyl983 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl983, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys984Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys984Slc - var yyhl984 bool = l >= 0 - for yyj984 := 0; ; yyj984++ { - if yyhl984 { - if yyj984 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys984Slc = r.DecodeBytes(yys984Slc, true, true) - yys984 := string(yys984Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys984 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys984) - } // end switch yys984 - } // end for yyj984 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13868,9 +13932,14 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Key = "" + if x.FieldRef != nil { + x.FieldRef = nil + } } else { - x.Key = string(r.DecodeString()) + if x.FieldRef == nil { + x.FieldRef = new(ObjectFieldSelector) + } + x.FieldRef.CodecDecodeSelf(d) } yyj987++ if yyhl987 { @@ -13884,9 +13953,35 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Name = "" + if x.ConfigMapKeyRef != nil { + x.ConfigMapKeyRef = nil + } } else { - x.Name = string(r.DecodeString()) + if x.ConfigMapKeyRef == nil { + x.ConfigMapKeyRef = new(ConfigMapKeySelector) + } + x.ConfigMapKeyRef.CodecDecodeSelf(d) + } + yyj987++ + if yyhl987 { + yyb987 = yyj987 > l + } else { + yyb987 = r.CheckBreak() + } + if yyb987 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SecretKeyRef != nil { + x.SecretKeyRef = nil + } + } else { + if x.SecretKeyRef == nil { + x.SecretKeyRef = new(SecretKeySelector) + } + x.SecretKeyRef.CodecDecodeSelf(d) } for { yyj987++ @@ -13904,82 +13999,82 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym990 := z.EncBinary() - _ = yym990 + yym991 := z.EncBinary() + _ = yym991 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep991 := !z.EncBinary() - yy2arr991 := z.EncBasicHandle().StructToArray - var yyq991 [2]bool - _, _, _ = yysep991, yyq991, yy2arr991 - const yyr991 bool = false - yyq991[1] = x.Name != "" - var yynn991 int - if yyr991 || yy2arr991 { + yysep992 := !z.EncBinary() + yy2arr992 := z.EncBasicHandle().StructToArray + var yyq992 [2]bool + _, _, _ = yysep992, yyq992, yy2arr992 + const yyr992 bool = false + yyq992[0] = x.APIVersion != "" + var yynn992 int + if yyr992 || yy2arr992 { r.EncodeArrayStart(2) } else { - yynn991 = 1 - for _, b := range yyq991 { + yynn992 = 1 + for _, b := range yyq992 { if b { - yynn991++ + yynn992++ } } - r.EncodeMapStart(yynn991) - yynn991 = 0 + r.EncodeMapStart(yynn992) + yynn992 = 0 } - if yyr991 || yy2arr991 { + if yyr992 || yy2arr992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym993 := z.EncBinary() - _ = yym993 - 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) - yym994 := z.EncBinary() - _ = yym994 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr991 || yy2arr991 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq991[1] { - yym996 := z.EncBinary() - _ = yym996 + if yyq992[0] { + yym994 := z.EncBinary() + _ = yym994 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq991[1] { + if yyq992[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym997 := z.EncBinary() - _ = yym997 + yym995 := z.EncBinary() + _ = yym995 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr991 || yy2arr991 { + if yyr992 || yy2arr992 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym997 := z.EncBinary() + _ = yym997 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym998 := z.EncBinary() + _ = yym998 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } + if yyr992 || yy2arr992 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13988,29 +14083,29 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym998 := z.DecBinary() - _ = yym998 + yym999 := z.DecBinary() + _ = yym999 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct999 := r.ContainerType() - if yyct999 == codecSelferValueTypeMap1234 { - yyl999 := r.ReadMapStart() - if yyl999 == 0 { + yyct1000 := r.ContainerType() + if yyct1000 == codecSelferValueTypeMap1234 { + yyl1000 := r.ReadMapStart() + if yyl1000 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl999, d) + x.codecDecodeSelfFromMap(yyl1000, d) } - } else if yyct999 == codecSelferValueTypeArray1234 { - yyl999 := r.ReadArrayStart() - if yyl999 == 0 { + } else if yyct1000 == codecSelferValueTypeArray1234 { + yyl1000 := r.ReadArrayStart() + if yyl1000 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl999, d) + x.codecDecodeSelfFromArray(yyl1000, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14018,16 +14113,16 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1000Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1000Slc - var yyhl1000 bool = l >= 0 - for yyj1000 := 0; ; yyj1000++ { - if yyhl1000 { - if yyj1000 >= l { + var yys1001Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1001Slc + var yyhl1001 bool = l >= 0 + for yyj1001 := 0; ; yyj1001++ { + if yyhl1001 { + if yyj1001 >= l { break } } else { @@ -14036,10 +14131,220 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1000Slc = r.DecodeBytes(yys1000Slc, true, true) - yys1000 := string(yys1000Slc) + yys1001Slc = r.DecodeBytes(yys1001Slc, true, true) + yys1001 := string(yys1001Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1000 { + switch yys1001 { + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "fieldPath": + if r.TryDecodeAsNil() { + x.FieldPath = "" + } else { + x.FieldPath = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1001) + } // end switch yys1001 + } // end for yyj1001 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1004 int + var yyb1004 bool + var yyhl1004 bool = l >= 0 + yyj1004++ + if yyhl1004 { + yyb1004 = yyj1004 > l + } else { + yyb1004 = r.CheckBreak() + } + if yyb1004 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1004++ + if yyhl1004 { + yyb1004 = yyj1004 > l + } else { + yyb1004 = r.CheckBreak() + } + if yyb1004 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FieldPath = "" + } else { + x.FieldPath = string(r.DecodeString()) + } + for { + yyj1004++ + if yyhl1004 { + yyb1004 = yyj1004 > l + } else { + yyb1004 = r.CheckBreak() + } + if yyb1004 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1004-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1007 := z.EncBinary() + _ = yym1007 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1008 := !z.EncBinary() + yy2arr1008 := z.EncBasicHandle().StructToArray + var yyq1008 [2]bool + _, _, _ = yysep1008, yyq1008, yy2arr1008 + const yyr1008 bool = false + yyq1008[1] = x.Name != "" + var yynn1008 int + if yyr1008 || yy2arr1008 { + r.EncodeArrayStart(2) + } else { + yynn1008 = 1 + for _, b := range yyq1008 { + if b { + yynn1008++ + } + } + r.EncodeMapStart(yynn1008) + yynn1008 = 0 + } + if yyr1008 || yy2arr1008 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1010 := z.EncBinary() + _ = yym1010 + 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) + yym1011 := z.EncBinary() + _ = yym1011 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1008 || yy2arr1008 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1008[1] { + yym1013 := z.EncBinary() + _ = yym1013 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1008[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1014 := z.EncBinary() + _ = yym1014 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr1008 || yy2arr1008 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1015 := z.DecBinary() + _ = yym1015 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1016 := r.ContainerType() + if yyct1016 == codecSelferValueTypeMap1234 { + yyl1016 := r.ReadMapStart() + if yyl1016 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1016, d) + } + } else if yyct1016 == codecSelferValueTypeArray1234 { + yyl1016 := r.ReadArrayStart() + if yyl1016 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1016, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1017Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1017Slc + var yyhl1017 bool = l >= 0 + for yyj1017 := 0; ; yyj1017++ { + if yyhl1017 { + if yyj1017 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1017Slc = r.DecodeBytes(yys1017Slc, true, true) + yys1017 := string(yys1017Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1017 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -14053,26 +14358,26 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1000) - } // end switch yys1000 - } // end for yyj1000 + z.DecStructFieldNotFound(-1, yys1017) + } // end switch yys1017 + } // end for yyj1017 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1003 int - var yyb1003 bool - var yyhl1003 bool = l >= 0 - yyj1003++ - if yyhl1003 { - yyb1003 = yyj1003 > l + var yyj1020 int + var yyb1020 bool + var yyhl1020 bool = l >= 0 + yyj1020++ + if yyhl1020 { + yyb1020 = yyj1020 > l } else { - yyb1003 = r.CheckBreak() + yyb1020 = r.CheckBreak() } - if yyb1003 { + if yyb1020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14082,13 +14387,13 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Key = string(r.DecodeString()) } - yyj1003++ - if yyhl1003 { - yyb1003 = yyj1003 > l + yyj1020++ + if yyhl1020 { + yyb1020 = yyj1020 > l } else { - yyb1003 = r.CheckBreak() + yyb1020 = r.CheckBreak() } - if yyb1003 { + if yyb1020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14099,17 +14404,227 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Name = string(r.DecodeString()) } for { - yyj1003++ - if yyhl1003 { - yyb1003 = yyj1003 > l + yyj1020++ + if yyhl1020 { + yyb1020 = yyj1020 > l } else { - yyb1003 = r.CheckBreak() + yyb1020 = r.CheckBreak() } - if yyb1003 { + if yyb1020 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1003-1, "") + z.DecStructFieldNotFound(yyj1020-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1023 := z.EncBinary() + _ = yym1023 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1024 := !z.EncBinary() + yy2arr1024 := z.EncBasicHandle().StructToArray + var yyq1024 [2]bool + _, _, _ = yysep1024, yyq1024, yy2arr1024 + const yyr1024 bool = false + yyq1024[1] = x.Name != "" + var yynn1024 int + if yyr1024 || yy2arr1024 { + r.EncodeArrayStart(2) + } else { + yynn1024 = 1 + for _, b := range yyq1024 { + if b { + yynn1024++ + } + } + r.EncodeMapStart(yynn1024) + yynn1024 = 0 + } + if yyr1024 || yy2arr1024 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1026 := z.EncBinary() + _ = yym1026 + 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) + yym1027 := z.EncBinary() + _ = yym1027 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1024 || yy2arr1024 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1024[1] { + yym1029 := z.EncBinary() + _ = yym1029 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1024[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1030 := z.EncBinary() + _ = yym1030 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr1024 || yy2arr1024 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1031 := z.DecBinary() + _ = yym1031 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1032 := r.ContainerType() + if yyct1032 == codecSelferValueTypeMap1234 { + yyl1032 := r.ReadMapStart() + if yyl1032 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1032, d) + } + } else if yyct1032 == codecSelferValueTypeArray1234 { + yyl1032 := r.ReadArrayStart() + if yyl1032 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1032, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1033Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1033Slc + var yyhl1033 bool = l >= 0 + for yyj1033 := 0; ; yyj1033++ { + if yyhl1033 { + if yyj1033 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1033Slc = r.DecodeBytes(yys1033Slc, true, true) + yys1033 := string(yys1033Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1033 { + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1033) + } // end switch yys1033 + } // end for yyj1033 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1036 int + var yyb1036 bool + var yyhl1036 bool = l >= 0 + yyj1036++ + if yyhl1036 { + yyb1036 = yyj1036 > l + } else { + yyb1036 = r.CheckBreak() + } + if yyb1036 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } + yyj1036++ + if yyhl1036 { + yyb1036 = yyj1036 > l + } else { + yyb1036 = r.CheckBreak() + } + if yyb1036 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + for { + yyj1036++ + if yyhl1036 { + yyb1036 = yyj1036 > l + } else { + yyb1036 = r.CheckBreak() + } + if yyb1036 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1036-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14121,33 +14636,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1006 := z.EncBinary() - _ = yym1006 + yym1039 := z.EncBinary() + _ = yym1039 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1007 := !z.EncBinary() - yy2arr1007 := z.EncBasicHandle().StructToArray - var yyq1007 [2]bool - _, _, _ = yysep1007, yyq1007, yy2arr1007 - const yyr1007 bool = false - var yynn1007 int - if yyr1007 || yy2arr1007 { + yysep1040 := !z.EncBinary() + yy2arr1040 := z.EncBasicHandle().StructToArray + var yyq1040 [2]bool + _, _, _ = yysep1040, yyq1040, yy2arr1040 + const yyr1040 bool = false + var yynn1040 int + if yyr1040 || yy2arr1040 { r.EncodeArrayStart(2) } else { - yynn1007 = 2 - for _, b := range yyq1007 { + yynn1040 = 2 + for _, b := range yyq1040 { if b { - yynn1007++ + yynn1040++ } } - r.EncodeMapStart(yynn1007) - yynn1007 = 0 + r.EncodeMapStart(yynn1040) + yynn1040 = 0 } - if yyr1007 || yy2arr1007 { + if yyr1040 || yy2arr1040 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1009 := z.EncBinary() - _ = yym1009 + yym1042 := z.EncBinary() + _ = yym1042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14156,17 +14671,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1010 := z.EncBinary() - _ = yym1010 + yym1043 := z.EncBinary() + _ = yym1043 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1007 || yy2arr1007 { + if yyr1040 || yy2arr1040 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1012 := z.EncBinary() - _ = yym1012 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -14175,14 +14690,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1013 := z.EncBinary() - _ = yym1013 + yym1046 := z.EncBinary() + _ = yym1046 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr1007 || yy2arr1007 { + if yyr1040 || yy2arr1040 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14195,25 +14710,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1014 := z.DecBinary() - _ = yym1014 + yym1047 := z.DecBinary() + _ = yym1047 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1015 := r.ContainerType() - if yyct1015 == codecSelferValueTypeMap1234 { - yyl1015 := r.ReadMapStart() - if yyl1015 == 0 { + yyct1048 := r.ContainerType() + if yyct1048 == codecSelferValueTypeMap1234 { + yyl1048 := r.ReadMapStart() + if yyl1048 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1015, d) + x.codecDecodeSelfFromMap(yyl1048, d) } - } else if yyct1015 == codecSelferValueTypeArray1234 { - yyl1015 := r.ReadArrayStart() - if yyl1015 == 0 { + } else if yyct1048 == codecSelferValueTypeArray1234 { + yyl1048 := r.ReadArrayStart() + if yyl1048 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1015, d) + x.codecDecodeSelfFromArray(yyl1048, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14225,12 +14740,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1016Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1016Slc - var yyhl1016 bool = l >= 0 - for yyj1016 := 0; ; yyj1016++ { - if yyhl1016 { - if yyj1016 >= l { + var yys1049Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1049Slc + var yyhl1049 bool = l >= 0 + for yyj1049 := 0; ; yyj1049++ { + if yyhl1049 { + if yyj1049 >= l { break } } else { @@ -14239,10 +14754,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1016Slc = r.DecodeBytes(yys1016Slc, true, true) - yys1016 := string(yys1016Slc) + yys1049Slc = r.DecodeBytes(yys1049Slc, true, true) + yys1049 := string(yys1049Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1016 { + switch yys1049 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -14256,9 +14771,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1016) - } // end switch yys1016 - } // end for yyj1016 + z.DecStructFieldNotFound(-1, yys1049) + } // end switch yys1049 + } // end for yyj1049 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14266,16 +14781,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1019 int - var yyb1019 bool - var yyhl1019 bool = l >= 0 - yyj1019++ - if yyhl1019 { - yyb1019 = yyj1019 > l + var yyj1052 int + var yyb1052 bool + var yyhl1052 bool = l >= 0 + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1019 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1019 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14285,13 +14800,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1019++ - if yyhl1019 { - yyb1019 = yyj1019 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1019 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1019 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14302,17 +14817,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj1019++ - if yyhl1019 { - yyb1019 = yyj1019 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1019 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1019 { + if yyb1052 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1019-1, "") + z.DecStructFieldNotFound(yyj1052-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14324,38 +14839,38 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1022 := z.EncBinary() - _ = yym1022 + yym1055 := z.EncBinary() + _ = yym1055 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1023 := !z.EncBinary() - yy2arr1023 := z.EncBasicHandle().StructToArray - var yyq1023 [5]bool - _, _, _ = yysep1023, yyq1023, yy2arr1023 - const yyr1023 bool = false - yyq1023[0] = x.Path != "" - yyq1023[2] = x.Host != "" - yyq1023[3] = x.Scheme != "" - yyq1023[4] = len(x.HTTPHeaders) != 0 - var yynn1023 int - if yyr1023 || yy2arr1023 { + yysep1056 := !z.EncBinary() + yy2arr1056 := z.EncBasicHandle().StructToArray + var yyq1056 [5]bool + _, _, _ = yysep1056, yyq1056, yy2arr1056 + const yyr1056 bool = false + yyq1056[0] = x.Path != "" + yyq1056[2] = x.Host != "" + yyq1056[3] = x.Scheme != "" + yyq1056[4] = len(x.HTTPHeaders) != 0 + var yynn1056 int + if yyr1056 || yy2arr1056 { r.EncodeArrayStart(5) } else { - yynn1023 = 1 - for _, b := range yyq1023 { + yynn1056 = 1 + for _, b := range yyq1056 { if b { - yynn1023++ + yynn1056++ } } - r.EncodeMapStart(yynn1023) - yynn1023 = 0 + r.EncodeMapStart(yynn1056) + yynn1056 = 0 } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[0] { - yym1025 := z.EncBinary() - _ = yym1025 + if yyq1056[0] { + yym1058 := z.EncBinary() + _ = yym1058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -14364,50 +14879,50 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1023[0] { + if yyq1056[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1026 := z.EncBinary() - _ = yym1026 + yym1059 := z.EncBinary() + _ = yym1059 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1028 := &x.Port - yym1029 := z.EncBinary() - _ = yym1029 + yy1061 := &x.Port + yym1062 := z.EncBinary() + _ = yym1062 if false { - } else if z.HasExtensions() && z.EncExt(yy1028) { - } else if !yym1029 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1028) + } else if z.HasExtensions() && z.EncExt(yy1061) { + } else if !yym1062 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1061) } else { - z.EncFallback(yy1028) + z.EncFallback(yy1061) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1030 := &x.Port - yym1031 := z.EncBinary() - _ = yym1031 + yy1063 := &x.Port + yym1064 := z.EncBinary() + _ = yym1064 if false { - } else if z.HasExtensions() && z.EncExt(yy1030) { - } else if !yym1031 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1030) + } else if z.HasExtensions() && z.EncExt(yy1063) { + } else if !yym1064 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1063) } else { - z.EncFallback(yy1030) + z.EncFallback(yy1063) } } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[2] { - yym1033 := z.EncBinary() - _ = yym1033 + if yyq1056[2] { + yym1066 := z.EncBinary() + _ = yym1066 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -14416,41 +14931,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1023[2] { + if yyq1056[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1034 := z.EncBinary() - _ = yym1034 + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[3] { + if yyq1056[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1023[3] { + if yyq1056[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[4] { + if yyq1056[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1037 := z.EncBinary() - _ = yym1037 + yym1070 := z.EncBinary() + _ = yym1070 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -14460,15 +14975,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1023[4] { + if yyq1056[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1038 := z.EncBinary() - _ = yym1038 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -14476,7 +14991,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1023 || yy2arr1023 { + if yyr1056 || yy2arr1056 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14489,25 +15004,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1039 := z.DecBinary() - _ = yym1039 + yym1072 := z.DecBinary() + _ = yym1072 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1040 := r.ContainerType() - if yyct1040 == codecSelferValueTypeMap1234 { - yyl1040 := r.ReadMapStart() - if yyl1040 == 0 { + yyct1073 := r.ContainerType() + if yyct1073 == codecSelferValueTypeMap1234 { + yyl1073 := r.ReadMapStart() + if yyl1073 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1040, d) + x.codecDecodeSelfFromMap(yyl1073, d) } - } else if yyct1040 == codecSelferValueTypeArray1234 { - yyl1040 := r.ReadArrayStart() - if yyl1040 == 0 { + } else if yyct1073 == codecSelferValueTypeArray1234 { + yyl1073 := r.ReadArrayStart() + if yyl1073 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1040, d) + x.codecDecodeSelfFromArray(yyl1073, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14519,12 +15034,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1041Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1041Slc - var yyhl1041 bool = l >= 0 - for yyj1041 := 0; ; yyj1041++ { - if yyhl1041 { - if yyj1041 >= l { + var yys1074Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1074Slc + var yyhl1074 bool = l >= 0 + for yyj1074 := 0; ; yyj1074++ { + if yyhl1074 { + if yyj1074 >= l { break } } else { @@ -14533,10 +15048,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1041Slc = r.DecodeBytes(yys1041Slc, true, true) - yys1041 := string(yys1041Slc) + yys1074Slc = r.DecodeBytes(yys1074Slc, true, true) + yys1074 := string(yys1074Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1041 { + switch yys1074 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -14547,15 +15062,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1043 := &x.Port - yym1044 := z.DecBinary() - _ = yym1044 + yyv1076 := &x.Port + yym1077 := z.DecBinary() + _ = yym1077 if false { - } else if z.HasExtensions() && z.DecExt(yyv1043) { - } else if !yym1044 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1043) + } else if z.HasExtensions() && z.DecExt(yyv1076) { + } else if !yym1077 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1076) } else { - z.DecFallback(yyv1043, false) + z.DecFallback(yyv1076, false) } } case "host": @@ -14574,18 +15089,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1047 := &x.HTTPHeaders - yym1048 := z.DecBinary() - _ = yym1048 + yyv1080 := &x.HTTPHeaders + yym1081 := z.DecBinary() + _ = yym1081 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1047), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1080), d) } } default: - z.DecStructFieldNotFound(-1, yys1041) - } // end switch yys1041 - } // end for yyj1041 + z.DecStructFieldNotFound(-1, yys1074) + } // end switch yys1074 + } // end for yyj1074 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14593,16 +15108,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1049 int - var yyb1049 bool - var yyhl1049 bool = l >= 0 - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + var yyj1082 int + var yyb1082 bool + var yyhl1082 bool = l >= 0 + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14612,13 +15127,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14626,24 +15141,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1051 := &x.Port - yym1052 := z.DecBinary() - _ = yym1052 + yyv1084 := &x.Port + yym1085 := z.DecBinary() + _ = yym1085 if false { - } else if z.HasExtensions() && z.DecExt(yyv1051) { - } else if !yym1052 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1051) + } else if z.HasExtensions() && z.DecExt(yyv1084) { + } else if !yym1085 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1084) } else { - z.DecFallback(yyv1051, false) + z.DecFallback(yyv1084, false) } } - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14653,13 +15168,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14669,13 +15184,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14683,26 +15198,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1055 := &x.HTTPHeaders - yym1056 := z.DecBinary() - _ = yym1056 + yyv1088 := &x.HTTPHeaders + yym1089 := z.DecBinary() + _ = yym1089 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1055), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1088), d) } } for { - yyj1049++ - if yyhl1049 { - yyb1049 = yyj1049 > l + yyj1082++ + if yyhl1082 { + yyb1082 = yyj1082 > l } else { - yyb1049 = r.CheckBreak() + yyb1082 = r.CheckBreak() } - if yyb1049 { + if yyb1082 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1049-1, "") + z.DecStructFieldNotFound(yyj1082-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14711,8 +15226,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1057 := z.EncBinary() - _ = yym1057 + yym1090 := z.EncBinary() + _ = yym1090 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14724,8 +15239,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1058 := z.DecBinary() - _ = yym1058 + yym1091 := z.DecBinary() + _ = yym1091 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14740,57 +15255,57 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1059 := z.EncBinary() - _ = yym1059 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1060 := !z.EncBinary() - yy2arr1060 := z.EncBasicHandle().StructToArray - var yyq1060 [1]bool - _, _, _ = yysep1060, yyq1060, yy2arr1060 - const yyr1060 bool = false - var yynn1060 int - if yyr1060 || yy2arr1060 { + yysep1093 := !z.EncBinary() + yy2arr1093 := z.EncBasicHandle().StructToArray + var yyq1093 [1]bool + _, _, _ = yysep1093, yyq1093, yy2arr1093 + const yyr1093 bool = false + var yynn1093 int + if yyr1093 || yy2arr1093 { r.EncodeArrayStart(1) } else { - yynn1060 = 1 - for _, b := range yyq1060 { + yynn1093 = 1 + for _, b := range yyq1093 { if b { - yynn1060++ + yynn1093++ } } - r.EncodeMapStart(yynn1060) - yynn1060 = 0 + r.EncodeMapStart(yynn1093) + yynn1093 = 0 } - if yyr1060 || yy2arr1060 { + if yyr1093 || yy2arr1093 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1062 := &x.Port - yym1063 := z.EncBinary() - _ = yym1063 + yy1095 := &x.Port + yym1096 := z.EncBinary() + _ = yym1096 if false { - } else if z.HasExtensions() && z.EncExt(yy1062) { - } else if !yym1063 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1062) + } else if z.HasExtensions() && z.EncExt(yy1095) { + } else if !yym1096 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1095) } else { - z.EncFallback(yy1062) + z.EncFallback(yy1095) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1064 := &x.Port - yym1065 := z.EncBinary() - _ = yym1065 + yy1097 := &x.Port + yym1098 := z.EncBinary() + _ = yym1098 if false { - } else if z.HasExtensions() && z.EncExt(yy1064) { - } else if !yym1065 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1064) + } else if z.HasExtensions() && z.EncExt(yy1097) { + } else if !yym1098 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1097) } else { - z.EncFallback(yy1064) + z.EncFallback(yy1097) } } - if yyr1060 || yy2arr1060 { + if yyr1093 || yy2arr1093 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14803,25 +15318,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1066 := z.DecBinary() - _ = yym1066 + yym1099 := z.DecBinary() + _ = yym1099 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1067 := r.ContainerType() - if yyct1067 == codecSelferValueTypeMap1234 { - yyl1067 := r.ReadMapStart() - if yyl1067 == 0 { + yyct1100 := r.ContainerType() + if yyct1100 == codecSelferValueTypeMap1234 { + yyl1100 := r.ReadMapStart() + if yyl1100 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1067, d) + x.codecDecodeSelfFromMap(yyl1100, d) } - } else if yyct1067 == codecSelferValueTypeArray1234 { - yyl1067 := r.ReadArrayStart() - if yyl1067 == 0 { + } else if yyct1100 == codecSelferValueTypeArray1234 { + yyl1100 := r.ReadArrayStart() + if yyl1100 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1067, d) + x.codecDecodeSelfFromArray(yyl1100, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14833,12 +15348,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1068Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1068Slc - var yyhl1068 bool = l >= 0 - for yyj1068 := 0; ; yyj1068++ { - if yyhl1068 { - if yyj1068 >= l { + var yys1101Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1101Slc + var yyhl1101 bool = l >= 0 + for yyj1101 := 0; ; yyj1101++ { + if yyhl1101 { + if yyj1101 >= l { break } } else { @@ -14847,29 +15362,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) - yys1068 := string(yys1068Slc) + yys1101Slc = r.DecodeBytes(yys1101Slc, true, true) + yys1101 := string(yys1101Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1068 { + switch yys1101 { case "port": if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1069 := &x.Port - yym1070 := z.DecBinary() - _ = yym1070 + yyv1102 := &x.Port + yym1103 := z.DecBinary() + _ = yym1103 if false { - } else if z.HasExtensions() && z.DecExt(yyv1069) { - } else if !yym1070 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1069) + } else if z.HasExtensions() && z.DecExt(yyv1102) { + } else if !yym1103 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1102) } else { - z.DecFallback(yyv1069, false) + z.DecFallback(yyv1102, false) } } default: - z.DecStructFieldNotFound(-1, yys1068) - } // end switch yys1068 - } // end for yyj1068 + z.DecStructFieldNotFound(-1, yys1101) + } // end switch yys1101 + } // end for yyj1101 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14877,16 +15392,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1071 int - var yyb1071 bool - var yyhl1071 bool = l >= 0 - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + var yyj1104 int + var yyb1104 bool + var yyhl1104 bool = l >= 0 + yyj1104++ + if yyhl1104 { + yyb1104 = yyj1104 > l } else { - yyb1071 = r.CheckBreak() + yyb1104 = r.CheckBreak() } - if yyb1071 { + if yyb1104 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14894,29 +15409,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv1072 := &x.Port - yym1073 := z.DecBinary() - _ = yym1073 + yyv1105 := &x.Port + yym1106 := z.DecBinary() + _ = yym1106 if false { - } else if z.HasExtensions() && z.DecExt(yyv1072) { - } else if !yym1073 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1072) + } else if z.HasExtensions() && z.DecExt(yyv1105) { + } else if !yym1106 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1105) } else { - z.DecFallback(yyv1072, false) + z.DecFallback(yyv1105, false) } } for { - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1104++ + if yyhl1104 { + yyb1104 = yyj1104 > l } else { - yyb1071 = r.CheckBreak() + yyb1104 = r.CheckBreak() } - if yyb1071 { + if yyb1104 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1071-1, "") + z.DecStructFieldNotFound(yyj1104-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14928,38 +15443,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1074 := z.EncBinary() - _ = yym1074 + yym1107 := z.EncBinary() + _ = yym1107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1075 := !z.EncBinary() - yy2arr1075 := z.EncBasicHandle().StructToArray - var yyq1075 [1]bool - _, _, _ = yysep1075, yyq1075, yy2arr1075 - const yyr1075 bool = false - yyq1075[0] = len(x.Command) != 0 - var yynn1075 int - if yyr1075 || yy2arr1075 { + yysep1108 := !z.EncBinary() + yy2arr1108 := z.EncBasicHandle().StructToArray + var yyq1108 [1]bool + _, _, _ = yysep1108, yyq1108, yy2arr1108 + const yyr1108 bool = false + yyq1108[0] = len(x.Command) != 0 + var yynn1108 int + if yyr1108 || yy2arr1108 { r.EncodeArrayStart(1) } else { - yynn1075 = 0 - for _, b := range yyq1075 { + yynn1108 = 0 + for _, b := range yyq1108 { if b { - yynn1075++ + yynn1108++ } } - r.EncodeMapStart(yynn1075) - yynn1075 = 0 + r.EncodeMapStart(yynn1108) + yynn1108 = 0 } - if yyr1075 || yy2arr1075 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1075[0] { + if yyq1108[0] { if x.Command == nil { r.EncodeNil() } else { - yym1077 := z.EncBinary() - _ = yym1077 + yym1110 := z.EncBinary() + _ = yym1110 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -14969,15 +15484,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1075[0] { + if yyq1108[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1078 := z.EncBinary() - _ = yym1078 + yym1111 := z.EncBinary() + _ = yym1111 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -14985,7 +15500,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1075 || yy2arr1075 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14998,25 +15513,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1079 := z.DecBinary() - _ = yym1079 + yym1112 := z.DecBinary() + _ = yym1112 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1080 := r.ContainerType() - if yyct1080 == codecSelferValueTypeMap1234 { - yyl1080 := r.ReadMapStart() - if yyl1080 == 0 { + yyct1113 := r.ContainerType() + if yyct1113 == codecSelferValueTypeMap1234 { + yyl1113 := r.ReadMapStart() + if yyl1113 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1080, d) + x.codecDecodeSelfFromMap(yyl1113, d) } - } else if yyct1080 == codecSelferValueTypeArray1234 { - yyl1080 := r.ReadArrayStart() - if yyl1080 == 0 { + } else if yyct1113 == codecSelferValueTypeArray1234 { + yyl1113 := r.ReadArrayStart() + if yyl1113 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1080, d) + x.codecDecodeSelfFromArray(yyl1113, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15028,12 +15543,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1081Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1081Slc - var yyhl1081 bool = l >= 0 - for yyj1081 := 0; ; yyj1081++ { - if yyhl1081 { - if yyj1081 >= l { + var yys1114Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1114Slc + var yyhl1114 bool = l >= 0 + for yyj1114 := 0; ; yyj1114++ { + if yyhl1114 { + if yyj1114 >= l { break } } else { @@ -15042,26 +15557,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1081Slc = r.DecodeBytes(yys1081Slc, true, true) - yys1081 := string(yys1081Slc) + yys1114Slc = r.DecodeBytes(yys1114Slc, true, true) + yys1114 := string(yys1114Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1081 { + switch yys1114 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1082 := &x.Command - yym1083 := z.DecBinary() - _ = yym1083 + yyv1115 := &x.Command + yym1116 := z.DecBinary() + _ = yym1116 if false { } else { - z.F.DecSliceStringX(yyv1082, false, d) + z.F.DecSliceStringX(yyv1115, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1081) - } // end switch yys1081 - } // end for yyj1081 + z.DecStructFieldNotFound(-1, yys1114) + } // end switch yys1114 + } // end for yyj1114 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15069,16 +15584,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1084 int - var yyb1084 bool - var yyhl1084 bool = l >= 0 - yyj1084++ - if yyhl1084 { - yyb1084 = yyj1084 > l + var yyj1117 int + var yyb1117 bool + var yyhl1117 bool = l >= 0 + yyj1117++ + if yyhl1117 { + yyb1117 = yyj1117 > l } else { - yyb1084 = r.CheckBreak() + yyb1117 = r.CheckBreak() } - if yyb1084 { + if yyb1117 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15086,26 +15601,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1085 := &x.Command - yym1086 := z.DecBinary() - _ = yym1086 + yyv1118 := &x.Command + yym1119 := z.DecBinary() + _ = yym1119 if false { } else { - z.F.DecSliceStringX(yyv1085, false, d) + z.F.DecSliceStringX(yyv1118, false, d) } } for { - yyj1084++ - if yyhl1084 { - yyb1084 = yyj1084 > l + yyj1117++ + if yyhl1117 { + yyb1117 = yyj1117 > l } else { - yyb1084 = r.CheckBreak() + yyb1117 = r.CheckBreak() } - if yyb1084 { + if yyb1117 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1084-1, "") + z.DecStructFieldNotFound(yyj1117-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15117,42 +15632,42 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1087 := z.EncBinary() - _ = yym1087 + yym1120 := z.EncBinary() + _ = yym1120 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1088 := !z.EncBinary() - yy2arr1088 := z.EncBasicHandle().StructToArray - var yyq1088 [8]bool - _, _, _ = yysep1088, yyq1088, yy2arr1088 - const yyr1088 bool = false - yyq1088[0] = x.InitialDelaySeconds != 0 - yyq1088[1] = x.TimeoutSeconds != 0 - yyq1088[2] = x.PeriodSeconds != 0 - yyq1088[3] = x.SuccessThreshold != 0 - yyq1088[4] = x.FailureThreshold != 0 - yyq1088[5] = x.Handler.Exec != nil && x.Exec != nil - yyq1088[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1088[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - var yynn1088 int - if yyr1088 || yy2arr1088 { + yysep1121 := !z.EncBinary() + yy2arr1121 := z.EncBasicHandle().StructToArray + var yyq1121 [8]bool + _, _, _ = yysep1121, yyq1121, yy2arr1121 + const yyr1121 bool = false + yyq1121[0] = x.InitialDelaySeconds != 0 + yyq1121[1] = x.TimeoutSeconds != 0 + yyq1121[2] = x.PeriodSeconds != 0 + yyq1121[3] = x.SuccessThreshold != 0 + yyq1121[4] = x.FailureThreshold != 0 + yyq1121[5] = x.Handler.Exec != nil && x.Exec != nil + yyq1121[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1121[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + var yynn1121 int + if yyr1121 || yy2arr1121 { r.EncodeArrayStart(8) } else { - yynn1088 = 0 - for _, b := range yyq1088 { + yynn1121 = 0 + for _, b := range yyq1121 { if b { - yynn1088++ + yynn1121++ } } - r.EncodeMapStart(yynn1088) - yynn1088 = 0 + r.EncodeMapStart(yynn1121) + yynn1121 = 0 } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[0] { - yym1090 := z.EncBinary() - _ = yym1090 + if yyq1121[0] { + yym1123 := z.EncBinary() + _ = yym1123 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -15161,23 +15676,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1088[0] { + if yyq1121[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1091 := z.EncBinary() - _ = yym1091 + yym1124 := z.EncBinary() + _ = yym1124 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) } } } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[1] { - yym1093 := z.EncBinary() - _ = yym1093 + if yyq1121[1] { + yym1126 := z.EncBinary() + _ = yym1126 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) @@ -15186,23 +15701,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1088[1] { + if yyq1121[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1094 := z.EncBinary() - _ = yym1094 + yym1127 := z.EncBinary() + _ = yym1127 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) } } } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[2] { - yym1096 := z.EncBinary() - _ = yym1096 + if yyq1121[2] { + yym1129 := z.EncBinary() + _ = yym1129 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) @@ -15211,23 +15726,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1088[2] { + if yyq1121[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1097 := z.EncBinary() - _ = yym1097 + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) } } } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[3] { - yym1099 := z.EncBinary() - _ = yym1099 + if yyq1121[3] { + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) @@ -15236,23 +15751,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1088[3] { + if yyq1121[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1100 := z.EncBinary() - _ = yym1100 + yym1133 := z.EncBinary() + _ = yym1133 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) } } } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[4] { - yym1102 := z.EncBinary() - _ = yym1102 + if yyq1121[4] { + yym1135 := z.EncBinary() + _ = yym1135 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) @@ -15261,30 +15776,30 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1088[4] { + if yyq1121[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1103 := z.EncBinary() - _ = yym1103 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - var yyn1104 bool + var yyn1137 bool if x.Handler.Exec == nil { - yyn1104 = true - goto LABEL1104 + yyn1137 = true + goto LABEL1137 } - LABEL1104: - if yyr1088 || yy2arr1088 { - if yyn1104 { + LABEL1137: + if yyr1121 || yy2arr1121 { + if yyn1137 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[5] { + if yyq1121[5] { if x.Exec == nil { r.EncodeNil() } else { @@ -15295,11 +15810,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1088[5] { + if yyq1121[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1104 { + if yyn1137 { r.EncodeNil() } else { if x.Exec == nil { @@ -15310,18 +15825,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1105 bool + var yyn1138 bool if x.Handler.HTTPGet == nil { - yyn1105 = true - goto LABEL1105 + yyn1138 = true + goto LABEL1138 } - LABEL1105: - if yyr1088 || yy2arr1088 { - if yyn1105 { + LABEL1138: + if yyr1121 || yy2arr1121 { + if yyn1138 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[6] { + if yyq1121[6] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -15332,11 +15847,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1088[6] { + if yyq1121[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1105 { + if yyn1138 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -15347,18 +15862,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1106 bool + var yyn1139 bool if x.Handler.TCPSocket == nil { - yyn1106 = true - goto LABEL1106 + yyn1139 = true + goto LABEL1139 } - LABEL1106: - if yyr1088 || yy2arr1088 { - if yyn1106 { + LABEL1139: + if yyr1121 || yy2arr1121 { + if yyn1139 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[7] { + if yyq1121[7] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -15369,11 +15884,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1088[7] { + if yyq1121[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1106 { + if yyn1139 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -15384,7 +15899,7 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1088 || yy2arr1088 { + if yyr1121 || yy2arr1121 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15397,25 +15912,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1107 := z.DecBinary() - _ = yym1107 + yym1140 := z.DecBinary() + _ = yym1140 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1108 := r.ContainerType() - if yyct1108 == codecSelferValueTypeMap1234 { - yyl1108 := r.ReadMapStart() - if yyl1108 == 0 { + yyct1141 := r.ContainerType() + if yyct1141 == codecSelferValueTypeMap1234 { + yyl1141 := r.ReadMapStart() + if yyl1141 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1108, d) + x.codecDecodeSelfFromMap(yyl1141, d) } - } else if yyct1108 == codecSelferValueTypeArray1234 { - yyl1108 := r.ReadArrayStart() - if yyl1108 == 0 { + } else if yyct1141 == codecSelferValueTypeArray1234 { + yyl1141 := r.ReadArrayStart() + if yyl1141 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1108, d) + x.codecDecodeSelfFromArray(yyl1141, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15427,12 +15942,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1109Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1109Slc - var yyhl1109 bool = l >= 0 - for yyj1109 := 0; ; yyj1109++ { - if yyhl1109 { - if yyj1109 >= l { + var yys1142Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1142Slc + var yyhl1142 bool = l >= 0 + for yyj1142 := 0; ; yyj1142++ { + if yyhl1142 { + if yyj1142 >= l { break } } else { @@ -15441,10 +15956,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1109Slc = r.DecodeBytes(yys1109Slc, true, true) - yys1109 := string(yys1109Slc) + yys1142Slc = r.DecodeBytes(yys1142Slc, true, true) + yys1142 := string(yys1142Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1109 { + switch yys1142 { case "initialDelaySeconds": if r.TryDecodeAsNil() { x.InitialDelaySeconds = 0 @@ -15518,9 +16033,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1109) - } // end switch yys1109 - } // end for yyj1109 + z.DecStructFieldNotFound(-1, yys1142) + } // end switch yys1142 + } // end for yyj1142 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15528,16 +16043,16 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1118 int - var yyb1118 bool - var yyhl1118 bool = l >= 0 - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + var yyj1151 int + var yyb1151 bool + var yyhl1151 bool = l >= 0 + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15547,13 +16062,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int32(r.DecodeInt(32)) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15563,13 +16078,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int32(r.DecodeInt(32)) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15579,13 +16094,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int32(r.DecodeInt(32)) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15595,13 +16110,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int32(r.DecodeInt(32)) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15614,13 +16129,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15638,13 +16153,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15662,13 +16177,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15684,17 +16199,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1151++ + if yyhl1151 { + yyb1151 = yyj1151 > l } else { - yyb1118 = r.CheckBreak() + yyb1151 = r.CheckBreak() } - if yyb1118 { + if yyb1151 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1118-1, "") + z.DecStructFieldNotFound(yyj1151-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15703,8 +16218,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1127 := z.EncBinary() - _ = yym1127 + yym1160 := z.EncBinary() + _ = yym1160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15716,8 +16231,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1128 := z.DecBinary() - _ = yym1128 + yym1161 := z.DecBinary() + _ = yym1161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15729,8 +16244,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1129 := z.EncBinary() - _ = yym1129 + yym1162 := z.EncBinary() + _ = yym1162 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15742,8 +16257,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1130 := z.DecBinary() - _ = yym1130 + yym1163 := z.DecBinary() + _ = yym1163 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15758,39 +16273,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1131 := z.EncBinary() - _ = yym1131 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1132 := !z.EncBinary() - yy2arr1132 := z.EncBasicHandle().StructToArray - var yyq1132 [2]bool - _, _, _ = yysep1132, yyq1132, yy2arr1132 - const yyr1132 bool = false - yyq1132[0] = len(x.Add) != 0 - yyq1132[1] = len(x.Drop) != 0 - var yynn1132 int - if yyr1132 || yy2arr1132 { + yysep1165 := !z.EncBinary() + yy2arr1165 := z.EncBasicHandle().StructToArray + var yyq1165 [2]bool + _, _, _ = yysep1165, yyq1165, yy2arr1165 + const yyr1165 bool = false + yyq1165[0] = len(x.Add) != 0 + yyq1165[1] = len(x.Drop) != 0 + var yynn1165 int + if yyr1165 || yy2arr1165 { r.EncodeArrayStart(2) } else { - yynn1132 = 0 - for _, b := range yyq1132 { + yynn1165 = 0 + for _, b := range yyq1165 { if b { - yynn1132++ + yynn1165++ } } - r.EncodeMapStart(yynn1132) - yynn1132 = 0 + r.EncodeMapStart(yynn1165) + yynn1165 = 0 } - if yyr1132 || yy2arr1132 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[0] { + if yyq1165[0] { if x.Add == nil { r.EncodeNil() } else { - yym1134 := z.EncBinary() - _ = yym1134 + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -15800,15 +16315,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1132[0] { + if yyq1165[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1135 := z.EncBinary() - _ = yym1135 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -15816,14 +16331,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1132 || yy2arr1132 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[1] { + if yyq1165[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1137 := z.EncBinary() - _ = yym1137 + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -15833,15 +16348,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1132[1] { + if yyq1165[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1138 := z.EncBinary() - _ = yym1138 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -15849,7 +16364,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1132 || yy2arr1132 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15862,25 +16377,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1139 := z.DecBinary() - _ = yym1139 + yym1172 := z.DecBinary() + _ = yym1172 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1140 := r.ContainerType() - if yyct1140 == codecSelferValueTypeMap1234 { - yyl1140 := r.ReadMapStart() - if yyl1140 == 0 { + yyct1173 := r.ContainerType() + if yyct1173 == codecSelferValueTypeMap1234 { + yyl1173 := r.ReadMapStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1140, d) + x.codecDecodeSelfFromMap(yyl1173, d) } - } else if yyct1140 == codecSelferValueTypeArray1234 { - yyl1140 := r.ReadArrayStart() - if yyl1140 == 0 { + } else if yyct1173 == codecSelferValueTypeArray1234 { + yyl1173 := r.ReadArrayStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1140, d) + x.codecDecodeSelfFromArray(yyl1173, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15892,12 +16407,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1141Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1141Slc - var yyhl1141 bool = l >= 0 - for yyj1141 := 0; ; yyj1141++ { - if yyhl1141 { - if yyj1141 >= l { + var yys1174Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1174Slc + var yyhl1174 bool = l >= 0 + for yyj1174 := 0; ; yyj1174++ { + if yyhl1174 { + if yyj1174 >= l { break } } else { @@ -15906,38 +16421,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1141Slc = r.DecodeBytes(yys1141Slc, true, true) - yys1141 := string(yys1141Slc) + yys1174Slc = r.DecodeBytes(yys1174Slc, true, true) + yys1174 := string(yys1174Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1141 { + switch yys1174 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1142 := &x.Add - yym1143 := z.DecBinary() - _ = yym1143 + yyv1175 := &x.Add + yym1176 := z.DecBinary() + _ = yym1176 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1142), d) + h.decSliceCapability((*[]Capability)(yyv1175), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1144 := &x.Drop - yym1145 := z.DecBinary() - _ = yym1145 + yyv1177 := &x.Drop + yym1178 := z.DecBinary() + _ = yym1178 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1144), d) + h.decSliceCapability((*[]Capability)(yyv1177), d) } } default: - z.DecStructFieldNotFound(-1, yys1141) - } // end switch yys1141 - } // end for yyj1141 + z.DecStructFieldNotFound(-1, yys1174) + } // end switch yys1174 + } // end for yyj1174 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15945,16 +16460,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1146 int - var yyb1146 bool - var yyhl1146 bool = l >= 0 - yyj1146++ - if yyhl1146 { - yyb1146 = yyj1146 > l + var yyj1179 int + var yyb1179 bool + var yyhl1179 bool = l >= 0 + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1146 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1146 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15962,21 +16477,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1147 := &x.Add - yym1148 := z.DecBinary() - _ = yym1148 + yyv1180 := &x.Add + yym1181 := z.DecBinary() + _ = yym1181 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1147), d) + h.decSliceCapability((*[]Capability)(yyv1180), d) } } - yyj1146++ - if yyhl1146 { - yyb1146 = yyj1146 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1146 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1146 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15984,26 +16499,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1149 := &x.Drop - yym1150 := z.DecBinary() - _ = yym1150 + yyv1182 := &x.Drop + yym1183 := z.DecBinary() + _ = yym1183 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1149), d) + h.decSliceCapability((*[]Capability)(yyv1182), d) } } for { - yyj1146++ - if yyhl1146 { - yyb1146 = yyj1146 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1146 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1146 { + if yyb1179 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1146-1, "") + z.DecStructFieldNotFound(yyj1179-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16015,34 +16530,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1151 := z.EncBinary() - _ = yym1151 + yym1184 := z.EncBinary() + _ = yym1184 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1152 := !z.EncBinary() - yy2arr1152 := z.EncBasicHandle().StructToArray - var yyq1152 [2]bool - _, _, _ = yysep1152, yyq1152, yy2arr1152 - const yyr1152 bool = false - yyq1152[0] = len(x.Limits) != 0 - yyq1152[1] = len(x.Requests) != 0 - var yynn1152 int - if yyr1152 || yy2arr1152 { + yysep1185 := !z.EncBinary() + yy2arr1185 := z.EncBasicHandle().StructToArray + var yyq1185 [2]bool + _, _, _ = yysep1185, yyq1185, yy2arr1185 + const yyr1185 bool = false + yyq1185[0] = len(x.Limits) != 0 + yyq1185[1] = len(x.Requests) != 0 + var yynn1185 int + if yyr1185 || yy2arr1185 { r.EncodeArrayStart(2) } else { - yynn1152 = 0 - for _, b := range yyq1152 { + yynn1185 = 0 + for _, b := range yyq1185 { if b { - yynn1152++ + yynn1185++ } } - r.EncodeMapStart(yynn1152) - yynn1152 = 0 + r.EncodeMapStart(yynn1185) + yynn1185 = 0 } - if yyr1152 || yy2arr1152 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1152[0] { + if yyq1185[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -16052,7 +16567,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1152[0] { + if yyq1185[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16063,9 +16578,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1152 || yy2arr1152 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1152[1] { + if yyq1185[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -16075,7 +16590,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1152[1] { + if yyq1185[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16086,7 +16601,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1152 || yy2arr1152 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16099,25 +16614,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1155 := z.DecBinary() - _ = yym1155 + yym1188 := z.DecBinary() + _ = yym1188 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1156 := r.ContainerType() - if yyct1156 == codecSelferValueTypeMap1234 { - yyl1156 := r.ReadMapStart() - if yyl1156 == 0 { + yyct1189 := r.ContainerType() + if yyct1189 == codecSelferValueTypeMap1234 { + yyl1189 := r.ReadMapStart() + if yyl1189 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1156, d) + x.codecDecodeSelfFromMap(yyl1189, d) } - } else if yyct1156 == codecSelferValueTypeArray1234 { - yyl1156 := r.ReadArrayStart() - if yyl1156 == 0 { + } else if yyct1189 == codecSelferValueTypeArray1234 { + yyl1189 := r.ReadArrayStart() + if yyl1189 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1156, d) + x.codecDecodeSelfFromArray(yyl1189, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16129,12 +16644,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1157Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1157Slc - var yyhl1157 bool = l >= 0 - for yyj1157 := 0; ; yyj1157++ { - if yyhl1157 { - if yyj1157 >= l { + var yys1190Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1190Slc + var yyhl1190 bool = l >= 0 + for yyj1190 := 0; ; yyj1190++ { + if yyhl1190 { + if yyj1190 >= l { break } } else { @@ -16143,28 +16658,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1157Slc = r.DecodeBytes(yys1157Slc, true, true) - yys1157 := string(yys1157Slc) + yys1190Slc = r.DecodeBytes(yys1190Slc, true, true) + yys1190 := string(yys1190Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1157 { + switch yys1190 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1158 := &x.Limits - yyv1158.CodecDecodeSelf(d) + yyv1191 := &x.Limits + yyv1191.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1159 := &x.Requests - yyv1159.CodecDecodeSelf(d) + yyv1192 := &x.Requests + yyv1192.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1157) - } // end switch yys1157 - } // end for yyj1157 + z.DecStructFieldNotFound(-1, yys1190) + } // end switch yys1190 + } // end for yyj1190 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16172,16 +16687,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco 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 yyj1193 int + var yyb1193 bool + var yyhl1193 bool = l >= 0 + yyj1193++ + if yyhl1193 { + yyb1193 = yyj1193 > l } else { - yyb1160 = r.CheckBreak() + yyb1193 = r.CheckBreak() } - if yyb1160 { + if yyb1193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16189,16 +16704,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1161 := &x.Limits - yyv1161.CodecDecodeSelf(d) + yyv1194 := &x.Limits + yyv1194.CodecDecodeSelf(d) } - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l + yyj1193++ + if yyhl1193 { + yyb1193 = yyj1193 > l } else { - yyb1160 = r.CheckBreak() + yyb1193 = r.CheckBreak() } - if yyb1160 { + if yyb1193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16206,21 +16721,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1162 := &x.Requests - yyv1162.CodecDecodeSelf(d) + yyv1195 := &x.Requests + yyv1195.CodecDecodeSelf(d) } for { - yyj1160++ - if yyhl1160 { - yyb1160 = yyj1160 > l + yyj1193++ + if yyhl1193 { + yyb1193 = yyj1193 > l } else { - yyb1160 = r.CheckBreak() + yyb1193 = r.CheckBreak() } - if yyb1160 { + if yyb1193 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1160-1, "") + z.DecStructFieldNotFound(yyj1193-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16232,50 +16747,50 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1163 := z.EncBinary() - _ = yym1163 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1164 := !z.EncBinary() - yy2arr1164 := z.EncBasicHandle().StructToArray - var yyq1164 [18]bool - _, _, _ = yysep1164, yyq1164, yy2arr1164 - const yyr1164 bool = false - yyq1164[1] = x.Image != "" - yyq1164[2] = len(x.Command) != 0 - yyq1164[3] = len(x.Args) != 0 - yyq1164[4] = x.WorkingDir != "" - yyq1164[5] = len(x.Ports) != 0 - yyq1164[6] = len(x.Env) != 0 - yyq1164[7] = true - yyq1164[8] = len(x.VolumeMounts) != 0 - yyq1164[9] = x.LivenessProbe != nil - yyq1164[10] = x.ReadinessProbe != nil - yyq1164[11] = x.Lifecycle != nil - yyq1164[12] = x.TerminationMessagePath != "" - yyq1164[13] = x.ImagePullPolicy != "" - yyq1164[14] = x.SecurityContext != nil - yyq1164[15] = x.Stdin != false - yyq1164[16] = x.StdinOnce != false - yyq1164[17] = x.TTY != false - var yynn1164 int - if yyr1164 || yy2arr1164 { + yysep1197 := !z.EncBinary() + yy2arr1197 := z.EncBasicHandle().StructToArray + var yyq1197 [18]bool + _, _, _ = yysep1197, yyq1197, yy2arr1197 + const yyr1197 bool = false + yyq1197[1] = x.Image != "" + yyq1197[2] = len(x.Command) != 0 + yyq1197[3] = len(x.Args) != 0 + yyq1197[4] = x.WorkingDir != "" + yyq1197[5] = len(x.Ports) != 0 + yyq1197[6] = len(x.Env) != 0 + yyq1197[7] = true + yyq1197[8] = len(x.VolumeMounts) != 0 + yyq1197[9] = x.LivenessProbe != nil + yyq1197[10] = x.ReadinessProbe != nil + yyq1197[11] = x.Lifecycle != nil + yyq1197[12] = x.TerminationMessagePath != "" + yyq1197[13] = x.ImagePullPolicy != "" + yyq1197[14] = x.SecurityContext != nil + yyq1197[15] = x.Stdin != false + yyq1197[16] = x.StdinOnce != false + yyq1197[17] = x.TTY != false + var yynn1197 int + if yyr1197 || yy2arr1197 { r.EncodeArrayStart(18) } else { - yynn1164 = 1 - for _, b := range yyq1164 { + yynn1197 = 1 + for _, b := range yyq1197 { if b { - yynn1164++ + yynn1197++ } } - r.EncodeMapStart(yynn1164) - yynn1164 = 0 + r.EncodeMapStart(yynn1197) + yynn1197 = 0 } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1166 := z.EncBinary() - _ = yym1166 + yym1199 := z.EncBinary() + _ = yym1199 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16284,18 +16799,18 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1167 := z.EncBinary() - _ = yym1167 + yym1200 := z.EncBinary() + _ = yym1200 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[1] { - yym1169 := z.EncBinary() - _ = yym1169 + if yyq1197[1] { + yym1202 := z.EncBinary() + _ = yym1202 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -16304,26 +16819,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1164[1] { + if yyq1197[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1170 := z.EncBinary() - _ = yym1170 + yym1203 := z.EncBinary() + _ = yym1203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[2] { + if yyq1197[2] { if x.Command == nil { r.EncodeNil() } else { - yym1172 := z.EncBinary() - _ = yym1172 + yym1205 := z.EncBinary() + _ = yym1205 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -16333,15 +16848,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[2] { + if yyq1197[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1173 := z.EncBinary() - _ = yym1173 + yym1206 := z.EncBinary() + _ = yym1206 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -16349,14 +16864,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[3] { + if yyq1197[3] { if x.Args == nil { r.EncodeNil() } else { - yym1175 := z.EncBinary() - _ = yym1175 + yym1208 := z.EncBinary() + _ = yym1208 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -16366,15 +16881,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[3] { + if yyq1197[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1176 := z.EncBinary() - _ = yym1176 + yym1209 := z.EncBinary() + _ = yym1209 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -16382,11 +16897,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[4] { - yym1178 := z.EncBinary() - _ = yym1178 + if yyq1197[4] { + yym1211 := z.EncBinary() + _ = yym1211 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -16395,26 +16910,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1164[4] { + if yyq1197[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1179 := z.EncBinary() - _ = yym1179 + yym1212 := z.EncBinary() + _ = yym1212 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[5] { + if yyq1197[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1181 := z.EncBinary() - _ = yym1181 + yym1214 := z.EncBinary() + _ = yym1214 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -16424,15 +16939,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[5] { + if yyq1197[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1182 := z.EncBinary() - _ = yym1182 + yym1215 := z.EncBinary() + _ = yym1215 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -16440,14 +16955,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[6] { + if yyq1197[6] { if x.Env == nil { r.EncodeNil() } else { - yym1184 := z.EncBinary() - _ = yym1184 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -16457,15 +16972,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[6] { + if yyq1197[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1185 := z.EncBinary() - _ = yym1185 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -16473,31 +16988,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[7] { - yy1187 := &x.Resources - yy1187.CodecEncodeSelf(e) + if yyq1197[7] { + yy1220 := &x.Resources + yy1220.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1164[7] { + if yyq1197[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1188 := &x.Resources - yy1188.CodecEncodeSelf(e) + yy1221 := &x.Resources + yy1221.CodecEncodeSelf(e) } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[8] { + if yyq1197[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1190 := z.EncBinary() - _ = yym1190 + yym1223 := z.EncBinary() + _ = yym1223 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -16507,15 +17022,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[8] { + if yyq1197[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1191 := z.EncBinary() - _ = yym1191 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -16523,9 +17038,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[9] { + if yyq1197[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -16535,7 +17050,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[9] { + if yyq1197[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16546,9 +17061,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[10] { + if yyq1197[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -16558,7 +17073,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[10] { + if yyq1197[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16569,9 +17084,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[11] { + if yyq1197[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -16581,7 +17096,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[11] { + if yyq1197[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16592,11 +17107,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[12] { - yym1196 := z.EncBinary() - _ = yym1196 + if yyq1197[12] { + yym1229 := z.EncBinary() + _ = yym1229 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -16605,36 +17120,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1164[12] { + if yyq1197[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1197 := z.EncBinary() - _ = yym1197 + yym1230 := z.EncBinary() + _ = yym1230 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[13] { + if yyq1197[13] { x.ImagePullPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1164[13] { + if yyq1197[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[14] { + if yyq1197[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -16644,7 +17159,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1164[14] { + if yyq1197[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16655,11 +17170,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[15] { - yym1201 := z.EncBinary() - _ = yym1201 + if yyq1197[15] { + yym1234 := z.EncBinary() + _ = yym1234 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -16668,23 +17183,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1164[15] { + if yyq1197[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1202 := z.EncBinary() - _ = yym1202 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[16] { - yym1204 := z.EncBinary() - _ = yym1204 + if yyq1197[16] { + yym1237 := z.EncBinary() + _ = yym1237 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -16693,23 +17208,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1164[16] { + if yyq1197[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1205 := z.EncBinary() - _ = yym1205 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1164[17] { - yym1207 := z.EncBinary() - _ = yym1207 + if yyq1197[17] { + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -16718,19 +17233,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1164[17] { + if yyq1197[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1208 := z.EncBinary() - _ = yym1208 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1164 || yy2arr1164 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16743,25 +17258,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1209 := z.DecBinary() - _ = yym1209 + yym1242 := z.DecBinary() + _ = yym1242 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1210 := r.ContainerType() - if yyct1210 == codecSelferValueTypeMap1234 { - yyl1210 := r.ReadMapStart() - if yyl1210 == 0 { + yyct1243 := r.ContainerType() + if yyct1243 == codecSelferValueTypeMap1234 { + yyl1243 := r.ReadMapStart() + if yyl1243 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1210, d) + x.codecDecodeSelfFromMap(yyl1243, d) } - } else if yyct1210 == codecSelferValueTypeArray1234 { - yyl1210 := r.ReadArrayStart() - if yyl1210 == 0 { + } else if yyct1243 == codecSelferValueTypeArray1234 { + yyl1243 := r.ReadArrayStart() + if yyl1243 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1210, d) + x.codecDecodeSelfFromArray(yyl1243, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16773,12 +17288,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1211Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1211Slc - var yyhl1211 bool = l >= 0 - for yyj1211 := 0; ; yyj1211++ { - if yyhl1211 { - if yyj1211 >= l { + var yys1244Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1244Slc + var yyhl1244 bool = l >= 0 + for yyj1244 := 0; ; yyj1244++ { + if yyhl1244 { + if yyj1244 >= l { break } } else { @@ -16787,10 +17302,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1211Slc = r.DecodeBytes(yys1211Slc, true, true) - yys1211 := string(yys1211Slc) + yys1244Slc = r.DecodeBytes(yys1244Slc, true, true) + yys1244 := string(yys1244Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1211 { + switch yys1244 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16807,24 +17322,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1214 := &x.Command - yym1215 := z.DecBinary() - _ = yym1215 + yyv1247 := &x.Command + yym1248 := z.DecBinary() + _ = yym1248 if false { } else { - z.F.DecSliceStringX(yyv1214, false, d) + z.F.DecSliceStringX(yyv1247, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1216 := &x.Args - yym1217 := z.DecBinary() - _ = yym1217 + yyv1249 := &x.Args + yym1250 := z.DecBinary() + _ = yym1250 if false { } else { - z.F.DecSliceStringX(yyv1216, false, d) + z.F.DecSliceStringX(yyv1249, false, d) } } case "workingDir": @@ -16837,43 +17352,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1219 := &x.Ports - yym1220 := z.DecBinary() - _ = yym1220 + yyv1252 := &x.Ports + yym1253 := z.DecBinary() + _ = yym1253 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1219), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1252), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1221 := &x.Env - yym1222 := z.DecBinary() - _ = yym1222 + yyv1254 := &x.Env + yym1255 := z.DecBinary() + _ = yym1255 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1221), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1254), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1223 := &x.Resources - yyv1223.CodecDecodeSelf(d) + yyv1256 := &x.Resources + yyv1256.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1224 := &x.VolumeMounts - yym1225 := z.DecBinary() - _ = yym1225 + yyv1257 := &x.VolumeMounts + yym1258 := z.DecBinary() + _ = yym1258 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1224), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1257), d) } } case "livenessProbe": @@ -16951,9 +17466,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1211) - } // end switch yys1211 - } // end for yyj1211 + z.DecStructFieldNotFound(-1, yys1244) + } // end switch yys1244 + } // end for yyj1244 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16961,16 +17476,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1235 int - var yyb1235 bool - var yyhl1235 bool = l >= 0 - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + var yyj1268 int + var yyb1268 bool + var yyhl1268 bool = l >= 0 + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16980,13 +17495,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16996,13 +17511,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17010,21 +17525,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1238 := &x.Command - yym1239 := z.DecBinary() - _ = yym1239 + yyv1271 := &x.Command + yym1272 := z.DecBinary() + _ = yym1272 if false { } else { - z.F.DecSliceStringX(yyv1238, false, d) + z.F.DecSliceStringX(yyv1271, false, d) } } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17032,21 +17547,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1240 := &x.Args - yym1241 := z.DecBinary() - _ = yym1241 + yyv1273 := &x.Args + yym1274 := z.DecBinary() + _ = yym1274 if false { } else { - z.F.DecSliceStringX(yyv1240, false, d) + z.F.DecSliceStringX(yyv1273, false, d) } } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17056,13 +17571,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17070,21 +17585,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1243 := &x.Ports - yym1244 := z.DecBinary() - _ = yym1244 + yyv1276 := &x.Ports + yym1277 := z.DecBinary() + _ = yym1277 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1243), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1276), d) } } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17092,21 +17607,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1245 := &x.Env - yym1246 := z.DecBinary() - _ = yym1246 + yyv1278 := &x.Env + yym1279 := z.DecBinary() + _ = yym1279 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1245), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1278), d) } } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17114,16 +17629,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1247 := &x.Resources - yyv1247.CodecDecodeSelf(d) + yyv1280 := &x.Resources + yyv1280.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17131,21 +17646,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1248 := &x.VolumeMounts - yym1249 := z.DecBinary() - _ = yym1249 + yyv1281 := &x.VolumeMounts + yym1282 := z.DecBinary() + _ = yym1282 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1248), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1281), d) } } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17160,13 +17675,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17181,13 +17696,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17202,13 +17717,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17218,13 +17733,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17234,13 +17749,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17255,13 +17770,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17271,13 +17786,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17287,13 +17802,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17304,17 +17819,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1235++ - if yyhl1235 { - yyb1235 = yyj1235 > l + yyj1268++ + if yyhl1268 { + yyb1268 = yyj1268 > l } else { - yyb1235 = r.CheckBreak() + yyb1268 = r.CheckBreak() } - if yyb1235 { + if yyb1268 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1235-1, "") + z.DecStructFieldNotFound(yyj1268-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17326,35 +17841,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1259 := z.EncBinary() - _ = yym1259 + yym1292 := z.EncBinary() + _ = yym1292 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1260 := !z.EncBinary() - yy2arr1260 := z.EncBasicHandle().StructToArray - var yyq1260 [3]bool - _, _, _ = yysep1260, yyq1260, yy2arr1260 - const yyr1260 bool = false - yyq1260[0] = x.Exec != nil - yyq1260[1] = x.HTTPGet != nil - yyq1260[2] = x.TCPSocket != nil - var yynn1260 int - if yyr1260 || yy2arr1260 { + yysep1293 := !z.EncBinary() + yy2arr1293 := z.EncBasicHandle().StructToArray + var yyq1293 [3]bool + _, _, _ = yysep1293, yyq1293, yy2arr1293 + const yyr1293 bool = false + yyq1293[0] = x.Exec != nil + yyq1293[1] = x.HTTPGet != nil + yyq1293[2] = x.TCPSocket != nil + var yynn1293 int + if yyr1293 || yy2arr1293 { r.EncodeArrayStart(3) } else { - yynn1260 = 0 - for _, b := range yyq1260 { + yynn1293 = 0 + for _, b := range yyq1293 { if b { - yynn1260++ + yynn1293++ } } - r.EncodeMapStart(yynn1260) - yynn1260 = 0 + r.EncodeMapStart(yynn1293) + yynn1293 = 0 } - if yyr1260 || yy2arr1260 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[0] { + if yyq1293[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -17364,7 +17879,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[0] { + if yyq1293[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17375,9 +17890,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[1] { + if yyq1293[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -17387,7 +17902,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[1] { + if yyq1293[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17398,9 +17913,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[2] { + if yyq1293[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -17410,7 +17925,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[2] { + if yyq1293[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17421,7 +17936,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17434,25 +17949,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1264 := z.DecBinary() - _ = yym1264 + yym1297 := z.DecBinary() + _ = yym1297 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1265 := r.ContainerType() - if yyct1265 == codecSelferValueTypeMap1234 { - yyl1265 := r.ReadMapStart() - if yyl1265 == 0 { + yyct1298 := r.ContainerType() + if yyct1298 == codecSelferValueTypeMap1234 { + yyl1298 := r.ReadMapStart() + if yyl1298 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1265, d) + x.codecDecodeSelfFromMap(yyl1298, d) } - } else if yyct1265 == codecSelferValueTypeArray1234 { - yyl1265 := r.ReadArrayStart() - if yyl1265 == 0 { + } else if yyct1298 == codecSelferValueTypeArray1234 { + yyl1298 := r.ReadArrayStart() + if yyl1298 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1265, d) + x.codecDecodeSelfFromArray(yyl1298, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17464,12 +17979,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1266Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1266Slc - var yyhl1266 bool = l >= 0 - for yyj1266 := 0; ; yyj1266++ { - if yyhl1266 { - if yyj1266 >= l { + var yys1299Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1299Slc + var yyhl1299 bool = l >= 0 + for yyj1299 := 0; ; yyj1299++ { + if yyhl1299 { + if yyj1299 >= l { break } } else { @@ -17478,10 +17993,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1266Slc = r.DecodeBytes(yys1266Slc, true, true) - yys1266 := string(yys1266Slc) + yys1299Slc = r.DecodeBytes(yys1299Slc, true, true) + yys1299 := string(yys1299Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1266 { + switch yys1299 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -17516,9 +18031,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1266) - } // end switch yys1266 - } // end for yyj1266 + z.DecStructFieldNotFound(-1, yys1299) + } // end switch yys1299 + } // end for yyj1299 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17526,16 +18041,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1270 int - var yyb1270 bool - var yyhl1270 bool = l >= 0 - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + var yyj1303 int + var yyb1303 bool + var yyhl1303 bool = l >= 0 + yyj1303++ + if yyhl1303 { + yyb1303 = yyj1303 > l } else { - yyb1270 = r.CheckBreak() + yyb1303 = r.CheckBreak() } - if yyb1270 { + if yyb1303 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17550,13 +18065,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1303++ + if yyhl1303 { + yyb1303 = yyj1303 > l } else { - yyb1270 = r.CheckBreak() + yyb1303 = r.CheckBreak() } - if yyb1270 { + if yyb1303 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17571,13 +18086,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1303++ + if yyhl1303 { + yyb1303 = yyj1303 > l } else { - yyb1270 = r.CheckBreak() + yyb1303 = r.CheckBreak() } - if yyb1270 { + if yyb1303 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17593,17 +18108,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1303++ + if yyhl1303 { + yyb1303 = yyj1303 > l } else { - yyb1270 = r.CheckBreak() + yyb1303 = r.CheckBreak() } - if yyb1270 { + if yyb1303 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1270-1, "") + z.DecStructFieldNotFound(yyj1303-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17615,34 +18130,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1274 := z.EncBinary() - _ = yym1274 + yym1307 := z.EncBinary() + _ = yym1307 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1275 := !z.EncBinary() - yy2arr1275 := z.EncBasicHandle().StructToArray - var yyq1275 [2]bool - _, _, _ = yysep1275, yyq1275, yy2arr1275 - const yyr1275 bool = false - yyq1275[0] = x.PostStart != nil - yyq1275[1] = x.PreStop != nil - var yynn1275 int - if yyr1275 || yy2arr1275 { + yysep1308 := !z.EncBinary() + yy2arr1308 := z.EncBasicHandle().StructToArray + var yyq1308 [2]bool + _, _, _ = yysep1308, yyq1308, yy2arr1308 + const yyr1308 bool = false + yyq1308[0] = x.PostStart != nil + yyq1308[1] = x.PreStop != nil + var yynn1308 int + if yyr1308 || yy2arr1308 { r.EncodeArrayStart(2) } else { - yynn1275 = 0 - for _, b := range yyq1275 { + yynn1308 = 0 + for _, b := range yyq1308 { if b { - yynn1275++ + yynn1308++ } } - r.EncodeMapStart(yynn1275) - yynn1275 = 0 + r.EncodeMapStart(yynn1308) + yynn1308 = 0 } - if yyr1275 || yy2arr1275 { + if yyr1308 || yy2arr1308 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1275[0] { + if yyq1308[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -17652,7 +18167,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1275[0] { + if yyq1308[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17663,9 +18178,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1275 || yy2arr1275 { + if yyr1308 || yy2arr1308 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1275[1] { + if yyq1308[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -17675,7 +18190,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1275[1] { + if yyq1308[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17686,7 +18201,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1275 || yy2arr1275 { + if yyr1308 || yy2arr1308 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17696,472 +18211,6 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1278 := z.DecBinary() - _ = yym1278 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1279 := r.ContainerType() - if yyct1279 == codecSelferValueTypeMap1234 { - yyl1279 := r.ReadMapStart() - if yyl1279 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1279, d) - } - } else if yyct1279 == codecSelferValueTypeArray1234 { - yyl1279 := r.ReadArrayStart() - if yyl1279 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1279, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1280Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1280Slc - var yyhl1280 bool = l >= 0 - for yyj1280 := 0; ; yyj1280++ { - if yyhl1280 { - if yyj1280 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1280Slc = r.DecodeBytes(yys1280Slc, true, true) - yys1280 := string(yys1280Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1280 { - case "postStart": - if r.TryDecodeAsNil() { - if x.PostStart != nil { - x.PostStart = nil - } - } else { - if x.PostStart == nil { - x.PostStart = new(Handler) - } - x.PostStart.CodecDecodeSelf(d) - } - case "preStop": - if r.TryDecodeAsNil() { - if x.PreStop != nil { - x.PreStop = nil - } - } else { - if x.PreStop == nil { - x.PreStop = new(Handler) - } - x.PreStop.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1280) - } // end switch yys1280 - } // end for yyj1280 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1283 int - var yyb1283 bool - var yyhl1283 bool = l >= 0 - yyj1283++ - if yyhl1283 { - yyb1283 = yyj1283 > l - } else { - yyb1283 = r.CheckBreak() - } - if yyb1283 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.PostStart != nil { - x.PostStart = nil - } - } else { - if x.PostStart == nil { - x.PostStart = new(Handler) - } - x.PostStart.CodecDecodeSelf(d) - } - yyj1283++ - if yyhl1283 { - yyb1283 = yyj1283 > l - } else { - yyb1283 = r.CheckBreak() - } - if yyb1283 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.PreStop != nil { - x.PreStop = nil - } - } else { - if x.PreStop == nil { - x.PreStop = new(Handler) - } - x.PreStop.CodecDecodeSelf(d) - } - for { - yyj1283++ - if yyhl1283 { - yyb1283 = yyj1283 > l - } else { - yyb1283 = r.CheckBreak() - } - if yyb1283 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1283-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1286 := z.EncBinary() - _ = yym1286 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1287 := z.DecBinary() - _ = yym1287 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1288 := z.EncBinary() - _ = yym1288 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1289 := !z.EncBinary() - yy2arr1289 := z.EncBasicHandle().StructToArray - var yyq1289 [2]bool - _, _, _ = yysep1289, yyq1289, yy2arr1289 - const yyr1289 bool = false - yyq1289[0] = x.Reason != "" - yyq1289[1] = x.Message != "" - var yynn1289 int - if yyr1289 || yy2arr1289 { - r.EncodeArrayStart(2) - } else { - yynn1289 = 0 - for _, b := range yyq1289 { - if b { - yynn1289++ - } - } - r.EncodeMapStart(yynn1289) - yynn1289 = 0 - } - if yyr1289 || yy2arr1289 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[0] { - yym1291 := z.EncBinary() - _ = yym1291 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1289[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1292 := z.EncBinary() - _ = yym1292 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr1289 || yy2arr1289 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[1] { - yym1294 := z.EncBinary() - _ = yym1294 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1289[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1295 := z.EncBinary() - _ = yym1295 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr1289 || yy2arr1289 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1296 := z.DecBinary() - _ = yym1296 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1297 := r.ContainerType() - if yyct1297 == codecSelferValueTypeMap1234 { - yyl1297 := r.ReadMapStart() - if yyl1297 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1297, d) - } - } else if yyct1297 == codecSelferValueTypeArray1234 { - yyl1297 := r.ReadArrayStart() - if yyl1297 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1297, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1298Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1298Slc - var yyhl1298 bool = l >= 0 - for yyj1298 := 0; ; yyj1298++ { - if yyhl1298 { - if yyj1298 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1298Slc = r.DecodeBytes(yys1298Slc, true, true) - yys1298 := string(yys1298Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1298 { - case "reason": - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - case "message": - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1298) - } // end switch yys1298 - } // end for yyj1298 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1301 int - var yyb1301 bool - var yyhl1301 bool = l >= 0 - yyj1301++ - if yyhl1301 { - yyb1301 = yyj1301 > l - } else { - yyb1301 = r.CheckBreak() - } - if yyb1301 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj1301++ - if yyhl1301 { - yyb1301 = yyj1301 > l - } else { - yyb1301 = r.CheckBreak() - } - if yyb1301 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - for { - yyj1301++ - if yyhl1301 { - yyb1301 = yyj1301 > l - } else { - yyb1301 = r.CheckBreak() - } - if yyb1301 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1301-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1304 := z.EncBinary() - _ = yym1304 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1305 := !z.EncBinary() - yy2arr1305 := z.EncBasicHandle().StructToArray - var yyq1305 [1]bool - _, _, _ = yysep1305, yyq1305, yy2arr1305 - const yyr1305 bool = false - yyq1305[0] = true - var yynn1305 int - if yyr1305 || yy2arr1305 { - r.EncodeArrayStart(1) - } else { - yynn1305 = 0 - for _, b := range yyq1305 { - if b { - yynn1305++ - } - } - r.EncodeMapStart(yynn1305) - yynn1305 = 0 - } - if yyr1305 || yy2arr1305 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1305[0] { - yy1307 := &x.StartedAt - yym1308 := z.EncBinary() - _ = yym1308 - if false { - } else if z.HasExtensions() && z.EncExt(yy1307) { - } else if yym1308 { - z.EncBinaryMarshal(yy1307) - } else if !yym1308 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1307) - } else { - z.EncFallback(yy1307) - } - } else { - r.EncodeNil() - } - } else { - if yyq1305[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("startedAt")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1309 := &x.StartedAt - yym1310 := z.EncBinary() - _ = yym1310 - if false { - } else if z.HasExtensions() && z.EncExt(yy1309) { - } else if yym1310 { - z.EncBinaryMarshal(yy1309) - } else if !yym1310 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1309) - } else { - z.EncFallback(yy1309) - } - } - } - if yyr1305 || yy2arr1305 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18191,7 +18240,7 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18213,22 +18262,27 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod yys1313 := string(yys1313Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1313 { - case "startedAt": + case "postStart": if r.TryDecodeAsNil() { - x.StartedAt = pkg2_unversioned.Time{} - } else { - yyv1314 := &x.StartedAt - yym1315 := z.DecBinary() - _ = yym1315 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1314) { - } else if yym1315 { - z.DecBinaryUnmarshal(yyv1314) - } else if !yym1315 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1314) - } else { - z.DecFallback(yyv1314, false) + if x.PostStart != nil { + x.PostStart = nil } + } else { + if x.PostStart == nil { + x.PostStart = new(Handler) + } + x.PostStart.CodecDecodeSelf(d) + } + case "preStop": + if r.TryDecodeAsNil() { + if x.PreStop != nil { + x.PreStop = nil + } + } else { + if x.PreStop == nil { + x.PreStop = new(Handler) + } + x.PreStop.CodecDecodeSelf(d) } default: z.DecStructFieldNotFound(-1, yys1313) @@ -18237,7 +18291,7 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -18256,20 +18310,35 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.StartedAt = pkg2_unversioned.Time{} - } else { - yyv1317 := &x.StartedAt - yym1318 := z.DecBinary() - _ = yym1318 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1317) { - } else if yym1318 { - z.DecBinaryUnmarshal(yyv1317) - } else if !yym1318 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1317) - } else { - z.DecFallback(yyv1317, false) + if x.PostStart != nil { + x.PostStart = nil } + } else { + if x.PostStart == nil { + x.PostStart = new(Handler) + } + x.PostStart.CodecDecodeSelf(d) + } + yyj1316++ + if yyhl1316 { + yyb1316 = yyj1316 > l + } else { + yyb1316 = r.CheckBreak() + } + if yyb1316 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.PreStop != nil { + x.PreStop = nil + } + } else { + if x.PreStop == nil { + x.PreStop = new(Handler) + } + x.PreStop.CodecDecodeSelf(d) } for { yyj1316++ @@ -18287,6 +18356,452 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1319 := z.EncBinary() + _ = yym1319 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1320 := z.DecBinary() + _ = yym1320 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1321 := z.EncBinary() + _ = yym1321 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1322 := !z.EncBinary() + yy2arr1322 := z.EncBasicHandle().StructToArray + var yyq1322 [2]bool + _, _, _ = yysep1322, yyq1322, yy2arr1322 + const yyr1322 bool = false + yyq1322[0] = x.Reason != "" + yyq1322[1] = x.Message != "" + var yynn1322 int + if yyr1322 || yy2arr1322 { + r.EncodeArrayStart(2) + } else { + yynn1322 = 0 + for _, b := range yyq1322 { + if b { + yynn1322++ + } + } + r.EncodeMapStart(yynn1322) + yynn1322 = 0 + } + if yyr1322 || yy2arr1322 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1322[0] { + yym1324 := z.EncBinary() + _ = yym1324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1322[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1325 := z.EncBinary() + _ = yym1325 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr1322 || yy2arr1322 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1322[1] { + yym1327 := z.EncBinary() + _ = yym1327 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1322[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1328 := z.EncBinary() + _ = yym1328 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr1322 || yy2arr1322 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1329 := z.DecBinary() + _ = yym1329 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1330 := r.ContainerType() + if yyct1330 == codecSelferValueTypeMap1234 { + yyl1330 := r.ReadMapStart() + if yyl1330 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1330, d) + } + } else if yyct1330 == codecSelferValueTypeArray1234 { + yyl1330 := r.ReadArrayStart() + if yyl1330 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1330, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1331Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1331Slc + var yyhl1331 bool = l >= 0 + for yyj1331 := 0; ; yyj1331++ { + if yyhl1331 { + if yyj1331 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1331Slc = r.DecodeBytes(yys1331Slc, true, true) + yys1331 := string(yys1331Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1331 { + case "reason": + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1331) + } // end switch yys1331 + } // end for yyj1331 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1334 int + var yyb1334 bool + var yyhl1334 bool = l >= 0 + yyj1334++ + if yyhl1334 { + yyb1334 = yyj1334 > l + } else { + yyb1334 = r.CheckBreak() + } + if yyb1334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj1334++ + if yyhl1334 { + yyb1334 = yyj1334 > l + } else { + yyb1334 = r.CheckBreak() + } + if yyb1334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj1334++ + if yyhl1334 { + yyb1334 = yyj1334 > l + } else { + yyb1334 = r.CheckBreak() + } + if yyb1334 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1334-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1337 := z.EncBinary() + _ = yym1337 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1338 := !z.EncBinary() + yy2arr1338 := z.EncBasicHandle().StructToArray + var yyq1338 [1]bool + _, _, _ = yysep1338, yyq1338, yy2arr1338 + const yyr1338 bool = false + yyq1338[0] = true + var yynn1338 int + if yyr1338 || yy2arr1338 { + r.EncodeArrayStart(1) + } else { + yynn1338 = 0 + for _, b := range yyq1338 { + if b { + yynn1338++ + } + } + r.EncodeMapStart(yynn1338) + yynn1338 = 0 + } + if yyr1338 || yy2arr1338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1338[0] { + yy1340 := &x.StartedAt + yym1341 := z.EncBinary() + _ = yym1341 + if false { + } else if z.HasExtensions() && z.EncExt(yy1340) { + } else if yym1341 { + z.EncBinaryMarshal(yy1340) + } else if !yym1341 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1340) + } else { + z.EncFallback(yy1340) + } + } else { + r.EncodeNil() + } + } else { + if yyq1338[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("startedAt")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1342 := &x.StartedAt + yym1343 := z.EncBinary() + _ = yym1343 + if false { + } else if z.HasExtensions() && z.EncExt(yy1342) { + } else if yym1343 { + z.EncBinaryMarshal(yy1342) + } else if !yym1343 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1342) + } else { + z.EncFallback(yy1342) + } + } + } + if yyr1338 || yy2arr1338 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1344 := z.DecBinary() + _ = yym1344 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1345 := r.ContainerType() + if yyct1345 == codecSelferValueTypeMap1234 { + yyl1345 := r.ReadMapStart() + if yyl1345 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1345, d) + } + } else if yyct1345 == codecSelferValueTypeArray1234 { + yyl1345 := r.ReadArrayStart() + if yyl1345 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1345, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ContainerStateRunning) 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) + yys1346 := string(yys1346Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1346 { + case "startedAt": + if r.TryDecodeAsNil() { + x.StartedAt = pkg2_unversioned.Time{} + } else { + yyv1347 := &x.StartedAt + yym1348 := z.DecBinary() + _ = yym1348 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1347) { + } else if yym1348 { + z.DecBinaryUnmarshal(yyv1347) + } else if !yym1348 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1347) + } else { + z.DecFallback(yyv1347, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1346) + } // end switch yys1346 + } // end for yyj1346 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1349 int + var yyb1349 bool + var yyhl1349 bool = l >= 0 + yyj1349++ + if yyhl1349 { + yyb1349 = yyj1349 > l + } else { + yyb1349 = r.CheckBreak() + } + if yyb1349 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StartedAt = pkg2_unversioned.Time{} + } else { + yyv1350 := &x.StartedAt + yym1351 := z.DecBinary() + _ = yym1351 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1350) { + } else if yym1351 { + z.DecBinaryUnmarshal(yyv1350) + } else if !yym1351 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1350) + } else { + z.DecFallback(yyv1350, false) + } + } + for { + yyj1349++ + if yyhl1349 { + yyb1349 = yyj1349 > l + } else { + yyb1349 = r.CheckBreak() + } + if yyb1349 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1349-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -18294,39 +18809,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1319 := z.EncBinary() - _ = yym1319 + yym1352 := z.EncBinary() + _ = yym1352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1320 := !z.EncBinary() - yy2arr1320 := z.EncBasicHandle().StructToArray - var yyq1320 [7]bool - _, _, _ = yysep1320, yyq1320, yy2arr1320 - const yyr1320 bool = false - yyq1320[1] = x.Signal != 0 - yyq1320[2] = x.Reason != "" - yyq1320[3] = x.Message != "" - yyq1320[4] = true - yyq1320[5] = true - yyq1320[6] = x.ContainerID != "" - var yynn1320 int - if yyr1320 || yy2arr1320 { + yysep1353 := !z.EncBinary() + yy2arr1353 := z.EncBasicHandle().StructToArray + var yyq1353 [7]bool + _, _, _ = yysep1353, yyq1353, yy2arr1353 + const yyr1353 bool = false + yyq1353[1] = x.Signal != 0 + yyq1353[2] = x.Reason != "" + yyq1353[3] = x.Message != "" + yyq1353[4] = true + yyq1353[5] = true + yyq1353[6] = x.ContainerID != "" + var yynn1353 int + if yyr1353 || yy2arr1353 { r.EncodeArrayStart(7) } else { - yynn1320 = 1 - for _, b := range yyq1320 { + yynn1353 = 1 + for _, b := range yyq1353 { if b { - yynn1320++ + yynn1353++ } } - r.EncodeMapStart(yynn1320) - yynn1320 = 0 + r.EncodeMapStart(yynn1353) + yynn1353 = 0 } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1322 := z.EncBinary() - _ = yym1322 + yym1355 := z.EncBinary() + _ = yym1355 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -18335,18 +18850,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1323 := z.EncBinary() - _ = yym1323 + yym1356 := z.EncBinary() + _ = yym1356 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[1] { - yym1325 := z.EncBinary() - _ = yym1325 + if yyq1353[1] { + yym1358 := z.EncBinary() + _ = yym1358 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -18355,23 +18870,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1320[1] { + if yyq1353[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1326 := z.EncBinary() - _ = yym1326 + yym1359 := z.EncBinary() + _ = yym1359 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[2] { - yym1328 := z.EncBinary() - _ = yym1328 + if yyq1353[2] { + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -18380,23 +18895,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1320[2] { + if yyq1353[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1329 := z.EncBinary() - _ = yym1329 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[3] { - yym1331 := z.EncBinary() - _ = yym1331 + if yyq1353[3] { + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -18405,97 +18920,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1320[3] { + if yyq1353[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1332 := z.EncBinary() - _ = yym1332 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[4] { - yy1334 := &x.StartedAt - yym1335 := z.EncBinary() - _ = yym1335 + if yyq1353[4] { + yy1367 := &x.StartedAt + yym1368 := z.EncBinary() + _ = yym1368 if false { - } else if z.HasExtensions() && z.EncExt(yy1334) { - } else if yym1335 { - z.EncBinaryMarshal(yy1334) - } else if !yym1335 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1334) + } else if z.HasExtensions() && z.EncExt(yy1367) { + } else if yym1368 { + z.EncBinaryMarshal(yy1367) + } else if !yym1368 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1367) } else { - z.EncFallback(yy1334) + z.EncFallback(yy1367) } } else { r.EncodeNil() } } else { - if yyq1320[4] { + if yyq1353[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1336 := &x.StartedAt - yym1337 := z.EncBinary() - _ = yym1337 + yy1369 := &x.StartedAt + yym1370 := z.EncBinary() + _ = yym1370 if false { - } else if z.HasExtensions() && z.EncExt(yy1336) { - } else if yym1337 { - z.EncBinaryMarshal(yy1336) - } else if !yym1337 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1336) + } else if z.HasExtensions() && z.EncExt(yy1369) { + } else if yym1370 { + z.EncBinaryMarshal(yy1369) + } else if !yym1370 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1369) } else { - z.EncFallback(yy1336) + z.EncFallback(yy1369) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[5] { - yy1339 := &x.FinishedAt - yym1340 := z.EncBinary() - _ = yym1340 + if yyq1353[5] { + yy1372 := &x.FinishedAt + yym1373 := z.EncBinary() + _ = yym1373 if false { - } else if z.HasExtensions() && z.EncExt(yy1339) { - } else if yym1340 { - z.EncBinaryMarshal(yy1339) - } else if !yym1340 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1339) + } else if z.HasExtensions() && z.EncExt(yy1372) { + } else if yym1373 { + z.EncBinaryMarshal(yy1372) + } else if !yym1373 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1372) } else { - z.EncFallback(yy1339) + z.EncFallback(yy1372) } } else { r.EncodeNil() } } else { - if yyq1320[5] { + if yyq1353[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1341 := &x.FinishedAt - yym1342 := z.EncBinary() - _ = yym1342 + yy1374 := &x.FinishedAt + yym1375 := z.EncBinary() + _ = yym1375 if false { - } else if z.HasExtensions() && z.EncExt(yy1341) { - } else if yym1342 { - z.EncBinaryMarshal(yy1341) - } else if !yym1342 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1341) + } else if z.HasExtensions() && z.EncExt(yy1374) { + } else if yym1375 { + z.EncBinaryMarshal(yy1374) + } else if !yym1375 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1374) } else { - z.EncFallback(yy1341) + z.EncFallback(yy1374) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1320[6] { - yym1344 := z.EncBinary() - _ = yym1344 + if yyq1353[6] { + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -18504,19 +19019,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1320[6] { + if yyq1353[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1345 := z.EncBinary() - _ = yym1345 + yym1378 := z.EncBinary() + _ = yym1378 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1320 || yy2arr1320 { + if yyr1353 || yy2arr1353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18529,25 +19044,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1346 := z.DecBinary() - _ = yym1346 + yym1379 := z.DecBinary() + _ = yym1379 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1347 := r.ContainerType() - if yyct1347 == codecSelferValueTypeMap1234 { - yyl1347 := r.ReadMapStart() - if yyl1347 == 0 { + yyct1380 := r.ContainerType() + if yyct1380 == codecSelferValueTypeMap1234 { + yyl1380 := r.ReadMapStart() + if yyl1380 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1347, d) + x.codecDecodeSelfFromMap(yyl1380, d) } - } else if yyct1347 == codecSelferValueTypeArray1234 { - yyl1347 := r.ReadArrayStart() - if yyl1347 == 0 { + } else if yyct1380 == codecSelferValueTypeArray1234 { + yyl1380 := r.ReadArrayStart() + if yyl1380 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1347, d) + x.codecDecodeSelfFromArray(yyl1380, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18559,12 +19074,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1348Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1348Slc - var yyhl1348 bool = l >= 0 - for yyj1348 := 0; ; yyj1348++ { - if yyhl1348 { - if yyj1348 >= l { + var yys1381Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1381Slc + var yyhl1381 bool = l >= 0 + for yyj1381 := 0; ; yyj1381++ { + if yyhl1381 { + if yyj1381 >= l { break } } else { @@ -18573,10 +19088,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1348Slc = r.DecodeBytes(yys1348Slc, true, true) - yys1348 := string(yys1348Slc) + yys1381Slc = r.DecodeBytes(yys1381Slc, true, true) + yys1381 := string(yys1381Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1348 { + switch yys1381 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -18605,34 +19120,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1353 := &x.StartedAt - yym1354 := z.DecBinary() - _ = yym1354 + yyv1386 := &x.StartedAt + yym1387 := z.DecBinary() + _ = yym1387 if false { - } else if z.HasExtensions() && z.DecExt(yyv1353) { - } else if yym1354 { - z.DecBinaryUnmarshal(yyv1353) - } else if !yym1354 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1353) + } else if z.HasExtensions() && z.DecExt(yyv1386) { + } else if yym1387 { + z.DecBinaryUnmarshal(yyv1386) + } else if !yym1387 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1386) } else { - z.DecFallback(yyv1353, false) + z.DecFallback(yyv1386, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1355 := &x.FinishedAt - yym1356 := z.DecBinary() - _ = yym1356 + yyv1388 := &x.FinishedAt + yym1389 := z.DecBinary() + _ = yym1389 if false { - } else if z.HasExtensions() && z.DecExt(yyv1355) { - } else if yym1356 { - z.DecBinaryUnmarshal(yyv1355) - } else if !yym1356 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1355) + } else if z.HasExtensions() && z.DecExt(yyv1388) { + } else if yym1389 { + z.DecBinaryUnmarshal(yyv1388) + } else if !yym1389 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1388) } else { - z.DecFallback(yyv1355, false) + z.DecFallback(yyv1388, false) } } case "containerID": @@ -18642,9 +19157,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1348) - } // end switch yys1348 - } // end for yyj1348 + z.DecStructFieldNotFound(-1, yys1381) + } // end switch yys1381 + } // end for yyj1381 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18652,16 +19167,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1358 int - var yyb1358 bool - var yyhl1358 bool = l >= 0 - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + var yyj1391 int + var yyb1391 bool + var yyhl1391 bool = l >= 0 + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18671,13 +19186,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18687,13 +19202,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18703,13 +19218,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18719,13 +19234,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18733,26 +19248,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1363 := &x.StartedAt - yym1364 := z.DecBinary() - _ = yym1364 + yyv1396 := &x.StartedAt + yym1397 := z.DecBinary() + _ = yym1397 if false { - } else if z.HasExtensions() && z.DecExt(yyv1363) { - } else if yym1364 { - z.DecBinaryUnmarshal(yyv1363) - } else if !yym1364 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1363) + } else if z.HasExtensions() && z.DecExt(yyv1396) { + } else if yym1397 { + z.DecBinaryUnmarshal(yyv1396) + } else if !yym1397 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1396) } else { - z.DecFallback(yyv1363, false) + z.DecFallback(yyv1396, false) } } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18760,26 +19275,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1365 := &x.FinishedAt - yym1366 := z.DecBinary() - _ = yym1366 + yyv1398 := &x.FinishedAt + yym1399 := z.DecBinary() + _ = yym1399 if false { - } else if z.HasExtensions() && z.DecExt(yyv1365) { - } else if yym1366 { - z.DecBinaryUnmarshal(yyv1365) - } else if !yym1366 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1365) + } else if z.HasExtensions() && z.DecExt(yyv1398) { + } else if yym1399 { + z.DecBinaryUnmarshal(yyv1398) + } else if !yym1399 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1398) } else { - z.DecFallback(yyv1365, false) + z.DecFallback(yyv1398, false) } } - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18790,17 +19305,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1358++ - if yyhl1358 { - yyb1358 = yyj1358 > l + yyj1391++ + if yyhl1391 { + yyb1391 = yyj1391 > l } else { - yyb1358 = r.CheckBreak() + yyb1391 = r.CheckBreak() } - if yyb1358 { + if yyb1391 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1358-1, "") + z.DecStructFieldNotFound(yyj1391-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18812,35 +19327,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1368 := z.EncBinary() - _ = yym1368 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1369 := !z.EncBinary() - yy2arr1369 := z.EncBasicHandle().StructToArray - var yyq1369 [3]bool - _, _, _ = yysep1369, yyq1369, yy2arr1369 - const yyr1369 bool = false - yyq1369[0] = x.Waiting != nil - yyq1369[1] = x.Running != nil - yyq1369[2] = x.Terminated != nil - var yynn1369 int - if yyr1369 || yy2arr1369 { + yysep1402 := !z.EncBinary() + yy2arr1402 := z.EncBasicHandle().StructToArray + var yyq1402 [3]bool + _, _, _ = yysep1402, yyq1402, yy2arr1402 + const yyr1402 bool = false + yyq1402[0] = x.Waiting != nil + yyq1402[1] = x.Running != nil + yyq1402[2] = x.Terminated != nil + var yynn1402 int + if yyr1402 || yy2arr1402 { r.EncodeArrayStart(3) } else { - yynn1369 = 0 - for _, b := range yyq1369 { + yynn1402 = 0 + for _, b := range yyq1402 { if b { - yynn1369++ + yynn1402++ } } - r.EncodeMapStart(yynn1369) - yynn1369 = 0 + r.EncodeMapStart(yynn1402) + yynn1402 = 0 } - if yyr1369 || yy2arr1369 { + if yyr1402 || yy2arr1402 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[0] { + if yyq1402[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -18850,7 +19365,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[0] { + if yyq1402[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18861,9 +19376,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1402 || yy2arr1402 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[1] { + if yyq1402[1] { if x.Running == nil { r.EncodeNil() } else { @@ -18873,7 +19388,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[1] { + if yyq1402[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18884,9 +19399,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1402 || yy2arr1402 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[2] { + if yyq1402[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -18896,7 +19411,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[2] { + if yyq1402[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18907,7 +19422,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1402 || yy2arr1402 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18920,25 +19435,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1373 := z.DecBinary() - _ = yym1373 + yym1406 := z.DecBinary() + _ = yym1406 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1374 := r.ContainerType() - if yyct1374 == codecSelferValueTypeMap1234 { - yyl1374 := r.ReadMapStart() - if yyl1374 == 0 { + yyct1407 := r.ContainerType() + if yyct1407 == codecSelferValueTypeMap1234 { + yyl1407 := r.ReadMapStart() + if yyl1407 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1374, d) + x.codecDecodeSelfFromMap(yyl1407, d) } - } else if yyct1374 == codecSelferValueTypeArray1234 { - yyl1374 := r.ReadArrayStart() - if yyl1374 == 0 { + } else if yyct1407 == codecSelferValueTypeArray1234 { + yyl1407 := r.ReadArrayStart() + if yyl1407 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1374, d) + x.codecDecodeSelfFromArray(yyl1407, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18950,12 +19465,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1375Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1375Slc - var yyhl1375 bool = l >= 0 - for yyj1375 := 0; ; yyj1375++ { - if yyhl1375 { - if yyj1375 >= l { + var yys1408Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1408Slc + var yyhl1408 bool = l >= 0 + for yyj1408 := 0; ; yyj1408++ { + if yyhl1408 { + if yyj1408 >= l { break } } else { @@ -18964,10 +19479,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1375Slc = r.DecodeBytes(yys1375Slc, true, true) - yys1375 := string(yys1375Slc) + yys1408Slc = r.DecodeBytes(yys1408Slc, true, true) + yys1408 := string(yys1408Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1375 { + switch yys1408 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -19002,9 +19517,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1375) - } // end switch yys1375 - } // end for yyj1375 + z.DecStructFieldNotFound(-1, yys1408) + } // end switch yys1408 + } // end for yyj1408 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19012,16 +19527,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1379 int - var yyb1379 bool - var yyhl1379 bool = l >= 0 - yyj1379++ - if yyhl1379 { - yyb1379 = yyj1379 > l + var yyj1412 int + var yyb1412 bool + var yyhl1412 bool = l >= 0 + yyj1412++ + if yyhl1412 { + yyb1412 = yyj1412 > l } else { - yyb1379 = r.CheckBreak() + yyb1412 = r.CheckBreak() } - if yyb1379 { + if yyb1412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19036,13 +19551,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1379++ - if yyhl1379 { - yyb1379 = yyj1379 > l + yyj1412++ + if yyhl1412 { + yyb1412 = yyj1412 > l } else { - yyb1379 = r.CheckBreak() + yyb1412 = r.CheckBreak() } - if yyb1379 { + if yyb1412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19057,13 +19572,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1379++ - if yyhl1379 { - yyb1379 = yyj1379 > l + yyj1412++ + if yyhl1412 { + yyb1412 = yyj1412 > l } else { - yyb1379 = r.CheckBreak() + yyb1412 = r.CheckBreak() } - if yyb1379 { + if yyb1412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19079,17 +19594,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1379++ - if yyhl1379 { - yyb1379 = yyj1379 > l + yyj1412++ + if yyhl1412 { + yyb1412 = yyj1412 > l } else { - yyb1379 = r.CheckBreak() + yyb1412 = r.CheckBreak() } - if yyb1379 { + if yyb1412 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1379-1, "") + z.DecStructFieldNotFound(yyj1412-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19101,36 +19616,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1383 := z.EncBinary() - _ = yym1383 + yym1416 := z.EncBinary() + _ = yym1416 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1384 := !z.EncBinary() - yy2arr1384 := z.EncBasicHandle().StructToArray - var yyq1384 [8]bool - _, _, _ = yysep1384, yyq1384, yy2arr1384 - const yyr1384 bool = false - yyq1384[1] = true - yyq1384[2] = true - yyq1384[7] = x.ContainerID != "" - var yynn1384 int - if yyr1384 || yy2arr1384 { + yysep1417 := !z.EncBinary() + yy2arr1417 := z.EncBasicHandle().StructToArray + var yyq1417 [8]bool + _, _, _ = yysep1417, yyq1417, yy2arr1417 + const yyr1417 bool = false + yyq1417[1] = true + yyq1417[2] = true + yyq1417[7] = x.ContainerID != "" + var yynn1417 int + if yyr1417 || yy2arr1417 { r.EncodeArrayStart(8) } else { - yynn1384 = 5 - for _, b := range yyq1384 { + yynn1417 = 5 + for _, b := range yyq1417 { if b { - yynn1384++ + yynn1417++ } } - r.EncodeMapStart(yynn1384) - yynn1384 = 0 + r.EncodeMapStart(yynn1417) + yynn1417 = 0 } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1386 := z.EncBinary() - _ = yym1386 + yym1419 := z.EncBinary() + _ = yym1419 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -19139,51 +19654,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1387 := z.EncBinary() - _ = yym1387 + yym1420 := z.EncBinary() + _ = yym1420 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1384[1] { - yy1389 := &x.State - yy1389.CodecEncodeSelf(e) + if yyq1417[1] { + yy1422 := &x.State + yy1422.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1384[1] { + if yyq1417[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1390 := &x.State - yy1390.CodecEncodeSelf(e) + yy1423 := &x.State + yy1423.CodecEncodeSelf(e) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1384[2] { - yy1392 := &x.LastTerminationState - yy1392.CodecEncodeSelf(e) + if yyq1417[2] { + yy1425 := &x.LastTerminationState + yy1425.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1384[2] { + if yyq1417[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1393 := &x.LastTerminationState - yy1393.CodecEncodeSelf(e) + yy1426 := &x.LastTerminationState + yy1426.CodecEncodeSelf(e) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1395 := z.EncBinary() - _ = yym1395 + yym1428 := z.EncBinary() + _ = yym1428 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -19192,17 +19707,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1396 := z.EncBinary() - _ = yym1396 + yym1429 := z.EncBinary() + _ = yym1429 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1398 := z.EncBinary() - _ = yym1398 + yym1431 := z.EncBinary() + _ = yym1431 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -19211,17 +19726,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1399 := z.EncBinary() - _ = yym1399 + yym1432 := z.EncBinary() + _ = yym1432 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1401 := z.EncBinary() - _ = yym1401 + yym1434 := z.EncBinary() + _ = yym1434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -19230,17 +19745,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1402 := z.EncBinary() - _ = yym1402 + yym1435 := z.EncBinary() + _ = yym1435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1404 := z.EncBinary() - _ = yym1404 + yym1437 := z.EncBinary() + _ = yym1437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -19249,18 +19764,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1405 := z.EncBinary() - _ = yym1405 + yym1438 := z.EncBinary() + _ = yym1438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1384[7] { - yym1407 := z.EncBinary() - _ = yym1407 + if yyq1417[7] { + yym1440 := z.EncBinary() + _ = yym1440 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -19269,19 +19784,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1384[7] { + if yyq1417[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1408 := z.EncBinary() - _ = yym1408 + yym1441 := z.EncBinary() + _ = yym1441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1384 || yy2arr1384 { + if yyr1417 || yy2arr1417 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19294,25 +19809,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1409 := z.DecBinary() - _ = yym1409 + yym1442 := z.DecBinary() + _ = yym1442 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1410 := r.ContainerType() - if yyct1410 == codecSelferValueTypeMap1234 { - yyl1410 := r.ReadMapStart() - if yyl1410 == 0 { + yyct1443 := r.ContainerType() + if yyct1443 == codecSelferValueTypeMap1234 { + yyl1443 := r.ReadMapStart() + if yyl1443 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1410, d) + x.codecDecodeSelfFromMap(yyl1443, d) } - } else if yyct1410 == codecSelferValueTypeArray1234 { - yyl1410 := r.ReadArrayStart() - if yyl1410 == 0 { + } else if yyct1443 == codecSelferValueTypeArray1234 { + yyl1443 := r.ReadArrayStart() + if yyl1443 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1410, d) + x.codecDecodeSelfFromArray(yyl1443, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19324,12 +19839,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1411Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1411Slc - var yyhl1411 bool = l >= 0 - for yyj1411 := 0; ; yyj1411++ { - if yyhl1411 { - if yyj1411 >= l { + var yys1444Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1444Slc + var yyhl1444 bool = l >= 0 + for yyj1444 := 0; ; yyj1444++ { + if yyhl1444 { + if yyj1444 >= l { break } } else { @@ -19338,10 +19853,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1411Slc = r.DecodeBytes(yys1411Slc, true, true) - yys1411 := string(yys1411Slc) + yys1444Slc = r.DecodeBytes(yys1444Slc, true, true) + yys1444 := string(yys1444Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1411 { + switch yys1444 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -19352,15 +19867,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1413 := &x.State - yyv1413.CodecDecodeSelf(d) + yyv1446 := &x.State + yyv1446.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1414 := &x.LastTerminationState - yyv1414.CodecDecodeSelf(d) + yyv1447 := &x.LastTerminationState + yyv1447.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -19393,9 +19908,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1411) - } // end switch yys1411 - } // end for yyj1411 + z.DecStructFieldNotFound(-1, yys1444) + } // end switch yys1444 + } // end for yyj1444 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19403,16 +19918,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1420 int - var yyb1420 bool - var yyhl1420 bool = l >= 0 - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + var yyj1453 int + var yyb1453 bool + var yyhl1453 bool = l >= 0 + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19422,13 +19937,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19436,16 +19951,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1422 := &x.State - yyv1422.CodecDecodeSelf(d) + yyv1455 := &x.State + yyv1455.CodecDecodeSelf(d) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19453,16 +19968,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1423 := &x.LastTerminationState - yyv1423.CodecDecodeSelf(d) + yyv1456 := &x.LastTerminationState + yyv1456.CodecDecodeSelf(d) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19472,13 +19987,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19488,13 +20003,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19504,13 +20019,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19520,13 +20035,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19537,17 +20052,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1453++ + if yyhl1453 { + yyb1453 = yyj1453 > l } else { - yyb1420 = r.CheckBreak() + yyb1453 = r.CheckBreak() } - if yyb1420 { + if yyb1453 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1420-1, "") + z.DecStructFieldNotFound(yyj1453-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19556,8 +20071,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1429 := z.EncBinary() - _ = yym1429 + yym1462 := z.EncBinary() + _ = yym1462 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19569,8 +20084,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1430 := z.DecBinary() - _ = yym1430 + yym1463 := z.DecBinary() + _ = yym1463 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19582,8 +20097,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1431 := z.EncBinary() - _ = yym1431 + yym1464 := z.EncBinary() + _ = yym1464 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19595,8 +20110,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1432 := z.DecBinary() - _ = yym1432 + yym1465 := z.DecBinary() + _ = yym1465 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19611,34 +20126,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1433 := z.EncBinary() - _ = yym1433 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1434 := !z.EncBinary() - yy2arr1434 := z.EncBasicHandle().StructToArray - var yyq1434 [6]bool - _, _, _ = yysep1434, yyq1434, yy2arr1434 - const yyr1434 bool = false - yyq1434[2] = true - yyq1434[3] = true - yyq1434[4] = x.Reason != "" - yyq1434[5] = x.Message != "" - var yynn1434 int - if yyr1434 || yy2arr1434 { + yysep1467 := !z.EncBinary() + yy2arr1467 := z.EncBasicHandle().StructToArray + var yyq1467 [6]bool + _, _, _ = yysep1467, yyq1467, yy2arr1467 + const yyr1467 bool = false + yyq1467[2] = true + yyq1467[3] = true + yyq1467[4] = x.Reason != "" + yyq1467[5] = x.Message != "" + var yynn1467 int + if yyr1467 || yy2arr1467 { r.EncodeArrayStart(6) } else { - yynn1434 = 2 - for _, b := range yyq1434 { + yynn1467 = 2 + for _, b := range yyq1467 { if b { - yynn1434++ + yynn1467++ } } - r.EncodeMapStart(yynn1434) - yynn1434 = 0 + r.EncodeMapStart(yynn1467) + yynn1467 = 0 } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -19647,7 +20162,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -19656,85 +20171,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1434[2] { - yy1438 := &x.LastProbeTime - yym1439 := z.EncBinary() - _ = yym1439 + if yyq1467[2] { + yy1471 := &x.LastProbeTime + yym1472 := z.EncBinary() + _ = yym1472 if false { - } else if z.HasExtensions() && z.EncExt(yy1438) { - } else if yym1439 { - z.EncBinaryMarshal(yy1438) - } else if !yym1439 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1438) + } else if z.HasExtensions() && z.EncExt(yy1471) { + } else if yym1472 { + z.EncBinaryMarshal(yy1471) + } else if !yym1472 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1471) } else { - z.EncFallback(yy1438) + z.EncFallback(yy1471) } } else { r.EncodeNil() } } else { - if yyq1434[2] { + if yyq1467[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1440 := &x.LastProbeTime - yym1441 := z.EncBinary() - _ = yym1441 + yy1473 := &x.LastProbeTime + yym1474 := z.EncBinary() + _ = yym1474 if false { - } else if z.HasExtensions() && z.EncExt(yy1440) { - } else if yym1441 { - z.EncBinaryMarshal(yy1440) - } else if !yym1441 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1440) + } else if z.HasExtensions() && z.EncExt(yy1473) { + } else if yym1474 { + z.EncBinaryMarshal(yy1473) + } else if !yym1474 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1473) } else { - z.EncFallback(yy1440) + z.EncFallback(yy1473) } } } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1434[3] { - yy1443 := &x.LastTransitionTime - yym1444 := z.EncBinary() - _ = yym1444 + if yyq1467[3] { + yy1476 := &x.LastTransitionTime + yym1477 := z.EncBinary() + _ = yym1477 if false { - } else if z.HasExtensions() && z.EncExt(yy1443) { - } else if yym1444 { - z.EncBinaryMarshal(yy1443) - } else if !yym1444 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1443) + } else if z.HasExtensions() && z.EncExt(yy1476) { + } else if yym1477 { + z.EncBinaryMarshal(yy1476) + } else if !yym1477 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1476) } else { - z.EncFallback(yy1443) + z.EncFallback(yy1476) } } else { r.EncodeNil() } } else { - if yyq1434[3] { + if yyq1467[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1445 := &x.LastTransitionTime - yym1446 := z.EncBinary() - _ = yym1446 + yy1478 := &x.LastTransitionTime + yym1479 := z.EncBinary() + _ = yym1479 if false { - } else if z.HasExtensions() && z.EncExt(yy1445) { - } else if yym1446 { - z.EncBinaryMarshal(yy1445) - } else if !yym1446 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1445) + } else if z.HasExtensions() && z.EncExt(yy1478) { + } else if yym1479 { + z.EncBinaryMarshal(yy1478) + } else if !yym1479 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1478) } else { - z.EncFallback(yy1445) + z.EncFallback(yy1478) } } } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1434[4] { - yym1448 := z.EncBinary() - _ = yym1448 + if yyq1467[4] { + yym1481 := z.EncBinary() + _ = yym1481 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -19743,23 +20258,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1434[4] { + if yyq1467[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1449 := z.EncBinary() - _ = yym1449 + yym1482 := z.EncBinary() + _ = yym1482 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1434[5] { - yym1451 := z.EncBinary() - _ = yym1451 + if yyq1467[5] { + yym1484 := z.EncBinary() + _ = yym1484 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -19768,19 +20283,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1434[5] { + if yyq1467[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1452 := z.EncBinary() - _ = yym1452 + yym1485 := z.EncBinary() + _ = yym1485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1434 || yy2arr1434 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19793,25 +20308,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1453 := z.DecBinary() - _ = yym1453 + yym1486 := z.DecBinary() + _ = yym1486 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1454 := r.ContainerType() - if yyct1454 == codecSelferValueTypeMap1234 { - yyl1454 := r.ReadMapStart() - if yyl1454 == 0 { + yyct1487 := r.ContainerType() + if yyct1487 == codecSelferValueTypeMap1234 { + yyl1487 := r.ReadMapStart() + if yyl1487 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1454, d) + x.codecDecodeSelfFromMap(yyl1487, d) } - } else if yyct1454 == codecSelferValueTypeArray1234 { - yyl1454 := r.ReadArrayStart() - if yyl1454 == 0 { + } else if yyct1487 == codecSelferValueTypeArray1234 { + yyl1487 := r.ReadArrayStart() + if yyl1487 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1454, d) + x.codecDecodeSelfFromArray(yyl1487, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19823,12 +20338,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1455Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1455Slc - var yyhl1455 bool = l >= 0 - for yyj1455 := 0; ; yyj1455++ { - if yyhl1455 { - if yyj1455 >= l { + var yys1488Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1488Slc + var yyhl1488 bool = l >= 0 + for yyj1488 := 0; ; yyj1488++ { + if yyhl1488 { + if yyj1488 >= l { break } } else { @@ -19837,10 +20352,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1455Slc = r.DecodeBytes(yys1455Slc, true, true) - yys1455 := string(yys1455Slc) + yys1488Slc = r.DecodeBytes(yys1488Slc, true, true) + yys1488 := string(yys1488Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1455 { + switch yys1488 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -19857,34 +20372,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1458 := &x.LastProbeTime - yym1459 := z.DecBinary() - _ = yym1459 + yyv1491 := &x.LastProbeTime + yym1492 := z.DecBinary() + _ = yym1492 if false { - } else if z.HasExtensions() && z.DecExt(yyv1458) { - } else if yym1459 { - z.DecBinaryUnmarshal(yyv1458) - } else if !yym1459 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1458) + } else if z.HasExtensions() && z.DecExt(yyv1491) { + } else if yym1492 { + z.DecBinaryUnmarshal(yyv1491) + } else if !yym1492 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1491) } else { - z.DecFallback(yyv1458, false) + z.DecFallback(yyv1491, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1460 := &x.LastTransitionTime - yym1461 := z.DecBinary() - _ = yym1461 + yyv1493 := &x.LastTransitionTime + yym1494 := z.DecBinary() + _ = yym1494 if false { - } else if z.HasExtensions() && z.DecExt(yyv1460) { - } else if yym1461 { - z.DecBinaryUnmarshal(yyv1460) - } else if !yym1461 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1460) + } else if z.HasExtensions() && z.DecExt(yyv1493) { + } else if yym1494 { + z.DecBinaryUnmarshal(yyv1493) + } else if !yym1494 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1493) } else { - z.DecFallback(yyv1460, false) + z.DecFallback(yyv1493, false) } } case "reason": @@ -19900,9 +20415,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1455) - } // end switch yys1455 - } // end for yyj1455 + z.DecStructFieldNotFound(-1, yys1488) + } // end switch yys1488 + } // end for yyj1488 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19910,16 +20425,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1464 int - var yyb1464 bool - var yyhl1464 bool = l >= 0 - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + var yyj1497 int + var yyb1497 bool + var yyhl1497 bool = l >= 0 + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19929,13 +20444,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19945,13 +20460,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19959,26 +20474,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1467 := &x.LastProbeTime - yym1468 := z.DecBinary() - _ = yym1468 + yyv1500 := &x.LastProbeTime + yym1501 := z.DecBinary() + _ = yym1501 if false { - } else if z.HasExtensions() && z.DecExt(yyv1467) { - } else if yym1468 { - z.DecBinaryUnmarshal(yyv1467) - } else if !yym1468 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1467) + } else if z.HasExtensions() && z.DecExt(yyv1500) { + } else if yym1501 { + z.DecBinaryUnmarshal(yyv1500) + } else if !yym1501 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1500) } else { - z.DecFallback(yyv1467, false) + z.DecFallback(yyv1500, false) } } - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19986,26 +20501,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1469 := &x.LastTransitionTime - yym1470 := z.DecBinary() - _ = yym1470 + yyv1502 := &x.LastTransitionTime + yym1503 := z.DecBinary() + _ = yym1503 if false { - } else if z.HasExtensions() && z.DecExt(yyv1469) { - } else if yym1470 { - z.DecBinaryUnmarshal(yyv1469) - } else if !yym1470 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1469) + } else if z.HasExtensions() && z.DecExt(yyv1502) { + } else if yym1503 { + z.DecBinaryUnmarshal(yyv1502) + } else if !yym1503 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1502) } else { - z.DecFallback(yyv1469, false) + z.DecFallback(yyv1502, false) } } - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20015,13 +20530,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20032,17 +20547,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1464++ - if yyhl1464 { - yyb1464 = yyj1464 > l + yyj1497++ + if yyhl1497 { + yyb1497 = yyj1497 > l } else { - yyb1464 = r.CheckBreak() + yyb1497 = r.CheckBreak() } - if yyb1464 { + if yyb1497 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1464-1, "") + z.DecStructFieldNotFound(yyj1497-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20051,8 +20566,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1473 := z.EncBinary() - _ = yym1473 + yym1506 := z.EncBinary() + _ = yym1506 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20064,8 +20579,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1474 := z.DecBinary() - _ = yym1474 + yym1507 := z.DecBinary() + _ = yym1507 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20077,8 +20592,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1475 := z.EncBinary() - _ = yym1475 + yym1508 := z.EncBinary() + _ = yym1508 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20090,8 +20605,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1476 := z.DecBinary() - _ = yym1476 + yym1509 := z.DecBinary() + _ = yym1509 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20106,36 +20621,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1477 := z.EncBinary() - _ = yym1477 + yym1510 := z.EncBinary() + _ = yym1510 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1478 := !z.EncBinary() - yy2arr1478 := z.EncBasicHandle().StructToArray - var yyq1478 [1]bool - _, _, _ = yysep1478, yyq1478, yy2arr1478 - const yyr1478 bool = false - var yynn1478 int - if yyr1478 || yy2arr1478 { + yysep1511 := !z.EncBinary() + yy2arr1511 := z.EncBasicHandle().StructToArray + var yyq1511 [1]bool + _, _, _ = yysep1511, yyq1511, yy2arr1511 + const yyr1511 bool = false + var yynn1511 int + if yyr1511 || yy2arr1511 { r.EncodeArrayStart(1) } else { - yynn1478 = 1 - for _, b := range yyq1478 { + yynn1511 = 1 + for _, b := range yyq1511 { if b { - yynn1478++ + yynn1511++ } } - r.EncodeMapStart(yynn1478) - yynn1478 = 0 + r.EncodeMapStart(yynn1511) + yynn1511 = 0 } - if yyr1478 || yy2arr1478 { + if yyr1511 || yy2arr1511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1480 := z.EncBinary() - _ = yym1480 + yym1513 := z.EncBinary() + _ = yym1513 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -20148,15 +20663,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1481 := z.EncBinary() - _ = yym1481 + yym1514 := z.EncBinary() + _ = yym1514 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr1478 || yy2arr1478 { + if yyr1511 || yy2arr1511 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20169,25 +20684,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1482 := z.DecBinary() - _ = yym1482 + yym1515 := z.DecBinary() + _ = yym1515 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1483 := r.ContainerType() - if yyct1483 == codecSelferValueTypeMap1234 { - yyl1483 := r.ReadMapStart() - if yyl1483 == 0 { + yyct1516 := r.ContainerType() + if yyct1516 == codecSelferValueTypeMap1234 { + yyl1516 := r.ReadMapStart() + if yyl1516 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1483, d) + x.codecDecodeSelfFromMap(yyl1516, d) } - } else if yyct1483 == codecSelferValueTypeArray1234 { - yyl1483 := r.ReadArrayStart() - if yyl1483 == 0 { + } else if yyct1516 == codecSelferValueTypeArray1234 { + yyl1516 := r.ReadArrayStart() + if yyl1516 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1483, d) + x.codecDecodeSelfFromArray(yyl1516, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20199,12 +20714,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1484Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1484Slc - var yyhl1484 bool = l >= 0 - for yyj1484 := 0; ; yyj1484++ { - if yyhl1484 { - if yyj1484 >= l { + var yys1517Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1517Slc + var yyhl1517 bool = l >= 0 + for yyj1517 := 0; ; yyj1517++ { + if yyhl1517 { + if yyj1517 >= l { break } } else { @@ -20213,26 +20728,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1484Slc = r.DecodeBytes(yys1484Slc, true, true) - yys1484 := string(yys1484Slc) + yys1517Slc = r.DecodeBytes(yys1517Slc, true, true) + yys1517 := string(yys1517Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1484 { + switch yys1517 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1485 := &x.NodeSelectorTerms - yym1486 := z.DecBinary() - _ = yym1486 + yyv1518 := &x.NodeSelectorTerms + yym1519 := z.DecBinary() + _ = yym1519 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1485), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1518), d) } } default: - z.DecStructFieldNotFound(-1, yys1484) - } // end switch yys1484 - } // end for yyj1484 + z.DecStructFieldNotFound(-1, yys1517) + } // end switch yys1517 + } // end for yyj1517 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20240,16 +20755,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1487 int - var yyb1487 bool - var yyhl1487 bool = l >= 0 - yyj1487++ - if yyhl1487 { - yyb1487 = yyj1487 > l + var yyj1520 int + var yyb1520 bool + var yyhl1520 bool = l >= 0 + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb1487 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb1487 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20257,26 +20772,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1488 := &x.NodeSelectorTerms - yym1489 := z.DecBinary() - _ = yym1489 + yyv1521 := &x.NodeSelectorTerms + yym1522 := z.DecBinary() + _ = yym1522 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1488), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1521), d) } } for { - yyj1487++ - if yyhl1487 { - yyb1487 = yyj1487 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb1487 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb1487 { + if yyb1520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1487-1, "") + z.DecStructFieldNotFound(yyj1520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20288,36 +20803,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1490 := z.EncBinary() - _ = yym1490 + yym1523 := z.EncBinary() + _ = yym1523 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1491 := !z.EncBinary() - yy2arr1491 := z.EncBasicHandle().StructToArray - var yyq1491 [1]bool - _, _, _ = yysep1491, yyq1491, yy2arr1491 - const yyr1491 bool = false - var yynn1491 int - if yyr1491 || yy2arr1491 { + yysep1524 := !z.EncBinary() + yy2arr1524 := z.EncBasicHandle().StructToArray + var yyq1524 [1]bool + _, _, _ = yysep1524, yyq1524, yy2arr1524 + const yyr1524 bool = false + var yynn1524 int + if yyr1524 || yy2arr1524 { r.EncodeArrayStart(1) } else { - yynn1491 = 1 - for _, b := range yyq1491 { + yynn1524 = 1 + for _, b := range yyq1524 { if b { - yynn1491++ + yynn1524++ } } - r.EncodeMapStart(yynn1491) - yynn1491 = 0 + r.EncodeMapStart(yynn1524) + yynn1524 = 0 } - if yyr1491 || yy2arr1491 { + if yyr1524 || yy2arr1524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1493 := z.EncBinary() - _ = yym1493 + yym1526 := z.EncBinary() + _ = yym1526 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -20330,15 +20845,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1494 := z.EncBinary() - _ = yym1494 + yym1527 := z.EncBinary() + _ = yym1527 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr1491 || yy2arr1491 { + if yyr1524 || yy2arr1524 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20351,25 +20866,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1495 := z.DecBinary() - _ = yym1495 + yym1528 := z.DecBinary() + _ = yym1528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1496 := r.ContainerType() - if yyct1496 == codecSelferValueTypeMap1234 { - yyl1496 := r.ReadMapStart() - if yyl1496 == 0 { + yyct1529 := r.ContainerType() + if yyct1529 == codecSelferValueTypeMap1234 { + yyl1529 := r.ReadMapStart() + if yyl1529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1496, d) + x.codecDecodeSelfFromMap(yyl1529, d) } - } else if yyct1496 == codecSelferValueTypeArray1234 { - yyl1496 := r.ReadArrayStart() - if yyl1496 == 0 { + } else if yyct1529 == codecSelferValueTypeArray1234 { + yyl1529 := r.ReadArrayStart() + if yyl1529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1496, d) + x.codecDecodeSelfFromArray(yyl1529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20381,12 +20896,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1497Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1497Slc - var yyhl1497 bool = l >= 0 - for yyj1497 := 0; ; yyj1497++ { - if yyhl1497 { - if yyj1497 >= l { + var yys1530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1530Slc + var yyhl1530 bool = l >= 0 + for yyj1530 := 0; ; yyj1530++ { + if yyhl1530 { + if yyj1530 >= l { break } } else { @@ -20395,495 +20910,30 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1497Slc = r.DecodeBytes(yys1497Slc, true, true) - yys1497 := string(yys1497Slc) + yys1530Slc = r.DecodeBytes(yys1530Slc, true, true) + yys1530 := string(yys1530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1497 { + switch yys1530 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1498 := &x.MatchExpressions - yym1499 := z.DecBinary() - _ = yym1499 + yyv1531 := &x.MatchExpressions + yym1532 := z.DecBinary() + _ = yym1532 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1498), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1531), d) } } default: - z.DecStructFieldNotFound(-1, yys1497) - } // end switch yys1497 - } // end for yyj1497 + z.DecStructFieldNotFound(-1, yys1530) + } // end switch yys1530 + } // end for yyj1530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1500 int - var yyb1500 bool - var yyhl1500 bool = l >= 0 - yyj1500++ - if yyhl1500 { - yyb1500 = yyj1500 > l - } else { - yyb1500 = r.CheckBreak() - } - if yyb1500 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MatchExpressions = nil - } else { - yyv1501 := &x.MatchExpressions - yym1502 := z.DecBinary() - _ = yym1502 - if false { - } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1501), d) - } - } - for { - yyj1500++ - if yyhl1500 { - yyb1500 = yyj1500 > l - } else { - yyb1500 = r.CheckBreak() - } - if yyb1500 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1500-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1503 := z.EncBinary() - _ = yym1503 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1504 := !z.EncBinary() - yy2arr1504 := z.EncBasicHandle().StructToArray - var yyq1504 [3]bool - _, _, _ = yysep1504, yyq1504, yy2arr1504 - const yyr1504 bool = false - yyq1504[2] = len(x.Values) != 0 - var yynn1504 int - if yyr1504 || yy2arr1504 { - r.EncodeArrayStart(3) - } else { - yynn1504 = 2 - for _, b := range yyq1504 { - if b { - yynn1504++ - } - } - r.EncodeMapStart(yynn1504) - yynn1504 = 0 - } - if yyr1504 || yy2arr1504 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1506 := z.EncBinary() - _ = yym1506 - 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) - yym1507 := z.EncBinary() - _ = yym1507 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr1504 || yy2arr1504 { - 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 yyr1504 || yy2arr1504 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1504[2] { - if x.Values == nil { - r.EncodeNil() - } else { - yym1510 := z.EncBinary() - _ = yym1510 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1504[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("values")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Values == nil { - r.EncodeNil() - } else { - yym1511 := z.EncBinary() - _ = yym1511 - if false { - } else { - z.F.EncSliceStringV(x.Values, false, e) - } - } - } - } - if yyr1504 || yy2arr1504 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1512 := z.DecBinary() - _ = yym1512 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1513 := r.ContainerType() - if yyct1513 == codecSelferValueTypeMap1234 { - yyl1513 := r.ReadMapStart() - if yyl1513 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1513, d) - } - } else if yyct1513 == codecSelferValueTypeArray1234 { - yyl1513 := r.ReadArrayStart() - if yyl1513 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1513, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1514Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1514Slc - var yyhl1514 bool = l >= 0 - for yyj1514 := 0; ; yyj1514++ { - if yyhl1514 { - if yyj1514 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1514Slc = r.DecodeBytes(yys1514Slc, true, true) - yys1514 := string(yys1514Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1514 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - case "operator": - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) - } - case "values": - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1517 := &x.Values - yym1518 := z.DecBinary() - _ = yym1518 - if false { - } else { - z.F.DecSliceStringX(yyv1517, false, d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1514) - } // end switch yys1514 - } // end for yyj1514 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1519 int - var yyb1519 bool - var yyhl1519 bool = l >= 0 - yyj1519++ - if yyhl1519 { - yyb1519 = yyj1519 > l - } else { - yyb1519 = r.CheckBreak() - } - if yyb1519 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj1519++ - if yyhl1519 { - yyb1519 = yyj1519 > l - } else { - yyb1519 = r.CheckBreak() - } - if yyb1519 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Operator = "" - } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) - } - yyj1519++ - if yyhl1519 { - yyb1519 = yyj1519 > l - } else { - yyb1519 = r.CheckBreak() - } - if yyb1519 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Values = nil - } else { - yyv1522 := &x.Values - yym1523 := z.DecBinary() - _ = yym1523 - if false { - } else { - z.F.DecSliceStringX(yyv1522, false, d) - } - } - for { - yyj1519++ - if yyhl1519 { - yyb1519 = yyj1519 > l - } else { - yyb1519 = r.CheckBreak() - } - if yyb1519 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1519-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1524 := z.EncBinary() - _ = yym1524 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1525 := z.DecBinary() - _ = yym1525 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1526 := z.EncBinary() - _ = yym1526 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1527 := !z.EncBinary() - yy2arr1527 := z.EncBasicHandle().StructToArray - var yyq1527 [1]bool - _, _, _ = yysep1527, yyq1527, yy2arr1527 - const yyr1527 bool = false - yyq1527[0] = x.NodeAffinity != nil - var yynn1527 int - if yyr1527 || yy2arr1527 { - r.EncodeArrayStart(1) - } else { - yynn1527 = 0 - for _, b := range yyq1527 { - if b { - yynn1527++ - } - } - r.EncodeMapStart(yynn1527) - yynn1527 = 0 - } - if yyr1527 || yy2arr1527 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1527[0] { - if x.NodeAffinity == nil { - r.EncodeNil() - } else { - x.NodeAffinity.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq1527[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.NodeAffinity == nil { - r.EncodeNil() - } else { - x.NodeAffinity.CodecEncodeSelf(e) - } - } - } - if yyr1527 || yy2arr1527 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1529 := z.DecBinary() - _ = yym1529 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1530 := r.ContainerType() - if yyct1530 == codecSelferValueTypeMap1234 { - yyl1530 := r.ReadMapStart() - if yyl1530 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1530, d) - } - } else if yyct1530 == codecSelferValueTypeArray1234 { - yyl1530 := r.ReadArrayStart() - if yyl1530 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1530, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1531Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1531Slc - var yyhl1531 bool = l >= 0 - for yyj1531 := 0; ; yyj1531++ { - if yyhl1531 { - if yyj1531 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1531Slc = r.DecodeBytes(yys1531Slc, true, true) - yys1531 := string(yys1531Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1531 { - case "nodeAffinity": - if r.TryDecodeAsNil() { - if x.NodeAffinity != nil { - x.NodeAffinity = nil - } - } else { - if x.NodeAffinity == nil { - x.NodeAffinity = new(NodeAffinity) - } - x.NodeAffinity.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1531) - } // end switch yys1531 - } // end for yyj1531 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -20902,14 +20952,15 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.NodeAffinity != nil { - x.NodeAffinity = nil - } + x.MatchExpressions = nil } else { - if x.NodeAffinity == nil { - x.NodeAffinity = new(NodeAffinity) + yyv1534 := &x.MatchExpressions + yym1535 := z.DecBinary() + _ = yym1535 + if false { + } else { + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1534), d) } - x.NodeAffinity.CodecDecodeSelf(d) } for { yyj1533++ @@ -20927,119 +20978,99 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1535 := z.EncBinary() - _ = yym1535 + yym1536 := z.EncBinary() + _ = yym1536 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1536 := !z.EncBinary() - yy2arr1536 := z.EncBasicHandle().StructToArray - var yyq1536 [3]bool - _, _, _ = yysep1536, yyq1536, yy2arr1536 - const yyr1536 bool = false - yyq1536[0] = x.RequiredDuringSchedulingRequiredDuringExecution != nil - yyq1536[1] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq1536[2] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1536 int - if yyr1536 || yy2arr1536 { + yysep1537 := !z.EncBinary() + yy2arr1537 := z.EncBasicHandle().StructToArray + var yyq1537 [3]bool + _, _, _ = yysep1537, yyq1537, yy2arr1537 + const yyr1537 bool = false + yyq1537[2] = len(x.Values) != 0 + var yynn1537 int + if yyr1537 || yy2arr1537 { r.EncodeArrayStart(3) } else { - yynn1536 = 0 - for _, b := range yyq1536 { + yynn1537 = 2 + for _, b := range yyq1537 { if b { - yynn1536++ + yynn1537++ } } - r.EncodeMapStart(yynn1536) - yynn1536 = 0 + r.EncodeMapStart(yynn1537) + yynn1537 = 0 } - if yyr1536 || yy2arr1536 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1536[0] { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) - } + yym1539 := z.EncBinary() + _ = yym1539 + if false { } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } else { - if yyq1536[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingRequiredDuringExecution")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) - } - } - } - if yyr1536 || yy2arr1536 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1536[1] { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) - } + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1540 := z.EncBinary() + _ = yym1540 + if false { } else { - r.EncodeNil() - } - } else { - if yyq1536[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - r.EncodeNil() - } else { - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1536 || yy2arr1536 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1536[2] { - if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + x.Operator.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("operator")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Operator.CodecEncodeSelf(e) + } + if yyr1537 || yy2arr1537 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1537[2] { + if x.Values == nil { r.EncodeNil() } else { - yym1540 := z.EncBinary() - _ = yym1540 + yym1543 := z.EncBinary() + _ = yym1543 if false { } else { - h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + z.F.EncSliceStringV(x.Values, false, e) } } } else { r.EncodeNil() } } else { - if yyq1536[2] { + if yyq1537[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) + r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + if x.Values == nil { r.EncodeNil() } else { - yym1541 := z.EncBinary() - _ = yym1541 + yym1544 := z.EncBinary() + _ = yym1544 if false { } else { - h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + z.F.EncSliceStringV(x.Values, false, e) } } } } - if yyr1536 || yy2arr1536 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21048,29 +21079,29 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1542 := z.DecBinary() - _ = yym1542 + yym1545 := z.DecBinary() + _ = yym1545 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1543 := r.ContainerType() - if yyct1543 == codecSelferValueTypeMap1234 { - yyl1543 := r.ReadMapStart() - if yyl1543 == 0 { + yyct1546 := r.ContainerType() + if yyct1546 == codecSelferValueTypeMap1234 { + yyl1546 := r.ReadMapStart() + if yyl1546 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1543, d) + x.codecDecodeSelfFromMap(yyl1546, d) } - } else if yyct1543 == codecSelferValueTypeArray1234 { - yyl1543 := r.ReadArrayStart() - if yyl1543 == 0 { + } else if yyct1546 == codecSelferValueTypeArray1234 { + yyl1546 := r.ReadArrayStart() + if yyl1546 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1543, d) + x.codecDecodeSelfFromArray(yyl1546, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21078,16 +21109,16 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1544Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1544Slc - var yyhl1544 bool = l >= 0 - for yyj1544 := 0; ; yyj1544++ { - if yyhl1544 { - if yyj1544 >= l { + var yys1547Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1547Slc + var yyhl1547 bool = l >= 0 + for yyj1547 := 0; ; yyj1547++ { + if yyhl1547 { + if yyj1547 >= l { break } } else { @@ -21096,199 +21127,199 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1544Slc = r.DecodeBytes(yys1544Slc, true, true) - yys1544 := string(yys1544Slc) + yys1547Slc = r.DecodeBytes(yys1547Slc, true, true) + yys1547 := string(yys1547Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1544 { - case "requiredDuringSchedulingRequiredDuringExecution": + switch yys1547 { + case "key": if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingRequiredDuringExecution != nil { - x.RequiredDuringSchedulingRequiredDuringExecution = nil - } + x.Key = "" } else { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + x.Key = string(r.DecodeString()) } - case "requiredDuringSchedulingIgnoredDuringExecution": + case "operator": if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = nil - } + x.Operator = "" } else { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + x.Operator = NodeSelectorOperator(r.DecodeString()) } - case "preferredDuringSchedulingIgnoredDuringExecution": + case "values": if r.TryDecodeAsNil() { - x.PreferredDuringSchedulingIgnoredDuringExecution = nil + x.Values = nil } else { - yyv1547 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1548 := z.DecBinary() - _ = yym1548 + yyv1550 := &x.Values + yym1551 := z.DecBinary() + _ = yym1551 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1547), d) + z.F.DecSliceStringX(yyv1550, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1544) - } // end switch yys1544 - } // end for yyj1544 + z.DecStructFieldNotFound(-1, yys1547) + } // end switch yys1547 + } // end for yyj1547 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1549 int - var yyb1549 bool - var yyhl1549 bool = l >= 0 - yyj1549++ - if yyhl1549 { - yyb1549 = yyj1549 > l + var yyj1552 int + var yyb1552 bool + var yyhl1552 bool = l >= 0 + yyj1552++ + if yyhl1552 { + yyb1552 = yyj1552 > l } else { - yyb1549 = r.CheckBreak() + yyb1552 = r.CheckBreak() } - if yyb1549 { + if yyb1552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingRequiredDuringExecution != nil { - x.RequiredDuringSchedulingRequiredDuringExecution = nil - } + x.Key = "" } else { - if x.RequiredDuringSchedulingRequiredDuringExecution == nil { - x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + x.Key = string(r.DecodeString()) } - yyj1549++ - if yyhl1549 { - yyb1549 = yyj1549 > l + yyj1552++ + if yyhl1552 { + yyb1552 = yyj1552 > l } else { - yyb1549 = r.CheckBreak() + yyb1552 = r.CheckBreak() } - if yyb1549 { + if yyb1552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = nil - } + x.Operator = "" } else { - if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { - x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) - } - x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj1549++ - if yyhl1549 { - yyb1549 = yyj1549 > l + yyj1552++ + if yyhl1552 { + yyb1552 = yyj1552 > l } else { - yyb1549 = r.CheckBreak() + yyb1552 = r.CheckBreak() } - if yyb1549 { + if yyb1552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PreferredDuringSchedulingIgnoredDuringExecution = nil + x.Values = nil } else { - yyv1552 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1553 := z.DecBinary() - _ = yym1553 + yyv1555 := &x.Values + yym1556 := z.DecBinary() + _ = yym1556 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1552), d) + z.F.DecSliceStringX(yyv1555, false, d) } } for { - yyj1549++ - if yyhl1549 { - yyb1549 = yyj1549 > l + yyj1552++ + if yyhl1552 { + yyb1552 = yyj1552 > l } else { - yyb1549 = r.CheckBreak() + yyb1552 = r.CheckBreak() } - if yyb1549 { + if yyb1552 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1549-1, "") + z.DecStructFieldNotFound(yyj1552-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { +func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1557 := z.EncBinary() + _ = yym1557 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1558 := z.DecBinary() + _ = yym1558 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1554 := z.EncBinary() - _ = yym1554 + yym1559 := z.EncBinary() + _ = yym1559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1555 := !z.EncBinary() - yy2arr1555 := z.EncBasicHandle().StructToArray - var yyq1555 [2]bool - _, _, _ = yysep1555, yyq1555, yy2arr1555 - const yyr1555 bool = false - var yynn1555 int - if yyr1555 || yy2arr1555 { - r.EncodeArrayStart(2) + yysep1560 := !z.EncBinary() + yy2arr1560 := z.EncBasicHandle().StructToArray + var yyq1560 [1]bool + _, _, _ = yysep1560, yyq1560, yy2arr1560 + const yyr1560 bool = false + yyq1560[0] = x.NodeAffinity != nil + var yynn1560 int + if yyr1560 || yy2arr1560 { + r.EncodeArrayStart(1) } else { - yynn1555 = 2 - for _, b := range yyq1555 { + yynn1560 = 0 + for _, b := range yyq1560 { if b { - yynn1555++ + yynn1560++ } } - r.EncodeMapStart(yynn1555) - yynn1555 = 0 + r.EncodeMapStart(yynn1560) + yynn1560 = 0 } - if yyr1555 || yy2arr1555 { + if yyr1560 || yy2arr1560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1557 := z.EncBinary() - _ = yym1557 - if false { + if yyq1560[0] { + if x.NodeAffinity == nil { + r.EncodeNil() + } else { + x.NodeAffinity.CodecEncodeSelf(e) + } } else { - r.EncodeInt(int64(x.Weight)) + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("weight")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1558 := z.EncBinary() - _ = yym1558 - if false { - } else { - r.EncodeInt(int64(x.Weight)) + if yyq1560[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.NodeAffinity == nil { + r.EncodeNil() + } else { + x.NodeAffinity.CodecEncodeSelf(e) + } } } - if yyr1555 || yy2arr1555 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1560 := &x.Preference - yy1560.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("preference")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1561 := &x.Preference - yy1561.CodecEncodeSelf(e) - } - if yyr1555 || yy2arr1555 { + if yyr1560 || yy2arr1560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21297,7 +21328,7 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -21327,7 +21358,7 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -21349,6 +21380,490 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec yys1564 := string(yys1564Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1564 { + case "nodeAffinity": + if r.TryDecodeAsNil() { + if x.NodeAffinity != nil { + x.NodeAffinity = nil + } + } else { + if x.NodeAffinity == nil { + x.NodeAffinity = new(NodeAffinity) + } + x.NodeAffinity.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1564) + } // end switch yys1564 + } // end for yyj1564 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1566 int + var yyb1566 bool + var yyhl1566 bool = l >= 0 + yyj1566++ + if yyhl1566 { + yyb1566 = yyj1566 > l + } else { + yyb1566 = r.CheckBreak() + } + if yyb1566 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.NodeAffinity != nil { + x.NodeAffinity = nil + } + } else { + if x.NodeAffinity == nil { + x.NodeAffinity = new(NodeAffinity) + } + x.NodeAffinity.CodecDecodeSelf(d) + } + for { + yyj1566++ + if yyhl1566 { + yyb1566 = yyj1566 > l + } else { + yyb1566 = r.CheckBreak() + } + if yyb1566 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1566-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1568 := z.EncBinary() + _ = yym1568 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1569 := !z.EncBinary() + yy2arr1569 := z.EncBasicHandle().StructToArray + var yyq1569 [3]bool + _, _, _ = yysep1569, yyq1569, yy2arr1569 + const yyr1569 bool = false + yyq1569[0] = x.RequiredDuringSchedulingRequiredDuringExecution != nil + yyq1569[1] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1569[2] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1569 int + if yyr1569 || yy2arr1569 { + r.EncodeArrayStart(3) + } else { + yynn1569 = 0 + for _, b := range yyq1569 { + if b { + yynn1569++ + } + } + r.EncodeMapStart(yynn1569) + yynn1569 = 0 + } + if yyr1569 || yy2arr1569 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1569[0] { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1569[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingRequiredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingRequiredDuringExecution.CodecEncodeSelf(e) + } + } + } + if yyr1569 || yy2arr1569 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1569[1] { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1569[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecEncodeSelf(e) + } + } + } + if yyr1569 || yy2arr1569 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1569[2] { + if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + yym1573 := z.EncBinary() + _ = yym1573 + if false { + } else { + h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1569[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { + r.EncodeNil() + } else { + yym1574 := z.EncBinary() + _ = yym1574 + if false { + } else { + h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) + } + } + } + } + if yyr1569 || yy2arr1569 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1575 := z.DecBinary() + _ = yym1575 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1576 := r.ContainerType() + if yyct1576 == codecSelferValueTypeMap1234 { + yyl1576 := r.ReadMapStart() + if yyl1576 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1576, d) + } + } else if yyct1576 == codecSelferValueTypeArray1234 { + yyl1576 := r.ReadArrayStart() + if yyl1576 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1576, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1577Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1577Slc + var yyhl1577 bool = l >= 0 + for yyj1577 := 0; ; yyj1577++ { + if yyhl1577 { + if yyj1577 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1577Slc = r.DecodeBytes(yys1577Slc, true, true) + yys1577 := string(yys1577Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1577 { + case "requiredDuringSchedulingRequiredDuringExecution": + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingRequiredDuringExecution != nil { + x.RequiredDuringSchedulingRequiredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + } + case "requiredDuringSchedulingIgnoredDuringExecution": + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + } + case "preferredDuringSchedulingIgnoredDuringExecution": + if r.TryDecodeAsNil() { + x.PreferredDuringSchedulingIgnoredDuringExecution = nil + } else { + yyv1580 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1581 := z.DecBinary() + _ = yym1581 + if false { + } else { + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1580), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1577) + } // end switch yys1577 + } // end for yyj1577 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1582 int + var yyb1582 bool + var yyhl1582 bool = l >= 0 + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l + } else { + yyb1582 = r.CheckBreak() + } + if yyb1582 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingRequiredDuringExecution != nil { + x.RequiredDuringSchedulingRequiredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingRequiredDuringExecution == nil { + x.RequiredDuringSchedulingRequiredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingRequiredDuringExecution.CodecDecodeSelf(d) + } + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l + } else { + yyb1582 = r.CheckBreak() + } + if yyb1582 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = nil + } + } else { + if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { + x.RequiredDuringSchedulingIgnoredDuringExecution = new(NodeSelector) + } + x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) + } + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l + } else { + yyb1582 = r.CheckBreak() + } + if yyb1582 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PreferredDuringSchedulingIgnoredDuringExecution = nil + } else { + yyv1585 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1586 := z.DecBinary() + _ = yym1586 + if false { + } else { + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1585), d) + } + } + for { + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l + } else { + yyb1582 = r.CheckBreak() + } + if yyb1582 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1582-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1587 := z.EncBinary() + _ = yym1587 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1588 := !z.EncBinary() + yy2arr1588 := z.EncBasicHandle().StructToArray + var yyq1588 [2]bool + _, _, _ = yysep1588, yyq1588, yy2arr1588 + const yyr1588 bool = false + var yynn1588 int + if yyr1588 || yy2arr1588 { + r.EncodeArrayStart(2) + } else { + yynn1588 = 2 + for _, b := range yyq1588 { + if b { + yynn1588++ + } + } + r.EncodeMapStart(yynn1588) + yynn1588 = 0 + } + if yyr1588 || yy2arr1588 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1590 := z.EncBinary() + _ = yym1590 + if false { + } else { + r.EncodeInt(int64(x.Weight)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("weight")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1591 := z.EncBinary() + _ = yym1591 + if false { + } else { + r.EncodeInt(int64(x.Weight)) + } + } + if yyr1588 || yy2arr1588 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1593 := &x.Preference + yy1593.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("preference")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1594 := &x.Preference + yy1594.CodecEncodeSelf(e) + } + if yyr1588 || yy2arr1588 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1595 := z.DecBinary() + _ = yym1595 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1596 := r.ContainerType() + if yyct1596 == codecSelferValueTypeMap1234 { + yyl1596 := r.ReadMapStart() + if yyl1596 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1596, d) + } + } else if yyct1596 == codecSelferValueTypeArray1234 { + yyl1596 := r.ReadArrayStart() + if yyl1596 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1596, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1597Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1597Slc + var yyhl1597 bool = l >= 0 + for yyj1597 := 0; ; yyj1597++ { + if yyhl1597 { + if yyj1597 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1597Slc = r.DecodeBytes(yys1597Slc, true, true) + yys1597 := string(yys1597Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1597 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -21359,13 +21874,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1566 := &x.Preference - yyv1566.CodecDecodeSelf(d) + yyv1599 := &x.Preference + yyv1599.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1564) - } // end switch yys1564 - } // end for yyj1564 + z.DecStructFieldNotFound(-1, yys1597) + } // end switch yys1597 + } // end for yyj1597 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21373,16 +21888,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1567 int - var yyb1567 bool - var yyhl1567 bool = l >= 0 - yyj1567++ - if yyhl1567 { - yyb1567 = yyj1567 > l + var yyj1600 int + var yyb1600 bool + var yyhl1600 bool = l >= 0 + yyj1600++ + if yyhl1600 { + yyb1600 = yyj1600 > l } else { - yyb1567 = r.CheckBreak() + yyb1600 = r.CheckBreak() } - if yyb1567 { + if yyb1600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21392,13 +21907,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1567++ - if yyhl1567 { - yyb1567 = yyj1567 > l + yyj1600++ + if yyhl1600 { + yyb1600 = yyj1600 > l } else { - yyb1567 = r.CheckBreak() + yyb1600 = r.CheckBreak() } - if yyb1567 { + if yyb1600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21406,21 +21921,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1569 := &x.Preference - yyv1569.CodecDecodeSelf(d) + yyv1602 := &x.Preference + yyv1602.CodecDecodeSelf(d) } for { - yyj1567++ - if yyhl1567 { - yyb1567 = yyj1567 > l + yyj1600++ + if yyhl1600 { + yyb1600 = yyj1600 > l } else { - yyb1567 = r.CheckBreak() + yyb1600 = r.CheckBreak() } - if yyb1567 { + if yyb1600 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1567-1, "") + z.DecStructFieldNotFound(yyj1600-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21432,51 +21947,51 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1570 := z.EncBinary() - _ = yym1570 + yym1603 := z.EncBinary() + _ = yym1603 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1571 := !z.EncBinary() - yy2arr1571 := z.EncBasicHandle().StructToArray - var yyq1571 [15]bool - _, _, _ = yysep1571, yyq1571, yy2arr1571 - const yyr1571 bool = false - yyq1571[0] = len(x.Volumes) != 0 - yyq1571[2] = x.RestartPolicy != "" - yyq1571[3] = x.TerminationGracePeriodSeconds != nil - yyq1571[4] = x.ActiveDeadlineSeconds != nil - yyq1571[5] = x.DNSPolicy != "" - yyq1571[6] = len(x.NodeSelector) != 0 - yyq1571[7] = x.ServiceAccountName != "" - yyq1571[8] = x.DeprecatedServiceAccount != "" - yyq1571[9] = x.NodeName != "" - yyq1571[10] = x.HostNetwork != false - yyq1571[11] = x.HostPID != false - yyq1571[12] = x.HostIPC != false - yyq1571[13] = x.SecurityContext != nil - yyq1571[14] = len(x.ImagePullSecrets) != 0 - var yynn1571 int - if yyr1571 || yy2arr1571 { + yysep1604 := !z.EncBinary() + yy2arr1604 := z.EncBasicHandle().StructToArray + var yyq1604 [15]bool + _, _, _ = yysep1604, yyq1604, yy2arr1604 + const yyr1604 bool = false + yyq1604[0] = len(x.Volumes) != 0 + yyq1604[2] = x.RestartPolicy != "" + yyq1604[3] = x.TerminationGracePeriodSeconds != nil + yyq1604[4] = x.ActiveDeadlineSeconds != nil + yyq1604[5] = x.DNSPolicy != "" + yyq1604[6] = len(x.NodeSelector) != 0 + yyq1604[7] = x.ServiceAccountName != "" + yyq1604[8] = x.DeprecatedServiceAccount != "" + yyq1604[9] = x.NodeName != "" + yyq1604[10] = x.HostNetwork != false + yyq1604[11] = x.HostPID != false + yyq1604[12] = x.HostIPC != false + yyq1604[13] = x.SecurityContext != nil + yyq1604[14] = len(x.ImagePullSecrets) != 0 + var yynn1604 int + if yyr1604 || yy2arr1604 { r.EncodeArrayStart(15) } else { - yynn1571 = 1 - for _, b := range yyq1571 { + yynn1604 = 1 + for _, b := range yyq1604 { if b { - yynn1571++ + yynn1604++ } } - r.EncodeMapStart(yynn1571) - yynn1571 = 0 + r.EncodeMapStart(yynn1604) + yynn1604 = 0 } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[0] { + if yyq1604[0] { if x.Volumes == nil { r.EncodeNil() } else { - yym1573 := z.EncBinary() - _ = yym1573 + yym1606 := z.EncBinary() + _ = yym1606 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -21486,15 +22001,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1571[0] { + if yyq1604[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1574 := z.EncBinary() - _ = yym1574 + yym1607 := z.EncBinary() + _ = yym1607 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -21502,13 +22017,13 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym1576 := z.EncBinary() - _ = yym1576 + yym1609 := z.EncBinary() + _ = yym1609 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -21521,122 +22036,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym1577 := z.EncBinary() - _ = yym1577 + yym1610 := z.EncBinary() + _ = yym1610 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[2] { + if yyq1604[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1571[2] { + if yyq1604[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[3] { + if yyq1604[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1580 := *x.TerminationGracePeriodSeconds - yym1581 := z.EncBinary() - _ = yym1581 + yy1613 := *x.TerminationGracePeriodSeconds + yym1614 := z.EncBinary() + _ = yym1614 if false { } else { - r.EncodeInt(int64(yy1580)) + r.EncodeInt(int64(yy1613)) } } } else { r.EncodeNil() } } else { - if yyq1571[3] { + if yyq1604[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1582 := *x.TerminationGracePeriodSeconds - yym1583 := z.EncBinary() - _ = yym1583 + yy1615 := *x.TerminationGracePeriodSeconds + yym1616 := z.EncBinary() + _ = yym1616 if false { } else { - r.EncodeInt(int64(yy1582)) + r.EncodeInt(int64(yy1615)) } } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[4] { + if yyq1604[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1585 := *x.ActiveDeadlineSeconds - yym1586 := z.EncBinary() - _ = yym1586 + yy1618 := *x.ActiveDeadlineSeconds + yym1619 := z.EncBinary() + _ = yym1619 if false { } else { - r.EncodeInt(int64(yy1585)) + r.EncodeInt(int64(yy1618)) } } } else { r.EncodeNil() } } else { - if yyq1571[4] { + if yyq1604[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1587 := *x.ActiveDeadlineSeconds - yym1588 := z.EncBinary() - _ = yym1588 + yy1620 := *x.ActiveDeadlineSeconds + yym1621 := z.EncBinary() + _ = yym1621 if false { } else { - r.EncodeInt(int64(yy1587)) + r.EncodeInt(int64(yy1620)) } } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[5] { + if yyq1604[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1571[5] { + if yyq1604[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[6] { + if yyq1604[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym1591 := z.EncBinary() - _ = yym1591 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -21646,15 +22161,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1571[6] { + if yyq1604[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym1592 := z.EncBinary() - _ = yym1592 + yym1625 := z.EncBinary() + _ = yym1625 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -21662,11 +22177,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[7] { - yym1594 := z.EncBinary() - _ = yym1594 + if yyq1604[7] { + yym1627 := z.EncBinary() + _ = yym1627 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -21675,23 +22190,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1571[7] { + if yyq1604[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1595 := z.EncBinary() - _ = yym1595 + yym1628 := z.EncBinary() + _ = yym1628 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[8] { - yym1597 := z.EncBinary() - _ = yym1597 + if yyq1604[8] { + yym1630 := z.EncBinary() + _ = yym1630 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) @@ -21700,23 +22215,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1571[8] { + if yyq1604[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1598 := z.EncBinary() - _ = yym1598 + yym1631 := z.EncBinary() + _ = yym1631 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[9] { - yym1600 := z.EncBinary() - _ = yym1600 + if yyq1604[9] { + yym1633 := z.EncBinary() + _ = yym1633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -21725,23 +22240,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1571[9] { + if yyq1604[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1601 := z.EncBinary() - _ = yym1601 + yym1634 := z.EncBinary() + _ = yym1634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[10] { - yym1603 := z.EncBinary() - _ = yym1603 + if yyq1604[10] { + yym1636 := z.EncBinary() + _ = yym1636 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -21750,23 +22265,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1571[10] { + if yyq1604[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1604 := z.EncBinary() - _ = yym1604 + yym1637 := z.EncBinary() + _ = yym1637 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[11] { - yym1606 := z.EncBinary() - _ = yym1606 + if yyq1604[11] { + yym1639 := z.EncBinary() + _ = yym1639 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -21775,23 +22290,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1571[11] { + if yyq1604[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1607 := z.EncBinary() - _ = yym1607 + yym1640 := z.EncBinary() + _ = yym1640 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[12] { - yym1609 := z.EncBinary() - _ = yym1609 + if yyq1604[12] { + yym1642 := z.EncBinary() + _ = yym1642 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -21800,21 +22315,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1571[12] { + if yyq1604[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1610 := z.EncBinary() - _ = yym1610 + yym1643 := z.EncBinary() + _ = yym1643 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[13] { + if yyq1604[13] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -21824,7 +22339,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1571[13] { + if yyq1604[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21835,14 +22350,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1571[14] { + if yyq1604[14] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1613 := z.EncBinary() - _ = yym1613 + yym1646 := z.EncBinary() + _ = yym1646 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -21852,15 +22367,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1571[14] { + if yyq1604[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1614 := z.EncBinary() - _ = yym1614 + yym1647 := z.EncBinary() + _ = yym1647 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -21868,7 +22383,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1571 || yy2arr1571 { + if yyr1604 || yy2arr1604 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21881,25 +22396,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1615 := z.DecBinary() - _ = yym1615 + yym1648 := z.DecBinary() + _ = yym1648 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1616 := r.ContainerType() - if yyct1616 == codecSelferValueTypeMap1234 { - yyl1616 := r.ReadMapStart() - if yyl1616 == 0 { + yyct1649 := r.ContainerType() + if yyct1649 == codecSelferValueTypeMap1234 { + yyl1649 := r.ReadMapStart() + if yyl1649 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1616, d) + x.codecDecodeSelfFromMap(yyl1649, d) } - } else if yyct1616 == codecSelferValueTypeArray1234 { - yyl1616 := r.ReadArrayStart() - if yyl1616 == 0 { + } else if yyct1649 == codecSelferValueTypeArray1234 { + yyl1649 := r.ReadArrayStart() + if yyl1649 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1616, d) + x.codecDecodeSelfFromArray(yyl1649, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21911,12 +22426,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1617Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1617Slc - var yyhl1617 bool = l >= 0 - for yyj1617 := 0; ; yyj1617++ { - if yyhl1617 { - if yyj1617 >= l { + var yys1650Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1650Slc + var yyhl1650 bool = l >= 0 + for yyj1650 := 0; ; yyj1650++ { + if yyhl1650 { + if yyj1650 >= l { break } } else { @@ -21925,32 +22440,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1617Slc = r.DecodeBytes(yys1617Slc, true, true) - yys1617 := string(yys1617Slc) + yys1650Slc = r.DecodeBytes(yys1650Slc, true, true) + yys1650 := string(yys1650Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1617 { + switch yys1650 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1618 := &x.Volumes - yym1619 := z.DecBinary() - _ = yym1619 + yyv1651 := &x.Volumes + yym1652 := z.DecBinary() + _ = yym1652 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1618), d) + h.decSliceVolume((*[]Volume)(yyv1651), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1620 := &x.Containers - yym1621 := z.DecBinary() - _ = yym1621 + yyv1653 := &x.Containers + yym1654 := z.DecBinary() + _ = yym1654 if false { } else { - h.decSliceContainer((*[]Container)(yyv1620), d) + h.decSliceContainer((*[]Container)(yyv1653), d) } } case "restartPolicy": @@ -21968,8 +22483,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1624 := z.DecBinary() - _ = yym1624 + yym1657 := z.DecBinary() + _ = yym1657 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -21984,8 +22499,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1626 := z.DecBinary() - _ = yym1626 + yym1659 := z.DecBinary() + _ = yym1659 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -22001,12 +22516,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1628 := &x.NodeSelector - yym1629 := z.DecBinary() - _ = yym1629 + yyv1661 := &x.NodeSelector + yym1662 := z.DecBinary() + _ = yym1662 if false { } else { - z.F.DecMapStringStringX(yyv1628, false, d) + z.F.DecMapStringStringX(yyv1661, false, d) } } case "serviceAccountName": @@ -22060,18 +22575,18 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1637 := &x.ImagePullSecrets - yym1638 := z.DecBinary() - _ = yym1638 + yyv1670 := &x.ImagePullSecrets + yym1671 := z.DecBinary() + _ = yym1671 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1637), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1670), d) } } default: - z.DecStructFieldNotFound(-1, yys1617) - } // end switch yys1617 - } // end for yyj1617 + z.DecStructFieldNotFound(-1, yys1650) + } // end switch yys1650 + } // end for yyj1650 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22079,16 +22594,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1639 int - var yyb1639 bool - var yyhl1639 bool = l >= 0 - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + var yyj1672 int + var yyb1672 bool + var yyhl1672 bool = l >= 0 + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22096,21 +22611,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1640 := &x.Volumes - yym1641 := z.DecBinary() - _ = yym1641 + yyv1673 := &x.Volumes + yym1674 := z.DecBinary() + _ = yym1674 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1640), d) + h.decSliceVolume((*[]Volume)(yyv1673), d) } } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22118,21 +22633,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1642 := &x.Containers - yym1643 := z.DecBinary() - _ = yym1643 + yyv1675 := &x.Containers + yym1676 := z.DecBinary() + _ = yym1676 if false { } else { - h.decSliceContainer((*[]Container)(yyv1642), d) + h.decSliceContainer((*[]Container)(yyv1675), d) } } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22142,13 +22657,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22161,20 +22676,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1646 := z.DecBinary() - _ = yym1646 + yym1679 := z.DecBinary() + _ = yym1679 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22187,20 +22702,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1648 := z.DecBinary() - _ = yym1648 + yym1681 := z.DecBinary() + _ = yym1681 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22210,13 +22725,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22224,21 +22739,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1650 := &x.NodeSelector - yym1651 := z.DecBinary() - _ = yym1651 + yyv1683 := &x.NodeSelector + yym1684 := z.DecBinary() + _ = yym1684 if false { } else { - z.F.DecMapStringStringX(yyv1650, false, d) + z.F.DecMapStringStringX(yyv1683, false, d) } } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22248,13 +22763,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22264,13 +22779,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DeprecatedServiceAccount = string(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22280,13 +22795,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22296,13 +22811,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22312,13 +22827,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPID = bool(r.DecodeBool()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22328,13 +22843,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22349,13 +22864,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22363,26 +22878,26 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1659 := &x.ImagePullSecrets - yym1660 := z.DecBinary() - _ = yym1660 + yyv1692 := &x.ImagePullSecrets + yym1693 := z.DecBinary() + _ = yym1693 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1659), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1692), d) } } for { - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1639 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1639 { + if yyb1672 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1639-1, "") + z.DecStructFieldNotFound(yyj1672-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22394,37 +22909,37 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1661 := z.EncBinary() - _ = yym1661 + yym1694 := z.EncBinary() + _ = yym1694 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1662 := !z.EncBinary() - yy2arr1662 := z.EncBasicHandle().StructToArray - var yyq1662 [5]bool - _, _, _ = yysep1662, yyq1662, yy2arr1662 - const yyr1662 bool = false - yyq1662[0] = x.SELinuxOptions != nil - yyq1662[1] = x.RunAsUser != nil - yyq1662[2] = x.RunAsNonRoot != nil - yyq1662[3] = len(x.SupplementalGroups) != 0 - yyq1662[4] = x.FSGroup != nil - var yynn1662 int - if yyr1662 || yy2arr1662 { + yysep1695 := !z.EncBinary() + yy2arr1695 := z.EncBasicHandle().StructToArray + var yyq1695 [5]bool + _, _, _ = yysep1695, yyq1695, yy2arr1695 + const yyr1695 bool = false + yyq1695[0] = x.SELinuxOptions != nil + yyq1695[1] = x.RunAsUser != nil + yyq1695[2] = x.RunAsNonRoot != nil + yyq1695[3] = len(x.SupplementalGroups) != 0 + yyq1695[4] = x.FSGroup != nil + var yynn1695 int + if yyr1695 || yy2arr1695 { r.EncodeArrayStart(5) } else { - yynn1662 = 0 - for _, b := range yyq1662 { + yynn1695 = 0 + for _, b := range yyq1695 { if b { - yynn1662++ + yynn1695++ } } - r.EncodeMapStart(yynn1662) - yynn1662 = 0 + r.EncodeMapStart(yynn1695) + yynn1695 = 0 } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1662[0] { + if yyq1695[0] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -22434,7 +22949,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1662[0] { + if yyq1695[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22445,84 +22960,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1662[1] { + if yyq1695[1] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy1665 := *x.RunAsUser - yym1666 := z.EncBinary() - _ = yym1666 + yy1698 := *x.RunAsUser + yym1699 := z.EncBinary() + _ = yym1699 if false { } else { - r.EncodeInt(int64(yy1665)) + r.EncodeInt(int64(yy1698)) } } } else { r.EncodeNil() } } else { - if yyq1662[1] { + if yyq1695[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy1667 := *x.RunAsUser - yym1668 := z.EncBinary() - _ = yym1668 + yy1700 := *x.RunAsUser + yym1701 := z.EncBinary() + _ = yym1701 if false { } else { - r.EncodeInt(int64(yy1667)) + r.EncodeInt(int64(yy1700)) } } } } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1662[2] { + if yyq1695[2] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1670 := *x.RunAsNonRoot - yym1671 := z.EncBinary() - _ = yym1671 + yy1703 := *x.RunAsNonRoot + yym1704 := z.EncBinary() + _ = yym1704 if false { } else { - r.EncodeBool(bool(yy1670)) + r.EncodeBool(bool(yy1703)) } } } else { r.EncodeNil() } } else { - if yyq1662[2] { + if yyq1695[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1672 := *x.RunAsNonRoot - yym1673 := z.EncBinary() - _ = yym1673 + yy1705 := *x.RunAsNonRoot + yym1706 := z.EncBinary() + _ = yym1706 if false { } else { - r.EncodeBool(bool(yy1672)) + r.EncodeBool(bool(yy1705)) } } } } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1662[3] { + if yyq1695[3] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1675 := z.EncBinary() - _ = yym1675 + yym1708 := z.EncBinary() + _ = yym1708 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -22532,15 +23047,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1662[3] { + if yyq1695[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1676 := z.EncBinary() - _ = yym1676 + yym1709 := z.EncBinary() + _ = yym1709 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -22548,42 +23063,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1662[4] { + if yyq1695[4] { if x.FSGroup == nil { r.EncodeNil() } else { - yy1678 := *x.FSGroup - yym1679 := z.EncBinary() - _ = yym1679 + yy1711 := *x.FSGroup + yym1712 := z.EncBinary() + _ = yym1712 if false { } else { - r.EncodeInt(int64(yy1678)) + r.EncodeInt(int64(yy1711)) } } } else { r.EncodeNil() } } else { - if yyq1662[4] { + if yyq1695[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy1680 := *x.FSGroup - yym1681 := z.EncBinary() - _ = yym1681 + yy1713 := *x.FSGroup + yym1714 := z.EncBinary() + _ = yym1714 if false { } else { - r.EncodeInt(int64(yy1680)) + r.EncodeInt(int64(yy1713)) } } } } - if yyr1662 || yy2arr1662 { + if yyr1695 || yy2arr1695 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22596,25 +23111,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1682 := z.DecBinary() - _ = yym1682 + yym1715 := z.DecBinary() + _ = yym1715 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1683 := r.ContainerType() - if yyct1683 == codecSelferValueTypeMap1234 { - yyl1683 := r.ReadMapStart() - if yyl1683 == 0 { + yyct1716 := r.ContainerType() + if yyct1716 == codecSelferValueTypeMap1234 { + yyl1716 := r.ReadMapStart() + if yyl1716 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1683, d) + x.codecDecodeSelfFromMap(yyl1716, d) } - } else if yyct1683 == codecSelferValueTypeArray1234 { - yyl1683 := r.ReadArrayStart() - if yyl1683 == 0 { + } else if yyct1716 == codecSelferValueTypeArray1234 { + yyl1716 := r.ReadArrayStart() + if yyl1716 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1683, d) + x.codecDecodeSelfFromArray(yyl1716, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22626,12 +23141,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1684Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1684Slc - var yyhl1684 bool = l >= 0 - for yyj1684 := 0; ; yyj1684++ { - if yyhl1684 { - if yyj1684 >= l { + var yys1717Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1717Slc + var yyhl1717 bool = l >= 0 + for yyj1717 := 0; ; yyj1717++ { + if yyhl1717 { + if yyj1717 >= l { break } } else { @@ -22640,10 +23155,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1684Slc = r.DecodeBytes(yys1684Slc, true, true) - yys1684 := string(yys1684Slc) + yys1717Slc = r.DecodeBytes(yys1717Slc, true, true) + yys1717 := string(yys1717Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1684 { + switch yys1717 { case "seLinuxOptions": if r.TryDecodeAsNil() { if x.SELinuxOptions != nil { @@ -22664,8 +23179,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1687 := z.DecBinary() - _ = yym1687 + yym1720 := z.DecBinary() + _ = yym1720 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -22680,8 +23195,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1689 := z.DecBinary() - _ = yym1689 + yym1722 := z.DecBinary() + _ = yym1722 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -22691,12 +23206,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1690 := &x.SupplementalGroups - yym1691 := z.DecBinary() - _ = yym1691 + yyv1723 := &x.SupplementalGroups + yym1724 := z.DecBinary() + _ = yym1724 if false { } else { - z.F.DecSliceInt64X(yyv1690, false, d) + z.F.DecSliceInt64X(yyv1723, false, d) } } case "fsGroup": @@ -22708,17 +23223,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1693 := z.DecBinary() - _ = yym1693 + yym1726 := z.DecBinary() + _ = yym1726 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1684) - } // end switch yys1684 - } // end for yyj1684 + z.DecStructFieldNotFound(-1, yys1717) + } // end switch yys1717 + } // end for yyj1717 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22726,16 +23241,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1694 int - var yyb1694 bool - var yyhl1694 bool = l >= 0 - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + var yyj1727 int + var yyb1727 bool + var yyhl1727 bool = l >= 0 + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22750,13 +23265,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22769,20 +23284,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1697 := z.DecBinary() - _ = yym1697 + yym1730 := z.DecBinary() + _ = yym1730 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22795,20 +23310,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1699 := z.DecBinary() - _ = yym1699 + yym1732 := z.DecBinary() + _ = yym1732 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22816,21 +23331,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1700 := &x.SupplementalGroups - yym1701 := z.DecBinary() - _ = yym1701 + yyv1733 := &x.SupplementalGroups + yym1734 := z.DecBinary() + _ = yym1734 if false { } else { - z.F.DecSliceInt64X(yyv1700, false, d) + z.F.DecSliceInt64X(yyv1733, false, d) } } - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22843,25 +23358,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1703 := z.DecBinary() - _ = yym1703 + yym1736 := z.DecBinary() + _ = yym1736 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj1694++ - if yyhl1694 { - yyb1694 = yyj1694 > l + yyj1727++ + if yyhl1727 { + yyb1727 = yyj1727 > l } else { - yyb1694 = r.CheckBreak() + yyb1727 = r.CheckBreak() } - if yyb1694 { + if yyb1727 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1694-1, "") + z.DecStructFieldNotFound(yyj1727-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22873,60 +23388,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1704 := z.EncBinary() - _ = yym1704 + yym1737 := z.EncBinary() + _ = yym1737 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1705 := !z.EncBinary() - yy2arr1705 := z.EncBasicHandle().StructToArray - var yyq1705 [8]bool - _, _, _ = yysep1705, yyq1705, yy2arr1705 - const yyr1705 bool = false - yyq1705[0] = x.Phase != "" - yyq1705[1] = len(x.Conditions) != 0 - yyq1705[2] = x.Message != "" - yyq1705[3] = x.Reason != "" - yyq1705[4] = x.HostIP != "" - yyq1705[5] = x.PodIP != "" - yyq1705[6] = x.StartTime != nil - yyq1705[7] = len(x.ContainerStatuses) != 0 - var yynn1705 int - if yyr1705 || yy2arr1705 { + yysep1738 := !z.EncBinary() + yy2arr1738 := z.EncBasicHandle().StructToArray + var yyq1738 [8]bool + _, _, _ = yysep1738, yyq1738, yy2arr1738 + const yyr1738 bool = false + yyq1738[0] = x.Phase != "" + yyq1738[1] = len(x.Conditions) != 0 + yyq1738[2] = x.Message != "" + yyq1738[3] = x.Reason != "" + yyq1738[4] = x.HostIP != "" + yyq1738[5] = x.PodIP != "" + yyq1738[6] = x.StartTime != nil + yyq1738[7] = len(x.ContainerStatuses) != 0 + var yynn1738 int + if yyr1738 || yy2arr1738 { r.EncodeArrayStart(8) } else { - yynn1705 = 0 - for _, b := range yyq1705 { + yynn1738 = 0 + for _, b := range yyq1738 { if b { - yynn1705++ + yynn1738++ } } - r.EncodeMapStart(yynn1705) - yynn1705 = 0 + r.EncodeMapStart(yynn1738) + yynn1738 = 0 } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[0] { + if yyq1738[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1705[0] { + if yyq1738[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[1] { + if yyq1738[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym1708 := z.EncBinary() - _ = yym1708 + yym1741 := z.EncBinary() + _ = yym1741 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -22936,15 +23451,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1705[1] { + if yyq1738[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1709 := z.EncBinary() - _ = yym1709 + yym1742 := z.EncBinary() + _ = yym1742 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -22952,11 +23467,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[2] { - yym1711 := z.EncBinary() - _ = yym1711 + if yyq1738[2] { + yym1744 := z.EncBinary() + _ = yym1744 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22965,23 +23480,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1705[2] { + if yyq1738[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1712 := z.EncBinary() - _ = yym1712 + yym1745 := z.EncBinary() + _ = yym1745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[3] { - yym1714 := z.EncBinary() - _ = yym1714 + if yyq1738[3] { + yym1747 := z.EncBinary() + _ = yym1747 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22990,23 +23505,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1705[3] { + if yyq1738[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1715 := z.EncBinary() - _ = yym1715 + yym1748 := z.EncBinary() + _ = yym1748 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[4] { - yym1717 := z.EncBinary() - _ = yym1717 + if yyq1738[4] { + yym1750 := z.EncBinary() + _ = yym1750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -23015,23 +23530,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1705[4] { + if yyq1738[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1718 := z.EncBinary() - _ = yym1718 + yym1751 := z.EncBinary() + _ = yym1751 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[5] { - yym1720 := z.EncBinary() - _ = yym1720 + if yyq1738[5] { + yym1753 := z.EncBinary() + _ = yym1753 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -23040,31 +23555,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1705[5] { + if yyq1738[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1721 := z.EncBinary() - _ = yym1721 + yym1754 := z.EncBinary() + _ = yym1754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[6] { + if yyq1738[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym1723 := z.EncBinary() - _ = yym1723 + yym1756 := z.EncBinary() + _ = yym1756 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1723 { + } else if yym1756 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1723 && z.IsJSONHandle() { + } else if !yym1756 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -23074,20 +23589,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1705[6] { + if yyq1738[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym1724 := z.EncBinary() - _ = yym1724 + yym1757 := z.EncBinary() + _ = yym1757 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1724 { + } else if yym1757 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1724 && z.IsJSONHandle() { + } else if !yym1757 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -23095,14 +23610,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[7] { + if yyq1738[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1726 := z.EncBinary() - _ = yym1726 + yym1759 := z.EncBinary() + _ = yym1759 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -23112,15 +23627,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1705[7] { + if yyq1738[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1727 := z.EncBinary() - _ = yym1727 + yym1760 := z.EncBinary() + _ = yym1760 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -23128,7 +23643,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1705 || yy2arr1705 { + if yyr1738 || yy2arr1738 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23141,25 +23656,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1728 := z.DecBinary() - _ = yym1728 + yym1761 := z.DecBinary() + _ = yym1761 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1729 := r.ContainerType() - if yyct1729 == codecSelferValueTypeMap1234 { - yyl1729 := r.ReadMapStart() - if yyl1729 == 0 { + yyct1762 := r.ContainerType() + if yyct1762 == codecSelferValueTypeMap1234 { + yyl1762 := r.ReadMapStart() + if yyl1762 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1729, d) + x.codecDecodeSelfFromMap(yyl1762, d) } - } else if yyct1729 == codecSelferValueTypeArray1234 { - yyl1729 := r.ReadArrayStart() - if yyl1729 == 0 { + } else if yyct1762 == codecSelferValueTypeArray1234 { + yyl1762 := r.ReadArrayStart() + if yyl1762 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1729, d) + x.codecDecodeSelfFromArray(yyl1762, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23171,12 +23686,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1730Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1730Slc - var yyhl1730 bool = l >= 0 - for yyj1730 := 0; ; yyj1730++ { - if yyhl1730 { - if yyj1730 >= l { + var yys1763Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1763Slc + var yyhl1763 bool = l >= 0 + for yyj1763 := 0; ; yyj1763++ { + if yyhl1763 { + if yyj1763 >= l { break } } else { @@ -23185,10 +23700,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1730Slc = r.DecodeBytes(yys1730Slc, true, true) - yys1730 := string(yys1730Slc) + yys1763Slc = r.DecodeBytes(yys1763Slc, true, true) + yys1763 := string(yys1763Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1730 { + switch yys1763 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -23199,12 +23714,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1732 := &x.Conditions - yym1733 := z.DecBinary() - _ = yym1733 + yyv1765 := &x.Conditions + yym1766 := z.DecBinary() + _ = yym1766 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1732), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1765), d) } } case "message": @@ -23240,13 +23755,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1739 := z.DecBinary() - _ = yym1739 + yym1772 := z.DecBinary() + _ = yym1772 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1739 { + } else if yym1772 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1739 && z.IsJSONHandle() { + } else if !yym1772 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -23256,412 +23771,22 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1740 := &x.ContainerStatuses - yym1741 := z.DecBinary() - _ = yym1741 + yyv1773 := &x.ContainerStatuses + yym1774 := z.DecBinary() + _ = yym1774 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1740), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1773), d) } } default: - z.DecStructFieldNotFound(-1, yys1730) - } // end switch yys1730 - } // end for yyj1730 + z.DecStructFieldNotFound(-1, yys1763) + } // end switch yys1763 + } // end for yyj1763 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1742 int - var yyb1742 bool - var yyhl1742 bool = l >= 0 - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = PodPhase(r.DecodeString()) - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv1744 := &x.Conditions - yym1745 := z.DecBinary() - _ = yym1745 - if false { - } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1744), d) - } - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostIP = "" - } else { - x.HostIP = string(r.DecodeString()) - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodIP = "" - } else { - x.PodIP = string(r.DecodeString()) - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.StartTime != nil { - x.StartTime = nil - } - } else { - if x.StartTime == nil { - x.StartTime = new(pkg2_unversioned.Time) - } - yym1751 := z.DecBinary() - _ = yym1751 - if false { - } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1751 { - z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1751 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.StartTime) - } else { - z.DecFallback(x.StartTime, false) - } - } - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContainerStatuses = nil - } else { - yyv1752 := &x.ContainerStatuses - yym1753 := z.DecBinary() - _ = yym1753 - if false { - } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1752), d) - } - } - for { - yyj1742++ - if yyhl1742 { - yyb1742 = yyj1742 > l - } else { - yyb1742 = r.CheckBreak() - } - if yyb1742 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1742-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1754 := z.EncBinary() - _ = yym1754 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1755 := !z.EncBinary() - yy2arr1755 := z.EncBasicHandle().StructToArray - var yyq1755 [4]bool - _, _, _ = yysep1755, yyq1755, yy2arr1755 - const yyr1755 bool = false - yyq1755[0] = true - yyq1755[1] = true - yyq1755[2] = x.Kind != "" - yyq1755[3] = x.APIVersion != "" - var yynn1755 int - if yyr1755 || yy2arr1755 { - r.EncodeArrayStart(4) - } else { - yynn1755 = 0 - for _, b := range yyq1755 { - if b { - yynn1755++ - } - } - r.EncodeMapStart(yynn1755) - yynn1755 = 0 - } - if yyr1755 || yy2arr1755 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1755[0] { - yy1757 := &x.ObjectMeta - yy1757.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1755[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1758 := &x.ObjectMeta - yy1758.CodecEncodeSelf(e) - } - } - if yyr1755 || yy2arr1755 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1755[1] { - yy1760 := &x.Status - yy1760.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1755[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1761 := &x.Status - yy1761.CodecEncodeSelf(e) - } - } - if yyr1755 || yy2arr1755 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1755[2] { - yym1763 := z.EncBinary() - _ = yym1763 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1755[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1764 := z.EncBinary() - _ = yym1764 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1755 || yy2arr1755 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1755[3] { - yym1766 := z.EncBinary() - _ = yym1766 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1755[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1767 := z.EncBinary() - _ = yym1767 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1755 || yy2arr1755 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1768 := z.DecBinary() - _ = yym1768 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1769 := r.ContainerType() - if yyct1769 == codecSelferValueTypeMap1234 { - yyl1769 := r.ReadMapStart() - if yyl1769 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1769, d) - } - } else if yyct1769 == codecSelferValueTypeArray1234 { - yyl1769 := r.ReadArrayStart() - if yyl1769 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1769, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1770Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1770Slc - var yyhl1770 bool = l >= 0 - for yyj1770 := 0; ; yyj1770++ { - if yyhl1770 { - if yyj1770 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1770Slc = r.DecodeBytes(yys1770Slc, true, true) - yys1770 := string(yys1770Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1770 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1771 := &x.ObjectMeta - yyv1771.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv1772 := &x.Status - yyv1772.CodecDecodeSelf(d) - } - 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()) - } - default: - z.DecStructFieldNotFound(-1, yys1770) - } // end switch yys1770 - } // end for yyj1770 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -23680,10 +23805,9 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.Phase = "" } else { - yyv1776 := &x.ObjectMeta - yyv1776.CodecDecodeSelf(d) + x.Phase = PodPhase(r.DecodeString()) } yyj1775++ if yyhl1775 { @@ -23697,10 +23821,15 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = PodStatus{} + x.Conditions = nil } else { - yyv1777 := &x.Status - yyv1777.CodecDecodeSelf(d) + yyv1777 := &x.Conditions + yym1778 := z.DecBinary() + _ = yym1778 + if false { + } else { + h.decSlicePodCondition((*[]PodCondition)(yyv1777), d) + } } yyj1775++ if yyhl1775 { @@ -23714,9 +23843,9 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Message = "" } else { - x.Kind = string(r.DecodeString()) + x.Message = string(r.DecodeString()) } yyj1775++ if yyhl1775 { @@ -23730,9 +23859,94 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Reason = "" } else { - x.APIVersion = string(r.DecodeString()) + x.Reason = string(r.DecodeString()) + } + yyj1775++ + if yyhl1775 { + yyb1775 = yyj1775 > l + } else { + yyb1775 = r.CheckBreak() + } + if yyb1775 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostIP = "" + } else { + x.HostIP = string(r.DecodeString()) + } + yyj1775++ + if yyhl1775 { + yyb1775 = yyj1775 > l + } else { + yyb1775 = r.CheckBreak() + } + if yyb1775 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodIP = "" + } else { + x.PodIP = string(r.DecodeString()) + } + yyj1775++ + if yyhl1775 { + yyb1775 = yyj1775 > l + } else { + yyb1775 = r.CheckBreak() + } + if yyb1775 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.StartTime != nil { + x.StartTime = nil + } + } else { + if x.StartTime == nil { + x.StartTime = new(pkg2_unversioned.Time) + } + yym1784 := z.DecBinary() + _ = yym1784 + if false { + } else if z.HasExtensions() && z.DecExt(x.StartTime) { + } else if yym1784 { + z.DecBinaryUnmarshal(x.StartTime) + } else if !yym1784 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.StartTime) + } else { + z.DecFallback(x.StartTime, false) + } + } + yyj1775++ + if yyhl1775 { + yyb1775 = yyj1775 > l + } else { + yyb1775 = r.CheckBreak() + } + if yyb1775 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContainerStatuses = nil + } else { + yyv1785 := &x.ContainerStatuses + yym1786 := z.DecBinary() + _ = yym1786 + if false { + } else { + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1785), d) + } } for { yyj1775++ @@ -23750,6 +23964,307 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1787 := z.EncBinary() + _ = yym1787 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1788 := !z.EncBinary() + yy2arr1788 := z.EncBasicHandle().StructToArray + var yyq1788 [4]bool + _, _, _ = yysep1788, yyq1788, yy2arr1788 + const yyr1788 bool = false + yyq1788[0] = true + yyq1788[1] = true + yyq1788[2] = x.Kind != "" + yyq1788[3] = x.APIVersion != "" + var yynn1788 int + if yyr1788 || yy2arr1788 { + r.EncodeArrayStart(4) + } else { + yynn1788 = 0 + for _, b := range yyq1788 { + if b { + yynn1788++ + } + } + r.EncodeMapStart(yynn1788) + yynn1788 = 0 + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[0] { + yy1790 := &x.ObjectMeta + yy1790.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1788[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1791 := &x.ObjectMeta + yy1791.CodecEncodeSelf(e) + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[1] { + yy1793 := &x.Status + yy1793.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1788[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1794 := &x.Status + yy1794.CodecEncodeSelf(e) + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[2] { + yym1796 := z.EncBinary() + _ = yym1796 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1788[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1797 := z.EncBinary() + _ = yym1797 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[3] { + yym1799 := z.EncBinary() + _ = yym1799 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1788[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1800 := z.EncBinary() + _ = yym1800 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1801 := z.DecBinary() + _ = yym1801 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1802 := r.ContainerType() + if yyct1802 == codecSelferValueTypeMap1234 { + yyl1802 := r.ReadMapStart() + if yyl1802 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1802, d) + } + } else if yyct1802 == codecSelferValueTypeArray1234 { + yyl1802 := r.ReadArrayStart() + if yyl1802 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1802, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1803Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1803Slc + var yyhl1803 bool = l >= 0 + for yyj1803 := 0; ; yyj1803++ { + if yyhl1803 { + if yyj1803 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1803Slc = r.DecodeBytes(yys1803Slc, true, true) + yys1803 := string(yys1803Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1803 { + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1804 := &x.ObjectMeta + yyv1804.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv1805 := &x.Status + yyv1805.CodecDecodeSelf(d) + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys1803) + } // end switch yys1803 + } // end for yyj1803 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1808 int + var yyb1808 bool + var yyhl1808 bool = l >= 0 + yyj1808++ + if yyhl1808 { + yyb1808 = yyj1808 > l + } else { + yyb1808 = r.CheckBreak() + } + if yyb1808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1809 := &x.ObjectMeta + yyv1809.CodecDecodeSelf(d) + } + yyj1808++ + if yyhl1808 { + yyb1808 = yyj1808 > l + } else { + yyb1808 = r.CheckBreak() + } + if yyb1808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv1810 := &x.Status + yyv1810.CodecDecodeSelf(d) + } + yyj1808++ + if yyhl1808 { + yyb1808 = yyj1808 > l + } else { + yyb1808 = r.CheckBreak() + } + if yyb1808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1808++ + if yyhl1808 { + yyb1808 = yyj1808 > l + } else { + yyb1808 = r.CheckBreak() + } + if yyb1808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj1808++ + if yyhl1808 { + yyb1808 = yyj1808 > l + } else { + yyb1808 = r.CheckBreak() + } + if yyb1808 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1808-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -23757,90 +24272,90 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1780 := z.EncBinary() - _ = yym1780 + yym1813 := z.EncBinary() + _ = yym1813 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1781 := !z.EncBinary() - yy2arr1781 := z.EncBasicHandle().StructToArray - var yyq1781 [5]bool - _, _, _ = yysep1781, yyq1781, yy2arr1781 - const yyr1781 bool = false - yyq1781[0] = true - yyq1781[1] = true - yyq1781[2] = true - yyq1781[3] = x.Kind != "" - yyq1781[4] = x.APIVersion != "" - var yynn1781 int - if yyr1781 || yy2arr1781 { + yysep1814 := !z.EncBinary() + yy2arr1814 := z.EncBasicHandle().StructToArray + var yyq1814 [5]bool + _, _, _ = yysep1814, yyq1814, yy2arr1814 + const yyr1814 bool = false + yyq1814[0] = true + yyq1814[1] = true + yyq1814[2] = true + yyq1814[3] = x.Kind != "" + yyq1814[4] = x.APIVersion != "" + var yynn1814 int + if yyr1814 || yy2arr1814 { r.EncodeArrayStart(5) } else { - yynn1781 = 0 - for _, b := range yyq1781 { + yynn1814 = 0 + for _, b := range yyq1814 { if b { - yynn1781++ + yynn1814++ } } - r.EncodeMapStart(yynn1781) - yynn1781 = 0 + r.EncodeMapStart(yynn1814) + yynn1814 = 0 } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1781[0] { - yy1783 := &x.ObjectMeta - yy1783.CodecEncodeSelf(e) + if yyq1814[0] { + yy1816 := &x.ObjectMeta + yy1816.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1781[0] { + if yyq1814[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1784 := &x.ObjectMeta - yy1784.CodecEncodeSelf(e) + yy1817 := &x.ObjectMeta + yy1817.CodecEncodeSelf(e) } } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1781[1] { - yy1786 := &x.Spec - yy1786.CodecEncodeSelf(e) + if yyq1814[1] { + yy1819 := &x.Spec + yy1819.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1781[1] { + if yyq1814[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1787 := &x.Spec - yy1787.CodecEncodeSelf(e) + yy1820 := &x.Spec + yy1820.CodecEncodeSelf(e) } } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1781[2] { - yy1789 := &x.Status - yy1789.CodecEncodeSelf(e) + if yyq1814[2] { + yy1822 := &x.Status + yy1822.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1781[2] { + if yyq1814[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1790 := &x.Status - yy1790.CodecEncodeSelf(e) + yy1823 := &x.Status + yy1823.CodecEncodeSelf(e) } } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1781[3] { - yym1792 := z.EncBinary() - _ = yym1792 + if yyq1814[3] { + yym1825 := z.EncBinary() + _ = yym1825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -23849,23 +24364,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1781[3] { + if yyq1814[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1793 := z.EncBinary() - _ = yym1793 + yym1826 := z.EncBinary() + _ = yym1826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1781[4] { - yym1795 := z.EncBinary() - _ = yym1795 + if yyq1814[4] { + yym1828 := z.EncBinary() + _ = yym1828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -23874,19 +24389,19 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1781[4] { + if yyq1814[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1796 := z.EncBinary() - _ = yym1796 + yym1829 := z.EncBinary() + _ = yym1829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1781 || yy2arr1781 { + if yyr1814 || yy2arr1814 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23899,25 +24414,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1797 := z.DecBinary() - _ = yym1797 + yym1830 := z.DecBinary() + _ = yym1830 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1798 := r.ContainerType() - if yyct1798 == codecSelferValueTypeMap1234 { - yyl1798 := r.ReadMapStart() - if yyl1798 == 0 { + yyct1831 := r.ContainerType() + if yyct1831 == codecSelferValueTypeMap1234 { + yyl1831 := r.ReadMapStart() + if yyl1831 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1798, d) + x.codecDecodeSelfFromMap(yyl1831, d) } - } else if yyct1798 == codecSelferValueTypeArray1234 { - yyl1798 := r.ReadArrayStart() - if yyl1798 == 0 { + } else if yyct1831 == codecSelferValueTypeArray1234 { + yyl1831 := r.ReadArrayStart() + if yyl1831 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1798, d) + x.codecDecodeSelfFromArray(yyl1831, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23929,12 +24444,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1799Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1799Slc - var yyhl1799 bool = l >= 0 - for yyj1799 := 0; ; yyj1799++ { - if yyhl1799 { - if yyj1799 >= l { + var yys1832Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1832Slc + var yyhl1832 bool = l >= 0 + for yyj1832 := 0; ; yyj1832++ { + if yyhl1832 { + if yyj1832 >= l { break } } else { @@ -23943,30 +24458,30 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1799Slc = r.DecodeBytes(yys1799Slc, true, true) - yys1799 := string(yys1799Slc) + yys1832Slc = r.DecodeBytes(yys1832Slc, true, true) + yys1832 := string(yys1832Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1799 { + switch yys1832 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1800 := &x.ObjectMeta - yyv1800.CodecDecodeSelf(d) + yyv1833 := &x.ObjectMeta + yyv1833.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1801 := &x.Spec - yyv1801.CodecDecodeSelf(d) + yyv1834 := &x.Spec + yyv1834.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1802 := &x.Status - yyv1802.CodecDecodeSelf(d) + yyv1835 := &x.Status + yyv1835.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -23981,9 +24496,9 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1799) - } // end switch yys1799 - } // end for yyj1799 + z.DecStructFieldNotFound(-1, yys1832) + } // end switch yys1832 + } // end for yyj1832 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23991,16 +24506,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1805 int - var yyb1805 bool - var yyhl1805 bool = l >= 0 - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + var yyj1838 int + var yyb1838 bool + var yyhl1838 bool = l >= 0 + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24008,16 +24523,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1806 := &x.ObjectMeta - yyv1806.CodecDecodeSelf(d) + yyv1839 := &x.ObjectMeta + yyv1839.CodecDecodeSelf(d) } - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24025,16 +24540,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1807 := &x.Spec - yyv1807.CodecDecodeSelf(d) + yyv1840 := &x.Spec + yyv1840.CodecDecodeSelf(d) } - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24042,16 +24557,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1808 := &x.Status - yyv1808.CodecDecodeSelf(d) + yyv1841 := &x.Status + yyv1841.CodecDecodeSelf(d) } - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24061,13 +24576,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24078,17 +24593,17 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1805++ - if yyhl1805 { - yyb1805 = yyj1805 > l + yyj1838++ + if yyhl1838 { + yyb1838 = yyj1838 > l } else { - yyb1805 = r.CheckBreak() + yyb1838 = r.CheckBreak() } - if yyb1805 { + if yyb1838 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1805-1, "") + z.DecStructFieldNotFound(yyj1838-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24100,68 +24615,68 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1811 := z.EncBinary() - _ = yym1811 + yym1844 := z.EncBinary() + _ = yym1844 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1812 := !z.EncBinary() - yy2arr1812 := z.EncBasicHandle().StructToArray - var yyq1812 [4]bool - _, _, _ = yysep1812, yyq1812, yy2arr1812 - const yyr1812 bool = false - yyq1812[0] = true - yyq1812[2] = x.Kind != "" - yyq1812[3] = x.APIVersion != "" - var yynn1812 int - if yyr1812 || yy2arr1812 { + yysep1845 := !z.EncBinary() + yy2arr1845 := z.EncBasicHandle().StructToArray + var yyq1845 [4]bool + _, _, _ = yysep1845, yyq1845, yy2arr1845 + const yyr1845 bool = false + yyq1845[0] = true + yyq1845[2] = x.Kind != "" + yyq1845[3] = x.APIVersion != "" + var yynn1845 int + if yyr1845 || yy2arr1845 { r.EncodeArrayStart(4) } else { - yynn1812 = 1 - for _, b := range yyq1812 { + yynn1845 = 1 + for _, b := range yyq1845 { if b { - yynn1812++ + yynn1845++ } } - r.EncodeMapStart(yynn1812) - yynn1812 = 0 + r.EncodeMapStart(yynn1845) + yynn1845 = 0 } - if yyr1812 || yy2arr1812 { + if yyr1845 || yy2arr1845 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1812[0] { - yy1814 := &x.ListMeta - yym1815 := z.EncBinary() - _ = yym1815 + if yyq1845[0] { + yy1847 := &x.ListMeta + yym1848 := z.EncBinary() + _ = yym1848 if false { - } else if z.HasExtensions() && z.EncExt(yy1814) { + } else if z.HasExtensions() && z.EncExt(yy1847) { } else { - z.EncFallback(yy1814) + z.EncFallback(yy1847) } } else { r.EncodeNil() } } else { - if yyq1812[0] { + if yyq1845[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1816 := &x.ListMeta - yym1817 := z.EncBinary() - _ = yym1817 + yy1849 := &x.ListMeta + yym1850 := z.EncBinary() + _ = yym1850 if false { - } else if z.HasExtensions() && z.EncExt(yy1816) { + } else if z.HasExtensions() && z.EncExt(yy1849) { } else { - z.EncFallback(yy1816) + z.EncFallback(yy1849) } } } - if yyr1812 || yy2arr1812 { + if yyr1845 || yy2arr1845 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1819 := z.EncBinary() - _ = yym1819 + yym1852 := z.EncBinary() + _ = yym1852 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -24174,19 +24689,19 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1820 := z.EncBinary() - _ = yym1820 + yym1853 := z.EncBinary() + _ = yym1853 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr1812 || yy2arr1812 { + if yyr1845 || yy2arr1845 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1812[2] { - yym1822 := z.EncBinary() - _ = yym1822 + if yyq1845[2] { + yym1855 := z.EncBinary() + _ = yym1855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -24195,23 +24710,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1812[2] { + if yyq1845[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1823 := z.EncBinary() - _ = yym1823 + yym1856 := z.EncBinary() + _ = yym1856 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1812 || yy2arr1812 { + if yyr1845 || yy2arr1845 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1812[3] { - yym1825 := z.EncBinary() - _ = yym1825 + if yyq1845[3] { + yym1858 := z.EncBinary() + _ = yym1858 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -24220,19 +24735,19 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1812[3] { + if yyq1845[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1826 := z.EncBinary() - _ = yym1826 + yym1859 := z.EncBinary() + _ = yym1859 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1812 || yy2arr1812 { + if yyr1845 || yy2arr1845 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24245,25 +24760,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1827 := z.DecBinary() - _ = yym1827 + yym1860 := z.DecBinary() + _ = yym1860 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1828 := r.ContainerType() - if yyct1828 == codecSelferValueTypeMap1234 { - yyl1828 := r.ReadMapStart() - if yyl1828 == 0 { + yyct1861 := r.ContainerType() + if yyct1861 == codecSelferValueTypeMap1234 { + yyl1861 := r.ReadMapStart() + if yyl1861 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1828, d) + x.codecDecodeSelfFromMap(yyl1861, d) } - } else if yyct1828 == codecSelferValueTypeArray1234 { - yyl1828 := r.ReadArrayStart() - if yyl1828 == 0 { + } else if yyct1861 == codecSelferValueTypeArray1234 { + yyl1861 := r.ReadArrayStart() + if yyl1861 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1828, d) + x.codecDecodeSelfFromArray(yyl1861, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24275,12 +24790,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1829Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1829Slc - var yyhl1829 bool = l >= 0 - for yyj1829 := 0; ; yyj1829++ { - if yyhl1829 { - if yyj1829 >= l { + var yys1862Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1862Slc + var yyhl1862 bool = l >= 0 + for yyj1862 := 0; ; yyj1862++ { + if yyhl1862 { + if yyj1862 >= l { break } } else { @@ -24289,33 +24804,33 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1829Slc = r.DecodeBytes(yys1829Slc, true, true) - yys1829 := string(yys1829Slc) + yys1862Slc = r.DecodeBytes(yys1862Slc, true, true) + yys1862 := string(yys1862Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1829 { + switch yys1862 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1830 := &x.ListMeta - yym1831 := z.DecBinary() - _ = yym1831 + yyv1863 := &x.ListMeta + yym1864 := z.DecBinary() + _ = yym1864 if false { - } else if z.HasExtensions() && z.DecExt(yyv1830) { + } else if z.HasExtensions() && z.DecExt(yyv1863) { } else { - z.DecFallback(yyv1830, false) + z.DecFallback(yyv1863, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1832 := &x.Items - yym1833 := z.DecBinary() - _ = yym1833 + yyv1865 := &x.Items + yym1866 := z.DecBinary() + _ = yym1866 if false { } else { - h.decSlicePod((*[]Pod)(yyv1832), d) + h.decSlicePod((*[]Pod)(yyv1865), d) } } case "kind": @@ -24331,9 +24846,9 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1829) - } // end switch yys1829 - } // end for yyj1829 + z.DecStructFieldNotFound(-1, yys1862) + } // end switch yys1862 + } // end for yyj1862 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24341,16 +24856,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1836 int - var yyb1836 bool - var yyhl1836 bool = l >= 0 - yyj1836++ - if yyhl1836 { - yyb1836 = yyj1836 > l + var yyj1869 int + var yyb1869 bool + var yyhl1869 bool = l >= 0 + yyj1869++ + if yyhl1869 { + yyb1869 = yyj1869 > l } else { - yyb1836 = r.CheckBreak() + yyb1869 = r.CheckBreak() } - if yyb1836 { + if yyb1869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24358,22 +24873,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1837 := &x.ListMeta - yym1838 := z.DecBinary() - _ = yym1838 + yyv1870 := &x.ListMeta + yym1871 := z.DecBinary() + _ = yym1871 if false { - } else if z.HasExtensions() && z.DecExt(yyv1837) { + } else if z.HasExtensions() && z.DecExt(yyv1870) { } else { - z.DecFallback(yyv1837, false) + z.DecFallback(yyv1870, false) } } - yyj1836++ - if yyhl1836 { - yyb1836 = yyj1836 > l + yyj1869++ + if yyhl1869 { + yyb1869 = yyj1869 > l } else { - yyb1836 = r.CheckBreak() + yyb1869 = r.CheckBreak() } - if yyb1836 { + if yyb1869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24381,21 +24896,21 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1839 := &x.Items - yym1840 := z.DecBinary() - _ = yym1840 + yyv1872 := &x.Items + yym1873 := z.DecBinary() + _ = yym1873 if false { } else { - h.decSlicePod((*[]Pod)(yyv1839), d) + h.decSlicePod((*[]Pod)(yyv1872), d) } } - yyj1836++ - if yyhl1836 { - yyb1836 = yyj1836 > l + yyj1869++ + if yyhl1869 { + yyb1869 = yyj1869 > l } else { - yyb1836 = r.CheckBreak() + yyb1869 = r.CheckBreak() } - if yyb1836 { + if yyb1869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24405,13 +24920,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1836++ - if yyhl1836 { - yyb1836 = yyj1836 > l + yyj1869++ + if yyhl1869 { + yyb1869 = yyj1869 > l } else { - yyb1836 = r.CheckBreak() + yyb1869 = r.CheckBreak() } - if yyb1836 { + if yyb1869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24422,17 +24937,17 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1836++ - if yyhl1836 { - yyb1836 = yyj1836 > l + yyj1869++ + if yyhl1869 { + yyb1869 = yyj1869 > l } else { - yyb1836 = r.CheckBreak() + yyb1869 = r.CheckBreak() } - if yyb1836 { + if yyb1869 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1836-1, "") + z.DecStructFieldNotFound(yyj1869-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24444,66 +24959,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1843 := z.EncBinary() - _ = yym1843 + yym1876 := z.EncBinary() + _ = yym1876 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1844 := !z.EncBinary() - yy2arr1844 := z.EncBasicHandle().StructToArray - var yyq1844 [2]bool - _, _, _ = yysep1844, yyq1844, yy2arr1844 - const yyr1844 bool = false - yyq1844[0] = true - yyq1844[1] = true - var yynn1844 int - if yyr1844 || yy2arr1844 { + yysep1877 := !z.EncBinary() + yy2arr1877 := z.EncBasicHandle().StructToArray + var yyq1877 [2]bool + _, _, _ = yysep1877, yyq1877, yy2arr1877 + const yyr1877 bool = false + yyq1877[0] = true + yyq1877[1] = true + var yynn1877 int + if yyr1877 || yy2arr1877 { r.EncodeArrayStart(2) } else { - yynn1844 = 0 - for _, b := range yyq1844 { + yynn1877 = 0 + for _, b := range yyq1877 { if b { - yynn1844++ + yynn1877++ } } - r.EncodeMapStart(yynn1844) - yynn1844 = 0 + r.EncodeMapStart(yynn1877) + yynn1877 = 0 } - if yyr1844 || yy2arr1844 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1844[0] { - yy1846 := &x.ObjectMeta - yy1846.CodecEncodeSelf(e) + if yyq1877[0] { + yy1879 := &x.ObjectMeta + yy1879.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1844[0] { + if yyq1877[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1847 := &x.ObjectMeta - yy1847.CodecEncodeSelf(e) + yy1880 := &x.ObjectMeta + yy1880.CodecEncodeSelf(e) } } - if yyr1844 || yy2arr1844 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1844[1] { - yy1849 := &x.Spec - yy1849.CodecEncodeSelf(e) + if yyq1877[1] { + yy1882 := &x.Spec + yy1882.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1844[1] { + if yyq1877[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1850 := &x.Spec - yy1850.CodecEncodeSelf(e) + yy1883 := &x.Spec + yy1883.CodecEncodeSelf(e) } } - if yyr1844 || yy2arr1844 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24516,25 +25031,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1851 := z.DecBinary() - _ = yym1851 + yym1884 := z.DecBinary() + _ = yym1884 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1852 := r.ContainerType() - if yyct1852 == codecSelferValueTypeMap1234 { - yyl1852 := r.ReadMapStart() - if yyl1852 == 0 { + yyct1885 := r.ContainerType() + if yyct1885 == codecSelferValueTypeMap1234 { + yyl1885 := r.ReadMapStart() + if yyl1885 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1852, d) + x.codecDecodeSelfFromMap(yyl1885, d) } - } else if yyct1852 == codecSelferValueTypeArray1234 { - yyl1852 := r.ReadArrayStart() - if yyl1852 == 0 { + } else if yyct1885 == codecSelferValueTypeArray1234 { + yyl1885 := r.ReadArrayStart() + if yyl1885 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1852, d) + x.codecDecodeSelfFromArray(yyl1885, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24546,12 +25061,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1853Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1853Slc - var yyhl1853 bool = l >= 0 - for yyj1853 := 0; ; yyj1853++ { - if yyhl1853 { - if yyj1853 >= l { + var yys1886Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1886Slc + var yyhl1886 bool = l >= 0 + for yyj1886 := 0; ; yyj1886++ { + if yyhl1886 { + if yyj1886 >= l { break } } else { @@ -24560,28 +25075,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1853Slc = r.DecodeBytes(yys1853Slc, true, true) - yys1853 := string(yys1853Slc) + yys1886Slc = r.DecodeBytes(yys1886Slc, true, true) + yys1886 := string(yys1886Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1853 { + switch yys1886 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1854 := &x.ObjectMeta - yyv1854.CodecDecodeSelf(d) + yyv1887 := &x.ObjectMeta + yyv1887.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1855 := &x.Spec - yyv1855.CodecDecodeSelf(d) + yyv1888 := &x.Spec + yyv1888.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1853) - } // end switch yys1853 - } // end for yyj1853 + z.DecStructFieldNotFound(-1, yys1886) + } // end switch yys1886 + } // end for yyj1886 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24589,16 +25104,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1856 int - var yyb1856 bool - var yyhl1856 bool = l >= 0 - yyj1856++ - if yyhl1856 { - yyb1856 = yyj1856 > l + var yyj1889 int + var yyb1889 bool + var yyhl1889 bool = l >= 0 + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1856 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1856 { + if yyb1889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24606,16 +25121,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1857 := &x.ObjectMeta - yyv1857.CodecDecodeSelf(d) + yyv1890 := &x.ObjectMeta + yyv1890.CodecDecodeSelf(d) } - yyj1856++ - if yyhl1856 { - yyb1856 = yyj1856 > l + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1856 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1856 { + if yyb1889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24623,21 +25138,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1858 := &x.Spec - yyv1858.CodecDecodeSelf(d) + yyv1891 := &x.Spec + yyv1891.CodecDecodeSelf(d) } for { - yyj1856++ - if yyhl1856 { - yyb1856 = yyj1856 > l + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1856 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1856 { + if yyb1889 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1856-1, "") + z.DecStructFieldNotFound(yyj1889-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24649,72 +25164,72 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1859 := z.EncBinary() - _ = yym1859 + yym1892 := z.EncBinary() + _ = yym1892 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1860 := !z.EncBinary() - yy2arr1860 := z.EncBasicHandle().StructToArray - var yyq1860 [4]bool - _, _, _ = yysep1860, yyq1860, yy2arr1860 - const yyr1860 bool = false - yyq1860[0] = true - yyq1860[1] = true - yyq1860[2] = x.Kind != "" - yyq1860[3] = x.APIVersion != "" - var yynn1860 int - if yyr1860 || yy2arr1860 { + yysep1893 := !z.EncBinary() + yy2arr1893 := z.EncBasicHandle().StructToArray + var yyq1893 [4]bool + _, _, _ = yysep1893, yyq1893, yy2arr1893 + const yyr1893 bool = false + yyq1893[0] = true + yyq1893[1] = true + yyq1893[2] = x.Kind != "" + yyq1893[3] = x.APIVersion != "" + var yynn1893 int + if yyr1893 || yy2arr1893 { r.EncodeArrayStart(4) } else { - yynn1860 = 0 - for _, b := range yyq1860 { + yynn1893 = 0 + for _, b := range yyq1893 { if b { - yynn1860++ + yynn1893++ } } - r.EncodeMapStart(yynn1860) - yynn1860 = 0 + r.EncodeMapStart(yynn1893) + yynn1893 = 0 } - if yyr1860 || yy2arr1860 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1860[0] { - yy1862 := &x.ObjectMeta - yy1862.CodecEncodeSelf(e) + if yyq1893[0] { + yy1895 := &x.ObjectMeta + yy1895.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1860[0] { + if yyq1893[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1863 := &x.ObjectMeta - yy1863.CodecEncodeSelf(e) + yy1896 := &x.ObjectMeta + yy1896.CodecEncodeSelf(e) } } - if yyr1860 || yy2arr1860 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1860[1] { - yy1865 := &x.Template - yy1865.CodecEncodeSelf(e) + if yyq1893[1] { + yy1898 := &x.Template + yy1898.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1860[1] { + if yyq1893[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1866 := &x.Template - yy1866.CodecEncodeSelf(e) + yy1899 := &x.Template + yy1899.CodecEncodeSelf(e) } } - if yyr1860 || yy2arr1860 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1860[2] { - yym1868 := z.EncBinary() - _ = yym1868 + if yyq1893[2] { + yym1901 := z.EncBinary() + _ = yym1901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -24723,23 +25238,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1860[2] { + if yyq1893[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1869 := z.EncBinary() - _ = yym1869 + yym1902 := z.EncBinary() + _ = yym1902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1860 || yy2arr1860 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1860[3] { - yym1871 := z.EncBinary() - _ = yym1871 + if yyq1893[3] { + yym1904 := z.EncBinary() + _ = yym1904 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -24748,19 +25263,19 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1860[3] { + if yyq1893[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1872 := z.EncBinary() - _ = yym1872 + yym1905 := z.EncBinary() + _ = yym1905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1860 || yy2arr1860 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24773,25 +25288,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1873 := z.DecBinary() - _ = yym1873 + yym1906 := z.DecBinary() + _ = yym1906 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1874 := r.ContainerType() - if yyct1874 == codecSelferValueTypeMap1234 { - yyl1874 := r.ReadMapStart() - if yyl1874 == 0 { + yyct1907 := r.ContainerType() + if yyct1907 == codecSelferValueTypeMap1234 { + yyl1907 := r.ReadMapStart() + if yyl1907 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1874, d) + x.codecDecodeSelfFromMap(yyl1907, d) } - } else if yyct1874 == codecSelferValueTypeArray1234 { - yyl1874 := r.ReadArrayStart() - if yyl1874 == 0 { + } else if yyct1907 == codecSelferValueTypeArray1234 { + yyl1907 := r.ReadArrayStart() + if yyl1907 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1874, d) + x.codecDecodeSelfFromArray(yyl1907, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24803,12 +25318,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1875Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1875Slc - var yyhl1875 bool = l >= 0 - for yyj1875 := 0; ; yyj1875++ { - if yyhl1875 { - if yyj1875 >= l { + var yys1908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1908Slc + var yyhl1908 bool = l >= 0 + for yyj1908 := 0; ; yyj1908++ { + if yyhl1908 { + if yyj1908 >= l { break } } else { @@ -24817,23 +25332,23 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1875Slc = r.DecodeBytes(yys1875Slc, true, true) - yys1875 := string(yys1875Slc) + yys1908Slc = r.DecodeBytes(yys1908Slc, true, true) + yys1908 := string(yys1908Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1875 { + switch yys1908 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1876 := &x.ObjectMeta - yyv1876.CodecDecodeSelf(d) + yyv1909 := &x.ObjectMeta + yyv1909.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1877 := &x.Template - yyv1877.CodecDecodeSelf(d) + yyv1910 := &x.Template + yyv1910.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -24848,9 +25363,9 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1875) - } // end switch yys1875 - } // end for yyj1875 + z.DecStructFieldNotFound(-1, yys1908) + } // end switch yys1908 + } // end for yyj1908 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24858,16 +25373,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1880 int - var yyb1880 bool - var yyhl1880 bool = l >= 0 - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + var yyj1913 int + var yyb1913 bool + var yyhl1913 bool = l >= 0 + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24875,16 +25390,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1881 := &x.ObjectMeta - yyv1881.CodecDecodeSelf(d) + yyv1914 := &x.ObjectMeta + yyv1914.CodecDecodeSelf(d) } - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24892,16 +25407,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1882 := &x.Template - yyv1882.CodecDecodeSelf(d) + yyv1915 := &x.Template + yyv1915.CodecDecodeSelf(d) } - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24911,13 +25426,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24928,17 +25443,17 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj1880++ - if yyhl1880 { - yyb1880 = yyj1880 > l + yyj1913++ + if yyhl1913 { + yyb1913 = yyj1913 > l } else { - yyb1880 = r.CheckBreak() + yyb1913 = r.CheckBreak() } - if yyb1880 { + if yyb1913 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1880-1, "") + z.DecStructFieldNotFound(yyj1913-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24950,68 +25465,68 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1885 := z.EncBinary() - _ = yym1885 + yym1918 := z.EncBinary() + _ = yym1918 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1886 := !z.EncBinary() - yy2arr1886 := z.EncBasicHandle().StructToArray - var yyq1886 [4]bool - _, _, _ = yysep1886, yyq1886, yy2arr1886 - const yyr1886 bool = false - yyq1886[0] = true - yyq1886[2] = x.Kind != "" - yyq1886[3] = x.APIVersion != "" - var yynn1886 int - if yyr1886 || yy2arr1886 { + yysep1919 := !z.EncBinary() + yy2arr1919 := z.EncBasicHandle().StructToArray + var yyq1919 [4]bool + _, _, _ = yysep1919, yyq1919, yy2arr1919 + const yyr1919 bool = false + yyq1919[0] = true + yyq1919[2] = x.Kind != "" + yyq1919[3] = x.APIVersion != "" + var yynn1919 int + if yyr1919 || yy2arr1919 { r.EncodeArrayStart(4) } else { - yynn1886 = 1 - for _, b := range yyq1886 { + yynn1919 = 1 + for _, b := range yyq1919 { if b { - yynn1886++ + yynn1919++ } } - r.EncodeMapStart(yynn1886) - yynn1886 = 0 + r.EncodeMapStart(yynn1919) + yynn1919 = 0 } - if yyr1886 || yy2arr1886 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1886[0] { - yy1888 := &x.ListMeta - yym1889 := z.EncBinary() - _ = yym1889 + if yyq1919[0] { + yy1921 := &x.ListMeta + yym1922 := z.EncBinary() + _ = yym1922 if false { - } else if z.HasExtensions() && z.EncExt(yy1888) { + } else if z.HasExtensions() && z.EncExt(yy1921) { } else { - z.EncFallback(yy1888) + z.EncFallback(yy1921) } } else { r.EncodeNil() } } else { - if yyq1886[0] { + if yyq1919[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1890 := &x.ListMeta - yym1891 := z.EncBinary() - _ = yym1891 + yy1923 := &x.ListMeta + yym1924 := z.EncBinary() + _ = yym1924 if false { - } else if z.HasExtensions() && z.EncExt(yy1890) { + } else if z.HasExtensions() && z.EncExt(yy1923) { } else { - z.EncFallback(yy1890) + z.EncFallback(yy1923) } } } - if yyr1886 || yy2arr1886 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1893 := z.EncBinary() - _ = yym1893 + yym1926 := z.EncBinary() + _ = yym1926 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -25024,19 +25539,19 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1894 := z.EncBinary() - _ = yym1894 + yym1927 := z.EncBinary() + _ = yym1927 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr1886 || yy2arr1886 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1886[2] { - yym1896 := z.EncBinary() - _ = yym1896 + if yyq1919[2] { + yym1929 := z.EncBinary() + _ = yym1929 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25045,23 +25560,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1886[2] { + if yyq1919[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1897 := z.EncBinary() - _ = yym1897 + yym1930 := z.EncBinary() + _ = yym1930 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1886 || yy2arr1886 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1886[3] { - yym1899 := z.EncBinary() - _ = yym1899 + if yyq1919[3] { + yym1932 := z.EncBinary() + _ = yym1932 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25070,19 +25585,19 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1886[3] { + if yyq1919[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1900 := z.EncBinary() - _ = yym1900 + yym1933 := z.EncBinary() + _ = yym1933 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1886 || yy2arr1886 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25095,25 +25610,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1901 := z.DecBinary() - _ = yym1901 + yym1934 := z.DecBinary() + _ = yym1934 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1902 := r.ContainerType() - if yyct1902 == codecSelferValueTypeMap1234 { - yyl1902 := r.ReadMapStart() - if yyl1902 == 0 { + yyct1935 := r.ContainerType() + if yyct1935 == codecSelferValueTypeMap1234 { + yyl1935 := r.ReadMapStart() + if yyl1935 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1902, d) + x.codecDecodeSelfFromMap(yyl1935, d) } - } else if yyct1902 == codecSelferValueTypeArray1234 { - yyl1902 := r.ReadArrayStart() - if yyl1902 == 0 { + } else if yyct1935 == codecSelferValueTypeArray1234 { + yyl1935 := r.ReadArrayStart() + if yyl1935 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1902, d) + x.codecDecodeSelfFromArray(yyl1935, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25125,12 +25640,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1903Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1903Slc - var yyhl1903 bool = l >= 0 - for yyj1903 := 0; ; yyj1903++ { - if yyhl1903 { - if yyj1903 >= l { + var yys1936Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1936Slc + var yyhl1936 bool = l >= 0 + for yyj1936 := 0; ; yyj1936++ { + if yyhl1936 { + if yyj1936 >= l { break } } else { @@ -25139,33 +25654,33 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1903Slc = r.DecodeBytes(yys1903Slc, true, true) - yys1903 := string(yys1903Slc) + yys1936Slc = r.DecodeBytes(yys1936Slc, true, true) + yys1936 := string(yys1936Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1903 { + switch yys1936 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1904 := &x.ListMeta - yym1905 := z.DecBinary() - _ = yym1905 + yyv1937 := &x.ListMeta + yym1938 := z.DecBinary() + _ = yym1938 if false { - } else if z.HasExtensions() && z.DecExt(yyv1904) { + } else if z.HasExtensions() && z.DecExt(yyv1937) { } else { - z.DecFallback(yyv1904, false) + z.DecFallback(yyv1937, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1906 := &x.Items - yym1907 := z.DecBinary() - _ = yym1907 + yyv1939 := &x.Items + yym1940 := z.DecBinary() + _ = yym1940 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1906), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1939), d) } } case "kind": @@ -25181,9 +25696,9 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1903) - } // end switch yys1903 - } // end for yyj1903 + z.DecStructFieldNotFound(-1, yys1936) + } // end switch yys1936 + } // end for yyj1936 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25191,16 +25706,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1910 int - var yyb1910 bool - var yyhl1910 bool = l >= 0 - yyj1910++ - if yyhl1910 { - yyb1910 = yyj1910 > l + var yyj1943 int + var yyb1943 bool + var yyhl1943 bool = l >= 0 + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1910 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1910 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25208,22 +25723,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1911 := &x.ListMeta - yym1912 := z.DecBinary() - _ = yym1912 + yyv1944 := &x.ListMeta + yym1945 := z.DecBinary() + _ = yym1945 if false { - } else if z.HasExtensions() && z.DecExt(yyv1911) { + } else if z.HasExtensions() && z.DecExt(yyv1944) { } else { - z.DecFallback(yyv1911, false) + z.DecFallback(yyv1944, false) } } - yyj1910++ - if yyhl1910 { - yyb1910 = yyj1910 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1910 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1910 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25231,21 +25746,21 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1913 := &x.Items - yym1914 := z.DecBinary() - _ = yym1914 + yyv1946 := &x.Items + yym1947 := z.DecBinary() + _ = yym1947 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1913), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1946), d) } } - yyj1910++ - if yyhl1910 { - yyb1910 = yyj1910 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1910 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1910 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25255,13 +25770,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj1910++ - if yyhl1910 { - yyb1910 = yyj1910 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1910 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1910 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25272,17 +25787,17 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj1910++ - if yyhl1910 { - yyb1910 = yyj1910 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1910 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1910 { + if yyb1943 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1910-1, "") + z.DecStructFieldNotFound(yyj1943-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25294,75 +25809,75 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1917 := z.EncBinary() - _ = yym1917 + yym1950 := z.EncBinary() + _ = yym1950 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1918 := !z.EncBinary() - yy2arr1918 := z.EncBasicHandle().StructToArray - var yyq1918 [3]bool - _, _, _ = yysep1918, yyq1918, yy2arr1918 - const yyr1918 bool = false - yyq1918[0] = x.Replicas != nil - yyq1918[1] = len(x.Selector) != 0 - yyq1918[2] = x.Template != nil - var yynn1918 int - if yyr1918 || yy2arr1918 { + yysep1951 := !z.EncBinary() + yy2arr1951 := z.EncBasicHandle().StructToArray + var yyq1951 [3]bool + _, _, _ = yysep1951, yyq1951, yy2arr1951 + const yyr1951 bool = false + yyq1951[0] = x.Replicas != nil + yyq1951[1] = len(x.Selector) != 0 + yyq1951[2] = x.Template != nil + var yynn1951 int + if yyr1951 || yy2arr1951 { r.EncodeArrayStart(3) } else { - yynn1918 = 0 - for _, b := range yyq1918 { + yynn1951 = 0 + for _, b := range yyq1951 { if b { - yynn1918++ + yynn1951++ } } - r.EncodeMapStart(yynn1918) - yynn1918 = 0 + r.EncodeMapStart(yynn1951) + yynn1951 = 0 } - if yyr1918 || yy2arr1918 { + if yyr1951 || yy2arr1951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1918[0] { + if yyq1951[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1920 := *x.Replicas - yym1921 := z.EncBinary() - _ = yym1921 + yy1953 := *x.Replicas + yym1954 := z.EncBinary() + _ = yym1954 if false { } else { - r.EncodeInt(int64(yy1920)) + r.EncodeInt(int64(yy1953)) } } } else { r.EncodeNil() } } else { - if yyq1918[0] { + if yyq1951[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1922 := *x.Replicas - yym1923 := z.EncBinary() - _ = yym1923 + yy1955 := *x.Replicas + yym1956 := z.EncBinary() + _ = yym1956 if false { } else { - r.EncodeInt(int64(yy1922)) + r.EncodeInt(int64(yy1955)) } } } } - if yyr1918 || yy2arr1918 { + if yyr1951 || yy2arr1951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1918[1] { + if yyq1951[1] { if x.Selector == nil { r.EncodeNil() } else { - yym1925 := z.EncBinary() - _ = yym1925 + yym1958 := z.EncBinary() + _ = yym1958 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -25372,15 +25887,15 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1918[1] { + if yyq1951[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1926 := z.EncBinary() - _ = yym1926 + yym1959 := z.EncBinary() + _ = yym1959 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -25388,9 +25903,9 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1918 || yy2arr1918 { + if yyr1951 || yy2arr1951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1918[2] { + if yyq1951[2] { if x.Template == nil { r.EncodeNil() } else { @@ -25400,7 +25915,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1918[2] { + if yyq1951[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25411,7 +25926,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1918 || yy2arr1918 { + if yyr1951 || yy2arr1951 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25424,25 +25939,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1928 := z.DecBinary() - _ = yym1928 + yym1961 := z.DecBinary() + _ = yym1961 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1929 := r.ContainerType() - if yyct1929 == codecSelferValueTypeMap1234 { - yyl1929 := r.ReadMapStart() - if yyl1929 == 0 { + yyct1962 := r.ContainerType() + if yyct1962 == codecSelferValueTypeMap1234 { + yyl1962 := r.ReadMapStart() + if yyl1962 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1929, d) + x.codecDecodeSelfFromMap(yyl1962, d) } - } else if yyct1929 == codecSelferValueTypeArray1234 { - yyl1929 := r.ReadArrayStart() - if yyl1929 == 0 { + } else if yyct1962 == codecSelferValueTypeArray1234 { + yyl1962 := r.ReadArrayStart() + if yyl1962 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1929, d) + x.codecDecodeSelfFromArray(yyl1962, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25454,12 +25969,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1930Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1930Slc - var yyhl1930 bool = l >= 0 - for yyj1930 := 0; ; yyj1930++ { - if yyhl1930 { - if yyj1930 >= l { + var yys1963Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1963Slc + var yyhl1963 bool = l >= 0 + for yyj1963 := 0; ; yyj1963++ { + if yyhl1963 { + if yyj1963 >= l { break } } else { @@ -25468,10 +25983,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1930Slc = r.DecodeBytes(yys1930Slc, true, true) - yys1930 := string(yys1930Slc) + yys1963Slc = r.DecodeBytes(yys1963Slc, true, true) + yys1963 := string(yys1963Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1930 { + switch yys1963 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -25481,8 +25996,8 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Replicas == nil { x.Replicas = new(int32) } - yym1932 := z.DecBinary() - _ = yym1932 + yym1965 := z.DecBinary() + _ = yym1965 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -25492,12 +26007,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1933 := &x.Selector - yym1934 := z.DecBinary() - _ = yym1934 + yyv1966 := &x.Selector + yym1967 := z.DecBinary() + _ = yym1967 if false { } else { - z.F.DecMapStringStringX(yyv1933, false, d) + z.F.DecMapStringStringX(yyv1966, false, d) } } case "template": @@ -25512,9 +26027,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1930) - } // end switch yys1930 - } // end for yyj1930 + z.DecStructFieldNotFound(-1, yys1963) + } // end switch yys1963 + } // end for yyj1963 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25522,16 +26037,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1936 int - var yyb1936 bool - var yyhl1936 bool = l >= 0 - yyj1936++ - if yyhl1936 { - yyb1936 = yyj1936 > l + var yyj1969 int + var yyb1969 bool + var yyhl1969 bool = l >= 0 + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1936 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1936 { + if yyb1969 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25544,20 +26059,20 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Replicas == nil { x.Replicas = new(int32) } - yym1938 := z.DecBinary() - _ = yym1938 + yym1971 := z.DecBinary() + _ = yym1971 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1936++ - if yyhl1936 { - yyb1936 = yyj1936 > l + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1936 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1936 { + if yyb1969 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25565,21 +26080,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1939 := &x.Selector - yym1940 := z.DecBinary() - _ = yym1940 + yyv1972 := &x.Selector + yym1973 := z.DecBinary() + _ = yym1973 if false { } else { - z.F.DecMapStringStringX(yyv1939, false, d) + z.F.DecMapStringStringX(yyv1972, false, d) } } - yyj1936++ - if yyhl1936 { - yyb1936 = yyj1936 > l + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1936 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1936 { + if yyb1969 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25595,17 +26110,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj1936++ - if yyhl1936 { - yyb1936 = yyj1936 > l + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1936 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1936 { + if yyb1969 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1936-1, "") + z.DecStructFieldNotFound(yyj1969-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25617,34 +26132,34 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1942 := z.EncBinary() - _ = yym1942 + yym1975 := z.EncBinary() + _ = yym1975 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1943 := !z.EncBinary() - yy2arr1943 := z.EncBasicHandle().StructToArray - var yyq1943 [2]bool - _, _, _ = yysep1943, yyq1943, yy2arr1943 - const yyr1943 bool = false - yyq1943[1] = x.ObservedGeneration != 0 - var yynn1943 int - if yyr1943 || yy2arr1943 { + yysep1976 := !z.EncBinary() + yy2arr1976 := z.EncBasicHandle().StructToArray + var yyq1976 [2]bool + _, _, _ = yysep1976, yyq1976, yy2arr1976 + const yyr1976 bool = false + yyq1976[1] = x.ObservedGeneration != 0 + var yynn1976 int + if yyr1976 || yy2arr1976 { r.EncodeArrayStart(2) } else { - yynn1943 = 1 - for _, b := range yyq1943 { + yynn1976 = 1 + for _, b := range yyq1976 { if b { - yynn1943++ + yynn1976++ } } - r.EncodeMapStart(yynn1943) - yynn1943 = 0 + r.EncodeMapStart(yynn1976) + yynn1976 = 0 } - if yyr1943 || yy2arr1943 { + if yyr1976 || yy2arr1976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1945 := z.EncBinary() - _ = yym1945 + yym1978 := z.EncBinary() + _ = yym1978 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -25653,18 +26168,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1946 := z.EncBinary() - _ = yym1946 + yym1979 := z.EncBinary() + _ = yym1979 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1943 || yy2arr1943 { + if yyr1976 || yy2arr1976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1943[1] { - yym1948 := z.EncBinary() - _ = yym1948 + if yyq1976[1] { + yym1981 := z.EncBinary() + _ = yym1981 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -25673,19 +26188,19 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1943[1] { + if yyq1976[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1949 := z.EncBinary() - _ = yym1949 + yym1982 := z.EncBinary() + _ = yym1982 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1943 || yy2arr1943 { + if yyr1976 || yy2arr1976 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25698,25 +26213,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1950 := z.DecBinary() - _ = yym1950 + yym1983 := z.DecBinary() + _ = yym1983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1951 := r.ContainerType() - if yyct1951 == codecSelferValueTypeMap1234 { - yyl1951 := r.ReadMapStart() - if yyl1951 == 0 { + yyct1984 := r.ContainerType() + if yyct1984 == codecSelferValueTypeMap1234 { + yyl1984 := r.ReadMapStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1951, d) + x.codecDecodeSelfFromMap(yyl1984, d) } - } else if yyct1951 == codecSelferValueTypeArray1234 { - yyl1951 := r.ReadArrayStart() - if yyl1951 == 0 { + } else if yyct1984 == codecSelferValueTypeArray1234 { + yyl1984 := r.ReadArrayStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1951, d) + x.codecDecodeSelfFromArray(yyl1984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25728,12 +26243,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1952Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1952Slc - var yyhl1952 bool = l >= 0 - for yyj1952 := 0; ; yyj1952++ { - if yyhl1952 { - if yyj1952 >= l { + var yys1985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1985Slc + var yyhl1985 bool = l >= 0 + for yyj1985 := 0; ; yyj1985++ { + if yyhl1985 { + if yyj1985 >= l { break } } else { @@ -25742,10 +26257,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1952Slc = r.DecodeBytes(yys1952Slc, true, true) - yys1952 := string(yys1952Slc) + yys1985Slc = r.DecodeBytes(yys1985Slc, true, true) + yys1985 := string(yys1985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1952 { + switch yys1985 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -25759,9 +26274,9 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1952) - } // end switch yys1952 - } // end for yyj1952 + z.DecStructFieldNotFound(-1, yys1985) + } // end switch yys1985 + } // end for yyj1985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25769,16 +26284,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1955 int - var yyb1955 bool - var yyhl1955 bool = l >= 0 - yyj1955++ - if yyhl1955 { - yyb1955 = yyj1955 > l + var yyj1988 int + var yyb1988 bool + var yyhl1988 bool = l >= 0 + yyj1988++ + if yyhl1988 { + yyb1988 = yyj1988 > l } else { - yyb1955 = r.CheckBreak() + yyb1988 = r.CheckBreak() } - if yyb1955 { + if yyb1988 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25788,13 +26303,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1955++ - if yyhl1955 { - yyb1955 = yyj1955 > l + yyj1988++ + if yyhl1988 { + yyb1988 = yyj1988 > l } else { - yyb1955 = r.CheckBreak() + yyb1988 = r.CheckBreak() } - if yyb1955 { + if yyb1988 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25805,17 +26320,17 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj1955++ - if yyhl1955 { - yyb1955 = yyj1955 > l + yyj1988++ + if yyhl1988 { + yyb1988 = yyj1988 > l } else { - yyb1955 = r.CheckBreak() + yyb1988 = r.CheckBreak() } - if yyb1955 { + if yyb1988 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1955-1, "") + z.DecStructFieldNotFound(yyj1988-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25827,90 +26342,90 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1958 := z.EncBinary() - _ = yym1958 + yym1991 := z.EncBinary() + _ = yym1991 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1959 := !z.EncBinary() - yy2arr1959 := z.EncBasicHandle().StructToArray - var yyq1959 [5]bool - _, _, _ = yysep1959, yyq1959, yy2arr1959 - const yyr1959 bool = false - yyq1959[0] = true - yyq1959[1] = true - yyq1959[2] = true - yyq1959[3] = x.Kind != "" - yyq1959[4] = x.APIVersion != "" - var yynn1959 int - if yyr1959 || yy2arr1959 { + yysep1992 := !z.EncBinary() + yy2arr1992 := z.EncBasicHandle().StructToArray + var yyq1992 [5]bool + _, _, _ = yysep1992, yyq1992, yy2arr1992 + const yyr1992 bool = false + yyq1992[0] = true + yyq1992[1] = true + yyq1992[2] = true + yyq1992[3] = x.Kind != "" + yyq1992[4] = x.APIVersion != "" + var yynn1992 int + if yyr1992 || yy2arr1992 { r.EncodeArrayStart(5) } else { - yynn1959 = 0 - for _, b := range yyq1959 { + yynn1992 = 0 + for _, b := range yyq1992 { if b { - yynn1959++ + yynn1992++ } } - r.EncodeMapStart(yynn1959) - yynn1959 = 0 + r.EncodeMapStart(yynn1992) + yynn1992 = 0 } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1959[0] { - yy1961 := &x.ObjectMeta - yy1961.CodecEncodeSelf(e) + if yyq1992[0] { + yy1994 := &x.ObjectMeta + yy1994.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1959[0] { + if yyq1992[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1962 := &x.ObjectMeta - yy1962.CodecEncodeSelf(e) + yy1995 := &x.ObjectMeta + yy1995.CodecEncodeSelf(e) } } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1959[1] { - yy1964 := &x.Spec - yy1964.CodecEncodeSelf(e) + if yyq1992[1] { + yy1997 := &x.Spec + yy1997.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1959[1] { + if yyq1992[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1965 := &x.Spec - yy1965.CodecEncodeSelf(e) + yy1998 := &x.Spec + yy1998.CodecEncodeSelf(e) } } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1959[2] { - yy1967 := &x.Status - yy1967.CodecEncodeSelf(e) + if yyq1992[2] { + yy2000 := &x.Status + yy2000.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1959[2] { + if yyq1992[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1968 := &x.Status - yy1968.CodecEncodeSelf(e) + yy2001 := &x.Status + yy2001.CodecEncodeSelf(e) } } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1959[3] { - yym1970 := z.EncBinary() - _ = yym1970 + if yyq1992[3] { + yym2003 := z.EncBinary() + _ = yym2003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25919,23 +26434,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1959[3] { + if yyq1992[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1971 := z.EncBinary() - _ = yym1971 + yym2004 := z.EncBinary() + _ = yym2004 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1959[4] { - yym1973 := z.EncBinary() - _ = yym1973 + if yyq1992[4] { + yym2006 := z.EncBinary() + _ = yym2006 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25944,19 +26459,19 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1959[4] { + if yyq1992[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1974 := z.EncBinary() - _ = yym1974 + yym2007 := z.EncBinary() + _ = yym2007 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1959 || yy2arr1959 { + if yyr1992 || yy2arr1992 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25969,25 +26484,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1975 := z.DecBinary() - _ = yym1975 + yym2008 := z.DecBinary() + _ = yym2008 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1976 := r.ContainerType() - if yyct1976 == codecSelferValueTypeMap1234 { - yyl1976 := r.ReadMapStart() - if yyl1976 == 0 { + yyct2009 := r.ContainerType() + if yyct2009 == codecSelferValueTypeMap1234 { + yyl2009 := r.ReadMapStart() + if yyl2009 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1976, d) + x.codecDecodeSelfFromMap(yyl2009, d) } - } else if yyct1976 == codecSelferValueTypeArray1234 { - yyl1976 := r.ReadArrayStart() - if yyl1976 == 0 { + } else if yyct2009 == codecSelferValueTypeArray1234 { + yyl2009 := r.ReadArrayStart() + if yyl2009 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1976, d) + x.codecDecodeSelfFromArray(yyl2009, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25999,12 +26514,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1977Slc - var yyhl1977 bool = l >= 0 - for yyj1977 := 0; ; yyj1977++ { - if yyhl1977 { - if yyj1977 >= l { + var yys2010Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2010Slc + var yyhl2010 bool = l >= 0 + for yyj2010 := 0; ; yyj2010++ { + if yyhl2010 { + if yyj2010 >= l { break } } else { @@ -26013,30 +26528,30 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1977Slc = r.DecodeBytes(yys1977Slc, true, true) - yys1977 := string(yys1977Slc) + yys2010Slc = r.DecodeBytes(yys2010Slc, true, true) + yys2010 := string(yys2010Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1977 { + switch yys2010 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1978 := &x.ObjectMeta - yyv1978.CodecDecodeSelf(d) + yyv2011 := &x.ObjectMeta + yyv2011.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1979 := &x.Spec - yyv1979.CodecDecodeSelf(d) + yyv2012 := &x.Spec + yyv2012.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv1980 := &x.Status - yyv1980.CodecDecodeSelf(d) + yyv2013 := &x.Status + yyv2013.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -26051,9 +26566,9 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1977) - } // end switch yys1977 - } // end for yyj1977 + z.DecStructFieldNotFound(-1, yys2010) + } // end switch yys2010 + } // end for yyj2010 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26061,16 +26576,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1983 int - var yyb1983 bool - var yyhl1983 bool = l >= 0 - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + var yyj2016 int + var yyb2016 bool + var yyhl2016 bool = l >= 0 + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26078,16 +26593,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1984 := &x.ObjectMeta - yyv1984.CodecDecodeSelf(d) + yyv2017 := &x.ObjectMeta + yyv2017.CodecDecodeSelf(d) } - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26095,16 +26610,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1985 := &x.Spec - yyv1985.CodecDecodeSelf(d) + yyv2018 := &x.Spec + yyv2018.CodecDecodeSelf(d) } - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26112,16 +26627,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv1986 := &x.Status - yyv1986.CodecDecodeSelf(d) + yyv2019 := &x.Status + yyv2019.CodecDecodeSelf(d) } - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26131,13 +26646,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26148,17 +26663,17 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.APIVersion = string(r.DecodeString()) } for { - yyj1983++ - if yyhl1983 { - yyb1983 = yyj1983 > l + yyj2016++ + if yyhl2016 { + yyb2016 = yyj2016 > l } else { - yyb1983 = r.CheckBreak() + yyb2016 = r.CheckBreak() } - if yyb1983 { + if yyb2016 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1983-1, "") + z.DecStructFieldNotFound(yyj2016-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26170,68 +26685,68 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1989 := z.EncBinary() - _ = yym1989 + yym2022 := z.EncBinary() + _ = yym2022 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1990 := !z.EncBinary() - yy2arr1990 := z.EncBasicHandle().StructToArray - var yyq1990 [4]bool - _, _, _ = yysep1990, yyq1990, yy2arr1990 - const yyr1990 bool = false - yyq1990[0] = true - yyq1990[2] = x.Kind != "" - yyq1990[3] = x.APIVersion != "" - var yynn1990 int - if yyr1990 || yy2arr1990 { + yysep2023 := !z.EncBinary() + yy2arr2023 := z.EncBasicHandle().StructToArray + var yyq2023 [4]bool + _, _, _ = yysep2023, yyq2023, yy2arr2023 + const yyr2023 bool = false + yyq2023[0] = true + yyq2023[2] = x.Kind != "" + yyq2023[3] = x.APIVersion != "" + var yynn2023 int + if yyr2023 || yy2arr2023 { r.EncodeArrayStart(4) } else { - yynn1990 = 1 - for _, b := range yyq1990 { + yynn2023 = 1 + for _, b := range yyq2023 { if b { - yynn1990++ + yynn2023++ } } - r.EncodeMapStart(yynn1990) - yynn1990 = 0 + r.EncodeMapStart(yynn2023) + yynn2023 = 0 } - if yyr1990 || yy2arr1990 { + if yyr2023 || yy2arr2023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[0] { - yy1992 := &x.ListMeta - yym1993 := z.EncBinary() - _ = yym1993 + if yyq2023[0] { + yy2025 := &x.ListMeta + yym2026 := z.EncBinary() + _ = yym2026 if false { - } else if z.HasExtensions() && z.EncExt(yy1992) { + } else if z.HasExtensions() && z.EncExt(yy2025) { } else { - z.EncFallback(yy1992) + z.EncFallback(yy2025) } } else { r.EncodeNil() } } else { - if yyq1990[0] { + if yyq2023[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1994 := &x.ListMeta - yym1995 := z.EncBinary() - _ = yym1995 + yy2027 := &x.ListMeta + yym2028 := z.EncBinary() + _ = yym2028 if false { - } else if z.HasExtensions() && z.EncExt(yy1994) { + } else if z.HasExtensions() && z.EncExt(yy2027) { } else { - z.EncFallback(yy1994) + z.EncFallback(yy2027) } } } - if yyr1990 || yy2arr1990 { + if yyr2023 || yy2arr2023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1997 := z.EncBinary() - _ = yym1997 + yym2030 := z.EncBinary() + _ = yym2030 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -26244,19 +26759,19 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1998 := z.EncBinary() - _ = yym1998 + yym2031 := z.EncBinary() + _ = yym2031 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr1990 || yy2arr1990 { + if yyr2023 || yy2arr2023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[2] { - yym2000 := z.EncBinary() - _ = yym2000 + if yyq2023[2] { + yym2033 := z.EncBinary() + _ = yym2033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26265,23 +26780,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[2] { + if yyq2023[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2001 := z.EncBinary() - _ = yym2001 + yym2034 := z.EncBinary() + _ = yym2034 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1990 || yy2arr1990 { + if yyr2023 || yy2arr2023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[3] { - yym2003 := z.EncBinary() - _ = yym2003 + if yyq2023[3] { + yym2036 := z.EncBinary() + _ = yym2036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26290,19 +26805,19 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[3] { + if yyq2023[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2004 := z.EncBinary() - _ = yym2004 + yym2037 := z.EncBinary() + _ = yym2037 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1990 || yy2arr1990 { + if yyr2023 || yy2arr2023 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26315,25 +26830,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2005 := z.DecBinary() - _ = yym2005 + yym2038 := z.DecBinary() + _ = yym2038 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2006 := r.ContainerType() - if yyct2006 == codecSelferValueTypeMap1234 { - yyl2006 := r.ReadMapStart() - if yyl2006 == 0 { + yyct2039 := r.ContainerType() + if yyct2039 == codecSelferValueTypeMap1234 { + yyl2039 := r.ReadMapStart() + if yyl2039 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2006, d) + x.codecDecodeSelfFromMap(yyl2039, d) } - } else if yyct2006 == codecSelferValueTypeArray1234 { - yyl2006 := r.ReadArrayStart() - if yyl2006 == 0 { + } else if yyct2039 == codecSelferValueTypeArray1234 { + yyl2039 := r.ReadArrayStart() + if yyl2039 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2006, d) + x.codecDecodeSelfFromArray(yyl2039, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26345,12 +26860,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2007Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2007Slc - var yyhl2007 bool = l >= 0 - for yyj2007 := 0; ; yyj2007++ { - if yyhl2007 { - if yyj2007 >= l { + var yys2040Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2040Slc + var yyhl2040 bool = l >= 0 + for yyj2040 := 0; ; yyj2040++ { + if yyhl2040 { + if yyj2040 >= l { break } } else { @@ -26359,33 +26874,33 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2007Slc = r.DecodeBytes(yys2007Slc, true, true) - yys2007 := string(yys2007Slc) + yys2040Slc = r.DecodeBytes(yys2040Slc, true, true) + yys2040 := string(yys2040Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2007 { + switch yys2040 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2008 := &x.ListMeta - yym2009 := z.DecBinary() - _ = yym2009 + yyv2041 := &x.ListMeta + yym2042 := z.DecBinary() + _ = yym2042 if false { - } else if z.HasExtensions() && z.DecExt(yyv2008) { + } else if z.HasExtensions() && z.DecExt(yyv2041) { } else { - z.DecFallback(yyv2008, false) + z.DecFallback(yyv2041, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2010 := &x.Items - yym2011 := z.DecBinary() - _ = yym2011 + yyv2043 := &x.Items + yym2044 := z.DecBinary() + _ = yym2044 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2010), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2043), d) } } case "kind": @@ -26401,9 +26916,9 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2007) - } // end switch yys2007 - } // end for yyj2007 + z.DecStructFieldNotFound(-1, yys2040) + } // end switch yys2040 + } // end for yyj2040 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26411,16 +26926,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2014 int - var yyb2014 bool - var yyhl2014 bool = l >= 0 - yyj2014++ - if yyhl2014 { - yyb2014 = yyj2014 > l + var yyj2047 int + var yyb2047 bool + var yyhl2047 bool = l >= 0 + yyj2047++ + if yyhl2047 { + yyb2047 = yyj2047 > l } else { - yyb2014 = r.CheckBreak() + yyb2047 = r.CheckBreak() } - if yyb2014 { + if yyb2047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26428,22 +26943,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2015 := &x.ListMeta - yym2016 := z.DecBinary() - _ = yym2016 + yyv2048 := &x.ListMeta + yym2049 := z.DecBinary() + _ = yym2049 if false { - } else if z.HasExtensions() && z.DecExt(yyv2015) { + } else if z.HasExtensions() && z.DecExt(yyv2048) { } else { - z.DecFallback(yyv2015, false) + z.DecFallback(yyv2048, false) } } - yyj2014++ - if yyhl2014 { - yyb2014 = yyj2014 > l + yyj2047++ + if yyhl2047 { + yyb2047 = yyj2047 > l } else { - yyb2014 = r.CheckBreak() + yyb2047 = r.CheckBreak() } - if yyb2014 { + if yyb2047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26451,21 +26966,21 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2017 := &x.Items - yym2018 := z.DecBinary() - _ = yym2018 + yyv2050 := &x.Items + yym2051 := z.DecBinary() + _ = yym2051 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2017), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2050), d) } } - yyj2014++ - if yyhl2014 { - yyb2014 = yyj2014 > l + yyj2047++ + if yyhl2047 { + yyb2047 = yyj2047 > l } else { - yyb2014 = r.CheckBreak() + yyb2047 = r.CheckBreak() } - if yyb2014 { + if yyb2047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26475,13 +26990,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj2014++ - if yyhl2014 { - yyb2014 = yyj2014 > l + yyj2047++ + if yyhl2047 { + yyb2047 = yyj2047 > l } else { - yyb2014 = r.CheckBreak() + yyb2047 = r.CheckBreak() } - if yyb2014 { + if yyb2047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26492,17 +27007,17 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } for { - yyj2014++ - if yyhl2014 { - yyb2014 = yyj2014 > l + yyj2047++ + if yyhl2047 { + yyb2047 = yyj2047 > l } else { - yyb2014 = r.CheckBreak() + yyb2047 = r.CheckBreak() } - if yyb2014 { + if yyb2047 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2014-1, "") + z.DecStructFieldNotFound(yyj2047-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26511,8 +27026,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2021 := z.EncBinary() - _ = yym2021 + yym2054 := z.EncBinary() + _ = yym2054 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -26524,8 +27039,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2022 := z.DecBinary() - _ = yym2022 + yym2055 := z.DecBinary() + _ = yym2055 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -26537,8 +27052,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2023 := z.EncBinary() - _ = yym2023 + yym2056 := z.EncBinary() + _ = yym2056 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -26550,8 +27065,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2024 := z.DecBinary() - _ = yym2024 + yym2057 := z.DecBinary() + _ = yym2057 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -26566,48 +27081,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2025 := z.EncBinary() - _ = yym2025 + yym2058 := z.EncBinary() + _ = yym2058 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2026 := !z.EncBinary() - yy2arr2026 := z.EncBasicHandle().StructToArray - var yyq2026 [1]bool - _, _, _ = yysep2026, yyq2026, yy2arr2026 - const yyr2026 bool = false - yyq2026[0] = true - var yynn2026 int - if yyr2026 || yy2arr2026 { + yysep2059 := !z.EncBinary() + yy2arr2059 := z.EncBasicHandle().StructToArray + var yyq2059 [1]bool + _, _, _ = yysep2059, yyq2059, yy2arr2059 + const yyr2059 bool = false + yyq2059[0] = true + var yynn2059 int + if yyr2059 || yy2arr2059 { r.EncodeArrayStart(1) } else { - yynn2026 = 0 - for _, b := range yyq2026 { + yynn2059 = 0 + for _, b := range yyq2059 { if b { - yynn2026++ + yynn2059++ } } - r.EncodeMapStart(yynn2026) - yynn2026 = 0 + r.EncodeMapStart(yynn2059) + yynn2059 = 0 } - if yyr2026 || yy2arr2026 { + if yyr2059 || yy2arr2059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2026[0] { - yy2028 := &x.LoadBalancer - yy2028.CodecEncodeSelf(e) + if yyq2059[0] { + yy2061 := &x.LoadBalancer + yy2061.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2026[0] { + if yyq2059[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2029 := &x.LoadBalancer - yy2029.CodecEncodeSelf(e) + yy2062 := &x.LoadBalancer + yy2062.CodecEncodeSelf(e) } } - if yyr2026 || yy2arr2026 { + if yyr2059 || yy2arr2059 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26620,25 +27135,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2030 := z.DecBinary() - _ = yym2030 + yym2063 := z.DecBinary() + _ = yym2063 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2031 := r.ContainerType() - if yyct2031 == codecSelferValueTypeMap1234 { - yyl2031 := r.ReadMapStart() - if yyl2031 == 0 { + yyct2064 := r.ContainerType() + if yyct2064 == codecSelferValueTypeMap1234 { + yyl2064 := r.ReadMapStart() + if yyl2064 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2031, d) + x.codecDecodeSelfFromMap(yyl2064, d) } - } else if yyct2031 == codecSelferValueTypeArray1234 { - yyl2031 := r.ReadArrayStart() - if yyl2031 == 0 { + } else if yyct2064 == codecSelferValueTypeArray1234 { + yyl2064 := r.ReadArrayStart() + if yyl2064 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2031, d) + x.codecDecodeSelfFromArray(yyl2064, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26650,12 +27165,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2032Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2032Slc - var yyhl2032 bool = l >= 0 - for yyj2032 := 0; ; yyj2032++ { - if yyhl2032 { - if yyj2032 >= l { + var yys2065Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2065Slc + var yyhl2065 bool = l >= 0 + for yyj2065 := 0; ; yyj2065++ { + if yyhl2065 { + if yyj2065 >= l { break } } else { @@ -26664,21 +27179,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2032Slc = r.DecodeBytes(yys2032Slc, true, true) - yys2032 := string(yys2032Slc) + yys2065Slc = r.DecodeBytes(yys2065Slc, true, true) + yys2065 := string(yys2065Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2032 { + switch yys2065 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2033 := &x.LoadBalancer - yyv2033.CodecDecodeSelf(d) + yyv2066 := &x.LoadBalancer + yyv2066.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2032) - } // end switch yys2032 - } // end for yyj2032 + z.DecStructFieldNotFound(-1, yys2065) + } // end switch yys2065 + } // end for yyj2065 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26686,16 +27201,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2034 int - var yyb2034 bool - var yyhl2034 bool = l >= 0 - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + var yyj2067 int + var yyb2067 bool + var yyhl2067 bool = l >= 0 + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26703,21 +27218,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2035 := &x.LoadBalancer - yyv2035.CodecDecodeSelf(d) + yyv2068 := &x.LoadBalancer + yyv2068.CodecDecodeSelf(d) } for { - yyj2034++ - if yyhl2034 { - yyb2034 = yyj2034 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2034 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2034 { + if yyb2067 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2034-1, "") + z.DecStructFieldNotFound(yyj2067-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26729,38 +27244,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2036 := z.EncBinary() - _ = yym2036 + yym2069 := z.EncBinary() + _ = yym2069 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2037 := !z.EncBinary() - yy2arr2037 := z.EncBasicHandle().StructToArray - var yyq2037 [1]bool - _, _, _ = yysep2037, yyq2037, yy2arr2037 - const yyr2037 bool = false - yyq2037[0] = len(x.Ingress) != 0 - var yynn2037 int - if yyr2037 || yy2arr2037 { + yysep2070 := !z.EncBinary() + yy2arr2070 := z.EncBasicHandle().StructToArray + var yyq2070 [1]bool + _, _, _ = yysep2070, yyq2070, yy2arr2070 + const yyr2070 bool = false + yyq2070[0] = len(x.Ingress) != 0 + var yynn2070 int + if yyr2070 || yy2arr2070 { r.EncodeArrayStart(1) } else { - yynn2037 = 0 - for _, b := range yyq2037 { + yynn2070 = 0 + for _, b := range yyq2070 { if b { - yynn2037++ + yynn2070++ } } - r.EncodeMapStart(yynn2037) - yynn2037 = 0 + r.EncodeMapStart(yynn2070) + yynn2070 = 0 } - if yyr2037 || yy2arr2037 { + if yyr2070 || yy2arr2070 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2037[0] { + if yyq2070[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2039 := z.EncBinary() - _ = yym2039 + yym2072 := z.EncBinary() + _ = yym2072 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -26770,15 +27285,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2037[0] { + if yyq2070[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2040 := z.EncBinary() - _ = yym2040 + yym2073 := z.EncBinary() + _ = yym2073 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -26786,7 +27301,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2037 || yy2arr2037 { + if yyr2070 || yy2arr2070 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26799,25 +27314,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2041 := z.DecBinary() - _ = yym2041 + yym2074 := z.DecBinary() + _ = yym2074 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2042 := r.ContainerType() - if yyct2042 == codecSelferValueTypeMap1234 { - yyl2042 := r.ReadMapStart() - if yyl2042 == 0 { + yyct2075 := r.ContainerType() + if yyct2075 == codecSelferValueTypeMap1234 { + yyl2075 := r.ReadMapStart() + if yyl2075 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2042, d) + x.codecDecodeSelfFromMap(yyl2075, d) } - } else if yyct2042 == codecSelferValueTypeArray1234 { - yyl2042 := r.ReadArrayStart() - if yyl2042 == 0 { + } else if yyct2075 == codecSelferValueTypeArray1234 { + yyl2075 := r.ReadArrayStart() + if yyl2075 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2042, d) + x.codecDecodeSelfFromArray(yyl2075, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26829,12 +27344,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2043Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2043Slc - var yyhl2043 bool = l >= 0 - for yyj2043 := 0; ; yyj2043++ { - if yyhl2043 { - if yyj2043 >= l { + var yys2076Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2076Slc + var yyhl2076 bool = l >= 0 + for yyj2076 := 0; ; yyj2076++ { + if yyhl2076 { + if yyj2076 >= l { break } } else { @@ -26843,26 +27358,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2043Slc = r.DecodeBytes(yys2043Slc, true, true) - yys2043 := string(yys2043Slc) + yys2076Slc = r.DecodeBytes(yys2076Slc, true, true) + yys2076 := string(yys2076Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2043 { + switch yys2076 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2044 := &x.Ingress - yym2045 := z.DecBinary() - _ = yym2045 + yyv2077 := &x.Ingress + yym2078 := z.DecBinary() + _ = yym2078 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2044), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2077), d) } } default: - z.DecStructFieldNotFound(-1, yys2043) - } // end switch yys2043 - } // end for yyj2043 + z.DecStructFieldNotFound(-1, yys2076) + } // end switch yys2076 + } // end for yyj2076 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26870,16 +27385,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2046 int - var yyb2046 bool - var yyhl2046 bool = l >= 0 - yyj2046++ - if yyhl2046 { - yyb2046 = yyj2046 > l + var yyj2079 int + var yyb2079 bool + var yyhl2079 bool = l >= 0 + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2046 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2046 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26887,26 +27402,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2047 := &x.Ingress - yym2048 := z.DecBinary() - _ = yym2048 + yyv2080 := &x.Ingress + yym2081 := z.DecBinary() + _ = yym2081 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2047), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2080), d) } } for { - yyj2046++ - if yyhl2046 { - yyb2046 = yyj2046 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2046 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2046 { + if yyb2079 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2046-1, "") + z.DecStructFieldNotFound(yyj2079-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26918,36 +27433,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2049 := z.EncBinary() - _ = yym2049 + yym2082 := z.EncBinary() + _ = yym2082 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2050 := !z.EncBinary() - yy2arr2050 := z.EncBasicHandle().StructToArray - var yyq2050 [2]bool - _, _, _ = yysep2050, yyq2050, yy2arr2050 - const yyr2050 bool = false - yyq2050[0] = x.IP != "" - yyq2050[1] = x.Hostname != "" - var yynn2050 int - if yyr2050 || yy2arr2050 { + yysep2083 := !z.EncBinary() + yy2arr2083 := z.EncBasicHandle().StructToArray + var yyq2083 [2]bool + _, _, _ = yysep2083, yyq2083, yy2arr2083 + const yyr2083 bool = false + yyq2083[0] = x.IP != "" + yyq2083[1] = x.Hostname != "" + var yynn2083 int + if yyr2083 || yy2arr2083 { r.EncodeArrayStart(2) } else { - yynn2050 = 0 - for _, b := range yyq2050 { + yynn2083 = 0 + for _, b := range yyq2083 { if b { - yynn2050++ + yynn2083++ } } - r.EncodeMapStart(yynn2050) - yynn2050 = 0 + r.EncodeMapStart(yynn2083) + yynn2083 = 0 } - if yyr2050 || yy2arr2050 { + if yyr2083 || yy2arr2083 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2050[0] { - yym2052 := z.EncBinary() - _ = yym2052 + if yyq2083[0] { + yym2085 := z.EncBinary() + _ = yym2085 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -26956,23 +27471,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2050[0] { + if yyq2083[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2053 := z.EncBinary() - _ = yym2053 + yym2086 := z.EncBinary() + _ = yym2086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2050 || yy2arr2050 { + if yyr2083 || yy2arr2083 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2050[1] { - yym2055 := z.EncBinary() - _ = yym2055 + if yyq2083[1] { + yym2088 := z.EncBinary() + _ = yym2088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -26981,19 +27496,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2050[1] { + if yyq2083[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2056 := z.EncBinary() - _ = yym2056 + yym2089 := z.EncBinary() + _ = yym2089 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2050 || yy2arr2050 { + if yyr2083 || yy2arr2083 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27006,25 +27521,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2057 := z.DecBinary() - _ = yym2057 + yym2090 := z.DecBinary() + _ = yym2090 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2058 := r.ContainerType() - if yyct2058 == codecSelferValueTypeMap1234 { - yyl2058 := r.ReadMapStart() - if yyl2058 == 0 { + yyct2091 := r.ContainerType() + if yyct2091 == codecSelferValueTypeMap1234 { + yyl2091 := r.ReadMapStart() + if yyl2091 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2058, d) + x.codecDecodeSelfFromMap(yyl2091, d) } - } else if yyct2058 == codecSelferValueTypeArray1234 { - yyl2058 := r.ReadArrayStart() - if yyl2058 == 0 { + } else if yyct2091 == codecSelferValueTypeArray1234 { + yyl2091 := r.ReadArrayStart() + if yyl2091 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2058, d) + x.codecDecodeSelfFromArray(yyl2091, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27036,12 +27551,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2059Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2059Slc - var yyhl2059 bool = l >= 0 - for yyj2059 := 0; ; yyj2059++ { - if yyhl2059 { - if yyj2059 >= l { + var yys2092Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2092Slc + var yyhl2092 bool = l >= 0 + for yyj2092 := 0; ; yyj2092++ { + if yyhl2092 { + if yyj2092 >= l { break } } else { @@ -27050,10 +27565,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2059Slc = r.DecodeBytes(yys2059Slc, true, true) - yys2059 := string(yys2059Slc) + yys2092Slc = r.DecodeBytes(yys2092Slc, true, true) + yys2092 := string(yys2092Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2059 { + switch yys2092 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -27067,9 +27582,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2059) - } // end switch yys2059 - } // end for yyj2059 + z.DecStructFieldNotFound(-1, yys2092) + } // end switch yys2092 + } // end for yyj2092 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27077,16 +27592,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2062 int - var yyb2062 bool - var yyhl2062 bool = l >= 0 - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + var yyj2095 int + var yyb2095 bool + var yyhl2095 bool = l >= 0 + yyj2095++ + if yyhl2095 { + yyb2095 = yyj2095 > l } else { - yyb2062 = r.CheckBreak() + yyb2095 = r.CheckBreak() } - if yyb2062 { + if yyb2095 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27096,13 +27611,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2095++ + if yyhl2095 { + yyb2095 = yyj2095 > l } else { - yyb2062 = r.CheckBreak() + yyb2095 = r.CheckBreak() } - if yyb2062 { + if yyb2095 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27113,17 +27628,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2095++ + if yyhl2095 { + yyb2095 = yyj2095 > l } else { - yyb2062 = r.CheckBreak() + yyb2095 = r.CheckBreak() } - if yyb2062 { + if yyb2095 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2062-1, "") + z.DecStructFieldNotFound(yyj2095-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27135,43 +27650,43 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2065 := z.EncBinary() - _ = yym2065 + yym2098 := z.EncBinary() + _ = yym2098 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2066 := !z.EncBinary() - yy2arr2066 := z.EncBasicHandle().StructToArray - var yyq2066 [8]bool - _, _, _ = yysep2066, yyq2066, yy2arr2066 - const yyr2066 bool = false - yyq2066[1] = len(x.Selector) != 0 - yyq2066[2] = x.ClusterIP != "" - yyq2066[3] = x.Type != "" - yyq2066[4] = len(x.ExternalIPs) != 0 - yyq2066[5] = len(x.DeprecatedPublicIPs) != 0 - yyq2066[6] = x.SessionAffinity != "" - yyq2066[7] = x.LoadBalancerIP != "" - var yynn2066 int - if yyr2066 || yy2arr2066 { + yysep2099 := !z.EncBinary() + yy2arr2099 := z.EncBasicHandle().StructToArray + var yyq2099 [8]bool + _, _, _ = yysep2099, yyq2099, yy2arr2099 + const yyr2099 bool = false + yyq2099[1] = len(x.Selector) != 0 + yyq2099[2] = x.ClusterIP != "" + yyq2099[3] = x.Type != "" + yyq2099[4] = len(x.ExternalIPs) != 0 + yyq2099[5] = len(x.DeprecatedPublicIPs) != 0 + yyq2099[6] = x.SessionAffinity != "" + yyq2099[7] = x.LoadBalancerIP != "" + var yynn2099 int + if yyr2099 || yy2arr2099 { r.EncodeArrayStart(8) } else { - yynn2066 = 1 - for _, b := range yyq2066 { + yynn2099 = 1 + for _, b := range yyq2099 { if b { - yynn2066++ + yynn2099++ } } - r.EncodeMapStart(yynn2066) - yynn2066 = 0 + r.EncodeMapStart(yynn2099) + yynn2099 = 0 } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2068 := z.EncBinary() - _ = yym2068 + yym2101 := z.EncBinary() + _ = yym2101 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -27184,22 +27699,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2069 := z.EncBinary() - _ = yym2069 + yym2102 := z.EncBinary() + _ = yym2102 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[1] { + if yyq2099[1] { if x.Selector == nil { r.EncodeNil() } else { - yym2071 := z.EncBinary() - _ = yym2071 + yym2104 := z.EncBinary() + _ = yym2104 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -27209,15 +27724,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2066[1] { + if yyq2099[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2072 := z.EncBinary() - _ = yym2072 + yym2105 := z.EncBinary() + _ = yym2105 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -27225,11 +27740,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[2] { - yym2074 := z.EncBinary() - _ = yym2074 + if yyq2099[2] { + yym2107 := z.EncBinary() + _ = yym2107 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -27238,41 +27753,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2066[2] { + if yyq2099[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2075 := z.EncBinary() - _ = yym2075 + yym2108 := z.EncBinary() + _ = yym2108 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[3] { + if yyq2099[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2066[3] { + if yyq2099[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[4] { + if yyq2099[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2078 := z.EncBinary() - _ = yym2078 + yym2111 := z.EncBinary() + _ = yym2111 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -27282,15 +27797,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2066[4] { + if yyq2099[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2079 := z.EncBinary() - _ = yym2079 + yym2112 := z.EncBinary() + _ = yym2112 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -27298,14 +27813,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[5] { + if yyq2099[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2081 := z.EncBinary() - _ = yym2081 + yym2114 := z.EncBinary() + _ = yym2114 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -27315,15 +27830,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2066[5] { + if yyq2099[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2082 := z.EncBinary() - _ = yym2082 + yym2115 := z.EncBinary() + _ = yym2115 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -27331,26 +27846,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[6] { + if yyq2099[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2066[6] { + if yyq2099[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2066[7] { - yym2085 := z.EncBinary() - _ = yym2085 + if yyq2099[7] { + yym2118 := z.EncBinary() + _ = yym2118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -27359,19 +27874,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2066[7] { + if yyq2099[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2086 := z.EncBinary() - _ = yym2086 + yym2119 := z.EncBinary() + _ = yym2119 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2066 || yy2arr2066 { + if yyr2099 || yy2arr2099 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27384,25 +27899,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2087 := z.DecBinary() - _ = yym2087 + yym2120 := z.DecBinary() + _ = yym2120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2088 := r.ContainerType() - if yyct2088 == codecSelferValueTypeMap1234 { - yyl2088 := r.ReadMapStart() - if yyl2088 == 0 { + yyct2121 := r.ContainerType() + if yyct2121 == codecSelferValueTypeMap1234 { + yyl2121 := r.ReadMapStart() + if yyl2121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2088, d) + x.codecDecodeSelfFromMap(yyl2121, d) } - } else if yyct2088 == codecSelferValueTypeArray1234 { - yyl2088 := r.ReadArrayStart() - if yyl2088 == 0 { + } else if yyct2121 == codecSelferValueTypeArray1234 { + yyl2121 := r.ReadArrayStart() + if yyl2121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2088, d) + x.codecDecodeSelfFromArray(yyl2121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27414,12 +27929,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2089Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2089Slc - var yyhl2089 bool = l >= 0 - for yyj2089 := 0; ; yyj2089++ { - if yyhl2089 { - if yyj2089 >= l { + var yys2122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2122Slc + var yyhl2122 bool = l >= 0 + for yyj2122 := 0; ; yyj2122++ { + if yyhl2122 { + if yyj2122 >= l { break } } else { @@ -27428,32 +27943,32 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2089Slc = r.DecodeBytes(yys2089Slc, true, true) - yys2089 := string(yys2089Slc) + yys2122Slc = r.DecodeBytes(yys2122Slc, true, true) + yys2122 := string(yys2122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2089 { + switch yys2122 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2090 := &x.Ports - yym2091 := z.DecBinary() - _ = yym2091 + yyv2123 := &x.Ports + yym2124 := z.DecBinary() + _ = yym2124 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2090), d) + h.decSliceServicePort((*[]ServicePort)(yyv2123), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2092 := &x.Selector - yym2093 := z.DecBinary() - _ = yym2093 + yyv2125 := &x.Selector + yym2126 := z.DecBinary() + _ = yym2126 if false { } else { - z.F.DecMapStringStringX(yyv2092, false, d) + z.F.DecMapStringStringX(yyv2125, false, d) } } case "clusterIP": @@ -27472,24 +27987,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2096 := &x.ExternalIPs - yym2097 := z.DecBinary() - _ = yym2097 + yyv2129 := &x.ExternalIPs + yym2130 := z.DecBinary() + _ = yym2130 if false { } else { - z.F.DecSliceStringX(yyv2096, false, d) + z.F.DecSliceStringX(yyv2129, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2098 := &x.DeprecatedPublicIPs - yym2099 := z.DecBinary() - _ = yym2099 + yyv2131 := &x.DeprecatedPublicIPs + yym2132 := z.DecBinary() + _ = yym2132 if false { } else { - z.F.DecSliceStringX(yyv2098, false, d) + z.F.DecSliceStringX(yyv2131, false, d) } } case "sessionAffinity": @@ -27505,9 +28020,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.LoadBalancerIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2089) - } // end switch yys2089 - } // end for yyj2089 + z.DecStructFieldNotFound(-1, yys2122) + } // end switch yys2122 + } // end for yyj2122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27515,16 +28030,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2102 int - var yyb2102 bool - var yyhl2102 bool = l >= 0 - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + var yyj2135 int + var yyb2135 bool + var yyhl2135 bool = l >= 0 + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27532,21 +28047,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2103 := &x.Ports - yym2104 := z.DecBinary() - _ = yym2104 + yyv2136 := &x.Ports + yym2137 := z.DecBinary() + _ = yym2137 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2103), d) + h.decSliceServicePort((*[]ServicePort)(yyv2136), d) } } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27554,21 +28069,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2105 := &x.Selector - yym2106 := z.DecBinary() - _ = yym2106 + yyv2138 := &x.Selector + yym2139 := z.DecBinary() + _ = yym2139 if false { } else { - z.F.DecMapStringStringX(yyv2105, false, d) + z.F.DecMapStringStringX(yyv2138, false, d) } } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27578,13 +28093,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27594,13 +28109,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27608,21 +28123,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2109 := &x.ExternalIPs - yym2110 := z.DecBinary() - _ = yym2110 + yyv2142 := &x.ExternalIPs + yym2143 := z.DecBinary() + _ = yym2143 if false { } else { - z.F.DecSliceStringX(yyv2109, false, d) + z.F.DecSliceStringX(yyv2142, false, d) } } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27630,21 +28145,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2111 := &x.DeprecatedPublicIPs - yym2112 := z.DecBinary() - _ = yym2112 + yyv2144 := &x.DeprecatedPublicIPs + yym2145 := z.DecBinary() + _ = yym2145 if false { } else { - z.F.DecSliceStringX(yyv2111, false, d) + z.F.DecSliceStringX(yyv2144, false, d) } } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27654,13 +28169,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27671,392 +28186,22 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.LoadBalancerIP = string(r.DecodeString()) } for { - yyj2102++ - if yyhl2102 { - yyb2102 = yyj2102 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2102 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2102 { + if yyb2135 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2102-1, "") + z.DecStructFieldNotFound(yyj2135-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2115 := z.EncBinary() - _ = yym2115 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2116 := !z.EncBinary() - yy2arr2116 := z.EncBasicHandle().StructToArray - var yyq2116 [5]bool - _, _, _ = yysep2116, yyq2116, yy2arr2116 - const yyr2116 bool = false - yyq2116[0] = x.Name != "" - yyq2116[1] = x.Protocol != "" - yyq2116[3] = true - yyq2116[4] = x.NodePort != 0 - var yynn2116 int - if yyr2116 || yy2arr2116 { - r.EncodeArrayStart(5) - } else { - yynn2116 = 1 - for _, b := range yyq2116 { - if b { - yynn2116++ - } - } - r.EncodeMapStart(yynn2116) - yynn2116 = 0 - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2116[0] { - yym2118 := z.EncBinary() - _ = yym2118 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2116[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2119 := z.EncBinary() - _ = yym2119 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2116[1] { - x.Protocol.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2116[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Protocol.CodecEncodeSelf(e) - } - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2122 := z.EncBinary() - _ = yym2122 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2123 := z.EncBinary() - _ = yym2123 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2116[3] { - yy2125 := &x.TargetPort - yym2126 := z.EncBinary() - _ = yym2126 - if false { - } else if z.HasExtensions() && z.EncExt(yy2125) { - } else if !yym2126 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2125) - } else { - z.EncFallback(yy2125) - } - } else { - r.EncodeNil() - } - } else { - if yyq2116[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("targetPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2127 := &x.TargetPort - yym2128 := z.EncBinary() - _ = yym2128 - if false { - } else if z.HasExtensions() && z.EncExt(yy2127) { - } else if !yym2128 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2127) - } else { - z.EncFallback(yy2127) - } - } - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2116[4] { - yym2130 := z.EncBinary() - _ = yym2130 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2116[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2131 := z.EncBinary() - _ = yym2131 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } - } - if yyr2116 || yy2arr2116 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2132 := z.DecBinary() - _ = yym2132 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2133 := r.ContainerType() - if yyct2133 == codecSelferValueTypeMap1234 { - yyl2133 := r.ReadMapStart() - if yyl2133 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2133, d) - } - } else if yyct2133 == codecSelferValueTypeArray1234 { - yyl2133 := r.ReadArrayStart() - if yyl2133 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2133, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2134Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2134Slc - var yyhl2134 bool = l >= 0 - for yyj2134 := 0; ; yyj2134++ { - if yyhl2134 { - if yyj2134 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2134Slc = r.DecodeBytes(yys2134Slc, true, true) - yys2134 := string(yys2134Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2134 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "protocol": - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - case "port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "targetPort": - if r.TryDecodeAsNil() { - x.TargetPort = pkg5_intstr.IntOrString{} - } else { - yyv2138 := &x.TargetPort - yym2139 := z.DecBinary() - _ = yym2139 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2138) { - } else if !yym2139 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2138) - } else { - z.DecFallback(yyv2138, false) - } - } - case "nodePort": - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys2134) - } // end switch yys2134 - } // end for yyj2134 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2141 int - var yyb2141 bool - var yyhl2141 bool = l >= 0 - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetPort = pkg5_intstr.IntOrString{} - } else { - yyv2145 := &x.TargetPort - yym2146 := z.DecBinary() - _ = yym2146 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2145) { - } else if !yym2146 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2145) - } else { - z.DecFallback(yyv2145, false) - } - } - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int32(r.DecodeInt(32)) - } - for { - yyj2141++ - if yyhl2141 { - yyb2141 = yyj2141 > l - } else { - yyb2141 = r.CheckBreak() - } - if yyb2141 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2141-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -28073,16 +28218,15 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2149 [5]bool _, _, _ = yysep2149, yyq2149, yy2arr2149 const yyr2149 bool = false - yyq2149[0] = true - yyq2149[1] = true - yyq2149[2] = true - yyq2149[3] = x.Kind != "" - yyq2149[4] = x.APIVersion != "" + yyq2149[0] = x.Name != "" + yyq2149[1] = x.Protocol != "" + yyq2149[3] = true + yyq2149[4] = x.NodePort != 0 var yynn2149 int if yyr2149 || yy2arr2149 { r.EncodeArrayStart(5) } else { - yynn2149 = 0 + yynn2149 = 1 for _, b := range yyq2149 { if b { yynn2149++ @@ -28094,76 +28238,92 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2149 || yy2arr2149 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2149[0] { - yy2151 := &x.ObjectMeta - yy2151.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2149[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2152 := &x.ObjectMeta - yy2152.CodecEncodeSelf(e) - } - } - if yyr2149 || yy2arr2149 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2149[1] { - yy2154 := &x.Spec - yy2154.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2149[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2155 := &x.Spec - yy2155.CodecEncodeSelf(e) - } - } - if yyr2149 || yy2arr2149 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2149[2] { - yy2157 := &x.Status - yy2157.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2149[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2158 := &x.Status - yy2158.CodecEncodeSelf(e) - } - } - if yyr2149 || yy2arr2149 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2149[3] { - yym2160 := z.EncBinary() - _ = yym2160 + yym2151 := z.EncBinary() + _ = yym2151 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } + } else { + if yyq2149[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2152 := z.EncBinary() + _ = yym2152 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr2149 || yy2arr2149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2149[1] { + x.Protocol.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2149[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Protocol.CodecEncodeSelf(e) + } + } + if yyr2149 || yy2arr2149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2155 := z.EncBinary() + _ = yym2155 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2156 := z.EncBinary() + _ = yym2156 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } + if yyr2149 || yy2arr2149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2149[3] { + yy2158 := &x.TargetPort + yym2159 := z.EncBinary() + _ = yym2159 + if false { + } else if z.HasExtensions() && z.EncExt(yy2158) { + } else if !yym2159 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2158) + } else { + z.EncFallback(yy2158) + } + } else { + r.EncodeNil() + } } else { if yyq2149[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2160 := &x.TargetPort yym2161 := z.EncBinary() _ = yym2161 if false { + } else if z.HasExtensions() && z.EncExt(yy2160) { + } else if !yym2161 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2160) } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + z.EncFallback(yy2160) } } } @@ -28174,21 +28334,21 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym2163 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeInt(int64(x.NodePort)) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeInt(0) } } else { if yyq2149[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2164 := z.EncBinary() _ = yym2164 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeInt(int64(x.NodePort)) } } } @@ -28201,7 +28361,7 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28231,7 +28391,7 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28253,26 +28413,381 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2167 := string(yys2167Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2167 { + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "protocol": + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + case "port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + case "targetPort": + if r.TryDecodeAsNil() { + x.TargetPort = pkg5_intstr.IntOrString{} + } else { + yyv2171 := &x.TargetPort + yym2172 := z.DecBinary() + _ = yym2172 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2171) { + } else if !yym2172 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2171) + } else { + z.DecFallback(yyv2171, false) + } + } + case "nodePort": + if r.TryDecodeAsNil() { + x.NodePort = 0 + } else { + x.NodePort = int32(r.DecodeInt(32)) + } + default: + z.DecStructFieldNotFound(-1, yys2167) + } // end switch yys2167 + } // end for yyj2167 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2174 int + var yyb2174 bool + var yyhl2174 bool = l >= 0 + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TargetPort = pkg5_intstr.IntOrString{} + } else { + yyv2178 := &x.TargetPort + yym2179 := z.DecBinary() + _ = yym2179 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2178) { + } else if !yym2179 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2178) + } else { + z.DecFallback(yyv2178, false) + } + } + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodePort = 0 + } else { + x.NodePort = int32(r.DecodeInt(32)) + } + for { + yyj2174++ + if yyhl2174 { + yyb2174 = yyj2174 > l + } else { + yyb2174 = r.CheckBreak() + } + if yyb2174 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2174-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2181 := z.EncBinary() + _ = yym2181 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2182 := !z.EncBinary() + yy2arr2182 := z.EncBasicHandle().StructToArray + var yyq2182 [5]bool + _, _, _ = yysep2182, yyq2182, yy2arr2182 + const yyr2182 bool = false + yyq2182[0] = true + yyq2182[1] = true + yyq2182[2] = true + yyq2182[3] = x.Kind != "" + yyq2182[4] = x.APIVersion != "" + var yynn2182 int + if yyr2182 || yy2arr2182 { + r.EncodeArrayStart(5) + } else { + yynn2182 = 0 + for _, b := range yyq2182 { + if b { + yynn2182++ + } + } + r.EncodeMapStart(yynn2182) + yynn2182 = 0 + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2182[0] { + yy2184 := &x.ObjectMeta + yy2184.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2182[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2185 := &x.ObjectMeta + yy2185.CodecEncodeSelf(e) + } + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2182[1] { + yy2187 := &x.Spec + yy2187.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2182[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2188 := &x.Spec + yy2188.CodecEncodeSelf(e) + } + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2182[2] { + yy2190 := &x.Status + yy2190.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2182[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2191 := &x.Status + yy2191.CodecEncodeSelf(e) + } + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2182[3] { + yym2193 := z.EncBinary() + _ = yym2193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2182[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2194 := z.EncBinary() + _ = yym2194 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2182[4] { + yym2196 := z.EncBinary() + _ = yym2196 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2182[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2197 := z.EncBinary() + _ = yym2197 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2182 || yy2arr2182 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2198 := z.DecBinary() + _ = yym2198 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2199 := r.ContainerType() + if yyct2199 == codecSelferValueTypeMap1234 { + yyl2199 := r.ReadMapStart() + if yyl2199 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2199, d) + } + } else if yyct2199 == codecSelferValueTypeArray1234 { + yyl2199 := r.ReadArrayStart() + if yyl2199 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2199, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2200Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2200Slc + var yyhl2200 bool = l >= 0 + for yyj2200 := 0; ; yyj2200++ { + if yyhl2200 { + if yyj2200 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2200Slc = r.DecodeBytes(yys2200Slc, true, true) + yys2200 := string(yys2200Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2200 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2168 := &x.ObjectMeta - yyv2168.CodecDecodeSelf(d) + yyv2201 := &x.ObjectMeta + yyv2201.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2169 := &x.Spec - yyv2169.CodecDecodeSelf(d) + yyv2202 := &x.Spec + yyv2202.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2170 := &x.Status - yyv2170.CodecDecodeSelf(d) + yyv2203 := &x.Status + yyv2203.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -28287,9 +28802,9 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2167) - } // end switch yys2167 - } // end for yyj2167 + z.DecStructFieldNotFound(-1, yys2200) + } // end switch yys2200 + } // end for yyj2200 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28297,16 +28812,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2173 int - var yyb2173 bool - var yyhl2173 bool = l >= 0 - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + var yyj2206 int + var yyb2206 bool + var yyhl2206 bool = l >= 0 + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28314,16 +28829,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2174 := &x.ObjectMeta - yyv2174.CodecDecodeSelf(d) + yyv2207 := &x.ObjectMeta + yyv2207.CodecDecodeSelf(d) } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28331,16 +28846,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2175 := &x.Spec - yyv2175.CodecDecodeSelf(d) + yyv2208 := &x.Spec + yyv2208.CodecDecodeSelf(d) } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28348,16 +28863,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2176 := &x.Status - yyv2176.CodecDecodeSelf(d) + yyv2209 := &x.Status + yyv2209.CodecDecodeSelf(d) } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28367,13 +28882,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28384,17 +28899,17 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb2173 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb2173 { + if yyb2206 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2173-1, "") + z.DecStructFieldNotFound(yyj2206-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28406,68 +28921,68 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2179 := z.EncBinary() - _ = yym2179 + yym2212 := z.EncBinary() + _ = yym2212 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2180 := !z.EncBinary() - yy2arr2180 := z.EncBasicHandle().StructToArray - var yyq2180 [4]bool - _, _, _ = yysep2180, yyq2180, yy2arr2180 - const yyr2180 bool = false - yyq2180[0] = true - yyq2180[2] = x.Kind != "" - yyq2180[3] = x.APIVersion != "" - var yynn2180 int - if yyr2180 || yy2arr2180 { + yysep2213 := !z.EncBinary() + yy2arr2213 := z.EncBasicHandle().StructToArray + var yyq2213 [4]bool + _, _, _ = yysep2213, yyq2213, yy2arr2213 + const yyr2213 bool = false + yyq2213[0] = true + yyq2213[2] = x.Kind != "" + yyq2213[3] = x.APIVersion != "" + var yynn2213 int + if yyr2213 || yy2arr2213 { r.EncodeArrayStart(4) } else { - yynn2180 = 1 - for _, b := range yyq2180 { + yynn2213 = 1 + for _, b := range yyq2213 { if b { - yynn2180++ + yynn2213++ } } - r.EncodeMapStart(yynn2180) - yynn2180 = 0 + r.EncodeMapStart(yynn2213) + yynn2213 = 0 } - if yyr2180 || yy2arr2180 { + if yyr2213 || yy2arr2213 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2180[0] { - yy2182 := &x.ListMeta - yym2183 := z.EncBinary() - _ = yym2183 + if yyq2213[0] { + yy2215 := &x.ListMeta + yym2216 := z.EncBinary() + _ = yym2216 if false { - } else if z.HasExtensions() && z.EncExt(yy2182) { + } else if z.HasExtensions() && z.EncExt(yy2215) { } else { - z.EncFallback(yy2182) + z.EncFallback(yy2215) } } else { r.EncodeNil() } } else { - if yyq2180[0] { + if yyq2213[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2184 := &x.ListMeta - yym2185 := z.EncBinary() - _ = yym2185 + yy2217 := &x.ListMeta + yym2218 := z.EncBinary() + _ = yym2218 if false { - } else if z.HasExtensions() && z.EncExt(yy2184) { + } else if z.HasExtensions() && z.EncExt(yy2217) { } else { - z.EncFallback(yy2184) + z.EncFallback(yy2217) } } } - if yyr2180 || yy2arr2180 { + if yyr2213 || yy2arr2213 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2187 := z.EncBinary() - _ = yym2187 + yym2220 := z.EncBinary() + _ = yym2220 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -28480,390 +28995,17 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2188 := z.EncBinary() - _ = yym2188 + yym2221 := z.EncBinary() + _ = yym2221 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2180 || yy2arr2180 { + if yyr2213 || yy2arr2213 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2180[2] { - yym2190 := z.EncBinary() - _ = yym2190 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2180[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2191 := z.EncBinary() - _ = yym2191 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2180 || yy2arr2180 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2180[3] { - yym2193 := z.EncBinary() - _ = yym2193 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2180[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2194 := z.EncBinary() - _ = yym2194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2180 || yy2arr2180 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2195 := z.DecBinary() - _ = yym2195 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2196 := r.ContainerType() - if yyct2196 == codecSelferValueTypeMap1234 { - yyl2196 := r.ReadMapStart() - if yyl2196 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2196, d) - } - } else if yyct2196 == codecSelferValueTypeArray1234 { - yyl2196 := r.ReadArrayStart() - if yyl2196 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2196, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2197Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2197Slc - var yyhl2197 bool = l >= 0 - for yyj2197 := 0; ; yyj2197++ { - if yyhl2197 { - if yyj2197 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2197Slc = r.DecodeBytes(yys2197Slc, true, true) - yys2197 := string(yys2197Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2197 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2198 := &x.ListMeta - yym2199 := z.DecBinary() - _ = yym2199 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2198) { - } else { - z.DecFallback(yyv2198, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2200 := &x.Items - yym2201 := z.DecBinary() - _ = yym2201 - if false { - } else { - h.decSliceService((*[]Service)(yyv2200), d) - } - } - 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()) - } - default: - z.DecStructFieldNotFound(-1, yys2197) - } // end switch yys2197 - } // end for yyj2197 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2204 int - var yyb2204 bool - var yyhl2204 bool = l >= 0 - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l - } else { - yyb2204 = r.CheckBreak() - } - if yyb2204 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2205 := &x.ListMeta - yym2206 := z.DecBinary() - _ = yym2206 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2205) { - } else { - z.DecFallback(yyv2205, false) - } - } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l - } else { - yyb2204 = r.CheckBreak() - } - if yyb2204 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2207 := &x.Items - yym2208 := z.DecBinary() - _ = yym2208 - if false { - } else { - h.decSliceService((*[]Service)(yyv2207), d) - } - } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l - } else { - yyb2204 = r.CheckBreak() - } - if yyb2204 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l - } else { - yyb2204 = r.CheckBreak() - } - if yyb2204 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l - } else { - yyb2204 = r.CheckBreak() - } - if yyb2204 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2204-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2211 := z.EncBinary() - _ = yym2211 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2212 := !z.EncBinary() - yy2arr2212 := z.EncBasicHandle().StructToArray - var yyq2212 [5]bool - _, _, _ = yysep2212, yyq2212, yy2arr2212 - const yyr2212 bool = false - yyq2212[0] = true - yyq2212[1] = len(x.Secrets) != 0 - yyq2212[2] = len(x.ImagePullSecrets) != 0 - yyq2212[3] = x.Kind != "" - yyq2212[4] = x.APIVersion != "" - var yynn2212 int - if yyr2212 || yy2arr2212 { - r.EncodeArrayStart(5) - } else { - yynn2212 = 0 - for _, b := range yyq2212 { - if b { - yynn2212++ - } - } - r.EncodeMapStart(yynn2212) - yynn2212 = 0 - } - if yyr2212 || yy2arr2212 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2212[0] { - yy2214 := &x.ObjectMeta - yy2214.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2212[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2215 := &x.ObjectMeta - yy2215.CodecEncodeSelf(e) - } - } - if yyr2212 || yy2arr2212 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2212[1] { - if x.Secrets == nil { - r.EncodeNil() - } else { - yym2217 := z.EncBinary() - _ = yym2217 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq2212[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secrets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Secrets == nil { - r.EncodeNil() - } else { - yym2218 := z.EncBinary() - _ = yym2218 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } - } - } - } - if yyr2212 || yy2arr2212 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2212[2] { - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2220 := z.EncBinary() - _ = yym2220 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq2212[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2221 := z.EncBinary() - _ = yym2221 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } - } - } - if yyr2212 || yy2arr2212 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2212[3] { + if yyq2213[2] { yym2223 := z.EncBinary() _ = yym2223 if false { @@ -28874,7 +29016,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2212[3] { + if yyq2213[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28886,9 +29028,9 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2212 || yy2arr2212 { + if yyr2213 || yy2arr2213 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2212[4] { + if yyq2213[3] { yym2226 := z.EncBinary() _ = yym2226 if false { @@ -28899,7 +29041,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2212[4] { + if yyq2213[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28911,7 +29053,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2212 || yy2arr2212 { + if yyr2213 || yy2arr2213 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28920,7 +29062,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28950,7 +29092,7 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28974,33 +29116,27 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { switch yys2230 { case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2231 := &x.ObjectMeta - yyv2231.CodecDecodeSelf(d) - } - case "secrets": - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv2232 := &x.Secrets - yym2233 := z.DecBinary() - _ = yym2233 + yyv2231 := &x.ListMeta + yym2232 := z.DecBinary() + _ = yym2232 if false { + } else if z.HasExtensions() && z.DecExt(yyv2231) { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2232), d) + z.DecFallback(yyv2231, false) } } - case "imagePullSecrets": + case "items": if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil + x.Items = nil } else { - yyv2234 := &x.ImagePullSecrets - yym2235 := z.DecBinary() - _ = yym2235 + yyv2233 := &x.Items + yym2234 := z.DecBinary() + _ = yym2234 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2234), d) + h.decSliceService((*[]Service)(yyv2233), d) } } case "kind": @@ -29022,81 +29158,65 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2238 int - var yyb2238 bool - var yyhl2238 bool = l >= 0 - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l + var yyj2237 int + var yyb2237 bool + var yyhl2237 bool = l >= 0 + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb2238 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb2238 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2239 := &x.ObjectMeta - yyv2239.CodecDecodeSelf(d) + yyv2238 := &x.ListMeta + yym2239 := z.DecBinary() + _ = yym2239 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2238) { + } else { + z.DecFallback(yyv2238, false) + } } - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb2238 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb2238 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Secrets = nil + x.Items = nil } else { - yyv2240 := &x.Secrets + yyv2240 := &x.Items yym2241 := z.DecBinary() _ = yym2241 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2240), d) + h.decSliceService((*[]Service)(yyv2240), d) } } - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb2238 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb2238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv2242 := &x.ImagePullSecrets - yym2243 := z.DecBinary() - _ = yym2243 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2242), d) - } - } - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l - } else { - yyb2238 = r.CheckBreak() - } - if yyb2238 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29106,13 +29226,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb2238 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb2238 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29123,161 +29243,190 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2238++ - if yyhl2238 { - yyb2238 = yyj2238 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb2238 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb2238 { + if yyb2237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2238-1, "") + z.DecStructFieldNotFound(yyj2237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2246 := z.EncBinary() - _ = yym2246 + yym2244 := z.EncBinary() + _ = yym2244 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2247 := !z.EncBinary() - yy2arr2247 := z.EncBasicHandle().StructToArray - var yyq2247 [4]bool - _, _, _ = yysep2247, yyq2247, yy2arr2247 - const yyr2247 bool = false - yyq2247[0] = true - yyq2247[2] = x.Kind != "" - yyq2247[3] = x.APIVersion != "" - var yynn2247 int - if yyr2247 || yy2arr2247 { - r.EncodeArrayStart(4) + yysep2245 := !z.EncBinary() + yy2arr2245 := z.EncBasicHandle().StructToArray + var yyq2245 [5]bool + _, _, _ = yysep2245, yyq2245, yy2arr2245 + const yyr2245 bool = false + yyq2245[0] = true + yyq2245[1] = len(x.Secrets) != 0 + yyq2245[2] = len(x.ImagePullSecrets) != 0 + yyq2245[3] = x.Kind != "" + yyq2245[4] = x.APIVersion != "" + var yynn2245 int + if yyr2245 || yy2arr2245 { + r.EncodeArrayStart(5) } else { - yynn2247 = 1 - for _, b := range yyq2247 { + yynn2245 = 0 + for _, b := range yyq2245 { if b { - yynn2247++ + yynn2245++ } } - r.EncodeMapStart(yynn2247) - yynn2247 = 0 + r.EncodeMapStart(yynn2245) + yynn2245 = 0 } - if yyr2247 || yy2arr2247 { + if yyr2245 || yy2arr2245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2247[0] { - yy2249 := &x.ListMeta - yym2250 := z.EncBinary() - _ = yym2250 - if false { - } else if z.HasExtensions() && z.EncExt(yy2249) { - } else { - z.EncFallback(yy2249) - } + if yyq2245[0] { + yy2247 := &x.ObjectMeta + yy2247.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2247[0] { + if yyq2245[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2251 := &x.ListMeta - yym2252 := z.EncBinary() - _ = yym2252 - if false { - } else if z.HasExtensions() && z.EncExt(yy2251) { - } else { - z.EncFallback(yy2251) - } + yy2248 := &x.ObjectMeta + yy2248.CodecEncodeSelf(e) } } - if yyr2247 || yy2arr2247 { + if yyr2245 || yy2arr2245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2254 := z.EncBinary() - _ = yym2254 - if false { + if yyq2245[1] { + if x.Secrets == nil { + r.EncodeNil() } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + yym2250 := z.EncBinary() + _ = yym2250 + if false { + } else { + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) + } } + } else { + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2255 := z.EncBinary() - _ = yym2255 - if false { + if yyq2245[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secrets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Secrets == nil { + r.EncodeNil() } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + yym2251 := z.EncBinary() + _ = yym2251 + if false { + } else { + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) + } } } } - if yyr2247 || yy2arr2247 { + if yyr2245 || yy2arr2245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2247[2] { + if yyq2245[2] { + if x.ImagePullSecrets == nil { + r.EncodeNil() + } else { + yym2253 := z.EncBinary() + _ = yym2253 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2245[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ImagePullSecrets == nil { + r.EncodeNil() + } else { + yym2254 := z.EncBinary() + _ = yym2254 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } + } + if yyr2245 || yy2arr2245 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2245[3] { + yym2256 := z.EncBinary() + _ = yym2256 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2245[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2257 := z.EncBinary() _ = yym2257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } + } + } + if yyr2245 || yy2arr2245 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2245[4] { + yym2259 := z.EncBinary() + _ = yym2259 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2247[2] { + if yyq2245[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2258 := z.EncBinary() - _ = yym2258 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2247 || yy2arr2247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2247[3] { yym2260 := z.EncBinary() _ = yym2260 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2247[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2261 := z.EncBinary() - _ = yym2261 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } } } - if yyr2247 || yy2arr2247 { + if yyr2245 || yy2arr2245 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29286,29 +29435,29 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2262 := z.DecBinary() - _ = yym2262 + yym2261 := z.DecBinary() + _ = yym2261 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2263 := r.ContainerType() - if yyct2263 == codecSelferValueTypeMap1234 { - yyl2263 := r.ReadMapStart() - if yyl2263 == 0 { + yyct2262 := r.ContainerType() + if yyct2262 == codecSelferValueTypeMap1234 { + yyl2262 := r.ReadMapStart() + if yyl2262 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2263, d) + x.codecDecodeSelfFromMap(yyl2262, d) } - } else if yyct2263 == codecSelferValueTypeArray1234 { - yyl2263 := r.ReadArrayStart() - if yyl2263 == 0 { + } else if yyct2262 == codecSelferValueTypeArray1234 { + yyl2262 := r.ReadArrayStart() + if yyl2262 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2263, d) + x.codecDecodeSelfFromArray(yyl2262, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29316,16 +29465,16 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2264Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2264Slc - var yyhl2264 bool = l >= 0 - for yyj2264 := 0; ; yyj2264++ { - if yyhl2264 { - if yyj2264 >= l { + var yys2263Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2263Slc + var yyhl2263 bool = l >= 0 + for yyj2263 := 0; ; yyj2263++ { + if yyhl2263 { + if yyj2263 >= l { break } } else { @@ -29334,33 +29483,39 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2264Slc = r.DecodeBytes(yys2264Slc, true, true) - yys2264 := string(yys2264Slc) + yys2263Slc = r.DecodeBytes(yys2263Slc, true, true) + yys2263 := string(yys2263Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2264 { + switch yys2263 { case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} + x.ObjectMeta = ObjectMeta{} } else { - yyv2265 := &x.ListMeta + yyv2264 := &x.ObjectMeta + yyv2264.CodecDecodeSelf(d) + } + case "secrets": + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2265 := &x.Secrets yym2266 := z.DecBinary() _ = yym2266 if false { - } else if z.HasExtensions() && z.DecExt(yyv2265) { } else { - z.DecFallback(yyv2265, false) + h.decSliceObjectReference((*[]ObjectReference)(yyv2265), d) } } - case "items": + case "imagePullSecrets": if r.TryDecodeAsNil() { - x.Items = nil + x.ImagePullSecrets = nil } else { - yyv2267 := &x.Items + yyv2267 := &x.ImagePullSecrets yym2268 := z.DecBinary() _ = yym2268 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2267), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2267), d) } } case "kind": @@ -29376,13 +29531,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2264) - } // end switch yys2264 - } // end for yyj2264 + z.DecStructFieldNotFound(-1, yys2263) + } // end switch yys2263 + } // end for yyj2263 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -29401,15 +29556,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} + x.ObjectMeta = ObjectMeta{} } else { - yyv2272 := &x.ListMeta - yym2273 := z.DecBinary() - _ = yym2273 + yyv2272 := &x.ObjectMeta + yyv2272.CodecDecodeSelf(d) + } + yyj2271++ + if yyhl2271 { + yyb2271 = yyj2271 > l + } else { + yyb2271 = r.CheckBreak() + } + if yyb2271 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2273 := &x.Secrets + yym2274 := z.DecBinary() + _ = yym2274 if false { - } else if z.HasExtensions() && z.DecExt(yyv2272) { } else { - z.DecFallback(yyv2272, false) + h.decSliceObjectReference((*[]ObjectReference)(yyv2273), d) } } yyj2271++ @@ -29424,14 +29595,14 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.ImagePullSecrets = nil } else { - yyv2274 := &x.Items - yym2275 := z.DecBinary() - _ = yym2275 + yyv2275 := &x.ImagePullSecrets + yym2276 := z.DecBinary() + _ = yym2276 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2274), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2275), d) } } yyj2271++ @@ -29482,134 +29653,146 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2278 := z.EncBinary() - _ = yym2278 + yym2279 := z.EncBinary() + _ = yym2279 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2279 := !z.EncBinary() - yy2arr2279 := z.EncBasicHandle().StructToArray - var yyq2279 [4]bool - _, _, _ = yysep2279, yyq2279, yy2arr2279 - const yyr2279 bool = false - yyq2279[0] = true - yyq2279[2] = x.Kind != "" - yyq2279[3] = x.APIVersion != "" - var yynn2279 int - if yyr2279 || yy2arr2279 { + yysep2280 := !z.EncBinary() + yy2arr2280 := z.EncBasicHandle().StructToArray + var yyq2280 [4]bool + _, _, _ = yysep2280, yyq2280, yy2arr2280 + const yyr2280 bool = false + yyq2280[0] = true + yyq2280[2] = x.Kind != "" + yyq2280[3] = x.APIVersion != "" + var yynn2280 int + if yyr2280 || yy2arr2280 { r.EncodeArrayStart(4) } else { - yynn2279 = 1 - for _, b := range yyq2279 { + yynn2280 = 1 + for _, b := range yyq2280 { if b { - yynn2279++ + yynn2280++ } } - r.EncodeMapStart(yynn2279) - yynn2279 = 0 + r.EncodeMapStart(yynn2280) + yynn2280 = 0 } - if yyr2279 || yy2arr2279 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2279[0] { - yy2281 := &x.ObjectMeta - yy2281.CodecEncodeSelf(e) + if yyq2280[0] { + yy2282 := &x.ListMeta + yym2283 := z.EncBinary() + _ = yym2283 + if false { + } else if z.HasExtensions() && z.EncExt(yy2282) { + } else { + z.EncFallback(yy2282) + } } else { r.EncodeNil() } } else { - if yyq2279[0] { + if yyq2280[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2282 := &x.ObjectMeta - yy2282.CodecEncodeSelf(e) - } - } - if yyr2279 || yy2arr2279 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Subsets == nil { - r.EncodeNil() - } else { - yym2284 := z.EncBinary() - _ = yym2284 - if false { - } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("subsets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Subsets == nil { - r.EncodeNil() - } else { + yy2284 := &x.ListMeta yym2285 := z.EncBinary() _ = yym2285 if false { + } else if z.HasExtensions() && z.EncExt(yy2284) { } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + z.EncFallback(yy2284) } } } - if yyr2279 || yy2arr2279 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2279[2] { + if x.Items == nil { + r.EncodeNil() + } else { yym2287 := z.EncBinary() _ = yym2287 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2279[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { yym2288 := z.EncBinary() _ = yym2288 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2279 || yy2arr2279 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2279[3] { + if yyq2280[2] { yym2290 := z.EncBinary() _ = yym2290 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2279[3] { + if yyq2280[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2291 := z.EncBinary() _ = yym2291 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2280 || yy2arr2280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2280[3] { + yym2293 := z.EncBinary() + _ = yym2293 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2280[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2294 := z.EncBinary() + _ = yym2294 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2279 || yy2arr2279 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29618,29 +29801,29 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2292 := z.DecBinary() - _ = yym2292 + yym2295 := z.DecBinary() + _ = yym2295 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2293 := r.ContainerType() - if yyct2293 == codecSelferValueTypeMap1234 { - yyl2293 := r.ReadMapStart() - if yyl2293 == 0 { + yyct2296 := r.ContainerType() + if yyct2296 == codecSelferValueTypeMap1234 { + yyl2296 := r.ReadMapStart() + if yyl2296 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2293, d) + x.codecDecodeSelfFromMap(yyl2296, d) } - } else if yyct2293 == codecSelferValueTypeArray1234 { - yyl2293 := r.ReadArrayStart() - if yyl2293 == 0 { + } else if yyct2296 == codecSelferValueTypeArray1234 { + yyl2296 := r.ReadArrayStart() + if yyl2296 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2293, d) + x.codecDecodeSelfFromArray(yyl2296, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29648,16 +29831,16 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2294Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2294Slc - var yyhl2294 bool = l >= 0 - for yyj2294 := 0; ; yyj2294++ { - if yyhl2294 { - if yyj2294 >= l { + var yys2297Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2297Slc + var yyhl2297 bool = l >= 0 + for yyj2297 := 0; ; yyj2297++ { + if yyhl2297 { + if yyj2297 >= l { break } } else { @@ -29666,27 +29849,33 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2294Slc = r.DecodeBytes(yys2294Slc, true, true) - yys2294 := string(yys2294Slc) + yys2297Slc = r.DecodeBytes(yys2297Slc, true, true) + yys2297 := string(yys2297Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2294 { + switch yys2297 { case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2295 := &x.ObjectMeta - yyv2295.CodecDecodeSelf(d) + yyv2298 := &x.ListMeta + yym2299 := z.DecBinary() + _ = yym2299 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2298) { + } else { + z.DecFallback(yyv2298, false) + } } - case "subsets": + case "items": if r.TryDecodeAsNil() { - x.Subsets = nil + x.Items = nil } else { - yyv2296 := &x.Subsets - yym2297 := z.DecBinary() - _ = yym2297 + yyv2300 := &x.Items + yym2301 := z.DecBinary() + _ = yym2301 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2296), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2300), d) } } case "kind": @@ -29702,65 +29891,71 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2294) - } // end switch yys2294 - } // end for yyj2294 + z.DecStructFieldNotFound(-1, yys2297) + } // end switch yys2297 + } // end for yyj2297 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2300 int - var yyb2300 bool - var yyhl2300 bool = l >= 0 - yyj2300++ - if yyhl2300 { - yyb2300 = yyj2300 > l + var yyj2304 int + var yyb2304 bool + var yyhl2304 bool = l >= 0 + yyj2304++ + if yyhl2304 { + yyb2304 = yyj2304 > l } else { - yyb2300 = r.CheckBreak() + yyb2304 = r.CheckBreak() } - if yyb2300 { + if yyb2304 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2301 := &x.ObjectMeta - yyv2301.CodecDecodeSelf(d) - } - yyj2300++ - if yyhl2300 { - yyb2300 = yyj2300 > l - } else { - yyb2300 = r.CheckBreak() - } - if yyb2300 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv2302 := &x.Subsets - yym2303 := z.DecBinary() - _ = yym2303 + yyv2305 := &x.ListMeta + yym2306 := z.DecBinary() + _ = yym2306 if false { + } else if z.HasExtensions() && z.DecExt(yyv2305) { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2302), d) + z.DecFallback(yyv2305, false) } } - yyj2300++ - if yyhl2300 { - yyb2300 = yyj2300 > l + yyj2304++ + if yyhl2304 { + yyb2304 = yyj2304 > l } else { - yyb2300 = r.CheckBreak() + yyb2304 = r.CheckBreak() } - if yyb2300 { + if yyb2304 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2307 := &x.Items + yym2308 := z.DecBinary() + _ = yym2308 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2307), d) + } + } + yyj2304++ + if yyhl2304 { + yyb2304 = yyj2304 > l + } else { + yyb2304 = r.CheckBreak() + } + if yyb2304 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29770,13 +29965,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2300++ - if yyhl2300 { - yyb2300 = yyj2300 > l + yyj2304++ + if yyhl2304 { + yyb2304 = yyj2304 > l } else { - yyb2300 = r.CheckBreak() + yyb2304 = r.CheckBreak() } - if yyb2300 { + if yyb2304 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29787,17 +29982,337 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2300++ - if yyhl2300 { - yyb2300 = yyj2300 > l + yyj2304++ + if yyhl2304 { + yyb2304 = yyj2304 > l } else { - yyb2300 = r.CheckBreak() + yyb2304 = r.CheckBreak() } - if yyb2300 { + if yyb2304 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2300-1, "") + z.DecStructFieldNotFound(yyj2304-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2311 := z.EncBinary() + _ = yym2311 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2312 := !z.EncBinary() + yy2arr2312 := z.EncBasicHandle().StructToArray + var yyq2312 [4]bool + _, _, _ = yysep2312, yyq2312, yy2arr2312 + const yyr2312 bool = false + yyq2312[0] = true + yyq2312[2] = x.Kind != "" + yyq2312[3] = x.APIVersion != "" + var yynn2312 int + if yyr2312 || yy2arr2312 { + r.EncodeArrayStart(4) + } else { + yynn2312 = 1 + for _, b := range yyq2312 { + if b { + yynn2312++ + } + } + r.EncodeMapStart(yynn2312) + yynn2312 = 0 + } + if yyr2312 || yy2arr2312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2312[0] { + yy2314 := &x.ObjectMeta + yy2314.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2312[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2315 := &x.ObjectMeta + yy2315.CodecEncodeSelf(e) + } + } + if yyr2312 || yy2arr2312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2317 := z.EncBinary() + _ = yym2317 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("subsets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2318 := z.EncBinary() + _ = yym2318 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } + if yyr2312 || yy2arr2312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2312[2] { + yym2320 := z.EncBinary() + _ = yym2320 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2312[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2321 := z.EncBinary() + _ = yym2321 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2312 || yy2arr2312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2312[3] { + yym2323 := z.EncBinary() + _ = yym2323 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2312[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2324 := z.EncBinary() + _ = yym2324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2312 || yy2arr2312 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2325 := z.DecBinary() + _ = yym2325 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2326 := r.ContainerType() + if yyct2326 == codecSelferValueTypeMap1234 { + yyl2326 := r.ReadMapStart() + if yyl2326 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2326, d) + } + } else if yyct2326 == codecSelferValueTypeArray1234 { + yyl2326 := r.ReadArrayStart() + if yyl2326 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2326, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2327Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2327Slc + var yyhl2327 bool = l >= 0 + for yyj2327 := 0; ; yyj2327++ { + if yyhl2327 { + if yyj2327 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2327Slc = r.DecodeBytes(yys2327Slc, true, true) + yys2327 := string(yys2327Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2327 { + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2328 := &x.ObjectMeta + yyv2328.CodecDecodeSelf(d) + } + case "subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2329 := &x.Subsets + yym2330 := z.DecBinary() + _ = yym2330 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2329), d) + } + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys2327) + } // end switch yys2327 + } // end for yyj2327 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2333 int + var yyb2333 bool + var yyhl2333 bool = l >= 0 + yyj2333++ + if yyhl2333 { + yyb2333 = yyj2333 > l + } else { + yyb2333 = r.CheckBreak() + } + if yyb2333 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2334 := &x.ObjectMeta + yyv2334.CodecDecodeSelf(d) + } + yyj2333++ + if yyhl2333 { + yyb2333 = yyj2333 > l + } else { + yyb2333 = r.CheckBreak() + } + if yyb2333 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2335 := &x.Subsets + yym2336 := z.DecBinary() + _ = yym2336 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2335), d) + } + } + yyj2333++ + if yyhl2333 { + yyb2333 = yyj2333 > l + } else { + yyb2333 = r.CheckBreak() + } + if yyb2333 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2333++ + if yyhl2333 { + yyb2333 = yyj2333 > l + } else { + yyb2333 = r.CheckBreak() + } + if yyb2333 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj2333++ + if yyhl2333 { + yyb2333 = yyj2333 > l + } else { + yyb2333 = r.CheckBreak() + } + if yyb2333 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2333-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29809,40 +30324,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2306 := z.EncBinary() - _ = yym2306 + yym2339 := z.EncBinary() + _ = yym2339 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2307 := !z.EncBinary() - yy2arr2307 := z.EncBasicHandle().StructToArray - var yyq2307 [3]bool - _, _, _ = yysep2307, yyq2307, yy2arr2307 - const yyr2307 bool = false - yyq2307[0] = len(x.Addresses) != 0 - yyq2307[1] = len(x.NotReadyAddresses) != 0 - yyq2307[2] = len(x.Ports) != 0 - var yynn2307 int - if yyr2307 || yy2arr2307 { + yysep2340 := !z.EncBinary() + yy2arr2340 := z.EncBasicHandle().StructToArray + var yyq2340 [3]bool + _, _, _ = yysep2340, yyq2340, yy2arr2340 + const yyr2340 bool = false + yyq2340[0] = len(x.Addresses) != 0 + yyq2340[1] = len(x.NotReadyAddresses) != 0 + yyq2340[2] = len(x.Ports) != 0 + var yynn2340 int + if yyr2340 || yy2arr2340 { r.EncodeArrayStart(3) } else { - yynn2307 = 0 - for _, b := range yyq2307 { + yynn2340 = 0 + for _, b := range yyq2340 { if b { - yynn2307++ + yynn2340++ } } - r.EncodeMapStart(yynn2307) - yynn2307 = 0 + r.EncodeMapStart(yynn2340) + yynn2340 = 0 } - if yyr2307 || yy2arr2307 { + if yyr2340 || yy2arr2340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2307[0] { + if yyq2340[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym2309 := z.EncBinary() - _ = yym2309 + yym2342 := z.EncBinary() + _ = yym2342 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -29852,15 +30367,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2307[0] { + if yyq2340[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2310 := z.EncBinary() - _ = yym2310 + yym2343 := z.EncBinary() + _ = yym2343 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -29868,14 +30383,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2307 || yy2arr2307 { + if yyr2340 || yy2arr2340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2307[1] { + if yyq2340[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2312 := z.EncBinary() - _ = yym2312 + yym2345 := z.EncBinary() + _ = yym2345 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -29885,15 +30400,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2307[1] { + if yyq2340[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2313 := z.EncBinary() - _ = yym2313 + yym2346 := z.EncBinary() + _ = yym2346 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -29901,14 +30416,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2307 || yy2arr2307 { + if yyr2340 || yy2arr2340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2307[2] { + if yyq2340[2] { if x.Ports == nil { r.EncodeNil() } else { - yym2315 := z.EncBinary() - _ = yym2315 + yym2348 := z.EncBinary() + _ = yym2348 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -29918,15 +30433,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2307[2] { + if yyq2340[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2316 := z.EncBinary() - _ = yym2316 + yym2349 := z.EncBinary() + _ = yym2349 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -29934,7 +30449,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2307 || yy2arr2307 { + if yyr2340 || yy2arr2340 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29947,25 +30462,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2317 := z.DecBinary() - _ = yym2317 + yym2350 := z.DecBinary() + _ = yym2350 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2318 := r.ContainerType() - if yyct2318 == codecSelferValueTypeMap1234 { - yyl2318 := r.ReadMapStart() - if yyl2318 == 0 { + yyct2351 := r.ContainerType() + if yyct2351 == codecSelferValueTypeMap1234 { + yyl2351 := r.ReadMapStart() + if yyl2351 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2318, d) + x.codecDecodeSelfFromMap(yyl2351, d) } - } else if yyct2318 == codecSelferValueTypeArray1234 { - yyl2318 := r.ReadArrayStart() - if yyl2318 == 0 { + } else if yyct2351 == codecSelferValueTypeArray1234 { + yyl2351 := r.ReadArrayStart() + if yyl2351 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2318, d) + x.codecDecodeSelfFromArray(yyl2351, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29977,12 +30492,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2319Slc - var yyhl2319 bool = l >= 0 - for yyj2319 := 0; ; yyj2319++ { - if yyhl2319 { - if yyj2319 >= l { + var yys2352Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2352Slc + var yyhl2352 bool = l >= 0 + for yyj2352 := 0; ; yyj2352++ { + if yyhl2352 { + if yyj2352 >= l { break } } else { @@ -29991,50 +30506,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2319Slc = r.DecodeBytes(yys2319Slc, true, true) - yys2319 := string(yys2319Slc) + yys2352Slc = r.DecodeBytes(yys2352Slc, true, true) + yys2352 := string(yys2352Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2319 { + switch yys2352 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2320 := &x.Addresses - yym2321 := z.DecBinary() - _ = yym2321 + yyv2353 := &x.Addresses + yym2354 := z.DecBinary() + _ = yym2354 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2320), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2353), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2322 := &x.NotReadyAddresses - yym2323 := z.DecBinary() - _ = yym2323 + yyv2355 := &x.NotReadyAddresses + yym2356 := z.DecBinary() + _ = yym2356 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2322), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2355), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2324 := &x.Ports - yym2325 := z.DecBinary() - _ = yym2325 + yyv2357 := &x.Ports + yym2358 := z.DecBinary() + _ = yym2358 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2324), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2357), d) } } default: - z.DecStructFieldNotFound(-1, yys2319) - } // end switch yys2319 - } // end for yyj2319 + z.DecStructFieldNotFound(-1, yys2352) + } // end switch yys2352 + } // end for yyj2352 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30042,16 +30557,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2326 int - var yyb2326 bool - var yyhl2326 bool = l >= 0 - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + var yyj2359 int + var yyb2359 bool + var yyhl2359 bool = l >= 0 + yyj2359++ + if yyhl2359 { + yyb2359 = yyj2359 > l } else { - yyb2326 = r.CheckBreak() + yyb2359 = r.CheckBreak() } - if yyb2326 { + if yyb2359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30059,21 +30574,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2327 := &x.Addresses - yym2328 := z.DecBinary() - _ = yym2328 + yyv2360 := &x.Addresses + yym2361 := z.DecBinary() + _ = yym2361 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2327), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2360), d) } } - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + yyj2359++ + if yyhl2359 { + yyb2359 = yyj2359 > l } else { - yyb2326 = r.CheckBreak() + yyb2359 = r.CheckBreak() } - if yyb2326 { + if yyb2359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30081,21 +30596,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2329 := &x.NotReadyAddresses - yym2330 := z.DecBinary() - _ = yym2330 + yyv2362 := &x.NotReadyAddresses + yym2363 := z.DecBinary() + _ = yym2363 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2329), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2362), d) } } - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + yyj2359++ + if yyhl2359 { + yyb2359 = yyj2359 > l } else { - yyb2326 = r.CheckBreak() + yyb2359 = r.CheckBreak() } - if yyb2326 { + if yyb2359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30103,26 +30618,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2331 := &x.Ports - yym2332 := z.DecBinary() - _ = yym2332 + yyv2364 := &x.Ports + yym2365 := z.DecBinary() + _ = yym2365 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2331), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2364), d) } } for { - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + yyj2359++ + if yyhl2359 { + yyb2359 = yyj2359 > l } else { - yyb2326 = r.CheckBreak() + yyb2359 = r.CheckBreak() } - if yyb2326 { + if yyb2359 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2326-1, "") + z.DecStructFieldNotFound(yyj2359-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30134,34 +30649,34 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2333 := z.EncBinary() - _ = yym2333 + yym2366 := z.EncBinary() + _ = yym2366 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2334 := !z.EncBinary() - yy2arr2334 := z.EncBasicHandle().StructToArray - var yyq2334 [2]bool - _, _, _ = yysep2334, yyq2334, yy2arr2334 - const yyr2334 bool = false - yyq2334[1] = x.TargetRef != nil - var yynn2334 int - if yyr2334 || yy2arr2334 { + yysep2367 := !z.EncBinary() + yy2arr2367 := z.EncBasicHandle().StructToArray + var yyq2367 [2]bool + _, _, _ = yysep2367, yyq2367, yy2arr2367 + const yyr2367 bool = false + yyq2367[1] = x.TargetRef != nil + var yynn2367 int + if yyr2367 || yy2arr2367 { r.EncodeArrayStart(2) } else { - yynn2334 = 1 - for _, b := range yyq2334 { + yynn2367 = 1 + for _, b := range yyq2367 { if b { - yynn2334++ + yynn2367++ } } - r.EncodeMapStart(yynn2334) - yynn2334 = 0 + r.EncodeMapStart(yynn2367) + yynn2367 = 0 } - if yyr2334 || yy2arr2334 { + if yyr2367 || yy2arr2367 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2336 := z.EncBinary() - _ = yym2336 + yym2369 := z.EncBinary() + _ = yym2369 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -30170,16 +30685,16 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2337 := z.EncBinary() - _ = yym2337 + yym2370 := z.EncBinary() + _ = yym2370 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2334 || yy2arr2334 { + if yyr2367 || yy2arr2367 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2334[1] { + if yyq2367[1] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -30189,7 +30704,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2334[1] { + if yyq2367[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -30200,7 +30715,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2334 || yy2arr2334 { + if yyr2367 || yy2arr2367 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30213,25 +30728,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2339 := z.DecBinary() - _ = yym2339 + yym2372 := z.DecBinary() + _ = yym2372 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2340 := r.ContainerType() - if yyct2340 == codecSelferValueTypeMap1234 { - yyl2340 := r.ReadMapStart() - if yyl2340 == 0 { + yyct2373 := r.ContainerType() + if yyct2373 == codecSelferValueTypeMap1234 { + yyl2373 := r.ReadMapStart() + if yyl2373 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2340, d) + x.codecDecodeSelfFromMap(yyl2373, d) } - } else if yyct2340 == codecSelferValueTypeArray1234 { - yyl2340 := r.ReadArrayStart() - if yyl2340 == 0 { + } else if yyct2373 == codecSelferValueTypeArray1234 { + yyl2373 := r.ReadArrayStart() + if yyl2373 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2340, d) + x.codecDecodeSelfFromArray(yyl2373, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30243,12 +30758,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2341Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2341Slc - var yyhl2341 bool = l >= 0 - for yyj2341 := 0; ; yyj2341++ { - if yyhl2341 { - if yyj2341 >= l { + var yys2374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2374Slc + var yyhl2374 bool = l >= 0 + for yyj2374 := 0; ; yyj2374++ { + if yyhl2374 { + if yyj2374 >= l { break } } else { @@ -30257,10 +30772,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2341Slc = r.DecodeBytes(yys2341Slc, true, true) - yys2341 := string(yys2341Slc) + yys2374Slc = r.DecodeBytes(yys2374Slc, true, true) + yys2374 := string(yys2374Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2341 { + switch yys2374 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -30279,9 +30794,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2341) - } // end switch yys2341 - } // end for yyj2341 + z.DecStructFieldNotFound(-1, yys2374) + } // end switch yys2374 + } // end for yyj2374 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30289,16 +30804,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2344 int - var yyb2344 bool - var yyhl2344 bool = l >= 0 - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + var yyj2377 int + var yyb2377 bool + var yyhl2377 bool = l >= 0 + yyj2377++ + if yyhl2377 { + yyb2377 = yyj2377 > l } else { - yyb2344 = r.CheckBreak() + yyb2377 = r.CheckBreak() } - if yyb2344 { + if yyb2377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30308,13 +30823,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + yyj2377++ + if yyhl2377 { + yyb2377 = yyj2377 > l } else { - yyb2344 = r.CheckBreak() + yyb2377 = r.CheckBreak() } - if yyb2344 { + if yyb2377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30330,17 +30845,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + yyj2377++ + if yyhl2377 { + yyb2377 = yyj2377 > l } else { - yyb2344 = r.CheckBreak() + yyb2377 = r.CheckBreak() } - if yyb2344 { + if yyb2377 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2344-1, "") + z.DecStructFieldNotFound(yyj2377-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30352,36 +30867,36 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2347 := z.EncBinary() - _ = yym2347 + yym2380 := z.EncBinary() + _ = yym2380 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2348 := !z.EncBinary() - yy2arr2348 := z.EncBasicHandle().StructToArray - var yyq2348 [3]bool - _, _, _ = yysep2348, yyq2348, yy2arr2348 - const yyr2348 bool = false - yyq2348[0] = x.Name != "" - yyq2348[2] = x.Protocol != "" - var yynn2348 int - if yyr2348 || yy2arr2348 { + yysep2381 := !z.EncBinary() + yy2arr2381 := z.EncBasicHandle().StructToArray + var yyq2381 [3]bool + _, _, _ = yysep2381, yyq2381, yy2arr2381 + const yyr2381 bool = false + yyq2381[0] = x.Name != "" + yyq2381[2] = x.Protocol != "" + var yynn2381 int + if yyr2381 || yy2arr2381 { r.EncodeArrayStart(3) } else { - yynn2348 = 1 - for _, b := range yyq2348 { + yynn2381 = 1 + for _, b := range yyq2381 { if b { - yynn2348++ + yynn2381++ } } - r.EncodeMapStart(yynn2348) - yynn2348 = 0 + r.EncodeMapStart(yynn2381) + yynn2381 = 0 } - if yyr2348 || yy2arr2348 { + if yyr2381 || yy2arr2381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[0] { - yym2350 := z.EncBinary() - _ = yym2350 + if yyq2381[0] { + yym2383 := z.EncBinary() + _ = yym2383 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -30390,22 +30905,22 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2348[0] { + if yyq2381[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2351 := z.EncBinary() - _ = yym2351 + yym2384 := z.EncBinary() + _ = yym2384 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2348 || yy2arr2348 { + if yyr2381 || yy2arr2381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2353 := z.EncBinary() - _ = yym2353 + yym2386 := z.EncBinary() + _ = yym2386 if false { } else { r.EncodeInt(int64(x.Port)) @@ -30414,29 +30929,29 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2354 := z.EncBinary() - _ = yym2354 + yym2387 := z.EncBinary() + _ = yym2387 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2348 || yy2arr2348 { + if yyr2381 || yy2arr2381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[2] { + if yyq2381[2] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2348[2] { + if yyq2381[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2348 || yy2arr2348 { + if yyr2381 || yy2arr2381 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30449,25 +30964,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2356 := z.DecBinary() - _ = yym2356 + yym2389 := z.DecBinary() + _ = yym2389 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2357 := r.ContainerType() - if yyct2357 == codecSelferValueTypeMap1234 { - yyl2357 := r.ReadMapStart() - if yyl2357 == 0 { + yyct2390 := r.ContainerType() + if yyct2390 == codecSelferValueTypeMap1234 { + yyl2390 := r.ReadMapStart() + if yyl2390 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2357, d) + x.codecDecodeSelfFromMap(yyl2390, d) } - } else if yyct2357 == codecSelferValueTypeArray1234 { - yyl2357 := r.ReadArrayStart() - if yyl2357 == 0 { + } else if yyct2390 == codecSelferValueTypeArray1234 { + yyl2390 := r.ReadArrayStart() + if yyl2390 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2357, d) + x.codecDecodeSelfFromArray(yyl2390, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30479,12 +30994,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2358Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2358Slc - var yyhl2358 bool = l >= 0 - for yyj2358 := 0; ; yyj2358++ { - if yyhl2358 { - if yyj2358 >= l { + var yys2391Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2391Slc + var yyhl2391 bool = l >= 0 + for yyj2391 := 0; ; yyj2391++ { + if yyhl2391 { + if yyj2391 >= l { break } } else { @@ -30493,10 +31008,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2358Slc = r.DecodeBytes(yys2358Slc, true, true) - yys2358 := string(yys2358Slc) + yys2391Slc = r.DecodeBytes(yys2391Slc, true, true) + yys2391 := string(yys2391Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2358 { + switch yys2391 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -30516,9 +31031,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2358) - } // end switch yys2358 - } // end for yyj2358 + z.DecStructFieldNotFound(-1, yys2391) + } // end switch yys2391 + } // end for yyj2391 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30526,16 +31041,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2362 int - var yyb2362 bool - var yyhl2362 bool = l >= 0 - yyj2362++ - if yyhl2362 { - yyb2362 = yyj2362 > l + var yyj2395 int + var yyb2395 bool + var yyhl2395 bool = l >= 0 + yyj2395++ + if yyhl2395 { + yyb2395 = yyj2395 > l } else { - yyb2362 = r.CheckBreak() + yyb2395 = r.CheckBreak() } - if yyb2362 { + if yyb2395 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30545,13 +31060,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2362++ - if yyhl2362 { - yyb2362 = yyj2362 > l + yyj2395++ + if yyhl2395 { + yyb2395 = yyj2395 > l } else { - yyb2362 = r.CheckBreak() + yyb2395 = r.CheckBreak() } - if yyb2362 { + if yyb2395 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30561,13 +31076,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2362++ - if yyhl2362 { - yyb2362 = yyj2362 > l + yyj2395++ + if yyhl2395 { + yyb2395 = yyj2395 > l } else { - yyb2362 = r.CheckBreak() + yyb2395 = r.CheckBreak() } - if yyb2362 { + if yyb2395 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30578,17 +31093,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2362++ - if yyhl2362 { - yyb2362 = yyj2362 > l + yyj2395++ + if yyhl2395 { + yyb2395 = yyj2395 > l } else { - yyb2362 = r.CheckBreak() + yyb2395 = r.CheckBreak() } - if yyb2362 { + if yyb2395 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2362-1, "") + z.DecStructFieldNotFound(yyj2395-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30600,68 +31115,68 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2366 := z.EncBinary() - _ = yym2366 + yym2399 := z.EncBinary() + _ = yym2399 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2367 := !z.EncBinary() - yy2arr2367 := z.EncBasicHandle().StructToArray - var yyq2367 [4]bool - _, _, _ = yysep2367, yyq2367, yy2arr2367 - const yyr2367 bool = false - yyq2367[0] = true - yyq2367[2] = x.Kind != "" - yyq2367[3] = x.APIVersion != "" - var yynn2367 int - if yyr2367 || yy2arr2367 { + yysep2400 := !z.EncBinary() + yy2arr2400 := z.EncBasicHandle().StructToArray + var yyq2400 [4]bool + _, _, _ = yysep2400, yyq2400, yy2arr2400 + const yyr2400 bool = false + yyq2400[0] = true + yyq2400[2] = x.Kind != "" + yyq2400[3] = x.APIVersion != "" + var yynn2400 int + if yyr2400 || yy2arr2400 { r.EncodeArrayStart(4) } else { - yynn2367 = 1 - for _, b := range yyq2367 { + yynn2400 = 1 + for _, b := range yyq2400 { if b { - yynn2367++ + yynn2400++ } } - r.EncodeMapStart(yynn2367) - yynn2367 = 0 + r.EncodeMapStart(yynn2400) + yynn2400 = 0 } - if yyr2367 || yy2arr2367 { + if yyr2400 || yy2arr2400 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2367[0] { - yy2369 := &x.ListMeta - yym2370 := z.EncBinary() - _ = yym2370 + if yyq2400[0] { + yy2402 := &x.ListMeta + yym2403 := z.EncBinary() + _ = yym2403 if false { - } else if z.HasExtensions() && z.EncExt(yy2369) { + } else if z.HasExtensions() && z.EncExt(yy2402) { } else { - z.EncFallback(yy2369) + z.EncFallback(yy2402) } } else { r.EncodeNil() } } else { - if yyq2367[0] { + if yyq2400[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2371 := &x.ListMeta - yym2372 := z.EncBinary() - _ = yym2372 + yy2404 := &x.ListMeta + yym2405 := z.EncBinary() + _ = yym2405 if false { - } else if z.HasExtensions() && z.EncExt(yy2371) { + } else if z.HasExtensions() && z.EncExt(yy2404) { } else { - z.EncFallback(yy2371) + z.EncFallback(yy2404) } } } - if yyr2367 || yy2arr2367 { + if yyr2400 || yy2arr2400 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2374 := z.EncBinary() - _ = yym2374 + yym2407 := z.EncBinary() + _ = yym2407 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -30674,19 +31189,19 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2375 := z.EncBinary() - _ = yym2375 + yym2408 := z.EncBinary() + _ = yym2408 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2367 || yy2arr2367 { + if yyr2400 || yy2arr2400 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2367[2] { - yym2377 := z.EncBinary() - _ = yym2377 + if yyq2400[2] { + yym2410 := z.EncBinary() + _ = yym2410 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30695,23 +31210,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2367[2] { + if yyq2400[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2378 := z.EncBinary() - _ = yym2378 + yym2411 := z.EncBinary() + _ = yym2411 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2367 || yy2arr2367 { + if yyr2400 || yy2arr2400 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2367[3] { - yym2380 := z.EncBinary() - _ = yym2380 + if yyq2400[3] { + yym2413 := z.EncBinary() + _ = yym2413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30720,19 +31235,19 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2367[3] { + if yyq2400[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2381 := z.EncBinary() - _ = yym2381 + yym2414 := z.EncBinary() + _ = yym2414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2367 || yy2arr2367 { + if yyr2400 || yy2arr2400 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30745,25 +31260,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2382 := z.DecBinary() - _ = yym2382 + yym2415 := z.DecBinary() + _ = yym2415 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2383 := r.ContainerType() - if yyct2383 == codecSelferValueTypeMap1234 { - yyl2383 := r.ReadMapStart() - if yyl2383 == 0 { + yyct2416 := r.ContainerType() + if yyct2416 == codecSelferValueTypeMap1234 { + yyl2416 := r.ReadMapStart() + if yyl2416 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2383, d) + x.codecDecodeSelfFromMap(yyl2416, d) } - } else if yyct2383 == codecSelferValueTypeArray1234 { - yyl2383 := r.ReadArrayStart() - if yyl2383 == 0 { + } else if yyct2416 == codecSelferValueTypeArray1234 { + yyl2416 := r.ReadArrayStart() + if yyl2416 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2383, d) + x.codecDecodeSelfFromArray(yyl2416, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30775,12 +31290,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2384Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2384Slc - var yyhl2384 bool = l >= 0 - for yyj2384 := 0; ; yyj2384++ { - if yyhl2384 { - if yyj2384 >= l { + var yys2417Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2417Slc + var yyhl2417 bool = l >= 0 + for yyj2417 := 0; ; yyj2417++ { + if yyhl2417 { + if yyj2417 >= l { break } } else { @@ -30789,33 +31304,33 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2384Slc = r.DecodeBytes(yys2384Slc, true, true) - yys2384 := string(yys2384Slc) + yys2417Slc = r.DecodeBytes(yys2417Slc, true, true) + yys2417 := string(yys2417Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2384 { + switch yys2417 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2385 := &x.ListMeta - yym2386 := z.DecBinary() - _ = yym2386 + yyv2418 := &x.ListMeta + yym2419 := z.DecBinary() + _ = yym2419 if false { - } else if z.HasExtensions() && z.DecExt(yyv2385) { + } else if z.HasExtensions() && z.DecExt(yyv2418) { } else { - z.DecFallback(yyv2385, false) + z.DecFallback(yyv2418, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2387 := &x.Items - yym2388 := z.DecBinary() - _ = yym2388 + yyv2420 := &x.Items + yym2421 := z.DecBinary() + _ = yym2421 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2387), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2420), d) } } case "kind": @@ -30831,9 +31346,9 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2384) - } // end switch yys2384 - } // end for yyj2384 + z.DecStructFieldNotFound(-1, yys2417) + } // end switch yys2417 + } // end for yyj2417 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30841,16 +31356,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2391 int - var yyb2391 bool - var yyhl2391 bool = l >= 0 - yyj2391++ - if yyhl2391 { - yyb2391 = yyj2391 > l + var yyj2424 int + var yyb2424 bool + var yyhl2424 bool = l >= 0 + yyj2424++ + if yyhl2424 { + yyb2424 = yyj2424 > l } else { - yyb2391 = r.CheckBreak() + yyb2424 = r.CheckBreak() } - if yyb2391 { + if yyb2424 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30858,22 +31373,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2392 := &x.ListMeta - yym2393 := z.DecBinary() - _ = yym2393 + yyv2425 := &x.ListMeta + yym2426 := z.DecBinary() + _ = yym2426 if false { - } else if z.HasExtensions() && z.DecExt(yyv2392) { + } else if z.HasExtensions() && z.DecExt(yyv2425) { } else { - z.DecFallback(yyv2392, false) + z.DecFallback(yyv2425, false) } } - yyj2391++ - if yyhl2391 { - yyb2391 = yyj2391 > l + yyj2424++ + if yyhl2424 { + yyb2424 = yyj2424 > l } else { - yyb2391 = r.CheckBreak() + yyb2424 = r.CheckBreak() } - if yyb2391 { + if yyb2424 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30881,21 +31396,21 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2394 := &x.Items - yym2395 := z.DecBinary() - _ = yym2395 + yyv2427 := &x.Items + yym2428 := z.DecBinary() + _ = yym2428 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2394), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2427), d) } } - yyj2391++ - if yyhl2391 { - yyb2391 = yyj2391 > l + yyj2424++ + if yyhl2424 { + yyb2424 = yyj2424 > l } else { - yyb2391 = r.CheckBreak() + yyb2424 = r.CheckBreak() } - if yyb2391 { + if yyb2424 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30905,13 +31420,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2391++ - if yyhl2391 { - yyb2391 = yyj2391 > l + yyj2424++ + if yyhl2424 { + yyb2424 = yyj2424 > l } else { - yyb2391 = r.CheckBreak() + yyb2424 = r.CheckBreak() } - if yyb2391 { + if yyb2424 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30922,17 +31437,17 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2391++ - if yyhl2391 { - yyb2391 = yyj2391 > l + yyj2424++ + if yyhl2424 { + yyb2424 = yyj2424 > l } else { - yyb2391 = r.CheckBreak() + yyb2424 = r.CheckBreak() } - if yyb2391 { + if yyb2424 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2391-1, "") + z.DecStructFieldNotFound(yyj2424-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30944,38 +31459,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2398 := z.EncBinary() - _ = yym2398 + yym2431 := z.EncBinary() + _ = yym2431 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2399 := !z.EncBinary() - yy2arr2399 := z.EncBasicHandle().StructToArray - var yyq2399 [4]bool - _, _, _ = yysep2399, yyq2399, yy2arr2399 - const yyr2399 bool = false - yyq2399[0] = x.PodCIDR != "" - yyq2399[1] = x.ExternalID != "" - yyq2399[2] = x.ProviderID != "" - yyq2399[3] = x.Unschedulable != false - var yynn2399 int - if yyr2399 || yy2arr2399 { + yysep2432 := !z.EncBinary() + yy2arr2432 := z.EncBasicHandle().StructToArray + var yyq2432 [4]bool + _, _, _ = yysep2432, yyq2432, yy2arr2432 + const yyr2432 bool = false + yyq2432[0] = x.PodCIDR != "" + yyq2432[1] = x.ExternalID != "" + yyq2432[2] = x.ProviderID != "" + yyq2432[3] = x.Unschedulable != false + var yynn2432 int + if yyr2432 || yy2arr2432 { r.EncodeArrayStart(4) } else { - yynn2399 = 0 - for _, b := range yyq2399 { + yynn2432 = 0 + for _, b := range yyq2432 { if b { - yynn2399++ + yynn2432++ } } - r.EncodeMapStart(yynn2399) - yynn2399 = 0 + r.EncodeMapStart(yynn2432) + yynn2432 = 0 } - if yyr2399 || yy2arr2399 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2399[0] { - yym2401 := z.EncBinary() - _ = yym2401 + if yyq2432[0] { + yym2434 := z.EncBinary() + _ = yym2434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -30984,23 +31499,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2399[0] { + if yyq2432[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2402 := z.EncBinary() - _ = yym2402 + yym2435 := z.EncBinary() + _ = yym2435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2399 || yy2arr2399 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2399[1] { - yym2404 := z.EncBinary() - _ = yym2404 + if yyq2432[1] { + yym2437 := z.EncBinary() + _ = yym2437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -31009,23 +31524,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2399[1] { + if yyq2432[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2405 := z.EncBinary() - _ = yym2405 + yym2438 := z.EncBinary() + _ = yym2438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2399 || yy2arr2399 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2399[2] { - yym2407 := z.EncBinary() - _ = yym2407 + if yyq2432[2] { + yym2440 := z.EncBinary() + _ = yym2440 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -31034,23 +31549,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2399[2] { + if yyq2432[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2408 := z.EncBinary() - _ = yym2408 + yym2441 := z.EncBinary() + _ = yym2441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2399 || yy2arr2399 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2399[3] { - yym2410 := z.EncBinary() - _ = yym2410 + if yyq2432[3] { + yym2443 := z.EncBinary() + _ = yym2443 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -31059,19 +31574,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2399[3] { + if yyq2432[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2411 := z.EncBinary() - _ = yym2411 + yym2444 := z.EncBinary() + _ = yym2444 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2399 || yy2arr2399 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31084,25 +31599,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2412 := z.DecBinary() - _ = yym2412 + yym2445 := z.DecBinary() + _ = yym2445 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2413 := r.ContainerType() - if yyct2413 == codecSelferValueTypeMap1234 { - yyl2413 := r.ReadMapStart() - if yyl2413 == 0 { + yyct2446 := r.ContainerType() + if yyct2446 == codecSelferValueTypeMap1234 { + yyl2446 := r.ReadMapStart() + if yyl2446 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2413, d) + x.codecDecodeSelfFromMap(yyl2446, d) } - } else if yyct2413 == codecSelferValueTypeArray1234 { - yyl2413 := r.ReadArrayStart() - if yyl2413 == 0 { + } else if yyct2446 == codecSelferValueTypeArray1234 { + yyl2446 := r.ReadArrayStart() + if yyl2446 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2413, d) + x.codecDecodeSelfFromArray(yyl2446, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31114,12 +31629,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2414Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2414Slc - var yyhl2414 bool = l >= 0 - for yyj2414 := 0; ; yyj2414++ { - if yyhl2414 { - if yyj2414 >= l { + var yys2447Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2447Slc + var yyhl2447 bool = l >= 0 + for yyj2447 := 0; ; yyj2447++ { + if yyhl2447 { + if yyj2447 >= l { break } } else { @@ -31128,10 +31643,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2414Slc = r.DecodeBytes(yys2414Slc, true, true) - yys2414 := string(yys2414Slc) + yys2447Slc = r.DecodeBytes(yys2447Slc, true, true) + yys2447 := string(yys2447Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2414 { + switch yys2447 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -31157,9 +31672,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2414) - } // end switch yys2414 - } // end for yyj2414 + z.DecStructFieldNotFound(-1, yys2447) + } // end switch yys2447 + } // end for yyj2447 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31167,16 +31682,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2419 int - var yyb2419 bool - var yyhl2419 bool = l >= 0 - yyj2419++ - if yyhl2419 { - yyb2419 = yyj2419 > l + var yyj2452 int + var yyb2452 bool + var yyhl2452 bool = l >= 0 + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2419 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2419 { + if yyb2452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31186,13 +31701,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2419++ - if yyhl2419 { - yyb2419 = yyj2419 > l + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2419 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2419 { + if yyb2452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31202,13 +31717,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2419++ - if yyhl2419 { - yyb2419 = yyj2419 > l + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2419 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2419 { + if yyb2452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31218,13 +31733,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2419++ - if yyhl2419 { - yyb2419 = yyj2419 > l + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2419 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2419 { + if yyb2452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31235,17 +31750,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2419++ - if yyhl2419 { - yyb2419 = yyj2419 > l + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2419 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2419 { + if yyb2452 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2419-1, "") + z.DecStructFieldNotFound(yyj2452-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31257,33 +31772,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2424 := z.EncBinary() - _ = yym2424 + yym2457 := z.EncBinary() + _ = yym2457 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2425 := !z.EncBinary() - yy2arr2425 := z.EncBasicHandle().StructToArray - var yyq2425 [1]bool - _, _, _ = yysep2425, yyq2425, yy2arr2425 - const yyr2425 bool = false - var yynn2425 int - if yyr2425 || yy2arr2425 { + yysep2458 := !z.EncBinary() + yy2arr2458 := z.EncBasicHandle().StructToArray + var yyq2458 [1]bool + _, _, _ = yysep2458, yyq2458, yy2arr2458 + const yyr2458 bool = false + var yynn2458 int + if yyr2458 || yy2arr2458 { r.EncodeArrayStart(1) } else { - yynn2425 = 1 - for _, b := range yyq2425 { + yynn2458 = 1 + for _, b := range yyq2458 { if b { - yynn2425++ + yynn2458++ } } - r.EncodeMapStart(yynn2425) - yynn2425 = 0 + r.EncodeMapStart(yynn2458) + yynn2458 = 0 } - if yyr2425 || yy2arr2425 { + if yyr2458 || yy2arr2458 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2427 := z.EncBinary() - _ = yym2427 + yym2460 := z.EncBinary() + _ = yym2460 if false { } else { r.EncodeInt(int64(x.Port)) @@ -31292,14 +31807,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2428 := z.EncBinary() - _ = yym2428 + yym2461 := z.EncBinary() + _ = yym2461 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2425 || yy2arr2425 { + if yyr2458 || yy2arr2458 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31312,25 +31827,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2429 := z.DecBinary() - _ = yym2429 + yym2462 := z.DecBinary() + _ = yym2462 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2430 := r.ContainerType() - if yyct2430 == codecSelferValueTypeMap1234 { - yyl2430 := r.ReadMapStart() - if yyl2430 == 0 { + yyct2463 := r.ContainerType() + if yyct2463 == codecSelferValueTypeMap1234 { + yyl2463 := r.ReadMapStart() + if yyl2463 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2430, d) + x.codecDecodeSelfFromMap(yyl2463, d) } - } else if yyct2430 == codecSelferValueTypeArray1234 { - yyl2430 := r.ReadArrayStart() - if yyl2430 == 0 { + } else if yyct2463 == codecSelferValueTypeArray1234 { + yyl2463 := r.ReadArrayStart() + if yyl2463 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2430, d) + x.codecDecodeSelfFromArray(yyl2463, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31342,12 +31857,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2431Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2431Slc - var yyhl2431 bool = l >= 0 - for yyj2431 := 0; ; yyj2431++ { - if yyhl2431 { - if yyj2431 >= l { + var yys2464Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2464Slc + var yyhl2464 bool = l >= 0 + for yyj2464 := 0; ; yyj2464++ { + if yyhl2464 { + if yyj2464 >= l { break } } else { @@ -31356,10 +31871,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2431Slc = r.DecodeBytes(yys2431Slc, true, true) - yys2431 := string(yys2431Slc) + yys2464Slc = r.DecodeBytes(yys2464Slc, true, true) + yys2464 := string(yys2464Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2431 { + switch yys2464 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -31367,9 +31882,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2431) - } // end switch yys2431 - } // end for yyj2431 + z.DecStructFieldNotFound(-1, yys2464) + } // end switch yys2464 + } // end for yyj2464 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31377,16 +31892,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2433 int - var yyb2433 bool - var yyhl2433 bool = l >= 0 - yyj2433++ - if yyhl2433 { - yyb2433 = yyj2433 > l + var yyj2466 int + var yyb2466 bool + var yyhl2466 bool = l >= 0 + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2433 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2433 { + if yyb2466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31397,17 +31912,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj2433++ - if yyhl2433 { - yyb2433 = yyj2433 > l + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2433 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2433 { + if yyb2466 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2433-1, "") + z.DecStructFieldNotFound(yyj2466-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31419,48 +31934,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2435 := z.EncBinary() - _ = yym2435 + yym2468 := z.EncBinary() + _ = yym2468 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2436 := !z.EncBinary() - yy2arr2436 := z.EncBasicHandle().StructToArray - var yyq2436 [1]bool - _, _, _ = yysep2436, yyq2436, yy2arr2436 - const yyr2436 bool = false - yyq2436[0] = true - var yynn2436 int - if yyr2436 || yy2arr2436 { + yysep2469 := !z.EncBinary() + yy2arr2469 := z.EncBasicHandle().StructToArray + var yyq2469 [1]bool + _, _, _ = yysep2469, yyq2469, yy2arr2469 + const yyr2469 bool = false + yyq2469[0] = true + var yynn2469 int + if yyr2469 || yy2arr2469 { r.EncodeArrayStart(1) } else { - yynn2436 = 0 - for _, b := range yyq2436 { + yynn2469 = 0 + for _, b := range yyq2469 { if b { - yynn2436++ + yynn2469++ } } - r.EncodeMapStart(yynn2436) - yynn2436 = 0 + r.EncodeMapStart(yynn2469) + yynn2469 = 0 } - if yyr2436 || yy2arr2436 { + if yyr2469 || yy2arr2469 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2436[0] { - yy2438 := &x.KubeletEndpoint - yy2438.CodecEncodeSelf(e) + if yyq2469[0] { + yy2471 := &x.KubeletEndpoint + yy2471.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2436[0] { + if yyq2469[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2439 := &x.KubeletEndpoint - yy2439.CodecEncodeSelf(e) + yy2472 := &x.KubeletEndpoint + yy2472.CodecEncodeSelf(e) } } - if yyr2436 || yy2arr2436 { + if yyr2469 || yy2arr2469 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31473,25 +31988,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2440 := z.DecBinary() - _ = yym2440 + yym2473 := z.DecBinary() + _ = yym2473 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2441 := r.ContainerType() - if yyct2441 == codecSelferValueTypeMap1234 { - yyl2441 := r.ReadMapStart() - if yyl2441 == 0 { + yyct2474 := r.ContainerType() + if yyct2474 == codecSelferValueTypeMap1234 { + yyl2474 := r.ReadMapStart() + if yyl2474 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2441, d) + x.codecDecodeSelfFromMap(yyl2474, d) } - } else if yyct2441 == codecSelferValueTypeArray1234 { - yyl2441 := r.ReadArrayStart() - if yyl2441 == 0 { + } else if yyct2474 == codecSelferValueTypeArray1234 { + yyl2474 := r.ReadArrayStart() + if yyl2474 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2441, d) + x.codecDecodeSelfFromArray(yyl2474, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31503,12 +32018,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2442Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2442Slc - var yyhl2442 bool = l >= 0 - for yyj2442 := 0; ; yyj2442++ { - if yyhl2442 { - if yyj2442 >= l { + var yys2475Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2475Slc + var yyhl2475 bool = l >= 0 + for yyj2475 := 0; ; yyj2475++ { + if yyhl2475 { + if yyj2475 >= l { break } } else { @@ -31517,21 +32032,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2442Slc = r.DecodeBytes(yys2442Slc, true, true) - yys2442 := string(yys2442Slc) + yys2475Slc = r.DecodeBytes(yys2475Slc, true, true) + yys2475 := string(yys2475Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2442 { + switch yys2475 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2443 := &x.KubeletEndpoint - yyv2443.CodecDecodeSelf(d) + yyv2476 := &x.KubeletEndpoint + yyv2476.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2442) - } // end switch yys2442 - } // end for yyj2442 + z.DecStructFieldNotFound(-1, yys2475) + } // end switch yys2475 + } // end for yyj2475 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31539,16 +32054,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2444 int - var yyb2444 bool - var yyhl2444 bool = l >= 0 - yyj2444++ - if yyhl2444 { - yyb2444 = yyj2444 > l + var yyj2477 int + var yyb2477 bool + var yyhl2477 bool = l >= 0 + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2444 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2444 { + if yyb2477 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31556,21 +32071,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2445 := &x.KubeletEndpoint - yyv2445.CodecDecodeSelf(d) + yyv2478 := &x.KubeletEndpoint + yyv2478.CodecDecodeSelf(d) } for { - yyj2444++ - if yyhl2444 { - yyb2444 = yyj2444 > l + yyj2477++ + if yyhl2477 { + yyb2477 = yyj2477 > l } else { - yyb2444 = r.CheckBreak() + yyb2477 = r.CheckBreak() } - if yyb2444 { + if yyb2477 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2444-1, "") + z.DecStructFieldNotFound(yyj2477-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31582,33 +32097,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2446 := z.EncBinary() - _ = yym2446 + yym2479 := z.EncBinary() + _ = yym2479 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2447 := !z.EncBinary() - yy2arr2447 := z.EncBasicHandle().StructToArray - var yyq2447 [8]bool - _, _, _ = yysep2447, yyq2447, yy2arr2447 - const yyr2447 bool = false - var yynn2447 int - if yyr2447 || yy2arr2447 { + yysep2480 := !z.EncBinary() + yy2arr2480 := z.EncBasicHandle().StructToArray + var yyq2480 [8]bool + _, _, _ = yysep2480, yyq2480, yy2arr2480 + const yyr2480 bool = false + var yynn2480 int + if yyr2480 || yy2arr2480 { r.EncodeArrayStart(8) } else { - yynn2447 = 8 - for _, b := range yyq2447 { + yynn2480 = 8 + for _, b := range yyq2480 { if b { - yynn2447++ + yynn2480++ } } - r.EncodeMapStart(yynn2447) - yynn2447 = 0 + r.EncodeMapStart(yynn2480) + yynn2480 = 0 } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2449 := z.EncBinary() - _ = yym2449 + yym2482 := z.EncBinary() + _ = yym2482 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -31617,17 +32132,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2450 := z.EncBinary() - _ = yym2450 + yym2483 := z.EncBinary() + _ = yym2483 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2452 := z.EncBinary() - _ = yym2452 + yym2485 := z.EncBinary() + _ = yym2485 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -31636,17 +32151,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2453 := z.EncBinary() - _ = yym2453 + yym2486 := z.EncBinary() + _ = yym2486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2455 := z.EncBinary() - _ = yym2455 + yym2488 := z.EncBinary() + _ = yym2488 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -31655,17 +32170,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2456 := z.EncBinary() - _ = yym2456 + yym2489 := z.EncBinary() + _ = yym2489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2458 := z.EncBinary() - _ = yym2458 + yym2491 := z.EncBinary() + _ = yym2491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -31674,17 +32189,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2459 := z.EncBinary() - _ = yym2459 + yym2492 := z.EncBinary() + _ = yym2492 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2461 := z.EncBinary() - _ = yym2461 + yym2494 := z.EncBinary() + _ = yym2494 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -31693,17 +32208,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2462 := z.EncBinary() - _ = yym2462 + yym2495 := z.EncBinary() + _ = yym2495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2464 := z.EncBinary() - _ = yym2464 + yym2497 := z.EncBinary() + _ = yym2497 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -31712,17 +32227,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2465 := z.EncBinary() - _ = yym2465 + yym2498 := z.EncBinary() + _ = yym2498 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2467 := z.EncBinary() - _ = yym2467 + yym2500 := z.EncBinary() + _ = yym2500 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -31731,17 +32246,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2468 := z.EncBinary() - _ = yym2468 + yym2501 := z.EncBinary() + _ = yym2501 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2470 := z.EncBinary() - _ = yym2470 + yym2503 := z.EncBinary() + _ = yym2503 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -31750,14 +32265,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2471 := z.EncBinary() - _ = yym2471 + yym2504 := z.EncBinary() + _ = yym2504 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2447 || yy2arr2447 { + if yyr2480 || yy2arr2480 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31770,25 +32285,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2472 := z.DecBinary() - _ = yym2472 + yym2505 := z.DecBinary() + _ = yym2505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2473 := r.ContainerType() - if yyct2473 == codecSelferValueTypeMap1234 { - yyl2473 := r.ReadMapStart() - if yyl2473 == 0 { + yyct2506 := r.ContainerType() + if yyct2506 == codecSelferValueTypeMap1234 { + yyl2506 := r.ReadMapStart() + if yyl2506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2473, d) + x.codecDecodeSelfFromMap(yyl2506, d) } - } else if yyct2473 == codecSelferValueTypeArray1234 { - yyl2473 := r.ReadArrayStart() - if yyl2473 == 0 { + } else if yyct2506 == codecSelferValueTypeArray1234 { + yyl2506 := r.ReadArrayStart() + if yyl2506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2473, d) + x.codecDecodeSelfFromArray(yyl2506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31800,12 +32315,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2474Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2474Slc - var yyhl2474 bool = l >= 0 - for yyj2474 := 0; ; yyj2474++ { - if yyhl2474 { - if yyj2474 >= l { + var yys2507Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2507Slc + var yyhl2507 bool = l >= 0 + for yyj2507 := 0; ; yyj2507++ { + if yyhl2507 { + if yyj2507 >= l { break } } else { @@ -31814,10 +32329,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2474Slc = r.DecodeBytes(yys2474Slc, true, true) - yys2474 := string(yys2474Slc) + yys2507Slc = r.DecodeBytes(yys2507Slc, true, true) + yys2507 := string(yys2507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2474 { + switch yys2507 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -31867,9 +32382,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2474) - } // end switch yys2474 - } // end for yyj2474 + z.DecStructFieldNotFound(-1, yys2507) + } // end switch yys2507 + } // end for yyj2507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31877,16 +32392,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2483 int - var yyb2483 bool - var yyhl2483 bool = l >= 0 - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + var yyj2516 int + var yyb2516 bool + var yyhl2516 bool = l >= 0 + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31896,13 +32411,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31912,13 +32427,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31928,13 +32443,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31944,13 +32459,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31960,13 +32475,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31976,13 +32491,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31992,13 +32507,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32009,17 +32524,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } for { - yyj2483++ - if yyhl2483 { - yyb2483 = yyj2483 > l + yyj2516++ + if yyhl2516 { + yyb2516 = yyj2516 > l } else { - yyb2483 = r.CheckBreak() + yyb2516 = r.CheckBreak() } - if yyb2483 { + if yyb2516 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2483-1, "") + z.DecStructFieldNotFound(yyj2516-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32031,39 +32546,39 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2492 := z.EncBinary() - _ = yym2492 + yym2525 := z.EncBinary() + _ = yym2525 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2493 := !z.EncBinary() - yy2arr2493 := z.EncBasicHandle().StructToArray - var yyq2493 [8]bool - _, _, _ = yysep2493, yyq2493, yy2arr2493 - const yyr2493 bool = false - yyq2493[0] = len(x.Capacity) != 0 - yyq2493[1] = len(x.Allocatable) != 0 - yyq2493[2] = x.Phase != "" - yyq2493[3] = len(x.Conditions) != 0 - yyq2493[4] = len(x.Addresses) != 0 - yyq2493[5] = true - yyq2493[6] = true - var yynn2493 int - if yyr2493 || yy2arr2493 { + yysep2526 := !z.EncBinary() + yy2arr2526 := z.EncBasicHandle().StructToArray + var yyq2526 [8]bool + _, _, _ = yysep2526, yyq2526, yy2arr2526 + const yyr2526 bool = false + yyq2526[0] = len(x.Capacity) != 0 + yyq2526[1] = len(x.Allocatable) != 0 + yyq2526[2] = x.Phase != "" + yyq2526[3] = len(x.Conditions) != 0 + yyq2526[4] = len(x.Addresses) != 0 + yyq2526[5] = true + yyq2526[6] = true + var yynn2526 int + if yyr2526 || yy2arr2526 { r.EncodeArrayStart(8) } else { - yynn2493 = 1 - for _, b := range yyq2493 { + yynn2526 = 1 + for _, b := range yyq2526 { if b { - yynn2493++ + yynn2526++ } } - r.EncodeMapStart(yynn2493) - yynn2493 = 0 + r.EncodeMapStart(yynn2526) + yynn2526 = 0 } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[0] { + if yyq2526[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -32073,7 +32588,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2493[0] { + if yyq2526[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -32084,9 +32599,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[1] { + if yyq2526[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -32096,7 +32611,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2493[1] { + if yyq2526[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -32107,29 +32622,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[2] { + if yyq2526[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2493[2] { + if yyq2526[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[3] { + if yyq2526[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym2498 := z.EncBinary() - _ = yym2498 + yym2531 := z.EncBinary() + _ = yym2531 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -32139,15 +32654,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2493[3] { + if yyq2526[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2499 := z.EncBinary() - _ = yym2499 + yym2532 := z.EncBinary() + _ = yym2532 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -32155,14 +32670,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[4] { + if yyq2526[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym2501 := z.EncBinary() - _ = yym2501 + yym2534 := z.EncBinary() + _ = yym2534 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -32172,15 +32687,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2493[4] { + if yyq2526[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2502 := z.EncBinary() - _ = yym2502 + yym2535 := z.EncBinary() + _ = yym2535 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -32188,47 +32703,47 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[5] { - yy2504 := &x.DaemonEndpoints - yy2504.CodecEncodeSelf(e) + if yyq2526[5] { + yy2537 := &x.DaemonEndpoints + yy2537.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2493[5] { + if yyq2526[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2505 := &x.DaemonEndpoints - yy2505.CodecEncodeSelf(e) + yy2538 := &x.DaemonEndpoints + yy2538.CodecEncodeSelf(e) } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2493[6] { - yy2507 := &x.NodeInfo - yy2507.CodecEncodeSelf(e) + if yyq2526[6] { + yy2540 := &x.NodeInfo + yy2540.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2493[6] { + if yyq2526[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2508 := &x.NodeInfo - yy2508.CodecEncodeSelf(e) + yy2541 := &x.NodeInfo + yy2541.CodecEncodeSelf(e) } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Images == nil { r.EncodeNil() } else { - yym2510 := z.EncBinary() - _ = yym2510 + yym2543 := z.EncBinary() + _ = yym2543 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -32241,15 +32756,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x.Images == nil { r.EncodeNil() } else { - yym2511 := z.EncBinary() - _ = yym2511 + yym2544 := z.EncBinary() + _ = yym2544 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) } } } - if yyr2493 || yy2arr2493 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32262,25 +32777,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2512 := z.DecBinary() - _ = yym2512 + yym2545 := z.DecBinary() + _ = yym2545 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2513 := r.ContainerType() - if yyct2513 == codecSelferValueTypeMap1234 { - yyl2513 := r.ReadMapStart() - if yyl2513 == 0 { + yyct2546 := r.ContainerType() + if yyct2546 == codecSelferValueTypeMap1234 { + yyl2546 := r.ReadMapStart() + if yyl2546 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2513, d) + x.codecDecodeSelfFromMap(yyl2546, d) } - } else if yyct2513 == codecSelferValueTypeArray1234 { - yyl2513 := r.ReadArrayStart() - if yyl2513 == 0 { + } else if yyct2546 == codecSelferValueTypeArray1234 { + yyl2546 := r.ReadArrayStart() + if yyl2546 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2513, d) + x.codecDecodeSelfFromArray(yyl2546, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32292,12 +32807,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2514Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2514Slc - var yyhl2514 bool = l >= 0 - for yyj2514 := 0; ; yyj2514++ { - if yyhl2514 { - if yyj2514 >= l { + var yys2547Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2547Slc + var yyhl2547 bool = l >= 0 + for yyj2547 := 0; ; yyj2547++ { + if yyhl2547 { + if yyj2547 >= l { break } } else { @@ -32306,23 +32821,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2514Slc = r.DecodeBytes(yys2514Slc, true, true) - yys2514 := string(yys2514Slc) + yys2547Slc = r.DecodeBytes(yys2547Slc, true, true) + yys2547 := string(yys2547Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2514 { + switch yys2547 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2515 := &x.Capacity - yyv2515.CodecDecodeSelf(d) + yyv2548 := &x.Capacity + yyv2548.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2516 := &x.Allocatable - yyv2516.CodecDecodeSelf(d) + yyv2549 := &x.Allocatable + yyv2549.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -32334,56 +32849,56 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2518 := &x.Conditions - yym2519 := z.DecBinary() - _ = yym2519 + yyv2551 := &x.Conditions + yym2552 := z.DecBinary() + _ = yym2552 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2518), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2551), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2520 := &x.Addresses - yym2521 := z.DecBinary() - _ = yym2521 + yyv2553 := &x.Addresses + yym2554 := z.DecBinary() + _ = yym2554 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2520), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2553), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2522 := &x.DaemonEndpoints - yyv2522.CodecDecodeSelf(d) + yyv2555 := &x.DaemonEndpoints + yyv2555.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2523 := &x.NodeInfo - yyv2523.CodecDecodeSelf(d) + yyv2556 := &x.NodeInfo + yyv2556.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv2524 := &x.Images - yym2525 := z.DecBinary() - _ = yym2525 + yyv2557 := &x.Images + yym2558 := z.DecBinary() + _ = yym2558 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv2524), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2557), d) } } default: - z.DecStructFieldNotFound(-1, yys2514) - } // end switch yys2514 - } // end for yyj2514 + z.DecStructFieldNotFound(-1, yys2547) + } // end switch yys2547 + } // end for yyj2547 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32391,16 +32906,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2526 int - var yyb2526 bool - var yyhl2526 bool = l >= 0 - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + var yyj2559 int + var yyb2559 bool + var yyhl2559 bool = l >= 0 + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32408,16 +32923,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2527 := &x.Capacity - yyv2527.CodecDecodeSelf(d) + yyv2560 := &x.Capacity + yyv2560.CodecDecodeSelf(d) } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32425,16 +32940,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2528 := &x.Allocatable - yyv2528.CodecDecodeSelf(d) + yyv2561 := &x.Allocatable + yyv2561.CodecDecodeSelf(d) } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32444,13 +32959,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32458,21 +32973,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2530 := &x.Conditions - yym2531 := z.DecBinary() - _ = yym2531 + yyv2563 := &x.Conditions + yym2564 := z.DecBinary() + _ = yym2564 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2530), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2563), d) } } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32480,21 +32995,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2532 := &x.Addresses - yym2533 := z.DecBinary() - _ = yym2533 + yyv2565 := &x.Addresses + yym2566 := z.DecBinary() + _ = yym2566 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2532), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2565), d) } } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32502,16 +33017,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2534 := &x.DaemonEndpoints - yyv2534.CodecDecodeSelf(d) + yyv2567 := &x.DaemonEndpoints + yyv2567.CodecDecodeSelf(d) } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32519,16 +33034,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2535 := &x.NodeInfo - yyv2535.CodecDecodeSelf(d) + yyv2568 := &x.NodeInfo + yyv2568.CodecDecodeSelf(d) } - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32536,26 +33051,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv2536 := &x.Images - yym2537 := z.DecBinary() - _ = yym2537 + yyv2569 := &x.Images + yym2570 := z.DecBinary() + _ = yym2570 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv2536), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2569), d) } } for { - yyj2526++ - if yyhl2526 { - yyb2526 = yyj2526 > l + yyj2559++ + if yyhl2559 { + yyb2559 = yyj2559 > l } else { - yyb2526 = r.CheckBreak() + yyb2559 = r.CheckBreak() } - if yyb2526 { + if yyb2559 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2526-1, "") + z.DecStructFieldNotFound(yyj2559-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32567,37 +33082,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2538 := z.EncBinary() - _ = yym2538 + yym2571 := z.EncBinary() + _ = yym2571 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2539 := !z.EncBinary() - yy2arr2539 := z.EncBasicHandle().StructToArray - var yyq2539 [2]bool - _, _, _ = yysep2539, yyq2539, yy2arr2539 - const yyr2539 bool = false - yyq2539[1] = x.Size != 0 - var yynn2539 int - if yyr2539 || yy2arr2539 { + yysep2572 := !z.EncBinary() + yy2arr2572 := z.EncBasicHandle().StructToArray + var yyq2572 [2]bool + _, _, _ = yysep2572, yyq2572, yy2arr2572 + const yyr2572 bool = false + yyq2572[1] = x.Size != 0 + var yynn2572 int + if yyr2572 || yy2arr2572 { r.EncodeArrayStart(2) } else { - yynn2539 = 1 - for _, b := range yyq2539 { + yynn2572 = 1 + for _, b := range yyq2572 { if b { - yynn2539++ + yynn2572++ } } - r.EncodeMapStart(yynn2539) - yynn2539 = 0 + r.EncodeMapStart(yynn2572) + yynn2572 = 0 } - if yyr2539 || yy2arr2539 { + if yyr2572 || yy2arr2572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.RepoTags == nil { r.EncodeNil() } else { - yym2541 := z.EncBinary() - _ = yym2541 + yym2574 := z.EncBinary() + _ = yym2574 if false { } else { z.F.EncSliceStringV(x.RepoTags, false, e) @@ -32610,19 +33125,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.RepoTags == nil { r.EncodeNil() } else { - yym2542 := z.EncBinary() - _ = yym2542 + yym2575 := z.EncBinary() + _ = yym2575 if false { } else { z.F.EncSliceStringV(x.RepoTags, false, e) } } } - if yyr2539 || yy2arr2539 { + if yyr2572 || yy2arr2572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2539[1] { - yym2544 := z.EncBinary() - _ = yym2544 + if yyq2572[1] { + yym2577 := z.EncBinary() + _ = yym2577 if false { } else { r.EncodeInt(int64(x.Size)) @@ -32631,19 +33146,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2539[1] { + if yyq2572[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("size")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2545 := z.EncBinary() - _ = yym2545 + yym2578 := z.EncBinary() + _ = yym2578 if false { } else { r.EncodeInt(int64(x.Size)) } } } - if yyr2539 || yy2arr2539 { + if yyr2572 || yy2arr2572 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32656,25 +33171,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2546 := z.DecBinary() - _ = yym2546 + yym2579 := z.DecBinary() + _ = yym2579 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2547 := r.ContainerType() - if yyct2547 == codecSelferValueTypeMap1234 { - yyl2547 := r.ReadMapStart() - if yyl2547 == 0 { + yyct2580 := r.ContainerType() + if yyct2580 == codecSelferValueTypeMap1234 { + yyl2580 := r.ReadMapStart() + if yyl2580 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2547, d) + x.codecDecodeSelfFromMap(yyl2580, d) } - } else if yyct2547 == codecSelferValueTypeArray1234 { - yyl2547 := r.ReadArrayStart() - if yyl2547 == 0 { + } else if yyct2580 == codecSelferValueTypeArray1234 { + yyl2580 := r.ReadArrayStart() + if yyl2580 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2547, d) + x.codecDecodeSelfFromArray(yyl2580, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32686,12 +33201,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2548Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2548Slc - var yyhl2548 bool = l >= 0 - for yyj2548 := 0; ; yyj2548++ { - if yyhl2548 { - if yyj2548 >= l { + var yys2581Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2581Slc + var yyhl2581 bool = l >= 0 + for yyj2581 := 0; ; yyj2581++ { + if yyhl2581 { + if yyj2581 >= l { break } } else { @@ -32700,20 +33215,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2548Slc = r.DecodeBytes(yys2548Slc, true, true) - yys2548 := string(yys2548Slc) + yys2581Slc = r.DecodeBytes(yys2581Slc, true, true) + yys2581 := string(yys2581Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2548 { + switch yys2581 { case "repoTags": if r.TryDecodeAsNil() { x.RepoTags = nil } else { - yyv2549 := &x.RepoTags - yym2550 := z.DecBinary() - _ = yym2550 + yyv2582 := &x.RepoTags + yym2583 := z.DecBinary() + _ = yym2583 if false { } else { - z.F.DecSliceStringX(yyv2549, false, d) + z.F.DecSliceStringX(yyv2582, false, d) } } case "size": @@ -32723,9 +33238,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Size = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys2548) - } // end switch yys2548 - } // end for yyj2548 + z.DecStructFieldNotFound(-1, yys2581) + } // end switch yys2581 + } // end for yyj2581 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32733,16 +33248,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2552 int - var yyb2552 bool - var yyhl2552 bool = l >= 0 - yyj2552++ - if yyhl2552 { - yyb2552 = yyj2552 > l + var yyj2585 int + var yyb2585 bool + var yyhl2585 bool = l >= 0 + yyj2585++ + if yyhl2585 { + yyb2585 = yyj2585 > l } else { - yyb2552 = r.CheckBreak() + yyb2585 = r.CheckBreak() } - if yyb2552 { + if yyb2585 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32750,21 +33265,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RepoTags = nil } else { - yyv2553 := &x.RepoTags - yym2554 := z.DecBinary() - _ = yym2554 + yyv2586 := &x.RepoTags + yym2587 := z.DecBinary() + _ = yym2587 if false { } else { - z.F.DecSliceStringX(yyv2553, false, d) + z.F.DecSliceStringX(yyv2586, false, d) } } - yyj2552++ - if yyhl2552 { - yyb2552 = yyj2552 > l + yyj2585++ + if yyhl2585 { + yyb2585 = yyj2585 > l } else { - yyb2552 = r.CheckBreak() + yyb2585 = r.CheckBreak() } - if yyb2552 { + if yyb2585 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32775,17 +33290,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Size = int64(r.DecodeInt(64)) } for { - yyj2552++ - if yyhl2552 { - yyb2552 = yyj2552 > l + yyj2585++ + if yyhl2585 { + yyb2585 = yyj2585 > l } else { - yyb2552 = r.CheckBreak() + yyb2585 = r.CheckBreak() } - if yyb2552 { + if yyb2585 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2552-1, "") + z.DecStructFieldNotFound(yyj2585-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32794,8 +33309,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2556 := z.EncBinary() - _ = yym2556 + yym2589 := z.EncBinary() + _ = yym2589 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32807,8 +33322,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2557 := z.DecBinary() - _ = yym2557 + yym2590 := z.DecBinary() + _ = yym2590 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32820,8 +33335,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2558 := z.EncBinary() - _ = yym2558 + yym2591 := z.EncBinary() + _ = yym2591 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32833,8 +33348,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2559 := z.DecBinary() - _ = yym2559 + yym2592 := z.DecBinary() + _ = yym2592 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32849,34 +33364,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2560 := z.EncBinary() - _ = yym2560 + yym2593 := z.EncBinary() + _ = yym2593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2561 := !z.EncBinary() - yy2arr2561 := z.EncBasicHandle().StructToArray - var yyq2561 [6]bool - _, _, _ = yysep2561, yyq2561, yy2arr2561 - const yyr2561 bool = false - yyq2561[2] = true - yyq2561[3] = true - yyq2561[4] = x.Reason != "" - yyq2561[5] = x.Message != "" - var yynn2561 int - if yyr2561 || yy2arr2561 { + yysep2594 := !z.EncBinary() + yy2arr2594 := z.EncBasicHandle().StructToArray + var yyq2594 [6]bool + _, _, _ = yysep2594, yyq2594, yy2arr2594 + const yyr2594 bool = false + yyq2594[2] = true + yyq2594[3] = true + yyq2594[4] = x.Reason != "" + yyq2594[5] = x.Message != "" + var yynn2594 int + if yyr2594 || yy2arr2594 { r.EncodeArrayStart(6) } else { - yynn2561 = 2 - for _, b := range yyq2561 { + yynn2594 = 2 + for _, b := range yyq2594 { if b { - yynn2561++ + yynn2594++ } } - r.EncodeMapStart(yynn2561) - yynn2561 = 0 + r.EncodeMapStart(yynn2594) + yynn2594 = 0 } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -32885,7 +33400,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -32894,85 +33409,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2561[2] { - yy2565 := &x.LastHeartbeatTime - yym2566 := z.EncBinary() - _ = yym2566 + if yyq2594[2] { + yy2598 := &x.LastHeartbeatTime + yym2599 := z.EncBinary() + _ = yym2599 if false { - } else if z.HasExtensions() && z.EncExt(yy2565) { - } else if yym2566 { - z.EncBinaryMarshal(yy2565) - } else if !yym2566 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2565) + } else if z.HasExtensions() && z.EncExt(yy2598) { + } else if yym2599 { + z.EncBinaryMarshal(yy2598) + } else if !yym2599 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2598) } else { - z.EncFallback(yy2565) + z.EncFallback(yy2598) } } else { r.EncodeNil() } } else { - if yyq2561[2] { + if yyq2594[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2567 := &x.LastHeartbeatTime - yym2568 := z.EncBinary() - _ = yym2568 + yy2600 := &x.LastHeartbeatTime + yym2601 := z.EncBinary() + _ = yym2601 if false { - } else if z.HasExtensions() && z.EncExt(yy2567) { - } else if yym2568 { - z.EncBinaryMarshal(yy2567) - } else if !yym2568 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2567) + } else if z.HasExtensions() && z.EncExt(yy2600) { + } else if yym2601 { + z.EncBinaryMarshal(yy2600) + } else if !yym2601 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2600) } else { - z.EncFallback(yy2567) + z.EncFallback(yy2600) } } } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2561[3] { - yy2570 := &x.LastTransitionTime - yym2571 := z.EncBinary() - _ = yym2571 + if yyq2594[3] { + yy2603 := &x.LastTransitionTime + yym2604 := z.EncBinary() + _ = yym2604 if false { - } else if z.HasExtensions() && z.EncExt(yy2570) { - } else if yym2571 { - z.EncBinaryMarshal(yy2570) - } else if !yym2571 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2570) + } else if z.HasExtensions() && z.EncExt(yy2603) { + } else if yym2604 { + z.EncBinaryMarshal(yy2603) + } else if !yym2604 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2603) } else { - z.EncFallback(yy2570) + z.EncFallback(yy2603) } } else { r.EncodeNil() } } else { - if yyq2561[3] { + if yyq2594[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2572 := &x.LastTransitionTime - yym2573 := z.EncBinary() - _ = yym2573 + yy2605 := &x.LastTransitionTime + yym2606 := z.EncBinary() + _ = yym2606 if false { - } else if z.HasExtensions() && z.EncExt(yy2572) { - } else if yym2573 { - z.EncBinaryMarshal(yy2572) - } else if !yym2573 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2572) + } else if z.HasExtensions() && z.EncExt(yy2605) { + } else if yym2606 { + z.EncBinaryMarshal(yy2605) + } else if !yym2606 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2605) } else { - z.EncFallback(yy2572) + z.EncFallback(yy2605) } } } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2561[4] { - yym2575 := z.EncBinary() - _ = yym2575 + if yyq2594[4] { + yym2608 := z.EncBinary() + _ = yym2608 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -32981,23 +33496,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2561[4] { + if yyq2594[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2576 := z.EncBinary() - _ = yym2576 + yym2609 := z.EncBinary() + _ = yym2609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2561[5] { - yym2578 := z.EncBinary() - _ = yym2578 + if yyq2594[5] { + yym2611 := z.EncBinary() + _ = yym2611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -33006,19 +33521,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2561[5] { + if yyq2594[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2579 := z.EncBinary() - _ = yym2579 + yym2612 := z.EncBinary() + _ = yym2612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2561 || yy2arr2561 { + if yyr2594 || yy2arr2594 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33031,25 +33546,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2580 := z.DecBinary() - _ = yym2580 + yym2613 := z.DecBinary() + _ = yym2613 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2581 := r.ContainerType() - if yyct2581 == codecSelferValueTypeMap1234 { - yyl2581 := r.ReadMapStart() - if yyl2581 == 0 { + yyct2614 := r.ContainerType() + if yyct2614 == codecSelferValueTypeMap1234 { + yyl2614 := r.ReadMapStart() + if yyl2614 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2581, d) + x.codecDecodeSelfFromMap(yyl2614, d) } - } else if yyct2581 == codecSelferValueTypeArray1234 { - yyl2581 := r.ReadArrayStart() - if yyl2581 == 0 { + } else if yyct2614 == codecSelferValueTypeArray1234 { + yyl2614 := r.ReadArrayStart() + if yyl2614 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2581, d) + x.codecDecodeSelfFromArray(yyl2614, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33061,12 +33576,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2582Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2582Slc - var yyhl2582 bool = l >= 0 - for yyj2582 := 0; ; yyj2582++ { - if yyhl2582 { - if yyj2582 >= l { + var yys2615Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2615Slc + var yyhl2615 bool = l >= 0 + for yyj2615 := 0; ; yyj2615++ { + if yyhl2615 { + if yyj2615 >= l { break } } else { @@ -33075,10 +33590,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2582Slc = r.DecodeBytes(yys2582Slc, true, true) - yys2582 := string(yys2582Slc) + yys2615Slc = r.DecodeBytes(yys2615Slc, true, true) + yys2615 := string(yys2615Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2582 { + switch yys2615 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -33095,34 +33610,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2585 := &x.LastHeartbeatTime - yym2586 := z.DecBinary() - _ = yym2586 + yyv2618 := &x.LastHeartbeatTime + yym2619 := z.DecBinary() + _ = yym2619 if false { - } else if z.HasExtensions() && z.DecExt(yyv2585) { - } else if yym2586 { - z.DecBinaryUnmarshal(yyv2585) - } else if !yym2586 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2585) + } else if z.HasExtensions() && z.DecExt(yyv2618) { + } else if yym2619 { + z.DecBinaryUnmarshal(yyv2618) + } else if !yym2619 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2618) } else { - z.DecFallback(yyv2585, false) + z.DecFallback(yyv2618, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2587 := &x.LastTransitionTime - yym2588 := z.DecBinary() - _ = yym2588 + yyv2620 := &x.LastTransitionTime + yym2621 := z.DecBinary() + _ = yym2621 if false { - } else if z.HasExtensions() && z.DecExt(yyv2587) { - } else if yym2588 { - z.DecBinaryUnmarshal(yyv2587) - } else if !yym2588 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2587) + } else if z.HasExtensions() && z.DecExt(yyv2620) { + } else if yym2621 { + z.DecBinaryUnmarshal(yyv2620) + } else if !yym2621 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2620) } else { - z.DecFallback(yyv2587, false) + z.DecFallback(yyv2620, false) } } case "reason": @@ -33138,9 +33653,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2582) - } // end switch yys2582 - } // end for yyj2582 + z.DecStructFieldNotFound(-1, yys2615) + } // end switch yys2615 + } // end for yyj2615 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33148,16 +33663,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2591 int - var yyb2591 bool - var yyhl2591 bool = l >= 0 - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + var yyj2624 int + var yyb2624 bool + var yyhl2624 bool = l >= 0 + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33167,13 +33682,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33183,13 +33698,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33197,26 +33712,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2594 := &x.LastHeartbeatTime - yym2595 := z.DecBinary() - _ = yym2595 + yyv2627 := &x.LastHeartbeatTime + yym2628 := z.DecBinary() + _ = yym2628 if false { - } else if z.HasExtensions() && z.DecExt(yyv2594) { - } else if yym2595 { - z.DecBinaryUnmarshal(yyv2594) - } else if !yym2595 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2594) + } else if z.HasExtensions() && z.DecExt(yyv2627) { + } else if yym2628 { + z.DecBinaryUnmarshal(yyv2627) + } else if !yym2628 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2627) } else { - z.DecFallback(yyv2594, false) + z.DecFallback(yyv2627, false) } } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33224,26 +33739,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2596 := &x.LastTransitionTime - yym2597 := z.DecBinary() - _ = yym2597 + yyv2629 := &x.LastTransitionTime + yym2630 := z.DecBinary() + _ = yym2630 if false { - } else if z.HasExtensions() && z.DecExt(yyv2596) { - } else if yym2597 { - z.DecBinaryUnmarshal(yyv2596) - } else if !yym2597 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2596) + } else if z.HasExtensions() && z.DecExt(yyv2629) { + } else if yym2630 { + z.DecBinaryUnmarshal(yyv2629) + } else if !yym2630 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2629) } else { - z.DecFallback(yyv2596, false) + z.DecFallback(yyv2629, false) } } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33253,13 +33768,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33270,17 +33785,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l } else { - yyb2591 = r.CheckBreak() + yyb2624 = r.CheckBreak() } - if yyb2591 { + if yyb2624 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2591-1, "") + z.DecStructFieldNotFound(yyj2624-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33289,8 +33804,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2600 := z.EncBinary() - _ = yym2600 + yym2633 := z.EncBinary() + _ = yym2633 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33302,8 +33817,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2601 := z.DecBinary() - _ = yym2601 + yym2634 := z.DecBinary() + _ = yym2634 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33318,30 +33833,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2602 := z.EncBinary() - _ = yym2602 + yym2635 := z.EncBinary() + _ = yym2635 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2603 := !z.EncBinary() - yy2arr2603 := z.EncBasicHandle().StructToArray - var yyq2603 [2]bool - _, _, _ = yysep2603, yyq2603, yy2arr2603 - const yyr2603 bool = false - var yynn2603 int - if yyr2603 || yy2arr2603 { + yysep2636 := !z.EncBinary() + yy2arr2636 := z.EncBasicHandle().StructToArray + var yyq2636 [2]bool + _, _, _ = yysep2636, yyq2636, yy2arr2636 + const yyr2636 bool = false + var yynn2636 int + if yyr2636 || yy2arr2636 { r.EncodeArrayStart(2) } else { - yynn2603 = 2 - for _, b := range yyq2603 { + yynn2636 = 2 + for _, b := range yyq2636 { if b { - yynn2603++ + yynn2636++ } } - r.EncodeMapStart(yynn2603) - yynn2603 = 0 + r.EncodeMapStart(yynn2636) + yynn2636 = 0 } - if yyr2603 || yy2arr2603 { + if yyr2636 || yy2arr2636 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -33350,10 +33865,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2603 || yy2arr2603 { + if yyr2636 || yy2arr2636 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2606 := z.EncBinary() - _ = yym2606 + yym2639 := z.EncBinary() + _ = yym2639 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -33362,14 +33877,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2607 := z.EncBinary() - _ = yym2607 + yym2640 := z.EncBinary() + _ = yym2640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2603 || yy2arr2603 { + if yyr2636 || yy2arr2636 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33382,25 +33897,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2608 := z.DecBinary() - _ = yym2608 + yym2641 := z.DecBinary() + _ = yym2641 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2609 := r.ContainerType() - if yyct2609 == codecSelferValueTypeMap1234 { - yyl2609 := r.ReadMapStart() - if yyl2609 == 0 { + yyct2642 := r.ContainerType() + if yyct2642 == codecSelferValueTypeMap1234 { + yyl2642 := r.ReadMapStart() + if yyl2642 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2609, d) + x.codecDecodeSelfFromMap(yyl2642, d) } - } else if yyct2609 == codecSelferValueTypeArray1234 { - yyl2609 := r.ReadArrayStart() - if yyl2609 == 0 { + } else if yyct2642 == codecSelferValueTypeArray1234 { + yyl2642 := r.ReadArrayStart() + if yyl2642 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2609, d) + x.codecDecodeSelfFromArray(yyl2642, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33412,12 +33927,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2610Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2610Slc - var yyhl2610 bool = l >= 0 - for yyj2610 := 0; ; yyj2610++ { - if yyhl2610 { - if yyj2610 >= l { + var yys2643Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2643Slc + var yyhl2643 bool = l >= 0 + for yyj2643 := 0; ; yyj2643++ { + if yyhl2643 { + if yyj2643 >= l { break } } else { @@ -33426,10 +33941,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2610Slc = r.DecodeBytes(yys2610Slc, true, true) - yys2610 := string(yys2610Slc) + yys2643Slc = r.DecodeBytes(yys2643Slc, true, true) + yys2643 := string(yys2643Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2610 { + switch yys2643 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -33443,9 +33958,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2610) - } // end switch yys2610 - } // end for yyj2610 + z.DecStructFieldNotFound(-1, yys2643) + } // end switch yys2643 + } // end for yyj2643 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33453,16 +33968,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2613 int - var yyb2613 bool - var yyhl2613 bool = l >= 0 - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + var yyj2646 int + var yyb2646 bool + var yyhl2646 bool = l >= 0 + yyj2646++ + if yyhl2646 { + yyb2646 = yyj2646 > l } else { - yyb2613 = r.CheckBreak() + yyb2646 = r.CheckBreak() } - if yyb2613 { + if yyb2646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33472,13 +33987,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + yyj2646++ + if yyhl2646 { + yyb2646 = yyj2646 > l } else { - yyb2613 = r.CheckBreak() + yyb2646 = r.CheckBreak() } - if yyb2613 { + if yyb2646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33489,17 +34004,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + yyj2646++ + if yyhl2646 { + yyb2646 = yyj2646 > l } else { - yyb2613 = r.CheckBreak() + yyb2646 = r.CheckBreak() } - if yyb2613 { + if yyb2646 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2613-1, "") + z.DecStructFieldNotFound(yyj2646-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33508,8 +34023,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2616 := z.EncBinary() - _ = yym2616 + yym2649 := z.EncBinary() + _ = yym2649 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33521,8 +34036,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2617 := z.DecBinary() - _ = yym2617 + yym2650 := z.DecBinary() + _ = yym2650 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33537,8 +34052,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2618 := z.EncBinary() - _ = yym2618 + yym2651 := z.EncBinary() + _ = yym2651 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33551,8 +34066,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2619 := z.DecBinary() - _ = yym2619 + yym2652 := z.DecBinary() + _ = yym2652 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33567,90 +34082,90 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2620 := z.EncBinary() - _ = yym2620 + yym2653 := z.EncBinary() + _ = yym2653 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2621 := !z.EncBinary() - yy2arr2621 := z.EncBasicHandle().StructToArray - var yyq2621 [5]bool - _, _, _ = yysep2621, yyq2621, yy2arr2621 - const yyr2621 bool = false - yyq2621[0] = true - yyq2621[1] = true - yyq2621[2] = true - yyq2621[3] = x.Kind != "" - yyq2621[4] = x.APIVersion != "" - var yynn2621 int - if yyr2621 || yy2arr2621 { + yysep2654 := !z.EncBinary() + yy2arr2654 := z.EncBasicHandle().StructToArray + var yyq2654 [5]bool + _, _, _ = yysep2654, yyq2654, yy2arr2654 + const yyr2654 bool = false + yyq2654[0] = true + yyq2654[1] = true + yyq2654[2] = true + yyq2654[3] = x.Kind != "" + yyq2654[4] = x.APIVersion != "" + var yynn2654 int + if yyr2654 || yy2arr2654 { r.EncodeArrayStart(5) } else { - yynn2621 = 0 - for _, b := range yyq2621 { + yynn2654 = 0 + for _, b := range yyq2654 { if b { - yynn2621++ + yynn2654++ } } - r.EncodeMapStart(yynn2621) - yynn2621 = 0 + r.EncodeMapStart(yynn2654) + yynn2654 = 0 } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2621[0] { - yy2623 := &x.ObjectMeta - yy2623.CodecEncodeSelf(e) + if yyq2654[0] { + yy2656 := &x.ObjectMeta + yy2656.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2621[0] { + if yyq2654[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2624 := &x.ObjectMeta - yy2624.CodecEncodeSelf(e) + yy2657 := &x.ObjectMeta + yy2657.CodecEncodeSelf(e) } } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2621[1] { - yy2626 := &x.Spec - yy2626.CodecEncodeSelf(e) + if yyq2654[1] { + yy2659 := &x.Spec + yy2659.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2621[1] { + if yyq2654[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2627 := &x.Spec - yy2627.CodecEncodeSelf(e) + yy2660 := &x.Spec + yy2660.CodecEncodeSelf(e) } } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2621[2] { - yy2629 := &x.Status - yy2629.CodecEncodeSelf(e) + if yyq2654[2] { + yy2662 := &x.Status + yy2662.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2621[2] { + if yyq2654[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2630 := &x.Status - yy2630.CodecEncodeSelf(e) + yy2663 := &x.Status + yy2663.CodecEncodeSelf(e) } } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2621[3] { - yym2632 := z.EncBinary() - _ = yym2632 + if yyq2654[3] { + yym2665 := z.EncBinary() + _ = yym2665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33659,23 +34174,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2621[3] { + if yyq2654[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2633 := z.EncBinary() - _ = yym2633 + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2621[4] { - yym2635 := z.EncBinary() - _ = yym2635 + if yyq2654[4] { + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33684,19 +34199,19 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2621[4] { + if yyq2654[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2636 := z.EncBinary() - _ = yym2636 + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2621 || yy2arr2621 { + if yyr2654 || yy2arr2654 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33709,25 +34224,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2637 := z.DecBinary() - _ = yym2637 + yym2670 := z.DecBinary() + _ = yym2670 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2638 := r.ContainerType() - if yyct2638 == codecSelferValueTypeMap1234 { - yyl2638 := r.ReadMapStart() - if yyl2638 == 0 { + yyct2671 := r.ContainerType() + if yyct2671 == codecSelferValueTypeMap1234 { + yyl2671 := r.ReadMapStart() + if yyl2671 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2638, d) + x.codecDecodeSelfFromMap(yyl2671, d) } - } else if yyct2638 == codecSelferValueTypeArray1234 { - yyl2638 := r.ReadArrayStart() - if yyl2638 == 0 { + } else if yyct2671 == codecSelferValueTypeArray1234 { + yyl2671 := r.ReadArrayStart() + if yyl2671 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2638, d) + x.codecDecodeSelfFromArray(yyl2671, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33739,12 +34254,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2639Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2639Slc - var yyhl2639 bool = l >= 0 - for yyj2639 := 0; ; yyj2639++ { - if yyhl2639 { - if yyj2639 >= l { + var yys2672Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2672Slc + var yyhl2672 bool = l >= 0 + for yyj2672 := 0; ; yyj2672++ { + if yyhl2672 { + if yyj2672 >= l { break } } else { @@ -33753,30 +34268,30 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2639Slc = r.DecodeBytes(yys2639Slc, true, true) - yys2639 := string(yys2639Slc) + yys2672Slc = r.DecodeBytes(yys2672Slc, true, true) + yys2672 := string(yys2672Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2639 { + switch yys2672 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2640 := &x.ObjectMeta - yyv2640.CodecDecodeSelf(d) + yyv2673 := &x.ObjectMeta + yyv2673.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2641 := &x.Spec - yyv2641.CodecDecodeSelf(d) + yyv2674 := &x.Spec + yyv2674.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2642 := &x.Status - yyv2642.CodecDecodeSelf(d) + yyv2675 := &x.Status + yyv2675.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -33791,9 +34306,9 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2639) - } // end switch yys2639 - } // end for yyj2639 + z.DecStructFieldNotFound(-1, yys2672) + } // end switch yys2672 + } // end for yyj2672 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33801,16 +34316,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2645 int - var yyb2645 bool - var yyhl2645 bool = l >= 0 - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + var yyj2678 int + var yyb2678 bool + var yyhl2678 bool = l >= 0 + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33818,16 +34333,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2646 := &x.ObjectMeta - yyv2646.CodecDecodeSelf(d) + yyv2679 := &x.ObjectMeta + yyv2679.CodecDecodeSelf(d) } - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33835,16 +34350,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2647 := &x.Spec - yyv2647.CodecDecodeSelf(d) + yyv2680 := &x.Spec + yyv2680.CodecDecodeSelf(d) } - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33852,16 +34367,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2648 := &x.Status - yyv2648.CodecDecodeSelf(d) + yyv2681 := &x.Status + yyv2681.CodecDecodeSelf(d) } - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33871,13 +34386,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33888,17 +34403,17 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2645++ - if yyhl2645 { - yyb2645 = yyj2645 > l + yyj2678++ + if yyhl2678 { + yyb2678 = yyj2678 > l } else { - yyb2645 = r.CheckBreak() + yyb2678 = r.CheckBreak() } - if yyb2645 { + if yyb2678 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2645-1, "") + z.DecStructFieldNotFound(yyj2678-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33910,68 +34425,68 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2651 := z.EncBinary() - _ = yym2651 + yym2684 := z.EncBinary() + _ = yym2684 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2652 := !z.EncBinary() - yy2arr2652 := z.EncBasicHandle().StructToArray - var yyq2652 [4]bool - _, _, _ = yysep2652, yyq2652, yy2arr2652 - const yyr2652 bool = false - yyq2652[0] = true - yyq2652[2] = x.Kind != "" - yyq2652[3] = x.APIVersion != "" - var yynn2652 int - if yyr2652 || yy2arr2652 { + yysep2685 := !z.EncBinary() + yy2arr2685 := z.EncBasicHandle().StructToArray + var yyq2685 [4]bool + _, _, _ = yysep2685, yyq2685, yy2arr2685 + const yyr2685 bool = false + yyq2685[0] = true + yyq2685[2] = x.Kind != "" + yyq2685[3] = x.APIVersion != "" + var yynn2685 int + if yyr2685 || yy2arr2685 { r.EncodeArrayStart(4) } else { - yynn2652 = 1 - for _, b := range yyq2652 { + yynn2685 = 1 + for _, b := range yyq2685 { if b { - yynn2652++ + yynn2685++ } } - r.EncodeMapStart(yynn2652) - yynn2652 = 0 + r.EncodeMapStart(yynn2685) + yynn2685 = 0 } - if yyr2652 || yy2arr2652 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2652[0] { - yy2654 := &x.ListMeta - yym2655 := z.EncBinary() - _ = yym2655 + if yyq2685[0] { + yy2687 := &x.ListMeta + yym2688 := z.EncBinary() + _ = yym2688 if false { - } else if z.HasExtensions() && z.EncExt(yy2654) { + } else if z.HasExtensions() && z.EncExt(yy2687) { } else { - z.EncFallback(yy2654) + z.EncFallback(yy2687) } } else { r.EncodeNil() } } else { - if yyq2652[0] { + if yyq2685[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2656 := &x.ListMeta - yym2657 := z.EncBinary() - _ = yym2657 + yy2689 := &x.ListMeta + yym2690 := z.EncBinary() + _ = yym2690 if false { - } else if z.HasExtensions() && z.EncExt(yy2656) { + } else if z.HasExtensions() && z.EncExt(yy2689) { } else { - z.EncFallback(yy2656) + z.EncFallback(yy2689) } } } - if yyr2652 || yy2arr2652 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2659 := z.EncBinary() - _ = yym2659 + yym2692 := z.EncBinary() + _ = yym2692 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -33984,19 +34499,19 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2660 := z.EncBinary() - _ = yym2660 + yym2693 := z.EncBinary() + _ = yym2693 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2652 || yy2arr2652 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2652[2] { - yym2662 := z.EncBinary() - _ = yym2662 + if yyq2685[2] { + yym2695 := z.EncBinary() + _ = yym2695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34005,23 +34520,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2652[2] { + if yyq2685[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2663 := z.EncBinary() - _ = yym2663 + yym2696 := z.EncBinary() + _ = yym2696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2652 || yy2arr2652 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2652[3] { - yym2665 := z.EncBinary() - _ = yym2665 + if yyq2685[3] { + yym2698 := z.EncBinary() + _ = yym2698 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34030,19 +34545,19 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2652[3] { + if yyq2685[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2666 := z.EncBinary() - _ = yym2666 + yym2699 := z.EncBinary() + _ = yym2699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2652 || yy2arr2652 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34055,25 +34570,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2667 := z.DecBinary() - _ = yym2667 + yym2700 := z.DecBinary() + _ = yym2700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2668 := r.ContainerType() - if yyct2668 == codecSelferValueTypeMap1234 { - yyl2668 := r.ReadMapStart() - if yyl2668 == 0 { + yyct2701 := r.ContainerType() + if yyct2701 == codecSelferValueTypeMap1234 { + yyl2701 := r.ReadMapStart() + if yyl2701 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2668, d) + x.codecDecodeSelfFromMap(yyl2701, d) } - } else if yyct2668 == codecSelferValueTypeArray1234 { - yyl2668 := r.ReadArrayStart() - if yyl2668 == 0 { + } else if yyct2701 == codecSelferValueTypeArray1234 { + yyl2701 := r.ReadArrayStart() + if yyl2701 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2668, d) + x.codecDecodeSelfFromArray(yyl2701, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34085,12 +34600,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2669Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2669Slc - var yyhl2669 bool = l >= 0 - for yyj2669 := 0; ; yyj2669++ { - if yyhl2669 { - if yyj2669 >= l { + var yys2702Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2702Slc + var yyhl2702 bool = l >= 0 + for yyj2702 := 0; ; yyj2702++ { + if yyhl2702 { + if yyj2702 >= l { break } } else { @@ -34099,33 +34614,33 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2669Slc = r.DecodeBytes(yys2669Slc, true, true) - yys2669 := string(yys2669Slc) + yys2702Slc = r.DecodeBytes(yys2702Slc, true, true) + yys2702 := string(yys2702Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2669 { + switch yys2702 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2670 := &x.ListMeta - yym2671 := z.DecBinary() - _ = yym2671 + yyv2703 := &x.ListMeta + yym2704 := z.DecBinary() + _ = yym2704 if false { - } else if z.HasExtensions() && z.DecExt(yyv2670) { + } else if z.HasExtensions() && z.DecExt(yyv2703) { } else { - z.DecFallback(yyv2670, false) + z.DecFallback(yyv2703, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2672 := &x.Items - yym2673 := z.DecBinary() - _ = yym2673 + yyv2705 := &x.Items + yym2706 := z.DecBinary() + _ = yym2706 if false { } else { - h.decSliceNode((*[]Node)(yyv2672), d) + h.decSliceNode((*[]Node)(yyv2705), d) } } case "kind": @@ -34141,9 +34656,9 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2669) - } // end switch yys2669 - } // end for yyj2669 + z.DecStructFieldNotFound(-1, yys2702) + } // end switch yys2702 + } // end for yyj2702 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34151,16 +34666,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2676 int - var yyb2676 bool - var yyhl2676 bool = l >= 0 - yyj2676++ - if yyhl2676 { - yyb2676 = yyj2676 > l + var yyj2709 int + var yyb2709 bool + var yyhl2709 bool = l >= 0 + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb2676 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb2676 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34168,22 +34683,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2677 := &x.ListMeta - yym2678 := z.DecBinary() - _ = yym2678 + yyv2710 := &x.ListMeta + yym2711 := z.DecBinary() + _ = yym2711 if false { - } else if z.HasExtensions() && z.DecExt(yyv2677) { + } else if z.HasExtensions() && z.DecExt(yyv2710) { } else { - z.DecFallback(yyv2677, false) + z.DecFallback(yyv2710, false) } } - yyj2676++ - if yyhl2676 { - yyb2676 = yyj2676 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb2676 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb2676 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34191,21 +34706,21 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2679 := &x.Items - yym2680 := z.DecBinary() - _ = yym2680 + yyv2712 := &x.Items + yym2713 := z.DecBinary() + _ = yym2713 if false { } else { - h.decSliceNode((*[]Node)(yyv2679), d) + h.decSliceNode((*[]Node)(yyv2712), d) } } - yyj2676++ - if yyhl2676 { - yyb2676 = yyj2676 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb2676 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb2676 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34215,13 +34730,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2676++ - if yyhl2676 { - yyb2676 = yyj2676 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb2676 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb2676 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34232,17 +34747,17 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2676++ - if yyhl2676 { - yyb2676 = yyj2676 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb2676 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb2676 { + if yyb2709 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2676-1, "") + z.DecStructFieldNotFound(yyj2709-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34251,8 +34766,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2683 := z.EncBinary() - _ = yym2683 + yym2716 := z.EncBinary() + _ = yym2716 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34264,8 +34779,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2684 := z.DecBinary() - _ = yym2684 + yym2717 := z.DecBinary() + _ = yym2717 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34280,38 +34795,38 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2685 := z.EncBinary() - _ = yym2685 + yym2718 := z.EncBinary() + _ = yym2718 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2686 := !z.EncBinary() - yy2arr2686 := z.EncBasicHandle().StructToArray - var yyq2686 [1]bool - _, _, _ = yysep2686, yyq2686, yy2arr2686 - const yyr2686 bool = false - yyq2686[0] = len(x.Finalizers) != 0 - var yynn2686 int - if yyr2686 || yy2arr2686 { + yysep2719 := !z.EncBinary() + yy2arr2719 := z.EncBasicHandle().StructToArray + var yyq2719 [1]bool + _, _, _ = yysep2719, yyq2719, yy2arr2719 + const yyr2719 bool = false + yyq2719[0] = len(x.Finalizers) != 0 + var yynn2719 int + if yyr2719 || yy2arr2719 { r.EncodeArrayStart(1) } else { - yynn2686 = 0 - for _, b := range yyq2686 { + yynn2719 = 0 + for _, b := range yyq2719 { if b { - yynn2686++ + yynn2719++ } } - r.EncodeMapStart(yynn2686) - yynn2686 = 0 + r.EncodeMapStart(yynn2719) + yynn2719 = 0 } - if yyr2686 || yy2arr2686 { + if yyr2719 || yy2arr2719 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2686[0] { + if yyq2719[0] { if x.Finalizers == nil { r.EncodeNil() } else { - yym2688 := z.EncBinary() - _ = yym2688 + yym2721 := z.EncBinary() + _ = yym2721 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -34321,15 +34836,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2686[0] { + if yyq2719[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym2689 := z.EncBinary() - _ = yym2689 + yym2722 := z.EncBinary() + _ = yym2722 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -34337,7 +34852,7 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2686 || yy2arr2686 { + if yyr2719 || yy2arr2719 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34350,25 +34865,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2690 := z.DecBinary() - _ = yym2690 + yym2723 := z.DecBinary() + _ = yym2723 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2691 := r.ContainerType() - if yyct2691 == codecSelferValueTypeMap1234 { - yyl2691 := r.ReadMapStart() - if yyl2691 == 0 { + yyct2724 := r.ContainerType() + if yyct2724 == codecSelferValueTypeMap1234 { + yyl2724 := r.ReadMapStart() + if yyl2724 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2691, d) + x.codecDecodeSelfFromMap(yyl2724, d) } - } else if yyct2691 == codecSelferValueTypeArray1234 { - yyl2691 := r.ReadArrayStart() - if yyl2691 == 0 { + } else if yyct2724 == codecSelferValueTypeArray1234 { + yyl2724 := r.ReadArrayStart() + if yyl2724 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2691, d) + x.codecDecodeSelfFromArray(yyl2724, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34380,12 +34895,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2692Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2692Slc - var yyhl2692 bool = l >= 0 - for yyj2692 := 0; ; yyj2692++ { - if yyhl2692 { - if yyj2692 >= l { + var yys2725Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2725Slc + var yyhl2725 bool = l >= 0 + for yyj2725 := 0; ; yyj2725++ { + if yyhl2725 { + if yyj2725 >= l { break } } else { @@ -34394,26 +34909,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2692Slc = r.DecodeBytes(yys2692Slc, true, true) - yys2692 := string(yys2692Slc) + yys2725Slc = r.DecodeBytes(yys2725Slc, true, true) + yys2725 := string(yys2725Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2692 { + switch yys2725 { case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2693 := &x.Finalizers - yym2694 := z.DecBinary() - _ = yym2694 + yyv2726 := &x.Finalizers + yym2727 := z.DecBinary() + _ = yym2727 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2693), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2726), d) } } default: - z.DecStructFieldNotFound(-1, yys2692) - } // end switch yys2692 - } // end for yyj2692 + z.DecStructFieldNotFound(-1, yys2725) + } // end switch yys2725 + } // end for yyj2725 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34421,16 +34936,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2695 int - var yyb2695 bool - var yyhl2695 bool = l >= 0 - yyj2695++ - if yyhl2695 { - yyb2695 = yyj2695 > l + var yyj2728 int + var yyb2728 bool + var yyhl2728 bool = l >= 0 + yyj2728++ + if yyhl2728 { + yyb2728 = yyj2728 > l } else { - yyb2695 = r.CheckBreak() + yyb2728 = r.CheckBreak() } - if yyb2695 { + if yyb2728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34438,26 +34953,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2696 := &x.Finalizers - yym2697 := z.DecBinary() - _ = yym2697 + yyv2729 := &x.Finalizers + yym2730 := z.DecBinary() + _ = yym2730 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2696), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2729), d) } } for { - yyj2695++ - if yyhl2695 { - yyb2695 = yyj2695 > l + yyj2728++ + if yyhl2728 { + yyb2728 = yyj2728 > l } else { - yyb2695 = r.CheckBreak() + yyb2728 = r.CheckBreak() } - if yyb2695 { + if yyb2728 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2695-1, "") + z.DecStructFieldNotFound(yyj2728-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34469,46 +34984,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2698 := z.EncBinary() - _ = yym2698 + yym2731 := z.EncBinary() + _ = yym2731 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2699 := !z.EncBinary() - yy2arr2699 := z.EncBasicHandle().StructToArray - var yyq2699 [1]bool - _, _, _ = yysep2699, yyq2699, yy2arr2699 - const yyr2699 bool = false - yyq2699[0] = x.Phase != "" - var yynn2699 int - if yyr2699 || yy2arr2699 { + yysep2732 := !z.EncBinary() + yy2arr2732 := z.EncBasicHandle().StructToArray + var yyq2732 [1]bool + _, _, _ = yysep2732, yyq2732, yy2arr2732 + const yyr2732 bool = false + yyq2732[0] = x.Phase != "" + var yynn2732 int + if yyr2732 || yy2arr2732 { r.EncodeArrayStart(1) } else { - yynn2699 = 0 - for _, b := range yyq2699 { + yynn2732 = 0 + for _, b := range yyq2732 { if b { - yynn2699++ + yynn2732++ } } - r.EncodeMapStart(yynn2699) - yynn2699 = 0 + r.EncodeMapStart(yynn2732) + yynn2732 = 0 } - if yyr2699 || yy2arr2699 { + if yyr2732 || yy2arr2732 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2699[0] { + if yyq2732[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2699[0] { + if yyq2732[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2699 || yy2arr2699 { + if yyr2732 || yy2arr2732 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34521,25 +35036,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2701 := z.DecBinary() - _ = yym2701 + yym2734 := z.DecBinary() + _ = yym2734 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2702 := r.ContainerType() - if yyct2702 == codecSelferValueTypeMap1234 { - yyl2702 := r.ReadMapStart() - if yyl2702 == 0 { + yyct2735 := r.ContainerType() + if yyct2735 == codecSelferValueTypeMap1234 { + yyl2735 := r.ReadMapStart() + if yyl2735 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2702, d) + x.codecDecodeSelfFromMap(yyl2735, d) } - } else if yyct2702 == codecSelferValueTypeArray1234 { - yyl2702 := r.ReadArrayStart() - if yyl2702 == 0 { + } else if yyct2735 == codecSelferValueTypeArray1234 { + yyl2735 := r.ReadArrayStart() + if yyl2735 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2702, d) + x.codecDecodeSelfFromArray(yyl2735, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34551,12 +35066,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2703Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2703Slc - var yyhl2703 bool = l >= 0 - for yyj2703 := 0; ; yyj2703++ { - if yyhl2703 { - if yyj2703 >= l { + var yys2736Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2736Slc + var yyhl2736 bool = l >= 0 + for yyj2736 := 0; ; yyj2736++ { + if yyhl2736 { + if yyj2736 >= l { break } } else { @@ -34565,10 +35080,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2703Slc = r.DecodeBytes(yys2703Slc, true, true) - yys2703 := string(yys2703Slc) + yys2736Slc = r.DecodeBytes(yys2736Slc, true, true) + yys2736 := string(yys2736Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2703 { + switch yys2736 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -34576,9 +35091,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2703) - } // end switch yys2703 - } // end for yyj2703 + z.DecStructFieldNotFound(-1, yys2736) + } // end switch yys2736 + } // end for yyj2736 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34586,16 +35101,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2705 int - var yyb2705 bool - var yyhl2705 bool = l >= 0 - yyj2705++ - if yyhl2705 { - yyb2705 = yyj2705 > l + var yyj2738 int + var yyb2738 bool + var yyhl2738 bool = l >= 0 + yyj2738++ + if yyhl2738 { + yyb2738 = yyj2738 > l } else { - yyb2705 = r.CheckBreak() + yyb2738 = r.CheckBreak() } - if yyb2705 { + if yyb2738 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34606,17 +35121,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj2705++ - if yyhl2705 { - yyb2705 = yyj2705 > l + yyj2738++ + if yyhl2738 { + yyb2738 = yyj2738 > l } else { - yyb2705 = r.CheckBreak() + yyb2738 = r.CheckBreak() } - if yyb2705 { + if yyb2738 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2705-1, "") + z.DecStructFieldNotFound(yyj2738-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34625,8 +35140,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2707 := z.EncBinary() - _ = yym2707 + yym2740 := z.EncBinary() + _ = yym2740 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -34638,8 +35153,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2708 := z.DecBinary() - _ = yym2708 + yym2741 := z.DecBinary() + _ = yym2741 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -34654,90 +35169,90 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2709 := z.EncBinary() - _ = yym2709 + yym2742 := z.EncBinary() + _ = yym2742 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2710 := !z.EncBinary() - yy2arr2710 := z.EncBasicHandle().StructToArray - var yyq2710 [5]bool - _, _, _ = yysep2710, yyq2710, yy2arr2710 - const yyr2710 bool = false - yyq2710[0] = true - yyq2710[1] = true - yyq2710[2] = true - yyq2710[3] = x.Kind != "" - yyq2710[4] = x.APIVersion != "" - var yynn2710 int - if yyr2710 || yy2arr2710 { + yysep2743 := !z.EncBinary() + yy2arr2743 := z.EncBasicHandle().StructToArray + var yyq2743 [5]bool + _, _, _ = yysep2743, yyq2743, yy2arr2743 + const yyr2743 bool = false + yyq2743[0] = true + yyq2743[1] = true + yyq2743[2] = true + yyq2743[3] = x.Kind != "" + yyq2743[4] = x.APIVersion != "" + var yynn2743 int + if yyr2743 || yy2arr2743 { r.EncodeArrayStart(5) } else { - yynn2710 = 0 - for _, b := range yyq2710 { + yynn2743 = 0 + for _, b := range yyq2743 { if b { - yynn2710++ + yynn2743++ } } - r.EncodeMapStart(yynn2710) - yynn2710 = 0 + r.EncodeMapStart(yynn2743) + yynn2743 = 0 } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2710[0] { - yy2712 := &x.ObjectMeta - yy2712.CodecEncodeSelf(e) + if yyq2743[0] { + yy2745 := &x.ObjectMeta + yy2745.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2710[0] { + if yyq2743[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2713 := &x.ObjectMeta - yy2713.CodecEncodeSelf(e) + yy2746 := &x.ObjectMeta + yy2746.CodecEncodeSelf(e) } } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2710[1] { - yy2715 := &x.Spec - yy2715.CodecEncodeSelf(e) + if yyq2743[1] { + yy2748 := &x.Spec + yy2748.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2710[1] { + if yyq2743[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2716 := &x.Spec - yy2716.CodecEncodeSelf(e) + yy2749 := &x.Spec + yy2749.CodecEncodeSelf(e) } } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2710[2] { - yy2718 := &x.Status - yy2718.CodecEncodeSelf(e) + if yyq2743[2] { + yy2751 := &x.Status + yy2751.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2710[2] { + if yyq2743[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2719 := &x.Status - yy2719.CodecEncodeSelf(e) + yy2752 := &x.Status + yy2752.CodecEncodeSelf(e) } } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2710[3] { - yym2721 := z.EncBinary() - _ = yym2721 + if yyq2743[3] { + yym2754 := z.EncBinary() + _ = yym2754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34746,23 +35261,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2710[3] { + if yyq2743[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2722 := z.EncBinary() - _ = yym2722 + yym2755 := z.EncBinary() + _ = yym2755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2710[4] { - yym2724 := z.EncBinary() - _ = yym2724 + if yyq2743[4] { + yym2757 := z.EncBinary() + _ = yym2757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34771,19 +35286,19 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2710[4] { + if yyq2743[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2725 := z.EncBinary() - _ = yym2725 + yym2758 := z.EncBinary() + _ = yym2758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2710 || yy2arr2710 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34796,25 +35311,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2726 := z.DecBinary() - _ = yym2726 + yym2759 := z.DecBinary() + _ = yym2759 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2727 := r.ContainerType() - if yyct2727 == codecSelferValueTypeMap1234 { - yyl2727 := r.ReadMapStart() - if yyl2727 == 0 { + yyct2760 := r.ContainerType() + if yyct2760 == codecSelferValueTypeMap1234 { + yyl2760 := r.ReadMapStart() + if yyl2760 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2727, d) + x.codecDecodeSelfFromMap(yyl2760, d) } - } else if yyct2727 == codecSelferValueTypeArray1234 { - yyl2727 := r.ReadArrayStart() - if yyl2727 == 0 { + } else if yyct2760 == codecSelferValueTypeArray1234 { + yyl2760 := r.ReadArrayStart() + if yyl2760 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2727, d) + x.codecDecodeSelfFromArray(yyl2760, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34826,12 +35341,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2728Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2728Slc - var yyhl2728 bool = l >= 0 - for yyj2728 := 0; ; yyj2728++ { - if yyhl2728 { - if yyj2728 >= l { + var yys2761Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2761Slc + var yyhl2761 bool = l >= 0 + for yyj2761 := 0; ; yyj2761++ { + if yyhl2761 { + if yyj2761 >= l { break } } else { @@ -34840,30 +35355,30 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2728Slc = r.DecodeBytes(yys2728Slc, true, true) - yys2728 := string(yys2728Slc) + yys2761Slc = r.DecodeBytes(yys2761Slc, true, true) + yys2761 := string(yys2761Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2728 { + switch yys2761 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2729 := &x.ObjectMeta - yyv2729.CodecDecodeSelf(d) + yyv2762 := &x.ObjectMeta + yyv2762.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2730 := &x.Spec - yyv2730.CodecDecodeSelf(d) + yyv2763 := &x.Spec + yyv2763.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2731 := &x.Status - yyv2731.CodecDecodeSelf(d) + yyv2764 := &x.Status + yyv2764.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -34878,9 +35393,9 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2728) - } // end switch yys2728 - } // end for yyj2728 + z.DecStructFieldNotFound(-1, yys2761) + } // end switch yys2761 + } // end for yyj2761 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34888,16 +35403,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2734 int - var yyb2734 bool - var yyhl2734 bool = l >= 0 - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + var yyj2767 int + var yyb2767 bool + var yyhl2767 bool = l >= 0 + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34905,16 +35420,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2735 := &x.ObjectMeta - yyv2735.CodecDecodeSelf(d) + yyv2768 := &x.ObjectMeta + yyv2768.CodecDecodeSelf(d) } - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34922,16 +35437,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2736 := &x.Spec - yyv2736.CodecDecodeSelf(d) + yyv2769 := &x.Spec + yyv2769.CodecDecodeSelf(d) } - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34939,16 +35454,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2737 := &x.Status - yyv2737.CodecDecodeSelf(d) + yyv2770 := &x.Status + yyv2770.CodecDecodeSelf(d) } - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34958,13 +35473,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34975,17 +35490,17 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2734++ - if yyhl2734 { - yyb2734 = yyj2734 > l + yyj2767++ + if yyhl2767 { + yyb2767 = yyj2767 > l } else { - yyb2734 = r.CheckBreak() + yyb2767 = r.CheckBreak() } - if yyb2734 { + if yyb2767 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2734-1, "") + z.DecStructFieldNotFound(yyj2767-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34997,68 +35512,68 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2740 := z.EncBinary() - _ = yym2740 + yym2773 := z.EncBinary() + _ = yym2773 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2741 := !z.EncBinary() - yy2arr2741 := z.EncBasicHandle().StructToArray - var yyq2741 [4]bool - _, _, _ = yysep2741, yyq2741, yy2arr2741 - const yyr2741 bool = false - yyq2741[0] = true - yyq2741[2] = x.Kind != "" - yyq2741[3] = x.APIVersion != "" - var yynn2741 int - if yyr2741 || yy2arr2741 { + yysep2774 := !z.EncBinary() + yy2arr2774 := z.EncBasicHandle().StructToArray + var yyq2774 [4]bool + _, _, _ = yysep2774, yyq2774, yy2arr2774 + const yyr2774 bool = false + yyq2774[0] = true + yyq2774[2] = x.Kind != "" + yyq2774[3] = x.APIVersion != "" + var yynn2774 int + if yyr2774 || yy2arr2774 { r.EncodeArrayStart(4) } else { - yynn2741 = 1 - for _, b := range yyq2741 { + yynn2774 = 1 + for _, b := range yyq2774 { if b { - yynn2741++ + yynn2774++ } } - r.EncodeMapStart(yynn2741) - yynn2741 = 0 + r.EncodeMapStart(yynn2774) + yynn2774 = 0 } - if yyr2741 || yy2arr2741 { + if yyr2774 || yy2arr2774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2741[0] { - yy2743 := &x.ListMeta - yym2744 := z.EncBinary() - _ = yym2744 + if yyq2774[0] { + yy2776 := &x.ListMeta + yym2777 := z.EncBinary() + _ = yym2777 if false { - } else if z.HasExtensions() && z.EncExt(yy2743) { + } else if z.HasExtensions() && z.EncExt(yy2776) { } else { - z.EncFallback(yy2743) + z.EncFallback(yy2776) } } else { r.EncodeNil() } } else { - if yyq2741[0] { + if yyq2774[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2745 := &x.ListMeta - yym2746 := z.EncBinary() - _ = yym2746 + yy2778 := &x.ListMeta + yym2779 := z.EncBinary() + _ = yym2779 if false { - } else if z.HasExtensions() && z.EncExt(yy2745) { + } else if z.HasExtensions() && z.EncExt(yy2778) { } else { - z.EncFallback(yy2745) + z.EncFallback(yy2778) } } } - if yyr2741 || yy2arr2741 { + if yyr2774 || yy2arr2774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2748 := z.EncBinary() - _ = yym2748 + yym2781 := z.EncBinary() + _ = yym2781 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -35071,19 +35586,19 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2749 := z.EncBinary() - _ = yym2749 + yym2782 := z.EncBinary() + _ = yym2782 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2741 || yy2arr2741 { + if yyr2774 || yy2arr2774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2741[2] { - yym2751 := z.EncBinary() - _ = yym2751 + if yyq2774[2] { + yym2784 := z.EncBinary() + _ = yym2784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35092,23 +35607,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2741[2] { + if yyq2774[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2752 := z.EncBinary() - _ = yym2752 + yym2785 := z.EncBinary() + _ = yym2785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2741 || yy2arr2741 { + if yyr2774 || yy2arr2774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2741[3] { - yym2754 := z.EncBinary() - _ = yym2754 + if yyq2774[3] { + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35117,19 +35632,19 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2741[3] { + if yyq2774[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2755 := z.EncBinary() - _ = yym2755 + yym2788 := z.EncBinary() + _ = yym2788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2741 || yy2arr2741 { + if yyr2774 || yy2arr2774 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35142,25 +35657,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2756 := z.DecBinary() - _ = yym2756 + yym2789 := z.DecBinary() + _ = yym2789 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2757 := r.ContainerType() - if yyct2757 == codecSelferValueTypeMap1234 { - yyl2757 := r.ReadMapStart() - if yyl2757 == 0 { + yyct2790 := r.ContainerType() + if yyct2790 == codecSelferValueTypeMap1234 { + yyl2790 := r.ReadMapStart() + if yyl2790 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2757, d) + x.codecDecodeSelfFromMap(yyl2790, d) } - } else if yyct2757 == codecSelferValueTypeArray1234 { - yyl2757 := r.ReadArrayStart() - if yyl2757 == 0 { + } else if yyct2790 == codecSelferValueTypeArray1234 { + yyl2790 := r.ReadArrayStart() + if yyl2790 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2757, d) + x.codecDecodeSelfFromArray(yyl2790, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35172,12 +35687,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2758Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2758Slc - var yyhl2758 bool = l >= 0 - for yyj2758 := 0; ; yyj2758++ { - if yyhl2758 { - if yyj2758 >= l { + var yys2791Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2791Slc + var yyhl2791 bool = l >= 0 + for yyj2791 := 0; ; yyj2791++ { + if yyhl2791 { + if yyj2791 >= l { break } } else { @@ -35186,33 +35701,33 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2758Slc = r.DecodeBytes(yys2758Slc, true, true) - yys2758 := string(yys2758Slc) + yys2791Slc = r.DecodeBytes(yys2791Slc, true, true) + yys2791 := string(yys2791Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2758 { + switch yys2791 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2759 := &x.ListMeta - yym2760 := z.DecBinary() - _ = yym2760 + yyv2792 := &x.ListMeta + yym2793 := z.DecBinary() + _ = yym2793 if false { - } else if z.HasExtensions() && z.DecExt(yyv2759) { + } else if z.HasExtensions() && z.DecExt(yyv2792) { } else { - z.DecFallback(yyv2759, false) + z.DecFallback(yyv2792, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2761 := &x.Items - yym2762 := z.DecBinary() - _ = yym2762 + yyv2794 := &x.Items + yym2795 := z.DecBinary() + _ = yym2795 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2761), d) + h.decSliceNamespace((*[]Namespace)(yyv2794), d) } } case "kind": @@ -35228,9 +35743,9 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2758) - } // end switch yys2758 - } // end for yyj2758 + z.DecStructFieldNotFound(-1, yys2791) + } // end switch yys2791 + } // end for yyj2791 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35238,16 +35753,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2765 int - var yyb2765 bool - var yyhl2765 bool = l >= 0 - yyj2765++ - if yyhl2765 { - yyb2765 = yyj2765 > l + var yyj2798 int + var yyb2798 bool + var yyhl2798 bool = l >= 0 + yyj2798++ + if yyhl2798 { + yyb2798 = yyj2798 > l } else { - yyb2765 = r.CheckBreak() + yyb2798 = r.CheckBreak() } - if yyb2765 { + if yyb2798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35255,22 +35770,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2766 := &x.ListMeta - yym2767 := z.DecBinary() - _ = yym2767 + yyv2799 := &x.ListMeta + yym2800 := z.DecBinary() + _ = yym2800 if false { - } else if z.HasExtensions() && z.DecExt(yyv2766) { + } else if z.HasExtensions() && z.DecExt(yyv2799) { } else { - z.DecFallback(yyv2766, false) + z.DecFallback(yyv2799, false) } } - yyj2765++ - if yyhl2765 { - yyb2765 = yyj2765 > l + yyj2798++ + if yyhl2798 { + yyb2798 = yyj2798 > l } else { - yyb2765 = r.CheckBreak() + yyb2798 = r.CheckBreak() } - if yyb2765 { + if yyb2798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35278,21 +35793,21 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2768 := &x.Items - yym2769 := z.DecBinary() - _ = yym2769 + yyv2801 := &x.Items + yym2802 := z.DecBinary() + _ = yym2802 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2768), d) + h.decSliceNamespace((*[]Namespace)(yyv2801), d) } } - yyj2765++ - if yyhl2765 { - yyb2765 = yyj2765 > l + yyj2798++ + if yyhl2798 { + yyb2798 = yyj2798 > l } else { - yyb2765 = r.CheckBreak() + yyb2798 = r.CheckBreak() } - if yyb2765 { + if yyb2798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35302,13 +35817,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2765++ - if yyhl2765 { - yyb2765 = yyj2765 > l + yyj2798++ + if yyhl2798 { + yyb2798 = yyj2798 > l } else { - yyb2765 = r.CheckBreak() + yyb2798 = r.CheckBreak() } - if yyb2765 { + if yyb2798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35319,17 +35834,17 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2765++ - if yyhl2765 { - yyb2765 = yyj2765 > l + yyj2798++ + if yyhl2798 { + yyb2798 = yyj2798 > l } else { - yyb2765 = r.CheckBreak() + yyb2798 = r.CheckBreak() } - if yyb2765 { + if yyb2798 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2765-1, "") + z.DecStructFieldNotFound(yyj2798-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35341,65 +35856,65 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2772 := z.EncBinary() - _ = yym2772 + yym2805 := z.EncBinary() + _ = yym2805 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2773 := !z.EncBinary() - yy2arr2773 := z.EncBasicHandle().StructToArray - var yyq2773 [4]bool - _, _, _ = yysep2773, yyq2773, yy2arr2773 - const yyr2773 bool = false - yyq2773[0] = true - yyq2773[2] = x.Kind != "" - yyq2773[3] = x.APIVersion != "" - var yynn2773 int - if yyr2773 || yy2arr2773 { + yysep2806 := !z.EncBinary() + yy2arr2806 := z.EncBasicHandle().StructToArray + var yyq2806 [4]bool + _, _, _ = yysep2806, yyq2806, yy2arr2806 + const yyr2806 bool = false + yyq2806[0] = true + yyq2806[2] = x.Kind != "" + yyq2806[3] = x.APIVersion != "" + var yynn2806 int + if yyr2806 || yy2arr2806 { r.EncodeArrayStart(4) } else { - yynn2773 = 1 - for _, b := range yyq2773 { + yynn2806 = 1 + for _, b := range yyq2806 { if b { - yynn2773++ + yynn2806++ } } - r.EncodeMapStart(yynn2773) - yynn2773 = 0 + r.EncodeMapStart(yynn2806) + yynn2806 = 0 } - if yyr2773 || yy2arr2773 { + if yyr2806 || yy2arr2806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2773[0] { - yy2775 := &x.ObjectMeta - yy2775.CodecEncodeSelf(e) + if yyq2806[0] { + yy2808 := &x.ObjectMeta + yy2808.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2773[0] { + if yyq2806[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2776 := &x.ObjectMeta - yy2776.CodecEncodeSelf(e) + yy2809 := &x.ObjectMeta + yy2809.CodecEncodeSelf(e) } } - if yyr2773 || yy2arr2773 { + if yyr2806 || yy2arr2806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2778 := &x.Target - yy2778.CodecEncodeSelf(e) + yy2811 := &x.Target + yy2811.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2779 := &x.Target - yy2779.CodecEncodeSelf(e) + yy2812 := &x.Target + yy2812.CodecEncodeSelf(e) } - if yyr2773 || yy2arr2773 { + if yyr2806 || yy2arr2806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2773[2] { - yym2781 := z.EncBinary() - _ = yym2781 + if yyq2806[2] { + yym2814 := z.EncBinary() + _ = yym2814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35408,23 +35923,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2773[2] { + if yyq2806[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2782 := z.EncBinary() - _ = yym2782 + yym2815 := z.EncBinary() + _ = yym2815 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2773 || yy2arr2773 { + if yyr2806 || yy2arr2806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2773[3] { - yym2784 := z.EncBinary() - _ = yym2784 + if yyq2806[3] { + yym2817 := z.EncBinary() + _ = yym2817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35433,19 +35948,19 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2773[3] { + if yyq2806[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2785 := z.EncBinary() - _ = yym2785 + yym2818 := z.EncBinary() + _ = yym2818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2773 || yy2arr2773 { + if yyr2806 || yy2arr2806 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35458,25 +35973,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2786 := z.DecBinary() - _ = yym2786 + yym2819 := z.DecBinary() + _ = yym2819 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2787 := r.ContainerType() - if yyct2787 == codecSelferValueTypeMap1234 { - yyl2787 := r.ReadMapStart() - if yyl2787 == 0 { + yyct2820 := r.ContainerType() + if yyct2820 == codecSelferValueTypeMap1234 { + yyl2820 := r.ReadMapStart() + if yyl2820 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2787, d) + x.codecDecodeSelfFromMap(yyl2820, d) } - } else if yyct2787 == codecSelferValueTypeArray1234 { - yyl2787 := r.ReadArrayStart() - if yyl2787 == 0 { + } else if yyct2820 == codecSelferValueTypeArray1234 { + yyl2820 := r.ReadArrayStart() + if yyl2820 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2787, d) + x.codecDecodeSelfFromArray(yyl2820, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35488,12 +36003,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2788Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2788Slc - var yyhl2788 bool = l >= 0 - for yyj2788 := 0; ; yyj2788++ { - if yyhl2788 { - if yyj2788 >= l { + var yys2821Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2821Slc + var yyhl2821 bool = l >= 0 + for yyj2821 := 0; ; yyj2821++ { + if yyhl2821 { + if yyj2821 >= l { break } } else { @@ -35502,23 +36017,23 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2788Slc = r.DecodeBytes(yys2788Slc, true, true) - yys2788 := string(yys2788Slc) + yys2821Slc = r.DecodeBytes(yys2821Slc, true, true) + yys2821 := string(yys2821Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2788 { + switch yys2821 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2789 := &x.ObjectMeta - yyv2789.CodecDecodeSelf(d) + yyv2822 := &x.ObjectMeta + yyv2822.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2790 := &x.Target - yyv2790.CodecDecodeSelf(d) + yyv2823 := &x.Target + yyv2823.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -35533,9 +36048,9 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2788) - } // end switch yys2788 - } // end for yyj2788 + z.DecStructFieldNotFound(-1, yys2821) + } // end switch yys2821 + } // end for yyj2821 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35543,16 +36058,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2793 int - var yyb2793 bool - var yyhl2793 bool = l >= 0 - yyj2793++ - if yyhl2793 { - yyb2793 = yyj2793 > l + var yyj2826 int + var yyb2826 bool + var yyhl2826 bool = l >= 0 + yyj2826++ + if yyhl2826 { + yyb2826 = yyj2826 > l } else { - yyb2793 = r.CheckBreak() + yyb2826 = r.CheckBreak() } - if yyb2793 { + if yyb2826 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35560,16 +36075,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2794 := &x.ObjectMeta - yyv2794.CodecDecodeSelf(d) + yyv2827 := &x.ObjectMeta + yyv2827.CodecDecodeSelf(d) } - yyj2793++ - if yyhl2793 { - yyb2793 = yyj2793 > l + yyj2826++ + if yyhl2826 { + yyb2826 = yyj2826 > l } else { - yyb2793 = r.CheckBreak() + yyb2826 = r.CheckBreak() } - if yyb2793 { + if yyb2826 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35577,16 +36092,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2795 := &x.Target - yyv2795.CodecDecodeSelf(d) + yyv2828 := &x.Target + yyv2828.CodecDecodeSelf(d) } - yyj2793++ - if yyhl2793 { - yyb2793 = yyj2793 > l + yyj2826++ + if yyhl2826 { + yyb2826 = yyj2826 > l } else { - yyb2793 = r.CheckBreak() + yyb2826 = r.CheckBreak() } - if yyb2793 { + if yyb2826 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35596,13 +36111,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2793++ - if yyhl2793 { - yyb2793 = yyj2793 > l + yyj2826++ + if yyhl2826 { + yyb2826 = yyj2826 > l } else { - yyb2793 = r.CheckBreak() + yyb2826 = r.CheckBreak() } - if yyb2793 { + if yyb2826 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35613,17 +36128,17 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2793++ - if yyhl2793 { - yyb2793 = yyj2793 > l + yyj2826++ + if yyhl2826 { + yyb2826 = yyj2826 > l } else { - yyb2793 = r.CheckBreak() + yyb2826 = r.CheckBreak() } - if yyb2793 { + if yyb2826 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2793-1, "") + z.DecStructFieldNotFound(yyj2826-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35635,42 +36150,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2798 := z.EncBinary() - _ = yym2798 + yym2831 := z.EncBinary() + _ = yym2831 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2799 := !z.EncBinary() - yy2arr2799 := z.EncBasicHandle().StructToArray - var yyq2799 [3]bool - _, _, _ = yysep2799, yyq2799, yy2arr2799 - const yyr2799 bool = false - yyq2799[1] = x.Kind != "" - yyq2799[2] = x.APIVersion != "" - var yynn2799 int - if yyr2799 || yy2arr2799 { + yysep2832 := !z.EncBinary() + yy2arr2832 := z.EncBasicHandle().StructToArray + var yyq2832 [3]bool + _, _, _ = yysep2832, yyq2832, yy2arr2832 + const yyr2832 bool = false + yyq2832[1] = x.Kind != "" + yyq2832[2] = x.APIVersion != "" + var yynn2832 int + if yyr2832 || yy2arr2832 { r.EncodeArrayStart(3) } else { - yynn2799 = 1 - for _, b := range yyq2799 { + yynn2832 = 1 + for _, b := range yyq2832 { if b { - yynn2799++ + yynn2832++ } } - r.EncodeMapStart(yynn2799) - yynn2799 = 0 + r.EncodeMapStart(yynn2832) + yynn2832 = 0 } - if yyr2799 || yy2arr2799 { + if yyr2832 || yy2arr2832 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2801 := *x.GracePeriodSeconds - yym2802 := z.EncBinary() - _ = yym2802 + yy2834 := *x.GracePeriodSeconds + yym2835 := z.EncBinary() + _ = yym2835 if false { } else { - r.EncodeInt(int64(yy2801)) + r.EncodeInt(int64(yy2834)) } } } else { @@ -35680,20 +36195,20 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2803 := *x.GracePeriodSeconds - yym2804 := z.EncBinary() - _ = yym2804 + yy2836 := *x.GracePeriodSeconds + yym2837 := z.EncBinary() + _ = yym2837 if false { } else { - r.EncodeInt(int64(yy2803)) + r.EncodeInt(int64(yy2836)) } } } - if yyr2799 || yy2arr2799 { + if yyr2832 || yy2arr2832 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2799[1] { - yym2806 := z.EncBinary() - _ = yym2806 + if yyq2832[1] { + yym2839 := z.EncBinary() + _ = yym2839 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35702,23 +36217,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2799[1] { + if yyq2832[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2807 := z.EncBinary() - _ = yym2807 + yym2840 := z.EncBinary() + _ = yym2840 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2799 || yy2arr2799 { + if yyr2832 || yy2arr2832 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2799[2] { - yym2809 := z.EncBinary() - _ = yym2809 + if yyq2832[2] { + yym2842 := z.EncBinary() + _ = yym2842 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35727,19 +36242,19 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2799[2] { + if yyq2832[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2810 := z.EncBinary() - _ = yym2810 + yym2843 := z.EncBinary() + _ = yym2843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2799 || yy2arr2799 { + if yyr2832 || yy2arr2832 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35752,25 +36267,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2811 := z.DecBinary() - _ = yym2811 + yym2844 := z.DecBinary() + _ = yym2844 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2812 := r.ContainerType() - if yyct2812 == codecSelferValueTypeMap1234 { - yyl2812 := r.ReadMapStart() - if yyl2812 == 0 { + yyct2845 := r.ContainerType() + if yyct2845 == codecSelferValueTypeMap1234 { + yyl2845 := r.ReadMapStart() + if yyl2845 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2812, d) + x.codecDecodeSelfFromMap(yyl2845, d) } - } else if yyct2812 == codecSelferValueTypeArray1234 { - yyl2812 := r.ReadArrayStart() - if yyl2812 == 0 { + } else if yyct2845 == codecSelferValueTypeArray1234 { + yyl2845 := r.ReadArrayStart() + if yyl2845 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2812, d) + x.codecDecodeSelfFromArray(yyl2845, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35782,12 +36297,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2813Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2813Slc - var yyhl2813 bool = l >= 0 - for yyj2813 := 0; ; yyj2813++ { - if yyhl2813 { - if yyj2813 >= l { + var yys2846Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2846Slc + var yyhl2846 bool = l >= 0 + for yyj2846 := 0; ; yyj2846++ { + if yyhl2846 { + if yyj2846 >= l { break } } else { @@ -35796,10 +36311,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2813Slc = r.DecodeBytes(yys2813Slc, true, true) - yys2813 := string(yys2813Slc) + yys2846Slc = r.DecodeBytes(yys2846Slc, true, true) + yys2846 := string(yys2846Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2813 { + switch yys2846 { case "gracePeriodSeconds": if r.TryDecodeAsNil() { if x.GracePeriodSeconds != nil { @@ -35809,8 +36324,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2815 := z.DecBinary() - _ = yym2815 + yym2848 := z.DecBinary() + _ = yym2848 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -35829,9 +36344,9 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2813) - } // end switch yys2813 - } // end for yyj2813 + z.DecStructFieldNotFound(-1, yys2846) + } // end switch yys2846 + } // end for yyj2846 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35839,16 +36354,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2818 int - var yyb2818 bool - var yyhl2818 bool = l >= 0 - yyj2818++ - if yyhl2818 { - yyb2818 = yyj2818 > l + var yyj2851 int + var yyb2851 bool + var yyhl2851 bool = l >= 0 + yyj2851++ + if yyhl2851 { + yyb2851 = yyj2851 > l } else { - yyb2818 = r.CheckBreak() + yyb2851 = r.CheckBreak() } - if yyb2818 { + if yyb2851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35861,20 +36376,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2820 := z.DecBinary() - _ = yym2820 + yym2853 := z.DecBinary() + _ = yym2853 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj2818++ - if yyhl2818 { - yyb2818 = yyj2818 > l + yyj2851++ + if yyhl2851 { + yyb2851 = yyj2851 > l } else { - yyb2818 = r.CheckBreak() + yyb2851 = r.CheckBreak() } - if yyb2818 { + if yyb2851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35884,13 +36399,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2818++ - if yyhl2818 { - yyb2818 = yyj2818 > l + yyj2851++ + if yyhl2851 { + yyb2851 = yyj2851 > l } else { - yyb2818 = r.CheckBreak() + yyb2851 = r.CheckBreak() } - if yyb2818 { + if yyb2851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35901,17 +36416,17 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2818++ - if yyhl2818 { - yyb2818 = yyj2818 > l + yyj2851++ + if yyhl2851 { + yyb2851 = yyj2851 > l } else { - yyb2818 = r.CheckBreak() + yyb2851 = r.CheckBreak() } - if yyb2818 { + if yyb2851 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2818-1, "") + z.DecStructFieldNotFound(yyj2851-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35923,35 +36438,35 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2823 := z.EncBinary() - _ = yym2823 + yym2856 := z.EncBinary() + _ = yym2856 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2824 := !z.EncBinary() - yy2arr2824 := z.EncBasicHandle().StructToArray - var yyq2824 [4]bool - _, _, _ = yysep2824, yyq2824, yy2arr2824 - const yyr2824 bool = false - yyq2824[2] = x.Kind != "" - yyq2824[3] = x.APIVersion != "" - var yynn2824 int - if yyr2824 || yy2arr2824 { + yysep2857 := !z.EncBinary() + yy2arr2857 := z.EncBasicHandle().StructToArray + var yyq2857 [4]bool + _, _, _ = yysep2857, yyq2857, yy2arr2857 + const yyr2857 bool = false + yyq2857[2] = x.Kind != "" + yyq2857[3] = x.APIVersion != "" + var yynn2857 int + if yyr2857 || yy2arr2857 { r.EncodeArrayStart(4) } else { - yynn2824 = 2 - for _, b := range yyq2824 { + yynn2857 = 2 + for _, b := range yyq2857 { if b { - yynn2824++ + yynn2857++ } } - r.EncodeMapStart(yynn2824) - yynn2824 = 0 + r.EncodeMapStart(yynn2857) + yynn2857 = 0 } - if yyr2824 || yy2arr2824 { + if yyr2857 || yy2arr2857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2826 := z.EncBinary() - _ = yym2826 + yym2859 := z.EncBinary() + _ = yym2859 if false { } else { r.EncodeBool(bool(x.Export)) @@ -35960,17 +36475,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2827 := z.EncBinary() - _ = yym2827 + yym2860 := z.EncBinary() + _ = yym2860 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2824 || yy2arr2824 { + if yyr2857 || yy2arr2857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2829 := z.EncBinary() - _ = yym2829 + yym2862 := z.EncBinary() + _ = yym2862 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -35979,18 +36494,18 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2830 := z.EncBinary() - _ = yym2830 + yym2863 := z.EncBinary() + _ = yym2863 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2824 || yy2arr2824 { + if yyr2857 || yy2arr2857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2824[2] { - yym2832 := z.EncBinary() - _ = yym2832 + if yyq2857[2] { + yym2865 := z.EncBinary() + _ = yym2865 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35999,23 +36514,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2824[2] { + if yyq2857[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2833 := z.EncBinary() - _ = yym2833 + yym2866 := z.EncBinary() + _ = yym2866 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2824 || yy2arr2824 { + if yyr2857 || yy2arr2857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2824[3] { - yym2835 := z.EncBinary() - _ = yym2835 + if yyq2857[3] { + yym2868 := z.EncBinary() + _ = yym2868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36024,19 +36539,19 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2824[3] { + if yyq2857[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2836 := z.EncBinary() - _ = yym2836 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2824 || yy2arr2824 { + if yyr2857 || yy2arr2857 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36049,25 +36564,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2837 := z.DecBinary() - _ = yym2837 + yym2870 := z.DecBinary() + _ = yym2870 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2838 := r.ContainerType() - if yyct2838 == codecSelferValueTypeMap1234 { - yyl2838 := r.ReadMapStart() - if yyl2838 == 0 { + yyct2871 := r.ContainerType() + if yyct2871 == codecSelferValueTypeMap1234 { + yyl2871 := r.ReadMapStart() + if yyl2871 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2838, d) + x.codecDecodeSelfFromMap(yyl2871, d) } - } else if yyct2838 == codecSelferValueTypeArray1234 { - yyl2838 := r.ReadArrayStart() - if yyl2838 == 0 { + } else if yyct2871 == codecSelferValueTypeArray1234 { + yyl2871 := r.ReadArrayStart() + if yyl2871 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2838, d) + x.codecDecodeSelfFromArray(yyl2871, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36079,12 +36594,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2839Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2839Slc - var yyhl2839 bool = l >= 0 - for yyj2839 := 0; ; yyj2839++ { - if yyhl2839 { - if yyj2839 >= l { + var yys2872Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2872Slc + var yyhl2872 bool = l >= 0 + for yyj2872 := 0; ; yyj2872++ { + if yyhl2872 { + if yyj2872 >= l { break } } else { @@ -36093,10 +36608,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2839Slc = r.DecodeBytes(yys2839Slc, true, true) - yys2839 := string(yys2839Slc) + yys2872Slc = r.DecodeBytes(yys2872Slc, true, true) + yys2872 := string(yys2872Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2839 { + switch yys2872 { case "export": if r.TryDecodeAsNil() { x.Export = false @@ -36122,9 +36637,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2839) - } // end switch yys2839 - } // end for yyj2839 + z.DecStructFieldNotFound(-1, yys2872) + } // end switch yys2872 + } // end for yyj2872 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36132,16 +36647,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2844 int - var yyb2844 bool - var yyhl2844 bool = l >= 0 - yyj2844++ - if yyhl2844 { - yyb2844 = yyj2844 > l + var yyj2877 int + var yyb2877 bool + var yyhl2877 bool = l >= 0 + yyj2877++ + if yyhl2877 { + yyb2877 = yyj2877 > l } else { - yyb2844 = r.CheckBreak() + yyb2877 = r.CheckBreak() } - if yyb2844 { + if yyb2877 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36151,13 +36666,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj2844++ - if yyhl2844 { - yyb2844 = yyj2844 > l + yyj2877++ + if yyhl2877 { + yyb2877 = yyj2877 > l } else { - yyb2844 = r.CheckBreak() + yyb2877 = r.CheckBreak() } - if yyb2844 { + if yyb2877 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36167,13 +36682,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Exact = bool(r.DecodeBool()) } - yyj2844++ - if yyhl2844 { - yyb2844 = yyj2844 > l + yyj2877++ + if yyhl2877 { + yyb2877 = yyj2877 > l } else { - yyb2844 = r.CheckBreak() + yyb2877 = r.CheckBreak() } - if yyb2844 { + if yyb2877 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36183,13 +36698,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2844++ - if yyhl2844 { - yyb2844 = yyj2844 > l + yyj2877++ + if yyhl2877 { + yyb2877 = yyj2877 > l } else { - yyb2844 = r.CheckBreak() + yyb2877 = r.CheckBreak() } - if yyb2844 { + if yyb2877 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36200,17 +36715,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2844++ - if yyhl2844 { - yyb2844 = yyj2844 > l + yyj2877++ + if yyhl2877 { + yyb2877 = yyj2877 > l } else { - yyb2844 = r.CheckBreak() + yyb2877 = r.CheckBreak() } - if yyb2844 { + if yyb2877 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2844-1, "") + z.DecStructFieldNotFound(yyj2877-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36222,41 +36737,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2849 := z.EncBinary() - _ = yym2849 + yym2882 := z.EncBinary() + _ = yym2882 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2850 := !z.EncBinary() - yy2arr2850 := z.EncBasicHandle().StructToArray - var yyq2850 [7]bool - _, _, _ = yysep2850, yyq2850, yy2arr2850 - const yyr2850 bool = false - yyq2850[0] = x.LabelSelector != "" - yyq2850[1] = x.FieldSelector != "" - yyq2850[2] = x.Watch != false - yyq2850[3] = x.ResourceVersion != "" - yyq2850[4] = x.TimeoutSeconds != nil - yyq2850[5] = x.Kind != "" - yyq2850[6] = x.APIVersion != "" - var yynn2850 int - if yyr2850 || yy2arr2850 { + yysep2883 := !z.EncBinary() + yy2arr2883 := z.EncBasicHandle().StructToArray + var yyq2883 [7]bool + _, _, _ = yysep2883, yyq2883, yy2arr2883 + const yyr2883 bool = false + yyq2883[0] = x.LabelSelector != "" + yyq2883[1] = x.FieldSelector != "" + yyq2883[2] = x.Watch != false + yyq2883[3] = x.ResourceVersion != "" + yyq2883[4] = x.TimeoutSeconds != nil + yyq2883[5] = x.Kind != "" + yyq2883[6] = x.APIVersion != "" + var yynn2883 int + if yyr2883 || yy2arr2883 { r.EncodeArrayStart(7) } else { - yynn2850 = 0 - for _, b := range yyq2850 { + yynn2883 = 0 + for _, b := range yyq2883 { if b { - yynn2850++ + yynn2883++ } } - r.EncodeMapStart(yynn2850) - yynn2850 = 0 + r.EncodeMapStart(yynn2883) + yynn2883 = 0 } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[0] { - yym2852 := z.EncBinary() - _ = yym2852 + if yyq2883[0] { + yym2885 := z.EncBinary() + _ = yym2885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -36265,23 +36780,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2850[0] { + if yyq2883[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2853 := z.EncBinary() - _ = yym2853 + yym2886 := z.EncBinary() + _ = yym2886 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[1] { - yym2855 := z.EncBinary() - _ = yym2855 + if yyq2883[1] { + yym2888 := z.EncBinary() + _ = yym2888 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -36290,23 +36805,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2850[1] { + if yyq2883[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2856 := z.EncBinary() - _ = yym2856 + yym2889 := z.EncBinary() + _ = yym2889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[2] { - yym2858 := z.EncBinary() - _ = yym2858 + if yyq2883[2] { + yym2891 := z.EncBinary() + _ = yym2891 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -36315,23 +36830,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2850[2] { + if yyq2883[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2859 := z.EncBinary() - _ = yym2859 + yym2892 := z.EncBinary() + _ = yym2892 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[3] { - yym2861 := z.EncBinary() - _ = yym2861 + if yyq2883[3] { + yym2894 := z.EncBinary() + _ = yym2894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -36340,58 +36855,58 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2850[3] { + if yyq2883[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2862 := z.EncBinary() - _ = yym2862 + yym2895 := z.EncBinary() + _ = yym2895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[4] { + if yyq2883[4] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2864 := *x.TimeoutSeconds - yym2865 := z.EncBinary() - _ = yym2865 + yy2897 := *x.TimeoutSeconds + yym2898 := z.EncBinary() + _ = yym2898 if false { } else { - r.EncodeInt(int64(yy2864)) + r.EncodeInt(int64(yy2897)) } } } else { r.EncodeNil() } } else { - if yyq2850[4] { + if yyq2883[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2866 := *x.TimeoutSeconds - yym2867 := z.EncBinary() - _ = yym2867 + yy2899 := *x.TimeoutSeconds + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { - r.EncodeInt(int64(yy2866)) + r.EncodeInt(int64(yy2899)) } } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[5] { - yym2869 := z.EncBinary() - _ = yym2869 + if yyq2883[5] { + yym2902 := z.EncBinary() + _ = yym2902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36400,23 +36915,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2850[5] { + if yyq2883[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2870 := z.EncBinary() - _ = yym2870 + yym2903 := z.EncBinary() + _ = yym2903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2850[6] { - yym2872 := z.EncBinary() - _ = yym2872 + if yyq2883[6] { + yym2905 := z.EncBinary() + _ = yym2905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36425,19 +36940,19 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2850[6] { + if yyq2883[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2873 := z.EncBinary() - _ = yym2873 + yym2906 := z.EncBinary() + _ = yym2906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2850 || yy2arr2850 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36450,25 +36965,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2874 := z.DecBinary() - _ = yym2874 + yym2907 := z.DecBinary() + _ = yym2907 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2875 := r.ContainerType() - if yyct2875 == codecSelferValueTypeMap1234 { - yyl2875 := r.ReadMapStart() - if yyl2875 == 0 { + yyct2908 := r.ContainerType() + if yyct2908 == codecSelferValueTypeMap1234 { + yyl2908 := r.ReadMapStart() + if yyl2908 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2875, d) + x.codecDecodeSelfFromMap(yyl2908, d) } - } else if yyct2875 == codecSelferValueTypeArray1234 { - yyl2875 := r.ReadArrayStart() - if yyl2875 == 0 { + } else if yyct2908 == codecSelferValueTypeArray1234 { + yyl2908 := r.ReadArrayStart() + if yyl2908 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2875, d) + x.codecDecodeSelfFromArray(yyl2908, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36480,12 +36995,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2876Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2876Slc - var yyhl2876 bool = l >= 0 - for yyj2876 := 0; ; yyj2876++ { - if yyhl2876 { - if yyj2876 >= l { + var yys2909Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2909Slc + var yyhl2909 bool = l >= 0 + for yyj2909 := 0; ; yyj2909++ { + if yyhl2909 { + if yyj2909 >= l { break } } else { @@ -36494,10 +37009,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2876Slc = r.DecodeBytes(yys2876Slc, true, true) - yys2876 := string(yys2876Slc) + yys2909Slc = r.DecodeBytes(yys2909Slc, true, true) + yys2909 := string(yys2909Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2876 { + switch yys2909 { case "labelSelector": if r.TryDecodeAsNil() { x.LabelSelector = "" @@ -36531,8 +37046,8 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2882 := z.DecBinary() - _ = yym2882 + yym2915 := z.DecBinary() + _ = yym2915 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) @@ -36551,9 +37066,9 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2876) - } // end switch yys2876 - } // end for yyj2876 + z.DecStructFieldNotFound(-1, yys2909) + } // end switch yys2909 + } // end for yyj2909 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36561,16 +37076,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2885 int - var yyb2885 bool - var yyhl2885 bool = l >= 0 - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + var yyj2918 int + var yyb2918 bool + var yyhl2918 bool = l >= 0 + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36580,13 +37095,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36596,13 +37111,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36612,13 +37127,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36628,13 +37143,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36647,20 +37162,20 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2891 := z.DecBinary() - _ = yym2891 + yym2924 := z.DecBinary() + _ = yym2924 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36670,13 +37185,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36687,17 +37202,17 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2885++ - if yyhl2885 { - yyb2885 = yyj2885 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2885 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2885 { + if yyb2918 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2885-1, "") + z.DecStructFieldNotFound(yyj2918-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36709,44 +37224,44 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2894 := z.EncBinary() - _ = yym2894 + yym2927 := z.EncBinary() + _ = yym2927 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2895 := !z.EncBinary() - yy2arr2895 := z.EncBasicHandle().StructToArray - var yyq2895 [10]bool - _, _, _ = yysep2895, yyq2895, yy2arr2895 - const yyr2895 bool = false - yyq2895[0] = x.Container != "" - yyq2895[1] = x.Follow != false - yyq2895[2] = x.Previous != false - yyq2895[3] = x.SinceSeconds != nil - yyq2895[4] = x.SinceTime != nil - yyq2895[5] = x.Timestamps != false - yyq2895[6] = x.TailLines != nil - yyq2895[7] = x.LimitBytes != nil - yyq2895[8] = x.Kind != "" - yyq2895[9] = x.APIVersion != "" - var yynn2895 int - if yyr2895 || yy2arr2895 { + yysep2928 := !z.EncBinary() + yy2arr2928 := z.EncBasicHandle().StructToArray + var yyq2928 [10]bool + _, _, _ = yysep2928, yyq2928, yy2arr2928 + const yyr2928 bool = false + yyq2928[0] = x.Container != "" + yyq2928[1] = x.Follow != false + yyq2928[2] = x.Previous != false + yyq2928[3] = x.SinceSeconds != nil + yyq2928[4] = x.SinceTime != nil + yyq2928[5] = x.Timestamps != false + yyq2928[6] = x.TailLines != nil + yyq2928[7] = x.LimitBytes != nil + yyq2928[8] = x.Kind != "" + yyq2928[9] = x.APIVersion != "" + var yynn2928 int + if yyr2928 || yy2arr2928 { r.EncodeArrayStart(10) } else { - yynn2895 = 0 - for _, b := range yyq2895 { + yynn2928 = 0 + for _, b := range yyq2928 { if b { - yynn2895++ + yynn2928++ } } - r.EncodeMapStart(yynn2895) - yynn2895 = 0 + r.EncodeMapStart(yynn2928) + yynn2928 = 0 } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[0] { - yym2897 := z.EncBinary() - _ = yym2897 + if yyq2928[0] { + yym2930 := z.EncBinary() + _ = yym2930 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -36755,23 +37270,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2895[0] { + if yyq2928[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2898 := z.EncBinary() - _ = yym2898 + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[1] { - yym2900 := z.EncBinary() - _ = yym2900 + if yyq2928[1] { + yym2933 := z.EncBinary() + _ = yym2933 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -36780,23 +37295,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2895[1] { + if yyq2928[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2901 := z.EncBinary() - _ = yym2901 + yym2934 := z.EncBinary() + _ = yym2934 if false { } else { r.EncodeBool(bool(x.Follow)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[2] { - yym2903 := z.EncBinary() - _ = yym2903 + if yyq2928[2] { + yym2936 := z.EncBinary() + _ = yym2936 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -36805,66 +37320,66 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2895[2] { + if yyq2928[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2904 := z.EncBinary() - _ = yym2904 + yym2937 := z.EncBinary() + _ = yym2937 if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[3] { + if yyq2928[3] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2906 := *x.SinceSeconds - yym2907 := z.EncBinary() - _ = yym2907 + yy2939 := *x.SinceSeconds + yym2940 := z.EncBinary() + _ = yym2940 if false { } else { - r.EncodeInt(int64(yy2906)) + r.EncodeInt(int64(yy2939)) } } } else { r.EncodeNil() } } else { - if yyq2895[3] { + if yyq2928[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2908 := *x.SinceSeconds - yym2909 := z.EncBinary() - _ = yym2909 + yy2941 := *x.SinceSeconds + yym2942 := z.EncBinary() + _ = yym2942 if false { } else { - r.EncodeInt(int64(yy2908)) + r.EncodeInt(int64(yy2941)) } } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[4] { + if yyq2928[4] { if x.SinceTime == nil { r.EncodeNil() } else { - yym2911 := z.EncBinary() - _ = yym2911 + yym2944 := z.EncBinary() + _ = yym2944 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2911 { + } else if yym2944 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2911 && z.IsJSONHandle() { + } else if !yym2944 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -36874,20 +37389,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2895[4] { + if yyq2928[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2912 := z.EncBinary() - _ = yym2912 + yym2945 := z.EncBinary() + _ = yym2945 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2912 { + } else if yym2945 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2912 && z.IsJSONHandle() { + } else if !yym2945 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -36895,11 +37410,11 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[5] { - yym2914 := z.EncBinary() - _ = yym2914 + if yyq2928[5] { + yym2947 := z.EncBinary() + _ = yym2947 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -36908,93 +37423,93 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2895[5] { + if yyq2928[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2915 := z.EncBinary() - _ = yym2915 + yym2948 := z.EncBinary() + _ = yym2948 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[6] { + if yyq2928[6] { if x.TailLines == nil { r.EncodeNil() } else { - yy2917 := *x.TailLines - yym2918 := z.EncBinary() - _ = yym2918 + yy2950 := *x.TailLines + yym2951 := z.EncBinary() + _ = yym2951 if false { } else { - r.EncodeInt(int64(yy2917)) + r.EncodeInt(int64(yy2950)) } } } else { r.EncodeNil() } } else { - if yyq2895[6] { + if yyq2928[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2919 := *x.TailLines - yym2920 := z.EncBinary() - _ = yym2920 + yy2952 := *x.TailLines + yym2953 := z.EncBinary() + _ = yym2953 if false { } else { - r.EncodeInt(int64(yy2919)) + r.EncodeInt(int64(yy2952)) } } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[7] { + if yyq2928[7] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2922 := *x.LimitBytes - yym2923 := z.EncBinary() - _ = yym2923 + yy2955 := *x.LimitBytes + yym2956 := z.EncBinary() + _ = yym2956 if false { } else { - r.EncodeInt(int64(yy2922)) + r.EncodeInt(int64(yy2955)) } } } else { r.EncodeNil() } } else { - if yyq2895[7] { + if yyq2928[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2924 := *x.LimitBytes - yym2925 := z.EncBinary() - _ = yym2925 + yy2957 := *x.LimitBytes + yym2958 := z.EncBinary() + _ = yym2958 if false { } else { - r.EncodeInt(int64(yy2924)) + r.EncodeInt(int64(yy2957)) } } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[8] { - yym2927 := z.EncBinary() - _ = yym2927 + if yyq2928[8] { + yym2960 := z.EncBinary() + _ = yym2960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37003,23 +37518,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2895[8] { + if yyq2928[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2928 := z.EncBinary() - _ = yym2928 + yym2961 := z.EncBinary() + _ = yym2961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[9] { - yym2930 := z.EncBinary() - _ = yym2930 + if yyq2928[9] { + yym2963 := z.EncBinary() + _ = yym2963 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37028,19 +37543,19 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2895[9] { + if yyq2928[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2931 := z.EncBinary() - _ = yym2931 + yym2964 := z.EncBinary() + _ = yym2964 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2895 || yy2arr2895 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37053,25 +37568,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2932 := z.DecBinary() - _ = yym2932 + yym2965 := z.DecBinary() + _ = yym2965 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2933 := r.ContainerType() - if yyct2933 == codecSelferValueTypeMap1234 { - yyl2933 := r.ReadMapStart() - if yyl2933 == 0 { + yyct2966 := r.ContainerType() + if yyct2966 == codecSelferValueTypeMap1234 { + yyl2966 := r.ReadMapStart() + if yyl2966 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2933, d) + x.codecDecodeSelfFromMap(yyl2966, d) } - } else if yyct2933 == codecSelferValueTypeArray1234 { - yyl2933 := r.ReadArrayStart() - if yyl2933 == 0 { + } else if yyct2966 == codecSelferValueTypeArray1234 { + yyl2966 := r.ReadArrayStart() + if yyl2966 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2933, d) + x.codecDecodeSelfFromArray(yyl2966, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37083,12 +37598,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2934Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2934Slc - var yyhl2934 bool = l >= 0 - for yyj2934 := 0; ; yyj2934++ { - if yyhl2934 { - if yyj2934 >= l { + var yys2967Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2967Slc + var yyhl2967 bool = l >= 0 + for yyj2967 := 0; ; yyj2967++ { + if yyhl2967 { + if yyj2967 >= l { break } } else { @@ -37097,10 +37612,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2934Slc = r.DecodeBytes(yys2934Slc, true, true) - yys2934 := string(yys2934Slc) + yys2967Slc = r.DecodeBytes(yys2967Slc, true, true) + yys2967 := string(yys2967Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2934 { + switch yys2967 { case "container": if r.TryDecodeAsNil() { x.Container = "" @@ -37128,8 +37643,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2939 := z.DecBinary() - _ = yym2939 + yym2972 := z.DecBinary() + _ = yym2972 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -37144,13 +37659,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2941 := z.DecBinary() - _ = yym2941 + yym2974 := z.DecBinary() + _ = yym2974 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2941 { + } else if yym2974 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2941 && z.IsJSONHandle() { + } else if !yym2974 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -37171,8 +37686,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2944 := z.DecBinary() - _ = yym2944 + yym2977 := z.DecBinary() + _ = yym2977 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -37187,8 +37702,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2946 := z.DecBinary() - _ = yym2946 + yym2979 := z.DecBinary() + _ = yym2979 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) @@ -37207,9 +37722,9 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2934) - } // end switch yys2934 - } // end for yyj2934 + z.DecStructFieldNotFound(-1, yys2967) + } // end switch yys2967 + } // end for yyj2967 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37217,16 +37732,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2949 int - var yyb2949 bool - var yyhl2949 bool = l >= 0 - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + var yyj2982 int + var yyb2982 bool + var yyhl2982 bool = l >= 0 + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37236,13 +37751,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37252,13 +37767,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37268,13 +37783,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37287,20 +37802,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2954 := z.DecBinary() - _ = yym2954 + yym2987 := z.DecBinary() + _ = yym2987 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37313,25 +37828,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2956 := z.DecBinary() - _ = yym2956 + yym2989 := z.DecBinary() + _ = yym2989 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2956 { + } else if yym2989 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2956 && z.IsJSONHandle() { + } else if !yym2989 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37341,13 +37856,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37360,20 +37875,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2959 := z.DecBinary() - _ = yym2959 + yym2992 := z.DecBinary() + _ = yym2992 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37386,20 +37901,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2961 := z.DecBinary() - _ = yym2961 + yym2994 := z.DecBinary() + _ = yym2994 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37409,13 +37924,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37426,17 +37941,17 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj2949++ - if yyhl2949 { - yyb2949 = yyj2949 > l + yyj2982++ + if yyhl2982 { + yyb2982 = yyj2982 > l } else { - yyb2949 = r.CheckBreak() + yyb2982 = r.CheckBreak() } - if yyb2949 { + if yyb2982 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2949-1, "") + z.DecStructFieldNotFound(yyj2982-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37448,41 +37963,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2964 := z.EncBinary() - _ = yym2964 + yym2997 := z.EncBinary() + _ = yym2997 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2965 := !z.EncBinary() - yy2arr2965 := z.EncBasicHandle().StructToArray - var yyq2965 [7]bool - _, _, _ = yysep2965, yyq2965, yy2arr2965 - const yyr2965 bool = false - yyq2965[0] = x.Stdin != false - yyq2965[1] = x.Stdout != false - yyq2965[2] = x.Stderr != false - yyq2965[3] = x.TTY != false - yyq2965[4] = x.Container != "" - yyq2965[5] = x.Kind != "" - yyq2965[6] = x.APIVersion != "" - var yynn2965 int - if yyr2965 || yy2arr2965 { + yysep2998 := !z.EncBinary() + yy2arr2998 := z.EncBasicHandle().StructToArray + var yyq2998 [7]bool + _, _, _ = yysep2998, yyq2998, yy2arr2998 + const yyr2998 bool = false + yyq2998[0] = x.Stdin != false + yyq2998[1] = x.Stdout != false + yyq2998[2] = x.Stderr != false + yyq2998[3] = x.TTY != false + yyq2998[4] = x.Container != "" + yyq2998[5] = x.Kind != "" + yyq2998[6] = x.APIVersion != "" + var yynn2998 int + if yyr2998 || yy2arr2998 { r.EncodeArrayStart(7) } else { - yynn2965 = 0 - for _, b := range yyq2965 { + yynn2998 = 0 + for _, b := range yyq2998 { if b { - yynn2965++ + yynn2998++ } } - r.EncodeMapStart(yynn2965) - yynn2965 = 0 + r.EncodeMapStart(yynn2998) + yynn2998 = 0 } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[0] { - yym2967 := z.EncBinary() - _ = yym2967 + if yyq2998[0] { + yym3000 := z.EncBinary() + _ = yym3000 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -37491,23 +38006,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2965[0] { + if yyq2998[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2968 := z.EncBinary() - _ = yym2968 + yym3001 := z.EncBinary() + _ = yym3001 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[1] { - yym2970 := z.EncBinary() - _ = yym2970 + if yyq2998[1] { + yym3003 := z.EncBinary() + _ = yym3003 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -37516,23 +38031,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2965[1] { + if yyq2998[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2971 := z.EncBinary() - _ = yym2971 + yym3004 := z.EncBinary() + _ = yym3004 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[2] { - yym2973 := z.EncBinary() - _ = yym2973 + if yyq2998[2] { + yym3006 := z.EncBinary() + _ = yym3006 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -37541,23 +38056,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2965[2] { + if yyq2998[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2974 := z.EncBinary() - _ = yym2974 + yym3007 := z.EncBinary() + _ = yym3007 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[3] { - yym2976 := z.EncBinary() - _ = yym2976 + if yyq2998[3] { + yym3009 := z.EncBinary() + _ = yym3009 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -37566,23 +38081,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2965[3] { + if yyq2998[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2977 := z.EncBinary() - _ = yym2977 + yym3010 := z.EncBinary() + _ = yym3010 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[4] { - yym2979 := z.EncBinary() - _ = yym2979 + if yyq2998[4] { + yym3012 := z.EncBinary() + _ = yym3012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -37591,23 +38106,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2965[4] { + if yyq2998[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2980 := z.EncBinary() - _ = yym2980 + yym3013 := z.EncBinary() + _ = yym3013 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[5] { - yym2982 := z.EncBinary() - _ = yym2982 + if yyq2998[5] { + yym3015 := z.EncBinary() + _ = yym3015 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37616,23 +38131,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2965[5] { + if yyq2998[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2983 := z.EncBinary() - _ = yym2983 + yym3016 := z.EncBinary() + _ = yym3016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2965[6] { - yym2985 := z.EncBinary() - _ = yym2985 + if yyq2998[6] { + yym3018 := z.EncBinary() + _ = yym3018 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37641,19 +38156,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2965[6] { + if yyq2998[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2986 := z.EncBinary() - _ = yym2986 + yym3019 := z.EncBinary() + _ = yym3019 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2965 || yy2arr2965 { + if yyr2998 || yy2arr2998 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37666,25 +38181,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2987 := z.DecBinary() - _ = yym2987 + yym3020 := z.DecBinary() + _ = yym3020 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2988 := r.ContainerType() - if yyct2988 == codecSelferValueTypeMap1234 { - yyl2988 := r.ReadMapStart() - if yyl2988 == 0 { + yyct3021 := r.ContainerType() + if yyct3021 == codecSelferValueTypeMap1234 { + yyl3021 := r.ReadMapStart() + if yyl3021 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2988, d) + x.codecDecodeSelfFromMap(yyl3021, d) } - } else if yyct2988 == codecSelferValueTypeArray1234 { - yyl2988 := r.ReadArrayStart() - if yyl2988 == 0 { + } else if yyct3021 == codecSelferValueTypeArray1234 { + yyl3021 := r.ReadArrayStart() + if yyl3021 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2988, d) + x.codecDecodeSelfFromArray(yyl3021, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37696,12 +38211,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2989Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2989Slc - var yyhl2989 bool = l >= 0 - for yyj2989 := 0; ; yyj2989++ { - if yyhl2989 { - if yyj2989 >= l { + var yys3022Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3022Slc + var yyhl3022 bool = l >= 0 + for yyj3022 := 0; ; yyj3022++ { + if yyhl3022 { + if yyj3022 >= l { break } } else { @@ -37710,10 +38225,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2989Slc = r.DecodeBytes(yys2989Slc, true, true) - yys2989 := string(yys2989Slc) + yys3022Slc = r.DecodeBytes(yys3022Slc, true, true) + yys3022 := string(yys3022Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2989 { + switch yys3022 { case "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -37757,9 +38272,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2989) - } // end switch yys2989 - } // end for yyj2989 + z.DecStructFieldNotFound(-1, yys3022) + } // end switch yys3022 + } // end for yyj3022 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37767,16 +38282,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2997 int - var yyb2997 bool - var yyhl2997 bool = l >= 0 - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + var yyj3030 int + var yyb3030 bool + var yyhl3030 bool = l >= 0 + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37786,13 +38301,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37802,13 +38317,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37818,13 +38333,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37834,13 +38349,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37850,13 +38365,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Container = string(r.DecodeString()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37866,13 +38381,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37883,17 +38398,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj2997++ - if yyhl2997 { - yyb2997 = yyj2997 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb2997 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb2997 { + if yyb3030 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2997-1, "") + z.DecStructFieldNotFound(yyj3030-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37905,41 +38420,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3005 := z.EncBinary() - _ = yym3005 + yym3038 := z.EncBinary() + _ = yym3038 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3006 := !z.EncBinary() - yy2arr3006 := z.EncBasicHandle().StructToArray - var yyq3006 [8]bool - _, _, _ = yysep3006, yyq3006, yy2arr3006 - const yyr3006 bool = false - yyq3006[0] = x.Stdin != false - yyq3006[1] = x.Stdout != false - yyq3006[2] = x.Stderr != false - yyq3006[3] = x.TTY != false - yyq3006[4] = x.Container != "" - yyq3006[6] = x.Kind != "" - yyq3006[7] = x.APIVersion != "" - var yynn3006 int - if yyr3006 || yy2arr3006 { + yysep3039 := !z.EncBinary() + yy2arr3039 := z.EncBasicHandle().StructToArray + var yyq3039 [8]bool + _, _, _ = yysep3039, yyq3039, yy2arr3039 + const yyr3039 bool = false + yyq3039[0] = x.Stdin != false + yyq3039[1] = x.Stdout != false + yyq3039[2] = x.Stderr != false + yyq3039[3] = x.TTY != false + yyq3039[4] = x.Container != "" + yyq3039[6] = x.Kind != "" + yyq3039[7] = x.APIVersion != "" + var yynn3039 int + if yyr3039 || yy2arr3039 { r.EncodeArrayStart(8) } else { - yynn3006 = 1 - for _, b := range yyq3006 { + yynn3039 = 1 + for _, b := range yyq3039 { if b { - yynn3006++ + yynn3039++ } } - r.EncodeMapStart(yynn3006) - yynn3006 = 0 + r.EncodeMapStart(yynn3039) + yynn3039 = 0 } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[0] { - yym3008 := z.EncBinary() - _ = yym3008 + if yyq3039[0] { + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -37948,23 +38463,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3006[0] { + if yyq3039[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3009 := z.EncBinary() - _ = yym3009 + yym3042 := z.EncBinary() + _ = yym3042 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[1] { - yym3011 := z.EncBinary() - _ = yym3011 + if yyq3039[1] { + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -37973,23 +38488,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3006[1] { + if yyq3039[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3012 := z.EncBinary() - _ = yym3012 + yym3045 := z.EncBinary() + _ = yym3045 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[2] { - yym3014 := z.EncBinary() - _ = yym3014 + if yyq3039[2] { + yym3047 := z.EncBinary() + _ = yym3047 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -37998,23 +38513,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3006[2] { + if yyq3039[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3015 := z.EncBinary() - _ = yym3015 + yym3048 := z.EncBinary() + _ = yym3048 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[3] { - yym3017 := z.EncBinary() - _ = yym3017 + if yyq3039[3] { + yym3050 := z.EncBinary() + _ = yym3050 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -38023,23 +38538,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3006[3] { + if yyq3039[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3018 := z.EncBinary() - _ = yym3018 + yym3051 := z.EncBinary() + _ = yym3051 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[4] { - yym3020 := z.EncBinary() - _ = yym3020 + if yyq3039[4] { + yym3053 := z.EncBinary() + _ = yym3053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -38048,25 +38563,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[4] { + if yyq3039[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3021 := z.EncBinary() - _ = yym3021 + yym3054 := z.EncBinary() + _ = yym3054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3023 := z.EncBinary() - _ = yym3023 + yym3056 := z.EncBinary() + _ = yym3056 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -38079,19 +38594,19 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3024 := z.EncBinary() - _ = yym3024 + yym3057 := z.EncBinary() + _ = yym3057 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[6] { - yym3026 := z.EncBinary() - _ = yym3026 + if yyq3039[6] { + yym3059 := z.EncBinary() + _ = yym3059 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -38100,23 +38615,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[6] { + if yyq3039[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3027 := z.EncBinary() - _ = yym3027 + yym3060 := z.EncBinary() + _ = yym3060 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[7] { - yym3029 := z.EncBinary() - _ = yym3029 + if yyq3039[7] { + yym3062 := z.EncBinary() + _ = yym3062 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -38125,19 +38640,19 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[7] { + if yyq3039[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3030 := z.EncBinary() - _ = yym3030 + yym3063 := z.EncBinary() + _ = yym3063 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3006 || yy2arr3006 { + if yyr3039 || yy2arr3039 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38150,25 +38665,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3031 := z.DecBinary() - _ = yym3031 + yym3064 := z.DecBinary() + _ = yym3064 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3032 := r.ContainerType() - if yyct3032 == codecSelferValueTypeMap1234 { - yyl3032 := r.ReadMapStart() - if yyl3032 == 0 { + yyct3065 := r.ContainerType() + if yyct3065 == codecSelferValueTypeMap1234 { + yyl3065 := r.ReadMapStart() + if yyl3065 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3032, d) + x.codecDecodeSelfFromMap(yyl3065, d) } - } else if yyct3032 == codecSelferValueTypeArray1234 { - yyl3032 := r.ReadArrayStart() - if yyl3032 == 0 { + } else if yyct3065 == codecSelferValueTypeArray1234 { + yyl3065 := r.ReadArrayStart() + if yyl3065 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3032, d) + x.codecDecodeSelfFromArray(yyl3065, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38180,12 +38695,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3033Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3033Slc - var yyhl3033 bool = l >= 0 - for yyj3033 := 0; ; yyj3033++ { - if yyhl3033 { - if yyj3033 >= l { + var yys3066Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3066Slc + var yyhl3066 bool = l >= 0 + for yyj3066 := 0; ; yyj3066++ { + if yyhl3066 { + if yyj3066 >= l { break } } else { @@ -38194,10 +38709,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3033Slc = r.DecodeBytes(yys3033Slc, true, true) - yys3033 := string(yys3033Slc) + yys3066Slc = r.DecodeBytes(yys3066Slc, true, true) + yys3066 := string(yys3066Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3033 { + switch yys3066 { case "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -38232,12 +38747,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3039 := &x.Command - yym3040 := z.DecBinary() - _ = yym3040 + yyv3072 := &x.Command + yym3073 := z.DecBinary() + _ = yym3073 if false { } else { - z.F.DecSliceStringX(yyv3039, false, d) + z.F.DecSliceStringX(yyv3072, false, d) } } case "kind": @@ -38252,357 +38767,6 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - default: - z.DecStructFieldNotFound(-1, yys3033) - } // end switch yys3033 - } // end for yyj3033 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3043 int - var yyb3043 bool - var yyhl3043 bool = l >= 0 - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Command = nil - } else { - yyv3049 := &x.Command - yym3050 := z.DecBinary() - _ = yym3050 - if false { - } else { - z.F.DecSliceStringX(yyv3049, false, d) - } - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj3043++ - if yyhl3043 { - yyb3043 = yyj3043 > l - } else { - yyb3043 = r.CheckBreak() - } - if yyb3043 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3043-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3053 := z.EncBinary() - _ = yym3053 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3054 := !z.EncBinary() - yy2arr3054 := z.EncBasicHandle().StructToArray - var yyq3054 [3]bool - _, _, _ = yysep3054, yyq3054, yy2arr3054 - const yyr3054 bool = false - yyq3054[0] = x.Path != "" - yyq3054[1] = x.Kind != "" - yyq3054[2] = x.APIVersion != "" - var yynn3054 int - if yyr3054 || yy2arr3054 { - r.EncodeArrayStart(3) - } else { - yynn3054 = 0 - for _, b := range yyq3054 { - if b { - yynn3054++ - } - } - r.EncodeMapStart(yynn3054) - yynn3054 = 0 - } - if yyr3054 || yy2arr3054 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3054[0] { - yym3056 := z.EncBinary() - _ = yym3056 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3054[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3057 := z.EncBinary() - _ = yym3057 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr3054 || yy2arr3054 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3054[1] { - yym3059 := z.EncBinary() - _ = yym3059 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3054[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3060 := z.EncBinary() - _ = yym3060 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3054 || yy2arr3054 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3054[2] { - yym3062 := z.EncBinary() - _ = yym3062 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3054[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3063 := z.EncBinary() - _ = yym3063 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3054 || yy2arr3054 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3064 := z.DecBinary() - _ = yym3064 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3065 := r.ContainerType() - if yyct3065 == codecSelferValueTypeMap1234 { - yyl3065 := r.ReadMapStart() - if yyl3065 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3065, d) - } - } else if yyct3065 == codecSelferValueTypeArray1234 { - yyl3065 := r.ReadArrayStart() - if yyl3065 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3065, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3066Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3066Slc - var yyhl3066 bool = l >= 0 - for yyj3066 := 0; ; yyj3066++ { - if yyhl3066 { - if yyj3066 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3066Slc = r.DecodeBytes(yys3066Slc, true, true) - yys3066 := string(yys3066Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3066 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - 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()) - } default: z.DecStructFieldNotFound(-1, yys3066) } // end switch yys3066 @@ -38610,36 +38774,122 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3070 int - var yyb3070 bool - var yyhl3070 bool = l >= 0 - yyj3070++ - if yyhl3070 { - yyb3070 = yyj3070 > l + var yyj3076 int + var yyb3076 bool + var yyhl3076 bool = l >= 0 + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l } else { - yyb3070 = r.CheckBreak() + yyb3076 = r.CheckBreak() } - if yyb3070 { + if yyb3076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Path = "" + x.Stdin = false } else { - x.Path = string(r.DecodeString()) + x.Stdin = bool(r.DecodeBool()) } - yyj3070++ - if yyhl3070 { - yyb3070 = yyj3070 > l + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l } else { - yyb3070 = r.CheckBreak() + yyb3076 = r.CheckBreak() } - if yyb3070 { + if yyb3076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l + } else { + yyb3076 = r.CheckBreak() + } + if yyb3076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l + } else { + yyb3076 = r.CheckBreak() + } + if yyb3076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l + } else { + yyb3076 = r.CheckBreak() + } + if yyb3076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l + } else { + yyb3076 = r.CheckBreak() + } + if yyb3076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Command = nil + } else { + yyv3082 := &x.Command + yym3083 := z.DecBinary() + _ = yym3083 + if false { + } else { + z.F.DecSliceStringX(yyv3082, false, d) + } + } + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l + } else { + yyb3076 = r.CheckBreak() + } + if yyb3076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38649,13 +38899,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3070++ - if yyhl3070 { - yyb3070 = yyj3070 > l + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l } else { - yyb3070 = r.CheckBreak() + yyb3076 = r.CheckBreak() } - if yyb3070 { + if yyb3076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38666,236 +38916,130 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3070++ - if yyhl3070 { - yyb3070 = yyj3070 > l + yyj3076++ + if yyhl3076 { + yyb3076 = yyj3076 > l } else { - yyb3070 = r.CheckBreak() + yyb3076 = r.CheckBreak() } - if yyb3070 { + if yyb3076 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3070-1, "") + z.DecStructFieldNotFound(yyj3076-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3074 := z.EncBinary() - _ = yym3074 + yym3086 := z.EncBinary() + _ = yym3086 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3075 := !z.EncBinary() - yy2arr3075 := z.EncBasicHandle().StructToArray - var yyq3075 [7]bool - _, _, _ = yysep3075, yyq3075, yy2arr3075 - const yyr3075 bool = false - yyq3075[0] = x.Kind != "" - yyq3075[1] = x.Namespace != "" - yyq3075[2] = x.Name != "" - yyq3075[3] = x.UID != "" - yyq3075[4] = x.APIVersion != "" - yyq3075[5] = x.ResourceVersion != "" - yyq3075[6] = x.FieldPath != "" - var yynn3075 int - if yyr3075 || yy2arr3075 { - r.EncodeArrayStart(7) + yysep3087 := !z.EncBinary() + yy2arr3087 := z.EncBasicHandle().StructToArray + var yyq3087 [3]bool + _, _, _ = yysep3087, yyq3087, yy2arr3087 + const yyr3087 bool = false + yyq3087[0] = x.Path != "" + yyq3087[1] = x.Kind != "" + yyq3087[2] = x.APIVersion != "" + var yynn3087 int + if yyr3087 || yy2arr3087 { + r.EncodeArrayStart(3) } else { - yynn3075 = 0 - for _, b := range yyq3075 { + yynn3087 = 0 + for _, b := range yyq3087 { if b { - yynn3075++ + yynn3087++ } } - r.EncodeMapStart(yynn3075) - yynn3075 = 0 + r.EncodeMapStart(yynn3087) + yynn3087 = 0 } - if yyr3075 || yy2arr3075 { + if yyr3087 || yy2arr3087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[0] { - yym3077 := z.EncBinary() - _ = yym3077 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3075[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3078 := z.EncBinary() - _ = yym3078 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3075 || yy2arr3075 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[1] { - yym3080 := z.EncBinary() - _ = yym3080 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3075[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespace")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3081 := z.EncBinary() - _ = yym3081 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } - } - if yyr3075 || yy2arr3075 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[2] { - yym3083 := z.EncBinary() - _ = yym3083 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3075[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3084 := z.EncBinary() - _ = yym3084 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr3075 || yy2arr3075 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[3] { - yym3086 := z.EncBinary() - _ = yym3086 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3075[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3087 := z.EncBinary() - _ = yym3087 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr3075 || yy2arr3075 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[4] { + if yyq3087[0] { yym3089 := z.EncBinary() _ = yym3089 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3075[4] { + if yyq3087[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3090 := z.EncBinary() _ = yym3090 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3075 || yy2arr3075 { + if yyr3087 || yy2arr3087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[5] { + if yyq3087[1] { yym3092 := z.EncBinary() _ = yym3092 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3075[5] { + if yyq3087[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3093 := z.EncBinary() _ = yym3093 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3075 || yy2arr3075 { + if yyr3087 || yy2arr3087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3075[6] { + if yyq3087[2] { yym3095 := z.EncBinary() _ = yym3095 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3075[6] { + if yyq3087[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym3096 := z.EncBinary() _ = yym3096 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3075 || yy2arr3075 { + if yyr3087 || yy2arr3087 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38904,7 +39048,7 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38934,7 +39078,7 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38956,6 +39100,377 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3099 := string(yys3099Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3099 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + 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()) + } + default: + z.DecStructFieldNotFound(-1, yys3099) + } // end switch yys3099 + } // end for yyj3099 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3103 int + var yyb3103 bool + var yyhl3103 bool = l >= 0 + yyj3103++ + if yyhl3103 { + yyb3103 = yyj3103 > l + } else { + yyb3103 = r.CheckBreak() + } + if yyb3103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj3103++ + if yyhl3103 { + yyb3103 = yyj3103 > l + } else { + yyb3103 = r.CheckBreak() + } + if yyb3103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3103++ + if yyhl3103 { + yyb3103 = yyj3103 > l + } else { + yyb3103 = r.CheckBreak() + } + if yyb3103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + for { + yyj3103++ + if yyhl3103 { + yyb3103 = yyj3103 > l + } else { + yyb3103 = r.CheckBreak() + } + if yyb3103 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3103-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3107 := z.EncBinary() + _ = yym3107 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3108 := !z.EncBinary() + yy2arr3108 := z.EncBasicHandle().StructToArray + var yyq3108 [7]bool + _, _, _ = yysep3108, yyq3108, yy2arr3108 + const yyr3108 bool = false + yyq3108[0] = x.Kind != "" + yyq3108[1] = x.Namespace != "" + yyq3108[2] = x.Name != "" + yyq3108[3] = x.UID != "" + yyq3108[4] = x.APIVersion != "" + yyq3108[5] = x.ResourceVersion != "" + yyq3108[6] = x.FieldPath != "" + var yynn3108 int + if yyr3108 || yy2arr3108 { + r.EncodeArrayStart(7) + } else { + yynn3108 = 0 + for _, b := range yyq3108 { + if b { + yynn3108++ + } + } + r.EncodeMapStart(yynn3108) + yynn3108 = 0 + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[0] { + yym3110 := z.EncBinary() + _ = yym3110 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3111 := z.EncBinary() + _ = yym3111 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[1] { + yym3113 := z.EncBinary() + _ = yym3113 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3114 := z.EncBinary() + _ = yym3114 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[2] { + yym3116 := z.EncBinary() + _ = yym3116 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3117 := z.EncBinary() + _ = yym3117 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[3] { + yym3119 := z.EncBinary() + _ = yym3119 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3120 := z.EncBinary() + _ = yym3120 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[4] { + yym3122 := z.EncBinary() + _ = yym3122 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3123 := z.EncBinary() + _ = yym3123 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[5] { + yym3125 := z.EncBinary() + _ = yym3125 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3126 := z.EncBinary() + _ = yym3126 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3108[6] { + yym3128 := z.EncBinary() + _ = yym3128 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3108[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3129 := z.EncBinary() + _ = yym3129 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) + } + } + } + if yyr3108 || yy2arr3108 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3130 := z.DecBinary() + _ = yym3130 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3131 := r.ContainerType() + if yyct3131 == codecSelferValueTypeMap1234 { + yyl3131 := r.ReadMapStart() + if yyl3131 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3131, d) + } + } else if yyct3131 == codecSelferValueTypeArray1234 { + yyl3131 := r.ReadArrayStart() + if yyl3131 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3131, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3132Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3132Slc + var yyhl3132 bool = l >= 0 + for yyj3132 := 0; ; yyj3132++ { + if yyhl3132 { + if yyj3132 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3132Slc = r.DecodeBytes(yys3132Slc, true, true) + yys3132 := string(yys3132Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3132 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -38999,9 +39514,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3099) - } // end switch yys3099 - } // end for yyj3099 + z.DecStructFieldNotFound(-1, yys3132) + } // end switch yys3132 + } // end for yyj3132 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39009,16 +39524,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3107 int - var yyb3107 bool - var yyhl3107 bool = l >= 0 - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + var yyj3140 int + var yyb3140 bool + var yyhl3140 bool = l >= 0 + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39028,13 +39543,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39044,13 +39559,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39060,13 +39575,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39076,13 +39591,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39092,13 +39607,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39108,13 +39623,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39125,17 +39640,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3107++ - if yyhl3107 { - yyb3107 = yyj3107 > l + yyj3140++ + if yyhl3140 { + yyb3140 = yyj3140 > l } else { - yyb3107 = r.CheckBreak() + yyb3140 = r.CheckBreak() } - if yyb3107 { + if yyb3140 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3107-1, "") + z.DecStructFieldNotFound(yyj3140-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39147,35 +39662,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3115 := z.EncBinary() - _ = yym3115 + yym3148 := z.EncBinary() + _ = yym3148 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3116 := !z.EncBinary() - yy2arr3116 := z.EncBasicHandle().StructToArray - var yyq3116 [1]bool - _, _, _ = yysep3116, yyq3116, yy2arr3116 - const yyr3116 bool = false - yyq3116[0] = x.Name != "" - var yynn3116 int - if yyr3116 || yy2arr3116 { + yysep3149 := !z.EncBinary() + yy2arr3149 := z.EncBasicHandle().StructToArray + var yyq3149 [1]bool + _, _, _ = yysep3149, yyq3149, yy2arr3149 + const yyr3149 bool = false + yyq3149[0] = x.Name != "" + var yynn3149 int + if yyr3149 || yy2arr3149 { r.EncodeArrayStart(1) } else { - yynn3116 = 0 - for _, b := range yyq3116 { + yynn3149 = 0 + for _, b := range yyq3149 { if b { - yynn3116++ + yynn3149++ } } - r.EncodeMapStart(yynn3116) - yynn3116 = 0 + r.EncodeMapStart(yynn3149) + yynn3149 = 0 } - if yyr3116 || yy2arr3116 { + if yyr3149 || yy2arr3149 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3116[0] { - yym3118 := z.EncBinary() - _ = yym3118 + if yyq3149[0] { + yym3151 := z.EncBinary() + _ = yym3151 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -39184,19 +39699,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3116[0] { + if yyq3149[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3119 := z.EncBinary() - _ = yym3119 + yym3152 := z.EncBinary() + _ = yym3152 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3116 || yy2arr3116 { + if yyr3149 || yy2arr3149 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39209,25 +39724,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3120 := z.DecBinary() - _ = yym3120 + yym3153 := z.DecBinary() + _ = yym3153 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3121 := r.ContainerType() - if yyct3121 == codecSelferValueTypeMap1234 { - yyl3121 := r.ReadMapStart() - if yyl3121 == 0 { + yyct3154 := r.ContainerType() + if yyct3154 == codecSelferValueTypeMap1234 { + yyl3154 := r.ReadMapStart() + if yyl3154 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3121, d) + x.codecDecodeSelfFromMap(yyl3154, d) } - } else if yyct3121 == codecSelferValueTypeArray1234 { - yyl3121 := r.ReadArrayStart() - if yyl3121 == 0 { + } else if yyct3154 == codecSelferValueTypeArray1234 { + yyl3154 := r.ReadArrayStart() + if yyl3154 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3121, d) + x.codecDecodeSelfFromArray(yyl3154, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39239,12 +39754,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3122Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3122Slc - var yyhl3122 bool = l >= 0 - for yyj3122 := 0; ; yyj3122++ { - if yyhl3122 { - if yyj3122 >= l { + var yys3155Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3155Slc + var yyhl3155 bool = l >= 0 + for yyj3155 := 0; ; yyj3155++ { + if yyhl3155 { + if yyj3155 >= l { break } } else { @@ -39253,10 +39768,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3122Slc = r.DecodeBytes(yys3122Slc, true, true) - yys3122 := string(yys3122Slc) + yys3155Slc = r.DecodeBytes(yys3155Slc, true, true) + yys3155 := string(yys3155Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3122 { + switch yys3155 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -39264,9 +39779,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3122) - } // end switch yys3122 - } // end for yyj3122 + z.DecStructFieldNotFound(-1, yys3155) + } // end switch yys3155 + } // end for yyj3155 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39274,16 +39789,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3124 int - var yyb3124 bool - var yyhl3124 bool = l >= 0 - yyj3124++ - if yyhl3124 { - yyb3124 = yyj3124 > l + var yyj3157 int + var yyb3157 bool + var yyhl3157 bool = l >= 0 + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l } else { - yyb3124 = r.CheckBreak() + yyb3157 = r.CheckBreak() } - if yyb3124 { + if yyb3157 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39294,17 +39809,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3124++ - if yyhl3124 { - yyb3124 = yyj3124 > l + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l } else { - yyb3124 = r.CheckBreak() + yyb3157 = r.CheckBreak() } - if yyb3124 { + if yyb3157 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3124-1, "") + z.DecStructFieldNotFound(yyj3157-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39316,54 +39831,54 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3126 := z.EncBinary() - _ = yym3126 + yym3159 := z.EncBinary() + _ = yym3159 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3127 := !z.EncBinary() - yy2arr3127 := z.EncBasicHandle().StructToArray - var yyq3127 [3]bool - _, _, _ = yysep3127, yyq3127, yy2arr3127 - const yyr3127 bool = false - yyq3127[0] = true - yyq3127[1] = x.Kind != "" - yyq3127[2] = x.APIVersion != "" - var yynn3127 int - if yyr3127 || yy2arr3127 { + yysep3160 := !z.EncBinary() + yy2arr3160 := z.EncBasicHandle().StructToArray + var yyq3160 [3]bool + _, _, _ = yysep3160, yyq3160, yy2arr3160 + const yyr3160 bool = false + yyq3160[0] = true + yyq3160[1] = x.Kind != "" + yyq3160[2] = x.APIVersion != "" + var yynn3160 int + if yyr3160 || yy2arr3160 { r.EncodeArrayStart(3) } else { - yynn3127 = 0 - for _, b := range yyq3127 { + yynn3160 = 0 + for _, b := range yyq3160 { if b { - yynn3127++ + yynn3160++ } } - r.EncodeMapStart(yynn3127) - yynn3127 = 0 + r.EncodeMapStart(yynn3160) + yynn3160 = 0 } - if yyr3127 || yy2arr3127 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3127[0] { - yy3129 := &x.Reference - yy3129.CodecEncodeSelf(e) + if yyq3160[0] { + yy3162 := &x.Reference + yy3162.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3127[0] { + if yyq3160[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3130 := &x.Reference - yy3130.CodecEncodeSelf(e) + yy3163 := &x.Reference + yy3163.CodecEncodeSelf(e) } } - if yyr3127 || yy2arr3127 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3127[1] { - yym3132 := z.EncBinary() - _ = yym3132 + if yyq3160[1] { + yym3165 := z.EncBinary() + _ = yym3165 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39372,23 +39887,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3127[1] { + if yyq3160[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3133 := z.EncBinary() - _ = yym3133 + yym3166 := z.EncBinary() + _ = yym3166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3127 || yy2arr3127 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3127[2] { - yym3135 := z.EncBinary() - _ = yym3135 + if yyq3160[2] { + yym3168 := z.EncBinary() + _ = yym3168 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39397,19 +39912,19 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3127[2] { + if yyq3160[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3136 := z.EncBinary() - _ = yym3136 + yym3169 := z.EncBinary() + _ = yym3169 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3127 || yy2arr3127 { + if yyr3160 || yy2arr3160 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39422,25 +39937,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3137 := z.DecBinary() - _ = yym3137 + yym3170 := z.DecBinary() + _ = yym3170 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3138 := r.ContainerType() - if yyct3138 == codecSelferValueTypeMap1234 { - yyl3138 := r.ReadMapStart() - if yyl3138 == 0 { + yyct3171 := r.ContainerType() + if yyct3171 == codecSelferValueTypeMap1234 { + yyl3171 := r.ReadMapStart() + if yyl3171 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3138, d) + x.codecDecodeSelfFromMap(yyl3171, d) } - } else if yyct3138 == codecSelferValueTypeArray1234 { - yyl3138 := r.ReadArrayStart() - if yyl3138 == 0 { + } else if yyct3171 == codecSelferValueTypeArray1234 { + yyl3171 := r.ReadArrayStart() + if yyl3171 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3138, d) + x.codecDecodeSelfFromArray(yyl3171, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39452,12 +39967,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3139Slc - var yyhl3139 bool = l >= 0 - for yyj3139 := 0; ; yyj3139++ { - if yyhl3139 { - if yyj3139 >= l { + var yys3172Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3172Slc + var yyhl3172 bool = l >= 0 + for yyj3172 := 0; ; yyj3172++ { + if yyhl3172 { + if yyj3172 >= l { break } } else { @@ -39466,16 +39981,16 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3139Slc = r.DecodeBytes(yys3139Slc, true, true) - yys3139 := string(yys3139Slc) + yys3172Slc = r.DecodeBytes(yys3172Slc, true, true) + yys3172 := string(yys3172Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3139 { + switch yys3172 { case "reference": if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3140 := &x.Reference - yyv3140.CodecDecodeSelf(d) + yyv3173 := &x.Reference + yyv3173.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -39490,9 +40005,9 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3139) - } // end switch yys3139 - } // end for yyj3139 + z.DecStructFieldNotFound(-1, yys3172) + } // end switch yys3172 + } // end for yyj3172 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39500,16 +40015,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3143 int - var yyb3143 bool - var yyhl3143 bool = l >= 0 - yyj3143++ - if yyhl3143 { - yyb3143 = yyj3143 > l + var yyj3176 int + var yyb3176 bool + var yyhl3176 bool = l >= 0 + yyj3176++ + if yyhl3176 { + yyb3176 = yyj3176 > l } else { - yyb3143 = r.CheckBreak() + yyb3176 = r.CheckBreak() } - if yyb3143 { + if yyb3176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39517,16 +40032,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3144 := &x.Reference - yyv3144.CodecDecodeSelf(d) + yyv3177 := &x.Reference + yyv3177.CodecDecodeSelf(d) } - yyj3143++ - if yyhl3143 { - yyb3143 = yyj3143 > l + yyj3176++ + if yyhl3176 { + yyb3176 = yyj3176 > l } else { - yyb3143 = r.CheckBreak() + yyb3176 = r.CheckBreak() } - if yyb3143 { + if yyb3176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39536,13 +40051,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3143++ - if yyhl3143 { - yyb3143 = yyj3143 > l + yyj3176++ + if yyhl3176 { + yyb3176 = yyj3176 > l } else { - yyb3143 = r.CheckBreak() + yyb3176 = r.CheckBreak() } - if yyb3143 { + if yyb3176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39553,17 +40068,17 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.APIVersion = string(r.DecodeString()) } for { - yyj3143++ - if yyhl3143 { - yyb3143 = yyj3143 > l + yyj3176++ + if yyhl3176 { + yyb3176 = yyj3176 > l } else { - yyb3143 = r.CheckBreak() + yyb3176 = r.CheckBreak() } - if yyb3143 { + if yyb3176 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3143-1, "") + z.DecStructFieldNotFound(yyj3176-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39575,36 +40090,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3147 := z.EncBinary() - _ = yym3147 + yym3180 := z.EncBinary() + _ = yym3180 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3148 := !z.EncBinary() - yy2arr3148 := z.EncBasicHandle().StructToArray - var yyq3148 [2]bool - _, _, _ = yysep3148, yyq3148, yy2arr3148 - const yyr3148 bool = false - yyq3148[0] = x.Component != "" - yyq3148[1] = x.Host != "" - var yynn3148 int - if yyr3148 || yy2arr3148 { + yysep3181 := !z.EncBinary() + yy2arr3181 := z.EncBasicHandle().StructToArray + var yyq3181 [2]bool + _, _, _ = yysep3181, yyq3181, yy2arr3181 + const yyr3181 bool = false + yyq3181[0] = x.Component != "" + yyq3181[1] = x.Host != "" + var yynn3181 int + if yyr3181 || yy2arr3181 { r.EncodeArrayStart(2) } else { - yynn3148 = 0 - for _, b := range yyq3148 { + yynn3181 = 0 + for _, b := range yyq3181 { if b { - yynn3148++ + yynn3181++ } } - r.EncodeMapStart(yynn3148) - yynn3148 = 0 + r.EncodeMapStart(yynn3181) + yynn3181 = 0 } - if yyr3148 || yy2arr3148 { + if yyr3181 || yy2arr3181 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3148[0] { - yym3150 := z.EncBinary() - _ = yym3150 + if yyq3181[0] { + yym3183 := z.EncBinary() + _ = yym3183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -39613,23 +40128,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3148[0] { + if yyq3181[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3151 := z.EncBinary() - _ = yym3151 + yym3184 := z.EncBinary() + _ = yym3184 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3148 || yy2arr3148 { + if yyr3181 || yy2arr3181 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3148[1] { - yym3153 := z.EncBinary() - _ = yym3153 + if yyq3181[1] { + yym3186 := z.EncBinary() + _ = yym3186 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -39638,19 +40153,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3148[1] { + if yyq3181[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3154 := z.EncBinary() - _ = yym3154 + yym3187 := z.EncBinary() + _ = yym3187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3148 || yy2arr3148 { + if yyr3181 || yy2arr3181 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39663,25 +40178,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3155 := z.DecBinary() - _ = yym3155 + yym3188 := z.DecBinary() + _ = yym3188 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3156 := r.ContainerType() - if yyct3156 == codecSelferValueTypeMap1234 { - yyl3156 := r.ReadMapStart() - if yyl3156 == 0 { + yyct3189 := r.ContainerType() + if yyct3189 == codecSelferValueTypeMap1234 { + yyl3189 := r.ReadMapStart() + if yyl3189 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3156, d) + x.codecDecodeSelfFromMap(yyl3189, d) } - } else if yyct3156 == codecSelferValueTypeArray1234 { - yyl3156 := r.ReadArrayStart() - if yyl3156 == 0 { + } else if yyct3189 == codecSelferValueTypeArray1234 { + yyl3189 := r.ReadArrayStart() + if yyl3189 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3156, d) + x.codecDecodeSelfFromArray(yyl3189, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39693,12 +40208,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3157Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3157Slc - var yyhl3157 bool = l >= 0 - for yyj3157 := 0; ; yyj3157++ { - if yyhl3157 { - if yyj3157 >= l { + var yys3190Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3190Slc + var yyhl3190 bool = l >= 0 + for yyj3190 := 0; ; yyj3190++ { + if yyhl3190 { + if yyj3190 >= l { break } } else { @@ -39707,10 +40222,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3157Slc = r.DecodeBytes(yys3157Slc, true, true) - yys3157 := string(yys3157Slc) + yys3190Slc = r.DecodeBytes(yys3190Slc, true, true) + yys3190 := string(yys3190Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3157 { + switch yys3190 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -39724,9 +40239,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3157) - } // end switch yys3157 - } // end for yyj3157 + z.DecStructFieldNotFound(-1, yys3190) + } // end switch yys3190 + } // end for yyj3190 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39734,16 +40249,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3160 int - var yyb3160 bool - var yyhl3160 bool = l >= 0 - yyj3160++ - if yyhl3160 { - yyb3160 = yyj3160 > l + var yyj3193 int + var yyb3193 bool + var yyhl3193 bool = l >= 0 + yyj3193++ + if yyhl3193 { + yyb3193 = yyj3193 > l } else { - yyb3160 = r.CheckBreak() + yyb3193 = r.CheckBreak() } - if yyb3160 { + if yyb3193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39753,13 +40268,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3160++ - if yyhl3160 { - yyb3160 = yyj3160 > l + yyj3193++ + if yyhl3193 { + yyb3193 = yyj3193 > l } else { - yyb3160 = r.CheckBreak() + yyb3193 = r.CheckBreak() } - if yyb3160 { + if yyb3193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39770,17 +40285,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3160++ - if yyhl3160 { - yyb3160 = yyj3160 > l + yyj3193++ + if yyhl3193 { + yyb3193 = yyj3193 > l } else { - yyb3160 = r.CheckBreak() + yyb3193 = r.CheckBreak() } - if yyb3160 { + if yyb3193 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3160-1, "") + z.DecStructFieldNotFound(yyj3193-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39792,65 +40307,65 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3163 := z.EncBinary() - _ = yym3163 + yym3196 := z.EncBinary() + _ = yym3196 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3164 := !z.EncBinary() - yy2arr3164 := z.EncBasicHandle().StructToArray - var yyq3164 [11]bool - _, _, _ = yysep3164, yyq3164, yy2arr3164 - const yyr3164 bool = false - yyq3164[2] = x.Reason != "" - yyq3164[3] = x.Message != "" - yyq3164[4] = true - yyq3164[5] = true - yyq3164[6] = true - yyq3164[7] = x.Count != 0 - yyq3164[8] = x.Type != "" - yyq3164[9] = x.Kind != "" - yyq3164[10] = x.APIVersion != "" - var yynn3164 int - if yyr3164 || yy2arr3164 { + yysep3197 := !z.EncBinary() + yy2arr3197 := z.EncBasicHandle().StructToArray + var yyq3197 [11]bool + _, _, _ = yysep3197, yyq3197, yy2arr3197 + const yyr3197 bool = false + yyq3197[2] = x.Reason != "" + yyq3197[3] = x.Message != "" + yyq3197[4] = true + yyq3197[5] = true + yyq3197[6] = true + yyq3197[7] = x.Count != 0 + yyq3197[8] = x.Type != "" + yyq3197[9] = x.Kind != "" + yyq3197[10] = x.APIVersion != "" + var yynn3197 int + if yyr3197 || yy2arr3197 { r.EncodeArrayStart(11) } else { - yynn3164 = 2 - for _, b := range yyq3164 { + yynn3197 = 2 + for _, b := range yyq3197 { if b { - yynn3164++ + yynn3197++ } } - r.EncodeMapStart(yynn3164) - yynn3164 = 0 + r.EncodeMapStart(yynn3197) + yynn3197 = 0 } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3166 := &x.ObjectMeta - yy3166.CodecEncodeSelf(e) + yy3199 := &x.ObjectMeta + yy3199.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3167 := &x.ObjectMeta - yy3167.CodecEncodeSelf(e) + yy3200 := &x.ObjectMeta + yy3200.CodecEncodeSelf(e) } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3169 := &x.InvolvedObject - yy3169.CodecEncodeSelf(e) + yy3202 := &x.InvolvedObject + yy3202.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3170 := &x.InvolvedObject - yy3170.CodecEncodeSelf(e) + yy3203 := &x.InvolvedObject + yy3203.CodecEncodeSelf(e) } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[2] { - yym3172 := z.EncBinary() - _ = yym3172 + if yyq3197[2] { + yym3205 := z.EncBinary() + _ = yym3205 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -39859,23 +40374,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3164[2] { + if yyq3197[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3173 := z.EncBinary() - _ = yym3173 + yym3206 := z.EncBinary() + _ = yym3206 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[3] { - yym3175 := z.EncBinary() - _ = yym3175 + if yyq3197[3] { + yym3208 := z.EncBinary() + _ = yym3208 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -39884,114 +40399,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3164[3] { + if yyq3197[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3176 := z.EncBinary() - _ = yym3176 + yym3209 := z.EncBinary() + _ = yym3209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[4] { - yy3178 := &x.Source - yy3178.CodecEncodeSelf(e) + if yyq3197[4] { + yy3211 := &x.Source + yy3211.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3164[4] { + if yyq3197[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3179 := &x.Source - yy3179.CodecEncodeSelf(e) + yy3212 := &x.Source + yy3212.CodecEncodeSelf(e) } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[5] { - yy3181 := &x.FirstTimestamp - yym3182 := z.EncBinary() - _ = yym3182 + if yyq3197[5] { + yy3214 := &x.FirstTimestamp + yym3215 := z.EncBinary() + _ = yym3215 if false { - } else if z.HasExtensions() && z.EncExt(yy3181) { - } else if yym3182 { - z.EncBinaryMarshal(yy3181) - } else if !yym3182 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3181) + } else if z.HasExtensions() && z.EncExt(yy3214) { + } else if yym3215 { + z.EncBinaryMarshal(yy3214) + } else if !yym3215 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3214) } else { - z.EncFallback(yy3181) + z.EncFallback(yy3214) } } else { r.EncodeNil() } } else { - if yyq3164[5] { + if yyq3197[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3183 := &x.FirstTimestamp - yym3184 := z.EncBinary() - _ = yym3184 + yy3216 := &x.FirstTimestamp + yym3217 := z.EncBinary() + _ = yym3217 if false { - } else if z.HasExtensions() && z.EncExt(yy3183) { - } else if yym3184 { - z.EncBinaryMarshal(yy3183) - } else if !yym3184 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3183) + } else if z.HasExtensions() && z.EncExt(yy3216) { + } else if yym3217 { + z.EncBinaryMarshal(yy3216) + } else if !yym3217 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3216) } else { - z.EncFallback(yy3183) + z.EncFallback(yy3216) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[6] { - yy3186 := &x.LastTimestamp - yym3187 := z.EncBinary() - _ = yym3187 + if yyq3197[6] { + yy3219 := &x.LastTimestamp + yym3220 := z.EncBinary() + _ = yym3220 if false { - } else if z.HasExtensions() && z.EncExt(yy3186) { - } else if yym3187 { - z.EncBinaryMarshal(yy3186) - } else if !yym3187 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3186) + } else if z.HasExtensions() && z.EncExt(yy3219) { + } else if yym3220 { + z.EncBinaryMarshal(yy3219) + } else if !yym3220 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3219) } else { - z.EncFallback(yy3186) + z.EncFallback(yy3219) } } else { r.EncodeNil() } } else { - if yyq3164[6] { + if yyq3197[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3188 := &x.LastTimestamp - yym3189 := z.EncBinary() - _ = yym3189 + yy3221 := &x.LastTimestamp + yym3222 := z.EncBinary() + _ = yym3222 if false { - } else if z.HasExtensions() && z.EncExt(yy3188) { - } else if yym3189 { - z.EncBinaryMarshal(yy3188) - } else if !yym3189 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3188) + } else if z.HasExtensions() && z.EncExt(yy3221) { + } else if yym3222 { + z.EncBinaryMarshal(yy3221) + } else if !yym3222 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3221) } else { - z.EncFallback(yy3188) + z.EncFallback(yy3221) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[7] { - yym3191 := z.EncBinary() - _ = yym3191 + if yyq3197[7] { + yym3224 := z.EncBinary() + _ = yym3224 if false { } else { r.EncodeInt(int64(x.Count)) @@ -40000,23 +40515,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3164[7] { + if yyq3197[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3192 := z.EncBinary() - _ = yym3192 + yym3225 := z.EncBinary() + _ = yym3225 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[8] { - yym3194 := z.EncBinary() - _ = yym3194 + if yyq3197[8] { + yym3227 := z.EncBinary() + _ = yym3227 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -40025,23 +40540,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3164[8] { + if yyq3197[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3195 := z.EncBinary() - _ = yym3195 + yym3228 := z.EncBinary() + _ = yym3228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[9] { - yym3197 := z.EncBinary() - _ = yym3197 + if yyq3197[9] { + yym3230 := z.EncBinary() + _ = yym3230 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40050,23 +40565,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3164[9] { + if yyq3197[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3198 := z.EncBinary() - _ = yym3198 + yym3231 := z.EncBinary() + _ = yym3231 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3164[10] { - yym3200 := z.EncBinary() - _ = yym3200 + if yyq3197[10] { + yym3233 := z.EncBinary() + _ = yym3233 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40075,19 +40590,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3164[10] { + if yyq3197[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3201 := z.EncBinary() - _ = yym3201 + yym3234 := z.EncBinary() + _ = yym3234 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3164 || yy2arr3164 { + if yyr3197 || yy2arr3197 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40100,25 +40615,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3202 := z.DecBinary() - _ = yym3202 + yym3235 := z.DecBinary() + _ = yym3235 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3203 := r.ContainerType() - if yyct3203 == codecSelferValueTypeMap1234 { - yyl3203 := r.ReadMapStart() - if yyl3203 == 0 { + yyct3236 := r.ContainerType() + if yyct3236 == codecSelferValueTypeMap1234 { + yyl3236 := r.ReadMapStart() + if yyl3236 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3203, d) + x.codecDecodeSelfFromMap(yyl3236, d) } - } else if yyct3203 == codecSelferValueTypeArray1234 { - yyl3203 := r.ReadArrayStart() - if yyl3203 == 0 { + } else if yyct3236 == codecSelferValueTypeArray1234 { + yyl3236 := r.ReadArrayStart() + if yyl3236 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3203, d) + x.codecDecodeSelfFromArray(yyl3236, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40130,12 +40645,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3204Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3204Slc - var yyhl3204 bool = l >= 0 - for yyj3204 := 0; ; yyj3204++ { - if yyhl3204 { - if yyj3204 >= l { + var yys3237Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3237Slc + var yyhl3237 bool = l >= 0 + for yyj3237 := 0; ; yyj3237++ { + if yyhl3237 { + if yyj3237 >= l { break } } else { @@ -40144,23 +40659,23 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3204Slc = r.DecodeBytes(yys3204Slc, true, true) - yys3204 := string(yys3204Slc) + yys3237Slc = r.DecodeBytes(yys3237Slc, true, true) + yys3237 := string(yys3237Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3204 { + switch yys3237 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3205 := &x.ObjectMeta - yyv3205.CodecDecodeSelf(d) + yyv3238 := &x.ObjectMeta + yyv3238.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3206 := &x.InvolvedObject - yyv3206.CodecDecodeSelf(d) + yyv3239 := &x.InvolvedObject + yyv3239.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -40178,41 +40693,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3209 := &x.Source - yyv3209.CodecDecodeSelf(d) + yyv3242 := &x.Source + yyv3242.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3210 := &x.FirstTimestamp - yym3211 := z.DecBinary() - _ = yym3211 + yyv3243 := &x.FirstTimestamp + yym3244 := z.DecBinary() + _ = yym3244 if false { - } else if z.HasExtensions() && z.DecExt(yyv3210) { - } else if yym3211 { - z.DecBinaryUnmarshal(yyv3210) - } else if !yym3211 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3210) + } else if z.HasExtensions() && z.DecExt(yyv3243) { + } else if yym3244 { + z.DecBinaryUnmarshal(yyv3243) + } else if !yym3244 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3243) } else { - z.DecFallback(yyv3210, false) + z.DecFallback(yyv3243, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3212 := &x.LastTimestamp - yym3213 := z.DecBinary() - _ = yym3213 + yyv3245 := &x.LastTimestamp + yym3246 := z.DecBinary() + _ = yym3246 if false { - } else if z.HasExtensions() && z.DecExt(yyv3212) { - } else if yym3213 { - z.DecBinaryUnmarshal(yyv3212) - } else if !yym3213 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3212) + } else if z.HasExtensions() && z.DecExt(yyv3245) { + } else if yym3246 { + z.DecBinaryUnmarshal(yyv3245) + } else if !yym3246 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3245) } else { - z.DecFallback(yyv3212, false) + z.DecFallback(yyv3245, false) } } case "count": @@ -40240,9 +40755,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3204) - } // end switch yys3204 - } // end for yyj3204 + z.DecStructFieldNotFound(-1, yys3237) + } // end switch yys3237 + } // end for yyj3237 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40250,16 +40765,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3218 int - var yyb3218 bool - var yyhl3218 bool = l >= 0 - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + var yyj3251 int + var yyb3251 bool + var yyhl3251 bool = l >= 0 + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40267,16 +40782,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3219 := &x.ObjectMeta - yyv3219.CodecDecodeSelf(d) + yyv3252 := &x.ObjectMeta + yyv3252.CodecDecodeSelf(d) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40284,16 +40799,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3220 := &x.InvolvedObject - yyv3220.CodecDecodeSelf(d) + yyv3253 := &x.InvolvedObject + yyv3253.CodecDecodeSelf(d) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40303,13 +40818,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40319,13 +40834,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40333,16 +40848,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3223 := &x.Source - yyv3223.CodecDecodeSelf(d) + yyv3256 := &x.Source + yyv3256.CodecDecodeSelf(d) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40350,26 +40865,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3224 := &x.FirstTimestamp - yym3225 := z.DecBinary() - _ = yym3225 + yyv3257 := &x.FirstTimestamp + yym3258 := z.DecBinary() + _ = yym3258 if false { - } else if z.HasExtensions() && z.DecExt(yyv3224) { - } else if yym3225 { - z.DecBinaryUnmarshal(yyv3224) - } else if !yym3225 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3224) + } else if z.HasExtensions() && z.DecExt(yyv3257) { + } else if yym3258 { + z.DecBinaryUnmarshal(yyv3257) + } else if !yym3258 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3257) } else { - z.DecFallback(yyv3224, false) + z.DecFallback(yyv3257, false) } } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40377,26 +40892,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3226 := &x.LastTimestamp - yym3227 := z.DecBinary() - _ = yym3227 + yyv3259 := &x.LastTimestamp + yym3260 := z.DecBinary() + _ = yym3260 if false { - } else if z.HasExtensions() && z.DecExt(yyv3226) { - } else if yym3227 { - z.DecBinaryUnmarshal(yyv3226) - } else if !yym3227 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3226) + } else if z.HasExtensions() && z.DecExt(yyv3259) { + } else if yym3260 { + z.DecBinaryUnmarshal(yyv3259) + } else if !yym3260 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3259) } else { - z.DecFallback(yyv3226, false) + z.DecFallback(yyv3259, false) } } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40406,13 +40921,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40422,13 +40937,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40438,13 +40953,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40455,17 +40970,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3251++ + if yyhl3251 { + yyb3251 = yyj3251 > l } else { - yyb3218 = r.CheckBreak() + yyb3251 = r.CheckBreak() } - if yyb3218 { + if yyb3251 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3218-1, "") + z.DecStructFieldNotFound(yyj3251-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40477,68 +40992,68 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3232 := z.EncBinary() - _ = yym3232 + yym3265 := z.EncBinary() + _ = yym3265 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3233 := !z.EncBinary() - yy2arr3233 := z.EncBasicHandle().StructToArray - var yyq3233 [4]bool - _, _, _ = yysep3233, yyq3233, yy2arr3233 - const yyr3233 bool = false - yyq3233[0] = true - yyq3233[2] = x.Kind != "" - yyq3233[3] = x.APIVersion != "" - var yynn3233 int - if yyr3233 || yy2arr3233 { + yysep3266 := !z.EncBinary() + yy2arr3266 := z.EncBasicHandle().StructToArray + var yyq3266 [4]bool + _, _, _ = yysep3266, yyq3266, yy2arr3266 + const yyr3266 bool = false + yyq3266[0] = true + yyq3266[2] = x.Kind != "" + yyq3266[3] = x.APIVersion != "" + var yynn3266 int + if yyr3266 || yy2arr3266 { r.EncodeArrayStart(4) } else { - yynn3233 = 1 - for _, b := range yyq3233 { + yynn3266 = 1 + for _, b := range yyq3266 { if b { - yynn3233++ + yynn3266++ } } - r.EncodeMapStart(yynn3233) - yynn3233 = 0 + r.EncodeMapStart(yynn3266) + yynn3266 = 0 } - if yyr3233 || yy2arr3233 { + if yyr3266 || yy2arr3266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3233[0] { - yy3235 := &x.ListMeta - yym3236 := z.EncBinary() - _ = yym3236 + if yyq3266[0] { + yy3268 := &x.ListMeta + yym3269 := z.EncBinary() + _ = yym3269 if false { - } else if z.HasExtensions() && z.EncExt(yy3235) { + } else if z.HasExtensions() && z.EncExt(yy3268) { } else { - z.EncFallback(yy3235) + z.EncFallback(yy3268) } } else { r.EncodeNil() } } else { - if yyq3233[0] { + if yyq3266[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3237 := &x.ListMeta - yym3238 := z.EncBinary() - _ = yym3238 + yy3270 := &x.ListMeta + yym3271 := z.EncBinary() + _ = yym3271 if false { - } else if z.HasExtensions() && z.EncExt(yy3237) { + } else if z.HasExtensions() && z.EncExt(yy3270) { } else { - z.EncFallback(yy3237) + z.EncFallback(yy3270) } } } - if yyr3233 || yy2arr3233 { + if yyr3266 || yy2arr3266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3240 := z.EncBinary() - _ = yym3240 + yym3273 := z.EncBinary() + _ = yym3273 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -40551,19 +41066,19 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3241 := z.EncBinary() - _ = yym3241 + yym3274 := z.EncBinary() + _ = yym3274 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3233 || yy2arr3233 { + if yyr3266 || yy2arr3266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3233[2] { - yym3243 := z.EncBinary() - _ = yym3243 + if yyq3266[2] { + yym3276 := z.EncBinary() + _ = yym3276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40572,23 +41087,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3233[2] { + if yyq3266[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3244 := z.EncBinary() - _ = yym3244 + yym3277 := z.EncBinary() + _ = yym3277 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3233 || yy2arr3233 { + if yyr3266 || yy2arr3266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3233[3] { - yym3246 := z.EncBinary() - _ = yym3246 + if yyq3266[3] { + yym3279 := z.EncBinary() + _ = yym3279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40597,19 +41112,19 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3233[3] { + if yyq3266[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3247 := z.EncBinary() - _ = yym3247 + yym3280 := z.EncBinary() + _ = yym3280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3233 || yy2arr3233 { + if yyr3266 || yy2arr3266 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40622,25 +41137,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3248 := z.DecBinary() - _ = yym3248 + yym3281 := z.DecBinary() + _ = yym3281 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3249 := r.ContainerType() - if yyct3249 == codecSelferValueTypeMap1234 { - yyl3249 := r.ReadMapStart() - if yyl3249 == 0 { + yyct3282 := r.ContainerType() + if yyct3282 == codecSelferValueTypeMap1234 { + yyl3282 := r.ReadMapStart() + if yyl3282 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3249, d) + x.codecDecodeSelfFromMap(yyl3282, d) } - } else if yyct3249 == codecSelferValueTypeArray1234 { - yyl3249 := r.ReadArrayStart() - if yyl3249 == 0 { + } else if yyct3282 == codecSelferValueTypeArray1234 { + yyl3282 := r.ReadArrayStart() + if yyl3282 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3249, d) + x.codecDecodeSelfFromArray(yyl3282, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40652,12 +41167,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3250Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3250Slc - var yyhl3250 bool = l >= 0 - for yyj3250 := 0; ; yyj3250++ { - if yyhl3250 { - if yyj3250 >= l { + var yys3283Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3283Slc + var yyhl3283 bool = l >= 0 + for yyj3283 := 0; ; yyj3283++ { + if yyhl3283 { + if yyj3283 >= l { break } } else { @@ -40666,33 +41181,33 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3250Slc = r.DecodeBytes(yys3250Slc, true, true) - yys3250 := string(yys3250Slc) + yys3283Slc = r.DecodeBytes(yys3283Slc, true, true) + yys3283 := string(yys3283Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3250 { + switch yys3283 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3251 := &x.ListMeta - yym3252 := z.DecBinary() - _ = yym3252 + yyv3284 := &x.ListMeta + yym3285 := z.DecBinary() + _ = yym3285 if false { - } else if z.HasExtensions() && z.DecExt(yyv3251) { + } else if z.HasExtensions() && z.DecExt(yyv3284) { } else { - z.DecFallback(yyv3251, false) + z.DecFallback(yyv3284, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3253 := &x.Items - yym3254 := z.DecBinary() - _ = yym3254 + yyv3286 := &x.Items + yym3287 := z.DecBinary() + _ = yym3287 if false { } else { - h.decSliceEvent((*[]Event)(yyv3253), d) + h.decSliceEvent((*[]Event)(yyv3286), d) } } case "kind": @@ -40708,9 +41223,9 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3250) - } // end switch yys3250 - } // end for yyj3250 + z.DecStructFieldNotFound(-1, yys3283) + } // end switch yys3283 + } // end for yyj3283 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40718,16 +41233,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3257 int - var yyb3257 bool - var yyhl3257 bool = l >= 0 - yyj3257++ - if yyhl3257 { - yyb3257 = yyj3257 > l + var yyj3290 int + var yyb3290 bool + var yyhl3290 bool = l >= 0 + yyj3290++ + if yyhl3290 { + yyb3290 = yyj3290 > l } else { - yyb3257 = r.CheckBreak() + yyb3290 = r.CheckBreak() } - if yyb3257 { + if yyb3290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40735,22 +41250,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3258 := &x.ListMeta - yym3259 := z.DecBinary() - _ = yym3259 + yyv3291 := &x.ListMeta + yym3292 := z.DecBinary() + _ = yym3292 if false { - } else if z.HasExtensions() && z.DecExt(yyv3258) { + } else if z.HasExtensions() && z.DecExt(yyv3291) { } else { - z.DecFallback(yyv3258, false) + z.DecFallback(yyv3291, false) } } - yyj3257++ - if yyhl3257 { - yyb3257 = yyj3257 > l + yyj3290++ + if yyhl3290 { + yyb3290 = yyj3290 > l } else { - yyb3257 = r.CheckBreak() + yyb3290 = r.CheckBreak() } - if yyb3257 { + if yyb3290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40758,21 +41273,21 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3260 := &x.Items - yym3261 := z.DecBinary() - _ = yym3261 + yyv3293 := &x.Items + yym3294 := z.DecBinary() + _ = yym3294 if false { } else { - h.decSliceEvent((*[]Event)(yyv3260), d) + h.decSliceEvent((*[]Event)(yyv3293), d) } } - yyj3257++ - if yyhl3257 { - yyb3257 = yyj3257 > l + yyj3290++ + if yyhl3290 { + yyb3290 = yyj3290 > l } else { - yyb3257 = r.CheckBreak() + yyb3290 = r.CheckBreak() } - if yyb3257 { + if yyb3290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40782,13 +41297,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3257++ - if yyhl3257 { - yyb3257 = yyj3257 > l + yyj3290++ + if yyhl3290 { + yyb3290 = yyj3290 > l } else { - yyb3257 = r.CheckBreak() + yyb3290 = r.CheckBreak() } - if yyb3257 { + if yyb3290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40799,17 +41314,17 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3257++ - if yyhl3257 { - yyb3257 = yyj3257 > l + yyj3290++ + if yyhl3290 { + yyb3290 = yyj3290 > l } else { - yyb3257 = r.CheckBreak() + yyb3290 = r.CheckBreak() } - if yyb3257 { + if yyb3290 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3257-1, "") + z.DecStructFieldNotFound(yyj3290-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40821,68 +41336,68 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3264 := z.EncBinary() - _ = yym3264 + yym3297 := z.EncBinary() + _ = yym3297 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3265 := !z.EncBinary() - yy2arr3265 := z.EncBasicHandle().StructToArray - var yyq3265 [4]bool - _, _, _ = yysep3265, yyq3265, yy2arr3265 - const yyr3265 bool = false - yyq3265[0] = true - yyq3265[2] = x.Kind != "" - yyq3265[3] = x.APIVersion != "" - var yynn3265 int - if yyr3265 || yy2arr3265 { + yysep3298 := !z.EncBinary() + yy2arr3298 := z.EncBasicHandle().StructToArray + var yyq3298 [4]bool + _, _, _ = yysep3298, yyq3298, yy2arr3298 + const yyr3298 bool = false + yyq3298[0] = true + yyq3298[2] = x.Kind != "" + yyq3298[3] = x.APIVersion != "" + var yynn3298 int + if yyr3298 || yy2arr3298 { r.EncodeArrayStart(4) } else { - yynn3265 = 1 - for _, b := range yyq3265 { + yynn3298 = 1 + for _, b := range yyq3298 { if b { - yynn3265++ + yynn3298++ } } - r.EncodeMapStart(yynn3265) - yynn3265 = 0 + r.EncodeMapStart(yynn3298) + yynn3298 = 0 } - if yyr3265 || yy2arr3265 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3265[0] { - yy3267 := &x.ListMeta - yym3268 := z.EncBinary() - _ = yym3268 + if yyq3298[0] { + yy3300 := &x.ListMeta + yym3301 := z.EncBinary() + _ = yym3301 if false { - } else if z.HasExtensions() && z.EncExt(yy3267) { + } else if z.HasExtensions() && z.EncExt(yy3300) { } else { - z.EncFallback(yy3267) + z.EncFallback(yy3300) } } else { r.EncodeNil() } } else { - if yyq3265[0] { + if yyq3298[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3269 := &x.ListMeta - yym3270 := z.EncBinary() - _ = yym3270 + yy3302 := &x.ListMeta + yym3303 := z.EncBinary() + _ = yym3303 if false { - } else if z.HasExtensions() && z.EncExt(yy3269) { + } else if z.HasExtensions() && z.EncExt(yy3302) { } else { - z.EncFallback(yy3269) + z.EncFallback(yy3302) } } } - if yyr3265 || yy2arr3265 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3272 := z.EncBinary() - _ = yym3272 + yym3305 := z.EncBinary() + _ = yym3305 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) @@ -40895,19 +41410,19 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3273 := z.EncBinary() - _ = yym3273 + yym3306 := z.EncBinary() + _ = yym3306 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) } } } - if yyr3265 || yy2arr3265 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3265[2] { - yym3275 := z.EncBinary() - _ = yym3275 + if yyq3298[2] { + yym3308 := z.EncBinary() + _ = yym3308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40916,23 +41431,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3265[2] { + if yyq3298[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3276 := z.EncBinary() - _ = yym3276 + yym3309 := z.EncBinary() + _ = yym3309 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3265 || yy2arr3265 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3265[3] { - yym3278 := z.EncBinary() - _ = yym3278 + if yyq3298[3] { + yym3311 := z.EncBinary() + _ = yym3311 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40941,19 +41456,19 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3265[3] { + if yyq3298[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3279 := z.EncBinary() - _ = yym3279 + yym3312 := z.EncBinary() + _ = yym3312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3265 || yy2arr3265 { + if yyr3298 || yy2arr3298 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40966,25 +41481,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3280 := z.DecBinary() - _ = yym3280 + yym3313 := z.DecBinary() + _ = yym3313 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3281 := r.ContainerType() - if yyct3281 == codecSelferValueTypeMap1234 { - yyl3281 := r.ReadMapStart() - if yyl3281 == 0 { + yyct3314 := r.ContainerType() + if yyct3314 == codecSelferValueTypeMap1234 { + yyl3314 := r.ReadMapStart() + if yyl3314 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3281, d) + x.codecDecodeSelfFromMap(yyl3314, d) } - } else if yyct3281 == codecSelferValueTypeArray1234 { - yyl3281 := r.ReadArrayStart() - if yyl3281 == 0 { + } else if yyct3314 == codecSelferValueTypeArray1234 { + yyl3314 := r.ReadArrayStart() + if yyl3314 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3281, d) + x.codecDecodeSelfFromArray(yyl3314, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40996,12 +41511,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3282Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3282Slc - var yyhl3282 bool = l >= 0 - for yyj3282 := 0; ; yyj3282++ { - if yyhl3282 { - if yyj3282 >= l { + var yys3315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3315Slc + var yyhl3315 bool = l >= 0 + for yyj3315 := 0; ; yyj3315++ { + if yyhl3315 { + if yyj3315 >= l { break } } else { @@ -41010,33 +41525,33 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3282Slc = r.DecodeBytes(yys3282Slc, true, true) - yys3282 := string(yys3282Slc) + yys3315Slc = r.DecodeBytes(yys3315Slc, true, true) + yys3315 := string(yys3315Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3282 { + switch yys3315 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3283 := &x.ListMeta - yym3284 := z.DecBinary() - _ = yym3284 + yyv3316 := &x.ListMeta + yym3317 := z.DecBinary() + _ = yym3317 if false { - } else if z.HasExtensions() && z.DecExt(yyv3283) { + } else if z.HasExtensions() && z.DecExt(yyv3316) { } else { - z.DecFallback(yyv3283, false) + z.DecFallback(yyv3316, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3285 := &x.Items - yym3286 := z.DecBinary() - _ = yym3286 + yyv3318 := &x.Items + yym3319 := z.DecBinary() + _ = yym3319 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3285), d) + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3318), d) } } case "kind": @@ -41052,9 +41567,9 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3282) - } // end switch yys3282 - } // end for yyj3282 + z.DecStructFieldNotFound(-1, yys3315) + } // end switch yys3315 + } // end for yyj3315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41062,16 +41577,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3289 int - var yyb3289 bool - var yyhl3289 bool = l >= 0 - yyj3289++ - if yyhl3289 { - yyb3289 = yyj3289 > l + var yyj3322 int + var yyb3322 bool + var yyhl3322 bool = l >= 0 + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb3289 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb3289 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41079,22 +41594,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3290 := &x.ListMeta - yym3291 := z.DecBinary() - _ = yym3291 + yyv3323 := &x.ListMeta + yym3324 := z.DecBinary() + _ = yym3324 if false { - } else if z.HasExtensions() && z.DecExt(yyv3290) { + } else if z.HasExtensions() && z.DecExt(yyv3323) { } else { - z.DecFallback(yyv3290, false) + z.DecFallback(yyv3323, false) } } - yyj3289++ - if yyhl3289 { - yyb3289 = yyj3289 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb3289 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb3289 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41102,21 +41617,21 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3292 := &x.Items - yym3293 := z.DecBinary() - _ = yym3293 + yyv3325 := &x.Items + yym3326 := z.DecBinary() + _ = yym3326 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3292), d) + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3325), d) } } - yyj3289++ - if yyhl3289 { - yyb3289 = yyj3289 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb3289 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb3289 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41126,13 +41641,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3289++ - if yyhl3289 { - yyb3289 = yyj3289 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb3289 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb3289 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41143,17 +41658,17 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3289++ - if yyhl3289 { - yyb3289 = yyj3289 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb3289 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb3289 { + if yyb3322 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3289-1, "") + z.DecStructFieldNotFound(yyj3322-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41162,8 +41677,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3296 := z.EncBinary() - _ = yym3296 + yym3329 := z.EncBinary() + _ = yym3329 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41175,8 +41690,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3297 := z.DecBinary() - _ = yym3297 + yym3330 := z.DecBinary() + _ = yym3330 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41191,53 +41706,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3298 := z.EncBinary() - _ = yym3298 + yym3331 := z.EncBinary() + _ = yym3331 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3299 := !z.EncBinary() - yy2arr3299 := z.EncBasicHandle().StructToArray - var yyq3299 [6]bool - _, _, _ = yysep3299, yyq3299, yy2arr3299 - const yyr3299 bool = false - yyq3299[0] = x.Type != "" - yyq3299[1] = len(x.Max) != 0 - yyq3299[2] = len(x.Min) != 0 - yyq3299[3] = len(x.Default) != 0 - yyq3299[4] = len(x.DefaultRequest) != 0 - yyq3299[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3299 int - if yyr3299 || yy2arr3299 { + yysep3332 := !z.EncBinary() + yy2arr3332 := z.EncBasicHandle().StructToArray + var yyq3332 [6]bool + _, _, _ = yysep3332, yyq3332, yy2arr3332 + const yyr3332 bool = false + yyq3332[0] = x.Type != "" + yyq3332[1] = len(x.Max) != 0 + yyq3332[2] = len(x.Min) != 0 + yyq3332[3] = len(x.Default) != 0 + yyq3332[4] = len(x.DefaultRequest) != 0 + yyq3332[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3332 int + if yyr3332 || yy2arr3332 { r.EncodeArrayStart(6) } else { - yynn3299 = 0 - for _, b := range yyq3299 { + yynn3332 = 0 + for _, b := range yyq3332 { if b { - yynn3299++ + yynn3332++ } } - r.EncodeMapStart(yynn3299) - yynn3299 = 0 + r.EncodeMapStart(yynn3332) + yynn3332 = 0 } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[0] { + if yyq3332[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3299[0] { + if yyq3332[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[1] { + if yyq3332[1] { if x.Max == nil { r.EncodeNil() } else { @@ -41247,7 +41762,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3299[1] { + if yyq3332[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41258,9 +41773,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[2] { + if yyq3332[2] { if x.Min == nil { r.EncodeNil() } else { @@ -41270,7 +41785,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3299[2] { + if yyq3332[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41281,9 +41796,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[3] { + if yyq3332[3] { if x.Default == nil { r.EncodeNil() } else { @@ -41293,7 +41808,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3299[3] { + if yyq3332[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41304,9 +41819,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[4] { + if yyq3332[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -41316,7 +41831,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3299[4] { + if yyq3332[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41327,9 +41842,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3299[5] { + if yyq3332[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -41339,7 +41854,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3299[5] { + if yyq3332[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41350,7 +41865,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3299 || yy2arr3299 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41363,25 +41878,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3306 := z.DecBinary() - _ = yym3306 + yym3339 := z.DecBinary() + _ = yym3339 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3307 := r.ContainerType() - if yyct3307 == codecSelferValueTypeMap1234 { - yyl3307 := r.ReadMapStart() - if yyl3307 == 0 { + yyct3340 := r.ContainerType() + if yyct3340 == codecSelferValueTypeMap1234 { + yyl3340 := r.ReadMapStart() + if yyl3340 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3307, d) + x.codecDecodeSelfFromMap(yyl3340, d) } - } else if yyct3307 == codecSelferValueTypeArray1234 { - yyl3307 := r.ReadArrayStart() - if yyl3307 == 0 { + } else if yyct3340 == codecSelferValueTypeArray1234 { + yyl3340 := r.ReadArrayStart() + if yyl3340 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3307, d) + x.codecDecodeSelfFromArray(yyl3340, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41393,12 +41908,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3308Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3308Slc - var yyhl3308 bool = l >= 0 - for yyj3308 := 0; ; yyj3308++ { - if yyhl3308 { - if yyj3308 >= l { + var yys3341Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3341Slc + var yyhl3341 bool = l >= 0 + for yyj3341 := 0; ; yyj3341++ { + if yyhl3341 { + if yyj3341 >= l { break } } else { @@ -41407,10 +41922,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3308Slc = r.DecodeBytes(yys3308Slc, true, true) - yys3308 := string(yys3308Slc) + yys3341Slc = r.DecodeBytes(yys3341Slc, true, true) + yys3341 := string(yys3341Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3308 { + switch yys3341 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41421,41 +41936,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3310 := &x.Max - yyv3310.CodecDecodeSelf(d) + yyv3343 := &x.Max + yyv3343.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3311 := &x.Min - yyv3311.CodecDecodeSelf(d) + yyv3344 := &x.Min + yyv3344.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3312 := &x.Default - yyv3312.CodecDecodeSelf(d) + yyv3345 := &x.Default + yyv3345.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3313 := &x.DefaultRequest - yyv3313.CodecDecodeSelf(d) + yyv3346 := &x.DefaultRequest + yyv3346.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3314 := &x.MaxLimitRequestRatio - yyv3314.CodecDecodeSelf(d) + yyv3347 := &x.MaxLimitRequestRatio + yyv3347.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3308) - } // end switch yys3308 - } // end for yyj3308 + z.DecStructFieldNotFound(-1, yys3341) + } // end switch yys3341 + } // end for yyj3341 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41463,16 +41978,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3315 int - var yyb3315 bool - var yyhl3315 bool = l >= 0 - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + var yyj3348 int + var yyb3348 bool + var yyhl3348 bool = l >= 0 + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41482,13 +41997,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41496,16 +42011,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3317 := &x.Max - yyv3317.CodecDecodeSelf(d) + yyv3350 := &x.Max + yyv3350.CodecDecodeSelf(d) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41513,16 +42028,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3318 := &x.Min - yyv3318.CodecDecodeSelf(d) + yyv3351 := &x.Min + yyv3351.CodecDecodeSelf(d) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41530,16 +42045,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3319 := &x.Default - yyv3319.CodecDecodeSelf(d) + yyv3352 := &x.Default + yyv3352.CodecDecodeSelf(d) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41547,16 +42062,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3320 := &x.DefaultRequest - yyv3320.CodecDecodeSelf(d) + yyv3353 := &x.DefaultRequest + yyv3353.CodecDecodeSelf(d) } - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41564,21 +42079,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3321 := &x.MaxLimitRequestRatio - yyv3321.CodecDecodeSelf(d) + yyv3354 := &x.MaxLimitRequestRatio + yyv3354.CodecDecodeSelf(d) } for { - yyj3315++ - if yyhl3315 { - yyb3315 = yyj3315 > l + yyj3348++ + if yyhl3348 { + yyb3348 = yyj3348 > l } else { - yyb3315 = r.CheckBreak() + yyb3348 = r.CheckBreak() } - if yyb3315 { + if yyb3348 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3315-1, "") + z.DecStructFieldNotFound(yyj3348-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41590,36 +42105,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3322 := z.EncBinary() - _ = yym3322 + yym3355 := z.EncBinary() + _ = yym3355 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3323 := !z.EncBinary() - yy2arr3323 := z.EncBasicHandle().StructToArray - var yyq3323 [1]bool - _, _, _ = yysep3323, yyq3323, yy2arr3323 - const yyr3323 bool = false - var yynn3323 int - if yyr3323 || yy2arr3323 { + yysep3356 := !z.EncBinary() + yy2arr3356 := z.EncBasicHandle().StructToArray + var yyq3356 [1]bool + _, _, _ = yysep3356, yyq3356, yy2arr3356 + const yyr3356 bool = false + var yynn3356 int + if yyr3356 || yy2arr3356 { r.EncodeArrayStart(1) } else { - yynn3323 = 1 - for _, b := range yyq3323 { + yynn3356 = 1 + for _, b := range yyq3356 { if b { - yynn3323++ + yynn3356++ } } - r.EncodeMapStart(yynn3323) - yynn3323 = 0 + r.EncodeMapStart(yynn3356) + yynn3356 = 0 } - if yyr3323 || yy2arr3323 { + if yyr3356 || yy2arr3356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym3325 := z.EncBinary() - _ = yym3325 + yym3358 := z.EncBinary() + _ = yym3358 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -41632,15 +42147,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym3326 := z.EncBinary() - _ = yym3326 + yym3359 := z.EncBinary() + _ = yym3359 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr3323 || yy2arr3323 { + if yyr3356 || yy2arr3356 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41653,25 +42168,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3327 := z.DecBinary() - _ = yym3327 + yym3360 := z.DecBinary() + _ = yym3360 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3328 := r.ContainerType() - if yyct3328 == codecSelferValueTypeMap1234 { - yyl3328 := r.ReadMapStart() - if yyl3328 == 0 { + yyct3361 := r.ContainerType() + if yyct3361 == codecSelferValueTypeMap1234 { + yyl3361 := r.ReadMapStart() + if yyl3361 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3328, d) + x.codecDecodeSelfFromMap(yyl3361, d) } - } else if yyct3328 == codecSelferValueTypeArray1234 { - yyl3328 := r.ReadArrayStart() - if yyl3328 == 0 { + } else if yyct3361 == codecSelferValueTypeArray1234 { + yyl3361 := r.ReadArrayStart() + if yyl3361 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3328, d) + x.codecDecodeSelfFromArray(yyl3361, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41683,12 +42198,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3329Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3329Slc - var yyhl3329 bool = l >= 0 - for yyj3329 := 0; ; yyj3329++ { - if yyhl3329 { - if yyj3329 >= l { + var yys3362Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3362Slc + var yyhl3362 bool = l >= 0 + for yyj3362 := 0; ; yyj3362++ { + if yyhl3362 { + if yyj3362 >= l { break } } else { @@ -41697,26 +42212,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3329Slc = r.DecodeBytes(yys3329Slc, true, true) - yys3329 := string(yys3329Slc) + yys3362Slc = r.DecodeBytes(yys3362Slc, true, true) + yys3362 := string(yys3362Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3329 { + switch yys3362 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3330 := &x.Limits - yym3331 := z.DecBinary() - _ = yym3331 + yyv3363 := &x.Limits + yym3364 := z.DecBinary() + _ = yym3364 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3330), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3363), d) } } default: - z.DecStructFieldNotFound(-1, yys3329) - } // end switch yys3329 - } // end for yyj3329 + z.DecStructFieldNotFound(-1, yys3362) + } // end switch yys3362 + } // end for yyj3362 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41724,16 +42239,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3332 int - var yyb3332 bool - var yyhl3332 bool = l >= 0 - yyj3332++ - if yyhl3332 { - yyb3332 = yyj3332 > l + var yyj3365 int + var yyb3365 bool + var yyhl3365 bool = l >= 0 + yyj3365++ + if yyhl3365 { + yyb3365 = yyj3365 > l } else { - yyb3332 = r.CheckBreak() + yyb3365 = r.CheckBreak() } - if yyb3332 { + if yyb3365 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41741,26 +42256,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3333 := &x.Limits - yym3334 := z.DecBinary() - _ = yym3334 + yyv3366 := &x.Limits + yym3367 := z.DecBinary() + _ = yym3367 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3333), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3366), d) } } for { - yyj3332++ - if yyhl3332 { - yyb3332 = yyj3332 > l + yyj3365++ + if yyhl3365 { + yyb3365 = yyj3365 > l } else { - yyb3332 = r.CheckBreak() + yyb3365 = r.CheckBreak() } - if yyb3332 { + if yyb3365 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3332-1, "") + z.DecStructFieldNotFound(yyj3365-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41772,72 +42287,72 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3335 := z.EncBinary() - _ = yym3335 + yym3368 := z.EncBinary() + _ = yym3368 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3336 := !z.EncBinary() - yy2arr3336 := z.EncBasicHandle().StructToArray - var yyq3336 [4]bool - _, _, _ = yysep3336, yyq3336, yy2arr3336 - const yyr3336 bool = false - yyq3336[0] = true - yyq3336[1] = true - yyq3336[2] = x.Kind != "" - yyq3336[3] = x.APIVersion != "" - var yynn3336 int - if yyr3336 || yy2arr3336 { + yysep3369 := !z.EncBinary() + yy2arr3369 := z.EncBasicHandle().StructToArray + var yyq3369 [4]bool + _, _, _ = yysep3369, yyq3369, yy2arr3369 + const yyr3369 bool = false + yyq3369[0] = true + yyq3369[1] = true + yyq3369[2] = x.Kind != "" + yyq3369[3] = x.APIVersion != "" + var yynn3369 int + if yyr3369 || yy2arr3369 { r.EncodeArrayStart(4) } else { - yynn3336 = 0 - for _, b := range yyq3336 { + yynn3369 = 0 + for _, b := range yyq3369 { if b { - yynn3336++ + yynn3369++ } } - r.EncodeMapStart(yynn3336) - yynn3336 = 0 + r.EncodeMapStart(yynn3369) + yynn3369 = 0 } - if yyr3336 || yy2arr3336 { + if yyr3369 || yy2arr3369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3336[0] { - yy3338 := &x.ObjectMeta - yy3338.CodecEncodeSelf(e) + if yyq3369[0] { + yy3371 := &x.ObjectMeta + yy3371.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3336[0] { + if yyq3369[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3339 := &x.ObjectMeta - yy3339.CodecEncodeSelf(e) + yy3372 := &x.ObjectMeta + yy3372.CodecEncodeSelf(e) } } - if yyr3336 || yy2arr3336 { + if yyr3369 || yy2arr3369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3336[1] { - yy3341 := &x.Spec - yy3341.CodecEncodeSelf(e) + if yyq3369[1] { + yy3374 := &x.Spec + yy3374.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3336[1] { + if yyq3369[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3342 := &x.Spec - yy3342.CodecEncodeSelf(e) + yy3375 := &x.Spec + yy3375.CodecEncodeSelf(e) } } - if yyr3336 || yy2arr3336 { + if yyr3369 || yy2arr3369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3336[2] { - yym3344 := z.EncBinary() - _ = yym3344 + if yyq3369[2] { + yym3377 := z.EncBinary() + _ = yym3377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41846,23 +42361,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3336[2] { + if yyq3369[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3345 := z.EncBinary() - _ = yym3345 + yym3378 := z.EncBinary() + _ = yym3378 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3336 || yy2arr3336 { + if yyr3369 || yy2arr3369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3336[3] { - yym3347 := z.EncBinary() - _ = yym3347 + if yyq3369[3] { + yym3380 := z.EncBinary() + _ = yym3380 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41871,19 +42386,19 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3336[3] { + if yyq3369[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3348 := z.EncBinary() - _ = yym3348 + yym3381 := z.EncBinary() + _ = yym3381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3336 || yy2arr3336 { + if yyr3369 || yy2arr3369 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41896,25 +42411,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3349 := z.DecBinary() - _ = yym3349 + yym3382 := z.DecBinary() + _ = yym3382 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3350 := r.ContainerType() - if yyct3350 == codecSelferValueTypeMap1234 { - yyl3350 := r.ReadMapStart() - if yyl3350 == 0 { + yyct3383 := r.ContainerType() + if yyct3383 == codecSelferValueTypeMap1234 { + yyl3383 := r.ReadMapStart() + if yyl3383 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3350, d) + x.codecDecodeSelfFromMap(yyl3383, d) } - } else if yyct3350 == codecSelferValueTypeArray1234 { - yyl3350 := r.ReadArrayStart() - if yyl3350 == 0 { + } else if yyct3383 == codecSelferValueTypeArray1234 { + yyl3383 := r.ReadArrayStart() + if yyl3383 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3350, d) + x.codecDecodeSelfFromArray(yyl3383, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41926,12 +42441,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3351Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3351Slc - var yyhl3351 bool = l >= 0 - for yyj3351 := 0; ; yyj3351++ { - if yyhl3351 { - if yyj3351 >= l { + var yys3384Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3384Slc + var yyhl3384 bool = l >= 0 + for yyj3384 := 0; ; yyj3384++ { + if yyhl3384 { + if yyj3384 >= l { break } } else { @@ -41940,23 +42455,23 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3351Slc = r.DecodeBytes(yys3351Slc, true, true) - yys3351 := string(yys3351Slc) + yys3384Slc = r.DecodeBytes(yys3384Slc, true, true) + yys3384 := string(yys3384Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3351 { + switch yys3384 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3352 := &x.ObjectMeta - yyv3352.CodecDecodeSelf(d) + yyv3385 := &x.ObjectMeta + yyv3385.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3353 := &x.Spec - yyv3353.CodecDecodeSelf(d) + yyv3386 := &x.Spec + yyv3386.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -41971,9 +42486,9 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3351) - } // end switch yys3351 - } // end for yyj3351 + z.DecStructFieldNotFound(-1, yys3384) + } // end switch yys3384 + } // end for yyj3384 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41981,16 +42496,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3356 int - var yyb3356 bool - var yyhl3356 bool = l >= 0 - yyj3356++ - if yyhl3356 { - yyb3356 = yyj3356 > l + var yyj3389 int + var yyb3389 bool + var yyhl3389 bool = l >= 0 + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3356 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3356 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41998,16 +42513,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3357 := &x.ObjectMeta - yyv3357.CodecDecodeSelf(d) + yyv3390 := &x.ObjectMeta + yyv3390.CodecDecodeSelf(d) } - yyj3356++ - if yyhl3356 { - yyb3356 = yyj3356 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3356 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3356 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42015,16 +42530,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3358 := &x.Spec - yyv3358.CodecDecodeSelf(d) + yyv3391 := &x.Spec + yyv3391.CodecDecodeSelf(d) } - yyj3356++ - if yyhl3356 { - yyb3356 = yyj3356 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3356 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3356 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42034,13 +42549,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3356++ - if yyhl3356 { - yyb3356 = yyj3356 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3356 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3356 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42051,17 +42566,17 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3356++ - if yyhl3356 { - yyb3356 = yyj3356 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3356 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3356 { + if yyb3389 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3356-1, "") + z.DecStructFieldNotFound(yyj3389-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42073,68 +42588,68 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3361 := z.EncBinary() - _ = yym3361 + yym3394 := z.EncBinary() + _ = yym3394 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3362 := !z.EncBinary() - yy2arr3362 := z.EncBasicHandle().StructToArray - var yyq3362 [4]bool - _, _, _ = yysep3362, yyq3362, yy2arr3362 - const yyr3362 bool = false - yyq3362[0] = true - yyq3362[2] = x.Kind != "" - yyq3362[3] = x.APIVersion != "" - var yynn3362 int - if yyr3362 || yy2arr3362 { + yysep3395 := !z.EncBinary() + yy2arr3395 := z.EncBasicHandle().StructToArray + var yyq3395 [4]bool + _, _, _ = yysep3395, yyq3395, yy2arr3395 + const yyr3395 bool = false + yyq3395[0] = true + yyq3395[2] = x.Kind != "" + yyq3395[3] = x.APIVersion != "" + var yynn3395 int + if yyr3395 || yy2arr3395 { r.EncodeArrayStart(4) } else { - yynn3362 = 1 - for _, b := range yyq3362 { + yynn3395 = 1 + for _, b := range yyq3395 { if b { - yynn3362++ + yynn3395++ } } - r.EncodeMapStart(yynn3362) - yynn3362 = 0 + r.EncodeMapStart(yynn3395) + yynn3395 = 0 } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[0] { - yy3364 := &x.ListMeta - yym3365 := z.EncBinary() - _ = yym3365 + if yyq3395[0] { + yy3397 := &x.ListMeta + yym3398 := z.EncBinary() + _ = yym3398 if false { - } else if z.HasExtensions() && z.EncExt(yy3364) { + } else if z.HasExtensions() && z.EncExt(yy3397) { } else { - z.EncFallback(yy3364) + z.EncFallback(yy3397) } } else { r.EncodeNil() } } else { - if yyq3362[0] { + if yyq3395[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3366 := &x.ListMeta - yym3367 := z.EncBinary() - _ = yym3367 + yy3399 := &x.ListMeta + yym3400 := z.EncBinary() + _ = yym3400 if false { - } else if z.HasExtensions() && z.EncExt(yy3366) { + } else if z.HasExtensions() && z.EncExt(yy3399) { } else { - z.EncFallback(yy3366) + z.EncFallback(yy3399) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3369 := z.EncBinary() - _ = yym3369 + yym3402 := z.EncBinary() + _ = yym3402 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -42147,19 +42662,19 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3370 := z.EncBinary() - _ = yym3370 + yym3403 := z.EncBinary() + _ = yym3403 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[2] { - yym3372 := z.EncBinary() - _ = yym3372 + if yyq3395[2] { + yym3405 := z.EncBinary() + _ = yym3405 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42168,23 +42683,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[2] { + if yyq3395[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3373 := z.EncBinary() - _ = yym3373 + yym3406 := z.EncBinary() + _ = yym3406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[3] { - yym3375 := z.EncBinary() - _ = yym3375 + if yyq3395[3] { + yym3408 := z.EncBinary() + _ = yym3408 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42193,19 +42708,19 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[3] { + if yyq3395[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3376 := z.EncBinary() - _ = yym3376 + yym3409 := z.EncBinary() + _ = yym3409 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3362 || yy2arr3362 { + if yyr3395 || yy2arr3395 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42218,25 +42733,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3377 := z.DecBinary() - _ = yym3377 + yym3410 := z.DecBinary() + _ = yym3410 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3378 := r.ContainerType() - if yyct3378 == codecSelferValueTypeMap1234 { - yyl3378 := r.ReadMapStart() - if yyl3378 == 0 { + yyct3411 := r.ContainerType() + if yyct3411 == codecSelferValueTypeMap1234 { + yyl3411 := r.ReadMapStart() + if yyl3411 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3378, d) + x.codecDecodeSelfFromMap(yyl3411, d) } - } else if yyct3378 == codecSelferValueTypeArray1234 { - yyl3378 := r.ReadArrayStart() - if yyl3378 == 0 { + } else if yyct3411 == codecSelferValueTypeArray1234 { + yyl3411 := r.ReadArrayStart() + if yyl3411 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3378, d) + x.codecDecodeSelfFromArray(yyl3411, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42248,12 +42763,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3379Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3379Slc - var yyhl3379 bool = l >= 0 - for yyj3379 := 0; ; yyj3379++ { - if yyhl3379 { - if yyj3379 >= l { + var yys3412Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3412Slc + var yyhl3412 bool = l >= 0 + for yyj3412 := 0; ; yyj3412++ { + if yyhl3412 { + if yyj3412 >= l { break } } else { @@ -42262,33 +42777,33 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3379Slc = r.DecodeBytes(yys3379Slc, true, true) - yys3379 := string(yys3379Slc) + yys3412Slc = r.DecodeBytes(yys3412Slc, true, true) + yys3412 := string(yys3412Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3379 { + switch yys3412 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3380 := &x.ListMeta - yym3381 := z.DecBinary() - _ = yym3381 + yyv3413 := &x.ListMeta + yym3414 := z.DecBinary() + _ = yym3414 if false { - } else if z.HasExtensions() && z.DecExt(yyv3380) { + } else if z.HasExtensions() && z.DecExt(yyv3413) { } else { - z.DecFallback(yyv3380, false) + z.DecFallback(yyv3413, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3382 := &x.Items - yym3383 := z.DecBinary() - _ = yym3383 + yyv3415 := &x.Items + yym3416 := z.DecBinary() + _ = yym3416 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3382), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3415), d) } } case "kind": @@ -42304,9 +42819,9 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3379) - } // end switch yys3379 - } // end for yyj3379 + z.DecStructFieldNotFound(-1, yys3412) + } // end switch yys3412 + } // end for yyj3412 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42314,16 +42829,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3386 int - var yyb3386 bool - var yyhl3386 bool = l >= 0 - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + var yyj3419 int + var yyb3419 bool + var yyhl3419 bool = l >= 0 + yyj3419++ + if yyhl3419 { + yyb3419 = yyj3419 > l } else { - yyb3386 = r.CheckBreak() + yyb3419 = r.CheckBreak() } - if yyb3386 { + if yyb3419 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42331,22 +42846,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3387 := &x.ListMeta - yym3388 := z.DecBinary() - _ = yym3388 + yyv3420 := &x.ListMeta + yym3421 := z.DecBinary() + _ = yym3421 if false { - } else if z.HasExtensions() && z.DecExt(yyv3387) { + } else if z.HasExtensions() && z.DecExt(yyv3420) { } else { - z.DecFallback(yyv3387, false) + z.DecFallback(yyv3420, false) } } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3419++ + if yyhl3419 { + yyb3419 = yyj3419 > l } else { - yyb3386 = r.CheckBreak() + yyb3419 = r.CheckBreak() } - if yyb3386 { + if yyb3419 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42354,21 +42869,21 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3389 := &x.Items - yym3390 := z.DecBinary() - _ = yym3390 + yyv3422 := &x.Items + yym3423 := z.DecBinary() + _ = yym3423 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3389), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3422), d) } } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3419++ + if yyhl3419 { + yyb3419 = yyj3419 > l } else { - yyb3386 = r.CheckBreak() + yyb3419 = r.CheckBreak() } - if yyb3386 { + if yyb3419 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42378,13 +42893,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3419++ + if yyhl3419 { + yyb3419 = yyj3419 > l } else { - yyb3386 = r.CheckBreak() + yyb3419 = r.CheckBreak() } - if yyb3386 { + if yyb3419 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42395,17 +42910,17 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj3419++ + if yyhl3419 { + yyb3419 = yyj3419 > l } else { - yyb3386 = r.CheckBreak() + yyb3419 = r.CheckBreak() } - if yyb3386 { + if yyb3419 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3386-1, "") + z.DecStructFieldNotFound(yyj3419-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42417,33 +42932,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3393 := z.EncBinary() - _ = yym3393 + yym3426 := z.EncBinary() + _ = yym3426 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3394 := !z.EncBinary() - yy2arr3394 := z.EncBasicHandle().StructToArray - var yyq3394 [1]bool - _, _, _ = yysep3394, yyq3394, yy2arr3394 - const yyr3394 bool = false - yyq3394[0] = len(x.Hard) != 0 - var yynn3394 int - if yyr3394 || yy2arr3394 { + yysep3427 := !z.EncBinary() + yy2arr3427 := z.EncBasicHandle().StructToArray + var yyq3427 [1]bool + _, _, _ = yysep3427, yyq3427, yy2arr3427 + const yyr3427 bool = false + yyq3427[0] = len(x.Hard) != 0 + var yynn3427 int + if yyr3427 || yy2arr3427 { r.EncodeArrayStart(1) } else { - yynn3394 = 0 - for _, b := range yyq3394 { + yynn3427 = 0 + for _, b := range yyq3427 { if b { - yynn3394++ + yynn3427++ } } - r.EncodeMapStart(yynn3394) - yynn3394 = 0 + r.EncodeMapStart(yynn3427) + yynn3427 = 0 } - if yyr3394 || yy2arr3394 { + if yyr3427 || yy2arr3427 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3394[0] { + if yyq3427[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -42453,7 +42968,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3394[0] { + if yyq3427[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42464,7 +42979,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3394 || yy2arr3394 { + if yyr3427 || yy2arr3427 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42477,25 +42992,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3396 := z.DecBinary() - _ = yym3396 + yym3429 := z.DecBinary() + _ = yym3429 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3397 := r.ContainerType() - if yyct3397 == codecSelferValueTypeMap1234 { - yyl3397 := r.ReadMapStart() - if yyl3397 == 0 { + yyct3430 := r.ContainerType() + if yyct3430 == codecSelferValueTypeMap1234 { + yyl3430 := r.ReadMapStart() + if yyl3430 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3397, d) + x.codecDecodeSelfFromMap(yyl3430, d) } - } else if yyct3397 == codecSelferValueTypeArray1234 { - yyl3397 := r.ReadArrayStart() - if yyl3397 == 0 { + } else if yyct3430 == codecSelferValueTypeArray1234 { + yyl3430 := r.ReadArrayStart() + if yyl3430 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3397, d) + x.codecDecodeSelfFromArray(yyl3430, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42507,12 +43022,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3398Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3398Slc - var yyhl3398 bool = l >= 0 - for yyj3398 := 0; ; yyj3398++ { - if yyhl3398 { - if yyj3398 >= l { + var yys3431Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3431Slc + var yyhl3431 bool = l >= 0 + for yyj3431 := 0; ; yyj3431++ { + if yyhl3431 { + if yyj3431 >= l { break } } else { @@ -42521,21 +43036,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3398Slc = r.DecodeBytes(yys3398Slc, true, true) - yys3398 := string(yys3398Slc) + yys3431Slc = r.DecodeBytes(yys3431Slc, true, true) + yys3431 := string(yys3431Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3398 { + switch yys3431 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3399 := &x.Hard - yyv3399.CodecDecodeSelf(d) + yyv3432 := &x.Hard + yyv3432.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3398) - } // end switch yys3398 - } // end for yyj3398 + z.DecStructFieldNotFound(-1, yys3431) + } // end switch yys3431 + } // end for yyj3431 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42543,16 +43058,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3400 int - var yyb3400 bool - var yyhl3400 bool = l >= 0 - yyj3400++ - if yyhl3400 { - yyb3400 = yyj3400 > l + var yyj3433 int + var yyb3433 bool + var yyhl3433 bool = l >= 0 + yyj3433++ + if yyhl3433 { + yyb3433 = yyj3433 > l } else { - yyb3400 = r.CheckBreak() + yyb3433 = r.CheckBreak() } - if yyb3400 { + if yyb3433 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42560,21 +43075,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3401 := &x.Hard - yyv3401.CodecDecodeSelf(d) + yyv3434 := &x.Hard + yyv3434.CodecDecodeSelf(d) } for { - yyj3400++ - if yyhl3400 { - yyb3400 = yyj3400 > l + yyj3433++ + if yyhl3433 { + yyb3433 = yyj3433 > l } else { - yyb3400 = r.CheckBreak() + yyb3433 = r.CheckBreak() } - if yyb3400 { + if yyb3433 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3400-1, "") + z.DecStructFieldNotFound(yyj3433-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42586,34 +43101,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3402 := z.EncBinary() - _ = yym3402 + yym3435 := z.EncBinary() + _ = yym3435 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3403 := !z.EncBinary() - yy2arr3403 := z.EncBasicHandle().StructToArray - var yyq3403 [2]bool - _, _, _ = yysep3403, yyq3403, yy2arr3403 - const yyr3403 bool = false - yyq3403[0] = len(x.Hard) != 0 - yyq3403[1] = len(x.Used) != 0 - var yynn3403 int - if yyr3403 || yy2arr3403 { + yysep3436 := !z.EncBinary() + yy2arr3436 := z.EncBasicHandle().StructToArray + var yyq3436 [2]bool + _, _, _ = yysep3436, yyq3436, yy2arr3436 + const yyr3436 bool = false + yyq3436[0] = len(x.Hard) != 0 + yyq3436[1] = len(x.Used) != 0 + var yynn3436 int + if yyr3436 || yy2arr3436 { r.EncodeArrayStart(2) } else { - yynn3403 = 0 - for _, b := range yyq3403 { + yynn3436 = 0 + for _, b := range yyq3436 { if b { - yynn3403++ + yynn3436++ } } - r.EncodeMapStart(yynn3403) - yynn3403 = 0 + r.EncodeMapStart(yynn3436) + yynn3436 = 0 } - if yyr3403 || yy2arr3403 { + if yyr3436 || yy2arr3436 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[0] { + if yyq3436[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -42623,7 +43138,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3403[0] { + if yyq3436[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42634,9 +43149,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3403 || yy2arr3403 { + if yyr3436 || yy2arr3436 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[1] { + if yyq3436[1] { if x.Used == nil { r.EncodeNil() } else { @@ -42646,7 +43161,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3403[1] { + if yyq3436[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42657,7 +43172,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3403 || yy2arr3403 { + if yyr3436 || yy2arr3436 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42670,25 +43185,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3406 := z.DecBinary() - _ = yym3406 + yym3439 := z.DecBinary() + _ = yym3439 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3407 := r.ContainerType() - if yyct3407 == codecSelferValueTypeMap1234 { - yyl3407 := r.ReadMapStart() - if yyl3407 == 0 { + yyct3440 := r.ContainerType() + if yyct3440 == codecSelferValueTypeMap1234 { + yyl3440 := r.ReadMapStart() + if yyl3440 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3407, d) + x.codecDecodeSelfFromMap(yyl3440, d) } - } else if yyct3407 == codecSelferValueTypeArray1234 { - yyl3407 := r.ReadArrayStart() - if yyl3407 == 0 { + } else if yyct3440 == codecSelferValueTypeArray1234 { + yyl3440 := r.ReadArrayStart() + if yyl3440 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3407, d) + x.codecDecodeSelfFromArray(yyl3440, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42700,12 +43215,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3408Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3408Slc - var yyhl3408 bool = l >= 0 - for yyj3408 := 0; ; yyj3408++ { - if yyhl3408 { - if yyj3408 >= l { + var yys3441Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3441Slc + var yyhl3441 bool = l >= 0 + for yyj3441 := 0; ; yyj3441++ { + if yyhl3441 { + if yyj3441 >= l { break } } else { @@ -42714,28 +43229,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3408Slc = r.DecodeBytes(yys3408Slc, true, true) - yys3408 := string(yys3408Slc) + yys3441Slc = r.DecodeBytes(yys3441Slc, true, true) + yys3441 := string(yys3441Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3408 { + switch yys3441 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3409 := &x.Hard - yyv3409.CodecDecodeSelf(d) + yyv3442 := &x.Hard + yyv3442.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3410 := &x.Used - yyv3410.CodecDecodeSelf(d) + yyv3443 := &x.Used + yyv3443.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3408) - } // end switch yys3408 - } // end for yyj3408 + z.DecStructFieldNotFound(-1, yys3441) + } // end switch yys3441 + } // end for yyj3441 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42743,16 +43258,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3411 int - var yyb3411 bool - var yyhl3411 bool = l >= 0 - yyj3411++ - if yyhl3411 { - yyb3411 = yyj3411 > l + var yyj3444 int + var yyb3444 bool + var yyhl3444 bool = l >= 0 + yyj3444++ + if yyhl3444 { + yyb3444 = yyj3444 > l } else { - yyb3411 = r.CheckBreak() + yyb3444 = r.CheckBreak() } - if yyb3411 { + if yyb3444 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42760,16 +43275,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3412 := &x.Hard - yyv3412.CodecDecodeSelf(d) + yyv3445 := &x.Hard + yyv3445.CodecDecodeSelf(d) } - yyj3411++ - if yyhl3411 { - yyb3411 = yyj3411 > l + yyj3444++ + if yyhl3444 { + yyb3444 = yyj3444 > l } else { - yyb3411 = r.CheckBreak() + yyb3444 = r.CheckBreak() } - if yyb3411 { + if yyb3444 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42777,21 +43292,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3413 := &x.Used - yyv3413.CodecDecodeSelf(d) + yyv3446 := &x.Used + yyv3446.CodecDecodeSelf(d) } for { - yyj3411++ - if yyhl3411 { - yyb3411 = yyj3411 > l + yyj3444++ + if yyhl3444 { + yyb3444 = yyj3444 > l } else { - yyb3411 = r.CheckBreak() + yyb3444 = r.CheckBreak() } - if yyb3411 { + if yyb3444 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3411-1, "") + z.DecStructFieldNotFound(yyj3444-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42803,90 +43318,90 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3414 := z.EncBinary() - _ = yym3414 + yym3447 := z.EncBinary() + _ = yym3447 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3415 := !z.EncBinary() - yy2arr3415 := z.EncBasicHandle().StructToArray - var yyq3415 [5]bool - _, _, _ = yysep3415, yyq3415, yy2arr3415 - const yyr3415 bool = false - yyq3415[0] = true - yyq3415[1] = true - yyq3415[2] = true - yyq3415[3] = x.Kind != "" - yyq3415[4] = x.APIVersion != "" - var yynn3415 int - if yyr3415 || yy2arr3415 { + yysep3448 := !z.EncBinary() + yy2arr3448 := z.EncBasicHandle().StructToArray + var yyq3448 [5]bool + _, _, _ = yysep3448, yyq3448, yy2arr3448 + const yyr3448 bool = false + yyq3448[0] = true + yyq3448[1] = true + yyq3448[2] = true + yyq3448[3] = x.Kind != "" + yyq3448[4] = x.APIVersion != "" + var yynn3448 int + if yyr3448 || yy2arr3448 { r.EncodeArrayStart(5) } else { - yynn3415 = 0 - for _, b := range yyq3415 { + yynn3448 = 0 + for _, b := range yyq3448 { if b { - yynn3415++ + yynn3448++ } } - r.EncodeMapStart(yynn3415) - yynn3415 = 0 + r.EncodeMapStart(yynn3448) + yynn3448 = 0 } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3415[0] { - yy3417 := &x.ObjectMeta - yy3417.CodecEncodeSelf(e) + if yyq3448[0] { + yy3450 := &x.ObjectMeta + yy3450.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3415[0] { + if yyq3448[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3418 := &x.ObjectMeta - yy3418.CodecEncodeSelf(e) + yy3451 := &x.ObjectMeta + yy3451.CodecEncodeSelf(e) } } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3415[1] { - yy3420 := &x.Spec - yy3420.CodecEncodeSelf(e) + if yyq3448[1] { + yy3453 := &x.Spec + yy3453.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3415[1] { + if yyq3448[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3421 := &x.Spec - yy3421.CodecEncodeSelf(e) + yy3454 := &x.Spec + yy3454.CodecEncodeSelf(e) } } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3415[2] { - yy3423 := &x.Status - yy3423.CodecEncodeSelf(e) + if yyq3448[2] { + yy3456 := &x.Status + yy3456.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3415[2] { + if yyq3448[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3424 := &x.Status - yy3424.CodecEncodeSelf(e) + yy3457 := &x.Status + yy3457.CodecEncodeSelf(e) } } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3415[3] { - yym3426 := z.EncBinary() - _ = yym3426 + if yyq3448[3] { + yym3459 := z.EncBinary() + _ = yym3459 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42895,23 +43410,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3415[3] { + if yyq3448[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3427 := z.EncBinary() - _ = yym3427 + yym3460 := z.EncBinary() + _ = yym3460 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3415[4] { - yym3429 := z.EncBinary() - _ = yym3429 + if yyq3448[4] { + yym3462 := z.EncBinary() + _ = yym3462 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42920,19 +43435,19 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3415[4] { + if yyq3448[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3430 := z.EncBinary() - _ = yym3430 + yym3463 := z.EncBinary() + _ = yym3463 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3415 || yy2arr3415 { + if yyr3448 || yy2arr3448 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42945,25 +43460,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3431 := z.DecBinary() - _ = yym3431 + yym3464 := z.DecBinary() + _ = yym3464 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3432 := r.ContainerType() - if yyct3432 == codecSelferValueTypeMap1234 { - yyl3432 := r.ReadMapStart() - if yyl3432 == 0 { + yyct3465 := r.ContainerType() + if yyct3465 == codecSelferValueTypeMap1234 { + yyl3465 := r.ReadMapStart() + if yyl3465 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3432, d) + x.codecDecodeSelfFromMap(yyl3465, d) } - } else if yyct3432 == codecSelferValueTypeArray1234 { - yyl3432 := r.ReadArrayStart() - if yyl3432 == 0 { + } else if yyct3465 == codecSelferValueTypeArray1234 { + yyl3465 := r.ReadArrayStart() + if yyl3465 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3432, d) + x.codecDecodeSelfFromArray(yyl3465, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42975,12 +43490,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3433Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3433Slc - var yyhl3433 bool = l >= 0 - for yyj3433 := 0; ; yyj3433++ { - if yyhl3433 { - if yyj3433 >= l { + var yys3466Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3466Slc + var yyhl3466 bool = l >= 0 + for yyj3466 := 0; ; yyj3466++ { + if yyhl3466 { + if yyj3466 >= l { break } } else { @@ -42989,30 +43504,30 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3433Slc = r.DecodeBytes(yys3433Slc, true, true) - yys3433 := string(yys3433Slc) + yys3466Slc = r.DecodeBytes(yys3466Slc, true, true) + yys3466 := string(yys3466Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3433 { + switch yys3466 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3434 := &x.ObjectMeta - yyv3434.CodecDecodeSelf(d) + yyv3467 := &x.ObjectMeta + yyv3467.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3435 := &x.Spec - yyv3435.CodecDecodeSelf(d) + yyv3468 := &x.Spec + yyv3468.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3436 := &x.Status - yyv3436.CodecDecodeSelf(d) + yyv3469 := &x.Status + yyv3469.CodecDecodeSelf(d) } case "kind": if r.TryDecodeAsNil() { @@ -43027,9 +43542,9 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3433) - } // end switch yys3433 - } // end for yyj3433 + z.DecStructFieldNotFound(-1, yys3466) + } // end switch yys3466 + } // end for yyj3466 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43037,16 +43552,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3439 int - var yyb3439 bool - var yyhl3439 bool = l >= 0 - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + var yyj3472 int + var yyb3472 bool + var yyhl3472 bool = l >= 0 + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43054,16 +43569,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3440 := &x.ObjectMeta - yyv3440.CodecDecodeSelf(d) + yyv3473 := &x.ObjectMeta + yyv3473.CodecDecodeSelf(d) } - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43071,16 +43586,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3441 := &x.Spec - yyv3441.CodecDecodeSelf(d) + yyv3474 := &x.Spec + yyv3474.CodecDecodeSelf(d) } - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43088,16 +43603,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3442 := &x.Status - yyv3442.CodecDecodeSelf(d) + yyv3475 := &x.Status + yyv3475.CodecDecodeSelf(d) } - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43107,13 +43622,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43124,17 +43639,17 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3439++ - if yyhl3439 { - yyb3439 = yyj3439 > l + yyj3472++ + if yyhl3472 { + yyb3472 = yyj3472 > l } else { - yyb3439 = r.CheckBreak() + yyb3472 = r.CheckBreak() } - if yyb3439 { + if yyb3472 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3439-1, "") + z.DecStructFieldNotFound(yyj3472-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43146,68 +43661,68 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3445 := z.EncBinary() - _ = yym3445 + yym3478 := z.EncBinary() + _ = yym3478 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3446 := !z.EncBinary() - yy2arr3446 := z.EncBasicHandle().StructToArray - var yyq3446 [4]bool - _, _, _ = yysep3446, yyq3446, yy2arr3446 - const yyr3446 bool = false - yyq3446[0] = true - yyq3446[2] = x.Kind != "" - yyq3446[3] = x.APIVersion != "" - var yynn3446 int - if yyr3446 || yy2arr3446 { + yysep3479 := !z.EncBinary() + yy2arr3479 := z.EncBasicHandle().StructToArray + var yyq3479 [4]bool + _, _, _ = yysep3479, yyq3479, yy2arr3479 + const yyr3479 bool = false + yyq3479[0] = true + yyq3479[2] = x.Kind != "" + yyq3479[3] = x.APIVersion != "" + var yynn3479 int + if yyr3479 || yy2arr3479 { r.EncodeArrayStart(4) } else { - yynn3446 = 1 - for _, b := range yyq3446 { + yynn3479 = 1 + for _, b := range yyq3479 { if b { - yynn3446++ + yynn3479++ } } - r.EncodeMapStart(yynn3446) - yynn3446 = 0 + r.EncodeMapStart(yynn3479) + yynn3479 = 0 } - if yyr3446 || yy2arr3446 { + if yyr3479 || yy2arr3479 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[0] { - yy3448 := &x.ListMeta - yym3449 := z.EncBinary() - _ = yym3449 + if yyq3479[0] { + yy3481 := &x.ListMeta + yym3482 := z.EncBinary() + _ = yym3482 if false { - } else if z.HasExtensions() && z.EncExt(yy3448) { + } else if z.HasExtensions() && z.EncExt(yy3481) { } else { - z.EncFallback(yy3448) + z.EncFallback(yy3481) } } else { r.EncodeNil() } } else { - if yyq3446[0] { + if yyq3479[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3450 := &x.ListMeta - yym3451 := z.EncBinary() - _ = yym3451 + yy3483 := &x.ListMeta + yym3484 := z.EncBinary() + _ = yym3484 if false { - } else if z.HasExtensions() && z.EncExt(yy3450) { + } else if z.HasExtensions() && z.EncExt(yy3483) { } else { - z.EncFallback(yy3450) + z.EncFallback(yy3483) } } } - if yyr3446 || yy2arr3446 { + if yyr3479 || yy2arr3479 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3453 := z.EncBinary() - _ = yym3453 + yym3486 := z.EncBinary() + _ = yym3486 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -43220,19 +43735,19 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3454 := z.EncBinary() - _ = yym3454 + yym3487 := z.EncBinary() + _ = yym3487 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr3446 || yy2arr3446 { + if yyr3479 || yy2arr3479 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[2] { - yym3456 := z.EncBinary() - _ = yym3456 + if yyq3479[2] { + yym3489 := z.EncBinary() + _ = yym3489 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43241,23 +43756,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3446[2] { + if yyq3479[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3457 := z.EncBinary() - _ = yym3457 + yym3490 := z.EncBinary() + _ = yym3490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3446 || yy2arr3446 { + if yyr3479 || yy2arr3479 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3446[3] { - yym3459 := z.EncBinary() - _ = yym3459 + if yyq3479[3] { + yym3492 := z.EncBinary() + _ = yym3492 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43266,19 +43781,19 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3446[3] { + if yyq3479[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3460 := z.EncBinary() - _ = yym3460 + yym3493 := z.EncBinary() + _ = yym3493 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3446 || yy2arr3446 { + if yyr3479 || yy2arr3479 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43291,25 +43806,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3461 := z.DecBinary() - _ = yym3461 + yym3494 := z.DecBinary() + _ = yym3494 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3462 := r.ContainerType() - if yyct3462 == codecSelferValueTypeMap1234 { - yyl3462 := r.ReadMapStart() - if yyl3462 == 0 { + yyct3495 := r.ContainerType() + if yyct3495 == codecSelferValueTypeMap1234 { + yyl3495 := r.ReadMapStart() + if yyl3495 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3462, d) + x.codecDecodeSelfFromMap(yyl3495, d) } - } else if yyct3462 == codecSelferValueTypeArray1234 { - yyl3462 := r.ReadArrayStart() - if yyl3462 == 0 { + } else if yyct3495 == codecSelferValueTypeArray1234 { + yyl3495 := r.ReadArrayStart() + if yyl3495 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3462, d) + x.codecDecodeSelfFromArray(yyl3495, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43321,12 +43836,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3463Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3463Slc - var yyhl3463 bool = l >= 0 - for yyj3463 := 0; ; yyj3463++ { - if yyhl3463 { - if yyj3463 >= l { + var yys3496Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3496Slc + var yyhl3496 bool = l >= 0 + for yyj3496 := 0; ; yyj3496++ { + if yyhl3496 { + if yyj3496 >= l { break } } else { @@ -43335,33 +43850,33 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3463Slc = r.DecodeBytes(yys3463Slc, true, true) - yys3463 := string(yys3463Slc) + yys3496Slc = r.DecodeBytes(yys3496Slc, true, true) + yys3496 := string(yys3496Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3463 { + switch yys3496 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3464 := &x.ListMeta - yym3465 := z.DecBinary() - _ = yym3465 + yyv3497 := &x.ListMeta + yym3498 := z.DecBinary() + _ = yym3498 if false { - } else if z.HasExtensions() && z.DecExt(yyv3464) { + } else if z.HasExtensions() && z.DecExt(yyv3497) { } else { - z.DecFallback(yyv3464, false) + z.DecFallback(yyv3497, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3466 := &x.Items - yym3467 := z.DecBinary() - _ = yym3467 + yyv3499 := &x.Items + yym3500 := z.DecBinary() + _ = yym3500 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3466), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3499), d) } } case "kind": @@ -43377,9 +43892,9 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3463) - } // end switch yys3463 - } // end for yyj3463 + z.DecStructFieldNotFound(-1, yys3496) + } // end switch yys3496 + } // end for yyj3496 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43387,16 +43902,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3470 int - var yyb3470 bool - var yyhl3470 bool = l >= 0 - yyj3470++ - if yyhl3470 { - yyb3470 = yyj3470 > l + var yyj3503 int + var yyb3503 bool + var yyhl3503 bool = l >= 0 + yyj3503++ + if yyhl3503 { + yyb3503 = yyj3503 > l } else { - yyb3470 = r.CheckBreak() + yyb3503 = r.CheckBreak() } - if yyb3470 { + if yyb3503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43404,22 +43919,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3471 := &x.ListMeta - yym3472 := z.DecBinary() - _ = yym3472 + yyv3504 := &x.ListMeta + yym3505 := z.DecBinary() + _ = yym3505 if false { - } else if z.HasExtensions() && z.DecExt(yyv3471) { + } else if z.HasExtensions() && z.DecExt(yyv3504) { } else { - z.DecFallback(yyv3471, false) + z.DecFallback(yyv3504, false) } } - yyj3470++ - if yyhl3470 { - yyb3470 = yyj3470 > l + yyj3503++ + if yyhl3503 { + yyb3503 = yyj3503 > l } else { - yyb3470 = r.CheckBreak() + yyb3503 = r.CheckBreak() } - if yyb3470 { + if yyb3503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43427,21 +43942,21 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3473 := &x.Items - yym3474 := z.DecBinary() - _ = yym3474 + yyv3506 := &x.Items + yym3507 := z.DecBinary() + _ = yym3507 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3473), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3506), d) } } - yyj3470++ - if yyhl3470 { - yyb3470 = yyj3470 > l + yyj3503++ + if yyhl3503 { + yyb3503 = yyj3503 > l } else { - yyb3470 = r.CheckBreak() + yyb3503 = r.CheckBreak() } - if yyb3470 { + if yyb3503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43451,13 +43966,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj3470++ - if yyhl3470 { - yyb3470 = yyj3470 > l + yyj3503++ + if yyhl3503 { + yyb3503 = yyj3503 > l } else { - yyb3470 = r.CheckBreak() + yyb3503 = r.CheckBreak() } - if yyb3470 { + if yyb3503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43468,17 +43983,17 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } for { - yyj3470++ - if yyhl3470 { - yyb3470 = yyj3470 > l + yyj3503++ + if yyhl3503 { + yyb3503 = yyj3503 > l } else { - yyb3470 = r.CheckBreak() + yyb3503 = r.CheckBreak() } - if yyb3470 { + if yyb3503 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3470-1, "") + z.DecStructFieldNotFound(yyj3503-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43490,59 +44005,59 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3477 := z.EncBinary() - _ = yym3477 + yym3510 := z.EncBinary() + _ = yym3510 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3478 := !z.EncBinary() - yy2arr3478 := z.EncBasicHandle().StructToArray - var yyq3478 [5]bool - _, _, _ = yysep3478, yyq3478, yy2arr3478 - const yyr3478 bool = false - yyq3478[0] = true - yyq3478[1] = len(x.Data) != 0 - yyq3478[2] = x.Type != "" - yyq3478[3] = x.Kind != "" - yyq3478[4] = x.APIVersion != "" - var yynn3478 int - if yyr3478 || yy2arr3478 { + yysep3511 := !z.EncBinary() + yy2arr3511 := z.EncBasicHandle().StructToArray + var yyq3511 [5]bool + _, _, _ = yysep3511, yyq3511, yy2arr3511 + const yyr3511 bool = false + yyq3511[0] = true + yyq3511[1] = len(x.Data) != 0 + yyq3511[2] = x.Type != "" + yyq3511[3] = x.Kind != "" + yyq3511[4] = x.APIVersion != "" + var yynn3511 int + if yyr3511 || yy2arr3511 { r.EncodeArrayStart(5) } else { - yynn3478 = 0 - for _, b := range yyq3478 { + yynn3511 = 0 + for _, b := range yyq3511 { if b { - yynn3478++ + yynn3511++ } } - r.EncodeMapStart(yynn3478) - yynn3478 = 0 + r.EncodeMapStart(yynn3511) + yynn3511 = 0 } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3478[0] { - yy3480 := &x.ObjectMeta - yy3480.CodecEncodeSelf(e) + if yyq3511[0] { + yy3513 := &x.ObjectMeta + yy3513.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3478[0] { + if yyq3511[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3481 := &x.ObjectMeta - yy3481.CodecEncodeSelf(e) + yy3514 := &x.ObjectMeta + yy3514.CodecEncodeSelf(e) } } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3478[1] { + if yyq3511[1] { if x.Data == nil { r.EncodeNil() } else { - yym3483 := z.EncBinary() - _ = yym3483 + yym3516 := z.EncBinary() + _ = yym3516 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -43552,15 +44067,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3478[1] { + if yyq3511[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3484 := z.EncBinary() - _ = yym3484 + yym3517 := z.EncBinary() + _ = yym3517 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -43568,26 +44083,26 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3478[2] { + if yyq3511[2] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3478[2] { + if yyq3511[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3478[3] { - yym3487 := z.EncBinary() - _ = yym3487 + if yyq3511[3] { + yym3520 := z.EncBinary() + _ = yym3520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43596,23 +44111,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3478[3] { + if yyq3511[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3488 := z.EncBinary() - _ = yym3488 + yym3521 := z.EncBinary() + _ = yym3521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3478[4] { - yym3490 := z.EncBinary() - _ = yym3490 + if yyq3511[4] { + yym3523 := z.EncBinary() + _ = yym3523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43621,19 +44136,19 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3478[4] { + if yyq3511[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3491 := z.EncBinary() - _ = yym3491 + yym3524 := z.EncBinary() + _ = yym3524 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3478 || yy2arr3478 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43646,25 +44161,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3492 := z.DecBinary() - _ = yym3492 + yym3525 := z.DecBinary() + _ = yym3525 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3493 := r.ContainerType() - if yyct3493 == codecSelferValueTypeMap1234 { - yyl3493 := r.ReadMapStart() - if yyl3493 == 0 { + yyct3526 := r.ContainerType() + if yyct3526 == codecSelferValueTypeMap1234 { + yyl3526 := r.ReadMapStart() + if yyl3526 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3493, d) + x.codecDecodeSelfFromMap(yyl3526, d) } - } else if yyct3493 == codecSelferValueTypeArray1234 { - yyl3493 := r.ReadArrayStart() - if yyl3493 == 0 { + } else if yyct3526 == codecSelferValueTypeArray1234 { + yyl3526 := r.ReadArrayStart() + if yyl3526 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3493, d) + x.codecDecodeSelfFromArray(yyl3526, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43676,12 +44191,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3494Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3494Slc - var yyhl3494 bool = l >= 0 - for yyj3494 := 0; ; yyj3494++ { - if yyhl3494 { - if yyj3494 >= l { + var yys3527Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3527Slc + var yyhl3527 bool = l >= 0 + for yyj3527 := 0; ; yyj3527++ { + if yyhl3527 { + if yyj3527 >= l { break } } else { @@ -43690,27 +44205,27 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3494Slc = r.DecodeBytes(yys3494Slc, true, true) - yys3494 := string(yys3494Slc) + yys3527Slc = r.DecodeBytes(yys3527Slc, true, true) + yys3527 := string(yys3527Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3494 { + switch yys3527 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3495 := &x.ObjectMeta - yyv3495.CodecDecodeSelf(d) + yyv3528 := &x.ObjectMeta + yyv3528.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3496 := &x.Data - yym3497 := z.DecBinary() - _ = yym3497 + yyv3529 := &x.Data + yym3530 := z.DecBinary() + _ = yym3530 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3496), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3529), d) } } case "type": @@ -43732,9 +44247,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3494) - } // end switch yys3494 - } // end for yyj3494 + z.DecStructFieldNotFound(-1, yys3527) + } // end switch yys3527 + } // end for yyj3527 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43742,16 +44257,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3501 int - var yyb3501 bool - var yyhl3501 bool = l >= 0 - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + var yyj3534 int + var yyb3534 bool + var yyhl3534 bool = l >= 0 + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43759,16 +44274,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3502 := &x.ObjectMeta - yyv3502.CodecDecodeSelf(d) + yyv3535 := &x.ObjectMeta + yyv3535.CodecDecodeSelf(d) } - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43776,21 +44291,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3503 := &x.Data - yym3504 := z.DecBinary() - _ = yym3504 + yyv3536 := &x.Data + yym3537 := z.DecBinary() + _ = yym3537 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3503), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3536), d) } } - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43800,13 +44315,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = SecretType(r.DecodeString()) } - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43816,13 +44331,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43833,17 +44348,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3501++ - if yyhl3501 { - yyb3501 = yyj3501 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb3501 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb3501 { + if yyb3534 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3501-1, "") + z.DecStructFieldNotFound(yyj3534-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43852,8 +44367,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3508 := z.EncBinary() - _ = yym3508 + yym3541 := z.EncBinary() + _ = yym3541 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -43865,8 +44380,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3509 := z.DecBinary() - _ = yym3509 + yym3542 := z.DecBinary() + _ = yym3542 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -43881,68 +44396,68 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3510 := z.EncBinary() - _ = yym3510 + yym3543 := z.EncBinary() + _ = yym3543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3511 := !z.EncBinary() - yy2arr3511 := z.EncBasicHandle().StructToArray - var yyq3511 [4]bool - _, _, _ = yysep3511, yyq3511, yy2arr3511 - const yyr3511 bool = false - yyq3511[0] = true - yyq3511[2] = x.Kind != "" - yyq3511[3] = x.APIVersion != "" - var yynn3511 int - if yyr3511 || yy2arr3511 { + yysep3544 := !z.EncBinary() + yy2arr3544 := z.EncBasicHandle().StructToArray + var yyq3544 [4]bool + _, _, _ = yysep3544, yyq3544, yy2arr3544 + const yyr3544 bool = false + yyq3544[0] = true + yyq3544[2] = x.Kind != "" + yyq3544[3] = x.APIVersion != "" + var yynn3544 int + if yyr3544 || yy2arr3544 { r.EncodeArrayStart(4) } else { - yynn3511 = 1 - for _, b := range yyq3511 { + yynn3544 = 1 + for _, b := range yyq3544 { if b { - yynn3511++ + yynn3544++ } } - r.EncodeMapStart(yynn3511) - yynn3511 = 0 + r.EncodeMapStart(yynn3544) + yynn3544 = 0 } - if yyr3511 || yy2arr3511 { + if yyr3544 || yy2arr3544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3511[0] { - yy3513 := &x.ListMeta - yym3514 := z.EncBinary() - _ = yym3514 + if yyq3544[0] { + yy3546 := &x.ListMeta + yym3547 := z.EncBinary() + _ = yym3547 if false { - } else if z.HasExtensions() && z.EncExt(yy3513) { + } else if z.HasExtensions() && z.EncExt(yy3546) { } else { - z.EncFallback(yy3513) + z.EncFallback(yy3546) } } else { r.EncodeNil() } } else { - if yyq3511[0] { + if yyq3544[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3515 := &x.ListMeta - yym3516 := z.EncBinary() - _ = yym3516 + yy3548 := &x.ListMeta + yym3549 := z.EncBinary() + _ = yym3549 if false { - } else if z.HasExtensions() && z.EncExt(yy3515) { + } else if z.HasExtensions() && z.EncExt(yy3548) { } else { - z.EncFallback(yy3515) + z.EncFallback(yy3548) } } } - if yyr3511 || yy2arr3511 { + if yyr3544 || yy2arr3544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3518 := z.EncBinary() - _ = yym3518 + yym3551 := z.EncBinary() + _ = yym3551 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -43955,19 +44470,19 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3519 := z.EncBinary() - _ = yym3519 + yym3552 := z.EncBinary() + _ = yym3552 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3511 || yy2arr3511 { + if yyr3544 || yy2arr3544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3511[2] { - yym3521 := z.EncBinary() - _ = yym3521 + if yyq3544[2] { + yym3554 := z.EncBinary() + _ = yym3554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43976,23 +44491,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3511[2] { + if yyq3544[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3522 := z.EncBinary() - _ = yym3522 + yym3555 := z.EncBinary() + _ = yym3555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3511 || yy2arr3511 { + if yyr3544 || yy2arr3544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3511[3] { - yym3524 := z.EncBinary() - _ = yym3524 + if yyq3544[3] { + yym3557 := z.EncBinary() + _ = yym3557 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44001,19 +44516,19 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3511[3] { + if yyq3544[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3525 := z.EncBinary() - _ = yym3525 + yym3558 := z.EncBinary() + _ = yym3558 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3511 || yy2arr3511 { + if yyr3544 || yy2arr3544 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44026,25 +44541,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3526 := z.DecBinary() - _ = yym3526 + yym3559 := z.DecBinary() + _ = yym3559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3527 := r.ContainerType() - if yyct3527 == codecSelferValueTypeMap1234 { - yyl3527 := r.ReadMapStart() - if yyl3527 == 0 { + yyct3560 := r.ContainerType() + if yyct3560 == codecSelferValueTypeMap1234 { + yyl3560 := r.ReadMapStart() + if yyl3560 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3527, d) + x.codecDecodeSelfFromMap(yyl3560, d) } - } else if yyct3527 == codecSelferValueTypeArray1234 { - yyl3527 := r.ReadArrayStart() - if yyl3527 == 0 { + } else if yyct3560 == codecSelferValueTypeArray1234 { + yyl3560 := r.ReadArrayStart() + if yyl3560 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3527, d) + x.codecDecodeSelfFromArray(yyl3560, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44056,12 +44571,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3528Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3528Slc - var yyhl3528 bool = l >= 0 - for yyj3528 := 0; ; yyj3528++ { - if yyhl3528 { - if yyj3528 >= l { + var yys3561Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3561Slc + var yyhl3561 bool = l >= 0 + for yyj3561 := 0; ; yyj3561++ { + if yyhl3561 { + if yyj3561 >= l { break } } else { @@ -44070,33 +44585,33 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3528Slc = r.DecodeBytes(yys3528Slc, true, true) - yys3528 := string(yys3528Slc) + yys3561Slc = r.DecodeBytes(yys3561Slc, true, true) + yys3561 := string(yys3561Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3528 { + switch yys3561 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3529 := &x.ListMeta - yym3530 := z.DecBinary() - _ = yym3530 + yyv3562 := &x.ListMeta + yym3563 := z.DecBinary() + _ = yym3563 if false { - } else if z.HasExtensions() && z.DecExt(yyv3529) { + } else if z.HasExtensions() && z.DecExt(yyv3562) { } else { - z.DecFallback(yyv3529, false) + z.DecFallback(yyv3562, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3531 := &x.Items - yym3532 := z.DecBinary() - _ = yym3532 + yyv3564 := &x.Items + yym3565 := z.DecBinary() + _ = yym3565 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3531), d) + h.decSliceSecret((*[]Secret)(yyv3564), d) } } case "kind": @@ -44112,9 +44627,9 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3528) - } // end switch yys3528 - } // end for yyj3528 + z.DecStructFieldNotFound(-1, yys3561) + } // end switch yys3561 + } // end for yyj3561 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44122,16 +44637,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3535 int - var yyb3535 bool - var yyhl3535 bool = l >= 0 - yyj3535++ - if yyhl3535 { - yyb3535 = yyj3535 > l + var yyj3568 int + var yyb3568 bool + var yyhl3568 bool = l >= 0 + yyj3568++ + if yyhl3568 { + yyb3568 = yyj3568 > l } else { - yyb3535 = r.CheckBreak() + yyb3568 = r.CheckBreak() } - if yyb3535 { + if yyb3568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44139,22 +44654,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3536 := &x.ListMeta - yym3537 := z.DecBinary() - _ = yym3537 + yyv3569 := &x.ListMeta + yym3570 := z.DecBinary() + _ = yym3570 if false { - } else if z.HasExtensions() && z.DecExt(yyv3536) { + } else if z.HasExtensions() && z.DecExt(yyv3569) { } else { - z.DecFallback(yyv3536, false) + z.DecFallback(yyv3569, false) } } - yyj3535++ - if yyhl3535 { - yyb3535 = yyj3535 > l + yyj3568++ + if yyhl3568 { + yyb3568 = yyj3568 > l } else { - yyb3535 = r.CheckBreak() + yyb3568 = r.CheckBreak() } - if yyb3535 { + if yyb3568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44162,21 +44677,21 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3538 := &x.Items - yym3539 := z.DecBinary() - _ = yym3539 + yyv3571 := &x.Items + yym3572 := z.DecBinary() + _ = yym3572 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3538), d) + h.decSliceSecret((*[]Secret)(yyv3571), d) } } - yyj3535++ - if yyhl3535 { - yyb3535 = yyj3535 > l + yyj3568++ + if yyhl3568 { + yyb3568 = yyj3568 > l } else { - yyb3535 = r.CheckBreak() + yyb3568 = r.CheckBreak() } - if yyb3535 { + if yyb3568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44186,13 +44701,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3535++ - if yyhl3535 { - yyb3535 = yyj3535 > l + yyj3568++ + if yyhl3568 { + yyb3568 = yyj3568 > l } else { - yyb3535 = r.CheckBreak() + yyb3568 = r.CheckBreak() } - if yyb3535 { + if yyb3568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44203,17 +44718,17 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3535++ - if yyhl3535 { - yyb3535 = yyj3535 > l + yyj3568++ + if yyhl3568 { + yyb3568 = yyj3568 > l } else { - yyb3535 = r.CheckBreak() + yyb3568 = r.CheckBreak() } - if yyb3535 { + if yyb3568 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3535-1, "") + z.DecStructFieldNotFound(yyj3568-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44225,58 +44740,58 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3542 := z.EncBinary() - _ = yym3542 + yym3575 := z.EncBinary() + _ = yym3575 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3543 := !z.EncBinary() - yy2arr3543 := z.EncBasicHandle().StructToArray - var yyq3543 [4]bool - _, _, _ = yysep3543, yyq3543, yy2arr3543 - const yyr3543 bool = false - yyq3543[0] = true - yyq3543[1] = len(x.Data) != 0 - yyq3543[2] = x.Kind != "" - yyq3543[3] = x.APIVersion != "" - var yynn3543 int - if yyr3543 || yy2arr3543 { + yysep3576 := !z.EncBinary() + yy2arr3576 := z.EncBasicHandle().StructToArray + var yyq3576 [4]bool + _, _, _ = yysep3576, yyq3576, yy2arr3576 + const yyr3576 bool = false + yyq3576[0] = true + yyq3576[1] = len(x.Data) != 0 + yyq3576[2] = x.Kind != "" + yyq3576[3] = x.APIVersion != "" + var yynn3576 int + if yyr3576 || yy2arr3576 { r.EncodeArrayStart(4) } else { - yynn3543 = 0 - for _, b := range yyq3543 { + yynn3576 = 0 + for _, b := range yyq3576 { if b { - yynn3543++ + yynn3576++ } } - r.EncodeMapStart(yynn3543) - yynn3543 = 0 + r.EncodeMapStart(yynn3576) + yynn3576 = 0 } - if yyr3543 || yy2arr3543 { + if yyr3576 || yy2arr3576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[0] { - yy3545 := &x.ObjectMeta - yy3545.CodecEncodeSelf(e) + if yyq3576[0] { + yy3578 := &x.ObjectMeta + yy3578.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3543[0] { + if yyq3576[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3546 := &x.ObjectMeta - yy3546.CodecEncodeSelf(e) + yy3579 := &x.ObjectMeta + yy3579.CodecEncodeSelf(e) } } - if yyr3543 || yy2arr3543 { + if yyr3576 || yy2arr3576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[1] { + if yyq3576[1] { if x.Data == nil { r.EncodeNil() } else { - yym3548 := z.EncBinary() - _ = yym3548 + yym3581 := z.EncBinary() + _ = yym3581 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -44286,15 +44801,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3543[1] { + if yyq3576[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3549 := z.EncBinary() - _ = yym3549 + yym3582 := z.EncBinary() + _ = yym3582 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -44302,11 +44817,11 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3543 || yy2arr3543 { + if yyr3576 || yy2arr3576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[2] { - yym3551 := z.EncBinary() - _ = yym3551 + if yyq3576[2] { + yym3584 := z.EncBinary() + _ = yym3584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44315,23 +44830,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3543[2] { + if yyq3576[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3552 := z.EncBinary() - _ = yym3552 + yym3585 := z.EncBinary() + _ = yym3585 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3543 || yy2arr3543 { + if yyr3576 || yy2arr3576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3543[3] { - yym3554 := z.EncBinary() - _ = yym3554 + if yyq3576[3] { + yym3587 := z.EncBinary() + _ = yym3587 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44340,19 +44855,19 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3543[3] { + if yyq3576[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3555 := z.EncBinary() - _ = yym3555 + yym3588 := z.EncBinary() + _ = yym3588 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3543 || yy2arr3543 { + if yyr3576 || yy2arr3576 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44365,25 +44880,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3556 := z.DecBinary() - _ = yym3556 + yym3589 := z.DecBinary() + _ = yym3589 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3557 := r.ContainerType() - if yyct3557 == codecSelferValueTypeMap1234 { - yyl3557 := r.ReadMapStart() - if yyl3557 == 0 { + yyct3590 := r.ContainerType() + if yyct3590 == codecSelferValueTypeMap1234 { + yyl3590 := r.ReadMapStart() + if yyl3590 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3557, d) + x.codecDecodeSelfFromMap(yyl3590, d) } - } else if yyct3557 == codecSelferValueTypeArray1234 { - yyl3557 := r.ReadArrayStart() - if yyl3557 == 0 { + } else if yyct3590 == codecSelferValueTypeArray1234 { + yyl3590 := r.ReadArrayStart() + if yyl3590 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3557, d) + x.codecDecodeSelfFromArray(yyl3590, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44395,12 +44910,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3558Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3558Slc - var yyhl3558 bool = l >= 0 - for yyj3558 := 0; ; yyj3558++ { - if yyhl3558 { - if yyj3558 >= l { + var yys3591Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3591Slc + var yyhl3591 bool = l >= 0 + for yyj3591 := 0; ; yyj3591++ { + if yyhl3591 { + if yyj3591 >= l { break } } else { @@ -44409,27 +44924,27 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3558Slc = r.DecodeBytes(yys3558Slc, true, true) - yys3558 := string(yys3558Slc) + yys3591Slc = r.DecodeBytes(yys3591Slc, true, true) + yys3591 := string(yys3591Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3558 { + switch yys3591 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3559 := &x.ObjectMeta - yyv3559.CodecDecodeSelf(d) + yyv3592 := &x.ObjectMeta + yyv3592.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3560 := &x.Data - yym3561 := z.DecBinary() - _ = yym3561 + yyv3593 := &x.Data + yym3594 := z.DecBinary() + _ = yym3594 if false { } else { - z.F.DecMapStringStringX(yyv3560, false, d) + z.F.DecMapStringStringX(yyv3593, false, d) } } case "kind": @@ -44445,9 +44960,9 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3558) - } // end switch yys3558 - } // end for yyj3558 + z.DecStructFieldNotFound(-1, yys3591) + } // end switch yys3591 + } // end for yyj3591 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44455,16 +44970,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3564 int - var yyb3564 bool - var yyhl3564 bool = l >= 0 - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + var yyj3597 int + var yyb3597 bool + var yyhl3597 bool = l >= 0 + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l } else { - yyb3564 = r.CheckBreak() + yyb3597 = r.CheckBreak() } - if yyb3564 { + if yyb3597 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44472,16 +44987,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3565 := &x.ObjectMeta - yyv3565.CodecDecodeSelf(d) + yyv3598 := &x.ObjectMeta + yyv3598.CodecDecodeSelf(d) } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l } else { - yyb3564 = r.CheckBreak() + yyb3597 = r.CheckBreak() } - if yyb3564 { + if yyb3597 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44489,21 +45004,21 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3566 := &x.Data - yym3567 := z.DecBinary() - _ = yym3567 + yyv3599 := &x.Data + yym3600 := z.DecBinary() + _ = yym3600 if false { } else { - z.F.DecMapStringStringX(yyv3566, false, d) + z.F.DecMapStringStringX(yyv3599, false, d) } } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l } else { - yyb3564 = r.CheckBreak() + yyb3597 = r.CheckBreak() } - if yyb3564 { + if yyb3597 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44513,13 +45028,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l } else { - yyb3564 = r.CheckBreak() + yyb3597 = r.CheckBreak() } - if yyb3564 { + if yyb3597 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44530,17 +45045,17 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3564++ - if yyhl3564 { - yyb3564 = yyj3564 > l + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l } else { - yyb3564 = r.CheckBreak() + yyb3597 = r.CheckBreak() } - if yyb3564 { + if yyb3597 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3564-1, "") + z.DecStructFieldNotFound(yyj3597-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44552,70 +45067,70 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3570 := z.EncBinary() - _ = yym3570 + yym3603 := z.EncBinary() + _ = yym3603 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3571 := !z.EncBinary() - yy2arr3571 := z.EncBasicHandle().StructToArray - var yyq3571 [4]bool - _, _, _ = yysep3571, yyq3571, yy2arr3571 - const yyr3571 bool = false - yyq3571[0] = true - yyq3571[1] = len(x.Items) != 0 - yyq3571[2] = x.Kind != "" - yyq3571[3] = x.APIVersion != "" - var yynn3571 int - if yyr3571 || yy2arr3571 { + yysep3604 := !z.EncBinary() + yy2arr3604 := z.EncBasicHandle().StructToArray + var yyq3604 [4]bool + _, _, _ = yysep3604, yyq3604, yy2arr3604 + const yyr3604 bool = false + yyq3604[0] = true + yyq3604[1] = len(x.Items) != 0 + yyq3604[2] = x.Kind != "" + yyq3604[3] = x.APIVersion != "" + var yynn3604 int + if yyr3604 || yy2arr3604 { r.EncodeArrayStart(4) } else { - yynn3571 = 0 - for _, b := range yyq3571 { + yynn3604 = 0 + for _, b := range yyq3604 { if b { - yynn3571++ + yynn3604++ } } - r.EncodeMapStart(yynn3571) - yynn3571 = 0 + r.EncodeMapStart(yynn3604) + yynn3604 = 0 } - if yyr3571 || yy2arr3571 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3571[0] { - yy3573 := &x.ListMeta - yym3574 := z.EncBinary() - _ = yym3574 + if yyq3604[0] { + yy3606 := &x.ListMeta + yym3607 := z.EncBinary() + _ = yym3607 if false { - } else if z.HasExtensions() && z.EncExt(yy3573) { + } else if z.HasExtensions() && z.EncExt(yy3606) { } else { - z.EncFallback(yy3573) + z.EncFallback(yy3606) } } else { r.EncodeNil() } } else { - if yyq3571[0] { + if yyq3604[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3575 := &x.ListMeta - yym3576 := z.EncBinary() - _ = yym3576 + yy3608 := &x.ListMeta + yym3609 := z.EncBinary() + _ = yym3609 if false { - } else if z.HasExtensions() && z.EncExt(yy3575) { + } else if z.HasExtensions() && z.EncExt(yy3608) { } else { - z.EncFallback(yy3575) + z.EncFallback(yy3608) } } } - if yyr3571 || yy2arr3571 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3571[1] { + if yyq3604[1] { if x.Items == nil { r.EncodeNil() } else { - yym3578 := z.EncBinary() - _ = yym3578 + yym3611 := z.EncBinary() + _ = yym3611 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -44625,15 +45140,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3571[1] { + if yyq3604[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym3579 := z.EncBinary() - _ = yym3579 + yym3612 := z.EncBinary() + _ = yym3612 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -44641,11 +45156,11 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3571 || yy2arr3571 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3571[2] { - yym3581 := z.EncBinary() - _ = yym3581 + if yyq3604[2] { + yym3614 := z.EncBinary() + _ = yym3614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44654,23 +45169,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3571[2] { + if yyq3604[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3582 := z.EncBinary() - _ = yym3582 + yym3615 := z.EncBinary() + _ = yym3615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3571 || yy2arr3571 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3571[3] { - yym3584 := z.EncBinary() - _ = yym3584 + if yyq3604[3] { + yym3617 := z.EncBinary() + _ = yym3617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44679,19 +45194,19 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3571[3] { + if yyq3604[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3585 := z.EncBinary() - _ = yym3585 + yym3618 := z.EncBinary() + _ = yym3618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3571 || yy2arr3571 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44704,25 +45219,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3586 := z.DecBinary() - _ = yym3586 + yym3619 := z.DecBinary() + _ = yym3619 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3587 := r.ContainerType() - if yyct3587 == codecSelferValueTypeMap1234 { - yyl3587 := r.ReadMapStart() - if yyl3587 == 0 { + yyct3620 := r.ContainerType() + if yyct3620 == codecSelferValueTypeMap1234 { + yyl3620 := r.ReadMapStart() + if yyl3620 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3587, d) + x.codecDecodeSelfFromMap(yyl3620, d) } - } else if yyct3587 == codecSelferValueTypeArray1234 { - yyl3587 := r.ReadArrayStart() - if yyl3587 == 0 { + } else if yyct3620 == codecSelferValueTypeArray1234 { + yyl3620 := r.ReadArrayStart() + if yyl3620 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3587, d) + x.codecDecodeSelfFromArray(yyl3620, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44734,12 +45249,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3588Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3588Slc - var yyhl3588 bool = l >= 0 - for yyj3588 := 0; ; yyj3588++ { - if yyhl3588 { - if yyj3588 >= l { + var yys3621Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3621Slc + var yyhl3621 bool = l >= 0 + for yyj3621 := 0; ; yyj3621++ { + if yyhl3621 { + if yyj3621 >= l { break } } else { @@ -44748,33 +45263,33 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3588Slc = r.DecodeBytes(yys3588Slc, true, true) - yys3588 := string(yys3588Slc) + yys3621Slc = r.DecodeBytes(yys3621Slc, true, true) + yys3621 := string(yys3621Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3588 { + switch yys3621 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3589 := &x.ListMeta - yym3590 := z.DecBinary() - _ = yym3590 + yyv3622 := &x.ListMeta + yym3623 := z.DecBinary() + _ = yym3623 if false { - } else if z.HasExtensions() && z.DecExt(yyv3589) { + } else if z.HasExtensions() && z.DecExt(yyv3622) { } else { - z.DecFallback(yyv3589, false) + z.DecFallback(yyv3622, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3591 := &x.Items - yym3592 := z.DecBinary() - _ = yym3592 + yyv3624 := &x.Items + yym3625 := z.DecBinary() + _ = yym3625 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv3591), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv3624), d) } } case "kind": @@ -44790,9 +45305,9 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3588) - } // end switch yys3588 - } // end for yyj3588 + z.DecStructFieldNotFound(-1, yys3621) + } // end switch yys3621 + } // end for yyj3621 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44800,16 +45315,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3595 int - var yyb3595 bool - var yyhl3595 bool = l >= 0 - yyj3595++ - if yyhl3595 { - yyb3595 = yyj3595 > l + var yyj3628 int + var yyb3628 bool + var yyhl3628 bool = l >= 0 + yyj3628++ + if yyhl3628 { + yyb3628 = yyj3628 > l } else { - yyb3595 = r.CheckBreak() + yyb3628 = r.CheckBreak() } - if yyb3595 { + if yyb3628 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44817,22 +45332,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3596 := &x.ListMeta - yym3597 := z.DecBinary() - _ = yym3597 + yyv3629 := &x.ListMeta + yym3630 := z.DecBinary() + _ = yym3630 if false { - } else if z.HasExtensions() && z.DecExt(yyv3596) { + } else if z.HasExtensions() && z.DecExt(yyv3629) { } else { - z.DecFallback(yyv3596, false) + z.DecFallback(yyv3629, false) } } - yyj3595++ - if yyhl3595 { - yyb3595 = yyj3595 > l + yyj3628++ + if yyhl3628 { + yyb3628 = yyj3628 > l } else { - yyb3595 = r.CheckBreak() + yyb3628 = r.CheckBreak() } - if yyb3595 { + if yyb3628 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44840,21 +45355,21 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3598 := &x.Items - yym3599 := z.DecBinary() - _ = yym3599 + yyv3631 := &x.Items + yym3632 := z.DecBinary() + _ = yym3632 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv3598), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv3631), d) } } - yyj3595++ - if yyhl3595 { - yyb3595 = yyj3595 > l + yyj3628++ + if yyhl3628 { + yyb3628 = yyj3628 > l } else { - yyb3595 = r.CheckBreak() + yyb3628 = r.CheckBreak() } - if yyb3595 { + if yyb3628 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44864,13 +45379,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3595++ - if yyhl3595 { - yyb3595 = yyj3595 > l + yyj3628++ + if yyhl3628 { + yyb3628 = yyj3628 > l } else { - yyb3595 = r.CheckBreak() + yyb3628 = r.CheckBreak() } - if yyb3595 { + if yyb3628 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44881,17 +45396,17 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } for { - yyj3595++ - if yyhl3595 { - yyb3595 = yyj3595 > l + yyj3628++ + if yyhl3628 { + yyb3628 = yyj3628 > l } else { - yyb3595 = r.CheckBreak() + yyb3628 = r.CheckBreak() } - if yyb3595 { + if yyb3628 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3595-1, "") + z.DecStructFieldNotFound(yyj3628-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44900,8 +45415,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3602 := z.EncBinary() - _ = yym3602 + yym3635 := z.EncBinary() + _ = yym3635 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -44913,8 +45428,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3603 := z.DecBinary() - _ = yym3603 + yym3636 := z.DecBinary() + _ = yym3636 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -44929,32 +45444,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3604 := z.EncBinary() - _ = yym3604 + yym3637 := z.EncBinary() + _ = yym3637 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3605 := !z.EncBinary() - yy2arr3605 := z.EncBasicHandle().StructToArray - var yyq3605 [4]bool - _, _, _ = yysep3605, yyq3605, yy2arr3605 - const yyr3605 bool = false - yyq3605[2] = x.Message != "" - yyq3605[3] = x.Error != "" - var yynn3605 int - if yyr3605 || yy2arr3605 { + yysep3638 := !z.EncBinary() + yy2arr3638 := z.EncBasicHandle().StructToArray + var yyq3638 [4]bool + _, _, _ = yysep3638, yyq3638, yy2arr3638 + const yyr3638 bool = false + yyq3638[2] = x.Message != "" + yyq3638[3] = x.Error != "" + var yynn3638 int + if yyr3638 || yy2arr3638 { r.EncodeArrayStart(4) } else { - yynn3605 = 2 - for _, b := range yyq3605 { + yynn3638 = 2 + for _, b := range yyq3638 { if b { - yynn3605++ + yynn3638++ } } - r.EncodeMapStart(yynn3605) - yynn3605 = 0 + r.EncodeMapStart(yynn3638) + yynn3638 = 0 } - if yyr3605 || yy2arr3605 { + if yyr3638 || yy2arr3638 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -44963,7 +45478,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3605 || yy2arr3605 { + if yyr3638 || yy2arr3638 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -44972,11 +45487,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3605 || yy2arr3605 { + if yyr3638 || yy2arr3638 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3605[2] { - yym3609 := z.EncBinary() - _ = yym3609 + if yyq3638[2] { + yym3642 := z.EncBinary() + _ = yym3642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -44985,23 +45500,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3605[2] { + if yyq3638[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3610 := z.EncBinary() - _ = yym3610 + yym3643 := z.EncBinary() + _ = yym3643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3605 || yy2arr3605 { + if yyr3638 || yy2arr3638 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3605[3] { - yym3612 := z.EncBinary() - _ = yym3612 + if yyq3638[3] { + yym3645 := z.EncBinary() + _ = yym3645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -45010,19 +45525,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3605[3] { + if yyq3638[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3613 := z.EncBinary() - _ = yym3613 + yym3646 := z.EncBinary() + _ = yym3646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3605 || yy2arr3605 { + if yyr3638 || yy2arr3638 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45035,25 +45550,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3614 := z.DecBinary() - _ = yym3614 + yym3647 := z.DecBinary() + _ = yym3647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3615 := r.ContainerType() - if yyct3615 == codecSelferValueTypeMap1234 { - yyl3615 := r.ReadMapStart() - if yyl3615 == 0 { + yyct3648 := r.ContainerType() + if yyct3648 == codecSelferValueTypeMap1234 { + yyl3648 := r.ReadMapStart() + if yyl3648 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3615, d) + x.codecDecodeSelfFromMap(yyl3648, d) } - } else if yyct3615 == codecSelferValueTypeArray1234 { - yyl3615 := r.ReadArrayStart() - if yyl3615 == 0 { + } else if yyct3648 == codecSelferValueTypeArray1234 { + yyl3648 := r.ReadArrayStart() + if yyl3648 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3615, d) + x.codecDecodeSelfFromArray(yyl3648, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45065,12 +45580,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3616Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3616Slc - var yyhl3616 bool = l >= 0 - for yyj3616 := 0; ; yyj3616++ { - if yyhl3616 { - if yyj3616 >= l { + var yys3649Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3649Slc + var yyhl3649 bool = l >= 0 + for yyj3649 := 0; ; yyj3649++ { + if yyhl3649 { + if yyj3649 >= l { break } } else { @@ -45079,10 +45594,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3616Slc = r.DecodeBytes(yys3616Slc, true, true) - yys3616 := string(yys3616Slc) + yys3649Slc = r.DecodeBytes(yys3649Slc, true, true) + yys3649 := string(yys3649Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3616 { + switch yys3649 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -45108,9 +45623,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3616) - } // end switch yys3616 - } // end for yyj3616 + z.DecStructFieldNotFound(-1, yys3649) + } // end switch yys3649 + } // end for yyj3649 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45118,16 +45633,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3621 int - var yyb3621 bool - var yyhl3621 bool = l >= 0 - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + var yyj3654 int + var yyb3654 bool + var yyhl3654 bool = l >= 0 + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45137,13 +45652,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45153,13 +45668,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45169,13 +45684,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45186,17 +45701,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3621++ - if yyhl3621 { - yyb3621 = yyj3621 > l + yyj3654++ + if yyhl3654 { + yyb3654 = yyj3654 > l } else { - yyb3621 = r.CheckBreak() + yyb3654 = r.CheckBreak() } - if yyb3621 { + if yyb3654 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3621-1, "") + z.DecStructFieldNotFound(yyj3654-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45208,58 +45723,58 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3626 := z.EncBinary() - _ = yym3626 + yym3659 := z.EncBinary() + _ = yym3659 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3627 := !z.EncBinary() - yy2arr3627 := z.EncBasicHandle().StructToArray - var yyq3627 [4]bool - _, _, _ = yysep3627, yyq3627, yy2arr3627 - const yyr3627 bool = false - yyq3627[0] = true - yyq3627[1] = len(x.Conditions) != 0 - yyq3627[2] = x.Kind != "" - yyq3627[3] = x.APIVersion != "" - var yynn3627 int - if yyr3627 || yy2arr3627 { + yysep3660 := !z.EncBinary() + yy2arr3660 := z.EncBasicHandle().StructToArray + var yyq3660 [4]bool + _, _, _ = yysep3660, yyq3660, yy2arr3660 + const yyr3660 bool = false + yyq3660[0] = true + yyq3660[1] = len(x.Conditions) != 0 + yyq3660[2] = x.Kind != "" + yyq3660[3] = x.APIVersion != "" + var yynn3660 int + if yyr3660 || yy2arr3660 { r.EncodeArrayStart(4) } else { - yynn3627 = 0 - for _, b := range yyq3627 { + yynn3660 = 0 + for _, b := range yyq3660 { if b { - yynn3627++ + yynn3660++ } } - r.EncodeMapStart(yynn3627) - yynn3627 = 0 + r.EncodeMapStart(yynn3660) + yynn3660 = 0 } - if yyr3627 || yy2arr3627 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3627[0] { - yy3629 := &x.ObjectMeta - yy3629.CodecEncodeSelf(e) + if yyq3660[0] { + yy3662 := &x.ObjectMeta + yy3662.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3627[0] { + if yyq3660[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3630 := &x.ObjectMeta - yy3630.CodecEncodeSelf(e) + yy3663 := &x.ObjectMeta + yy3663.CodecEncodeSelf(e) } } - if yyr3627 || yy2arr3627 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3627[1] { + if yyq3660[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym3632 := z.EncBinary() - _ = yym3632 + yym3665 := z.EncBinary() + _ = yym3665 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -45269,15 +45784,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3627[1] { + if yyq3660[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3633 := z.EncBinary() - _ = yym3633 + yym3666 := z.EncBinary() + _ = yym3666 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -45285,11 +45800,11 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3627 || yy2arr3627 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3627[2] { - yym3635 := z.EncBinary() - _ = yym3635 + if yyq3660[2] { + yym3668 := z.EncBinary() + _ = yym3668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45298,23 +45813,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3627[2] { + if yyq3660[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3636 := z.EncBinary() - _ = yym3636 + yym3669 := z.EncBinary() + _ = yym3669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3627 || yy2arr3627 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3627[3] { - yym3638 := z.EncBinary() - _ = yym3638 + if yyq3660[3] { + yym3671 := z.EncBinary() + _ = yym3671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45323,19 +45838,19 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3627[3] { + if yyq3660[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3639 := z.EncBinary() - _ = yym3639 + yym3672 := z.EncBinary() + _ = yym3672 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3627 || yy2arr3627 { + if yyr3660 || yy2arr3660 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45348,25 +45863,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3640 := z.DecBinary() - _ = yym3640 + yym3673 := z.DecBinary() + _ = yym3673 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3641 := r.ContainerType() - if yyct3641 == codecSelferValueTypeMap1234 { - yyl3641 := r.ReadMapStart() - if yyl3641 == 0 { + yyct3674 := r.ContainerType() + if yyct3674 == codecSelferValueTypeMap1234 { + yyl3674 := r.ReadMapStart() + if yyl3674 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3641, d) + x.codecDecodeSelfFromMap(yyl3674, d) } - } else if yyct3641 == codecSelferValueTypeArray1234 { - yyl3641 := r.ReadArrayStart() - if yyl3641 == 0 { + } else if yyct3674 == codecSelferValueTypeArray1234 { + yyl3674 := r.ReadArrayStart() + if yyl3674 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3641, d) + x.codecDecodeSelfFromArray(yyl3674, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45378,12 +45893,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3642Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3642Slc - var yyhl3642 bool = l >= 0 - for yyj3642 := 0; ; yyj3642++ { - if yyhl3642 { - if yyj3642 >= l { + var yys3675Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3675Slc + var yyhl3675 bool = l >= 0 + for yyj3675 := 0; ; yyj3675++ { + if yyhl3675 { + if yyj3675 >= l { break } } else { @@ -45392,27 +45907,27 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3642Slc = r.DecodeBytes(yys3642Slc, true, true) - yys3642 := string(yys3642Slc) + yys3675Slc = r.DecodeBytes(yys3675Slc, true, true) + yys3675 := string(yys3675Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3642 { + switch yys3675 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3643 := &x.ObjectMeta - yyv3643.CodecDecodeSelf(d) + yyv3676 := &x.ObjectMeta + yyv3676.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3644 := &x.Conditions - yym3645 := z.DecBinary() - _ = yym3645 + yyv3677 := &x.Conditions + yym3678 := z.DecBinary() + _ = yym3678 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3644), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3677), d) } } case "kind": @@ -45428,9 +45943,9 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3642) - } // end switch yys3642 - } // end for yyj3642 + z.DecStructFieldNotFound(-1, yys3675) + } // end switch yys3675 + } // end for yyj3675 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45438,16 +45953,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3648 int - var yyb3648 bool - var yyhl3648 bool = l >= 0 - yyj3648++ - if yyhl3648 { - yyb3648 = yyj3648 > l + var yyj3681 int + var yyb3681 bool + var yyhl3681 bool = l >= 0 + yyj3681++ + if yyhl3681 { + yyb3681 = yyj3681 > l } else { - yyb3648 = r.CheckBreak() + yyb3681 = r.CheckBreak() } - if yyb3648 { + if yyb3681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45455,16 +45970,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3649 := &x.ObjectMeta - yyv3649.CodecDecodeSelf(d) + yyv3682 := &x.ObjectMeta + yyv3682.CodecDecodeSelf(d) } - yyj3648++ - if yyhl3648 { - yyb3648 = yyj3648 > l + yyj3681++ + if yyhl3681 { + yyb3681 = yyj3681 > l } else { - yyb3648 = r.CheckBreak() + yyb3681 = r.CheckBreak() } - if yyb3648 { + if yyb3681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45472,21 +45987,21 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3650 := &x.Conditions - yym3651 := z.DecBinary() - _ = yym3651 + yyv3683 := &x.Conditions + yym3684 := z.DecBinary() + _ = yym3684 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3650), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3683), d) } } - yyj3648++ - if yyhl3648 { - yyb3648 = yyj3648 > l + yyj3681++ + if yyhl3681 { + yyb3681 = yyj3681 > l } else { - yyb3648 = r.CheckBreak() + yyb3681 = r.CheckBreak() } - if yyb3648 { + if yyb3681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45496,13 +46011,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3648++ - if yyhl3648 { - yyb3648 = yyj3648 > l + yyj3681++ + if yyhl3681 { + yyb3681 = yyj3681 > l } else { - yyb3648 = r.CheckBreak() + yyb3681 = r.CheckBreak() } - if yyb3648 { + if yyb3681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45513,17 +46028,17 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3648++ - if yyhl3648 { - yyb3648 = yyj3648 > l + yyj3681++ + if yyhl3681 { + yyb3681 = yyj3681 > l } else { - yyb3648 = r.CheckBreak() + yyb3681 = r.CheckBreak() } - if yyb3648 { + if yyb3681 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3648-1, "") + z.DecStructFieldNotFound(yyj3681-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45535,68 +46050,68 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3654 := z.EncBinary() - _ = yym3654 + yym3687 := z.EncBinary() + _ = yym3687 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3655 := !z.EncBinary() - yy2arr3655 := z.EncBasicHandle().StructToArray - var yyq3655 [4]bool - _, _, _ = yysep3655, yyq3655, yy2arr3655 - const yyr3655 bool = false - yyq3655[0] = true - yyq3655[2] = x.Kind != "" - yyq3655[3] = x.APIVersion != "" - var yynn3655 int - if yyr3655 || yy2arr3655 { + yysep3688 := !z.EncBinary() + yy2arr3688 := z.EncBasicHandle().StructToArray + var yyq3688 [4]bool + _, _, _ = yysep3688, yyq3688, yy2arr3688 + const yyr3688 bool = false + yyq3688[0] = true + yyq3688[2] = x.Kind != "" + yyq3688[3] = x.APIVersion != "" + var yynn3688 int + if yyr3688 || yy2arr3688 { r.EncodeArrayStart(4) } else { - yynn3655 = 1 - for _, b := range yyq3655 { + yynn3688 = 1 + for _, b := range yyq3688 { if b { - yynn3655++ + yynn3688++ } } - r.EncodeMapStart(yynn3655) - yynn3655 = 0 + r.EncodeMapStart(yynn3688) + yynn3688 = 0 } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[0] { - yy3657 := &x.ListMeta - yym3658 := z.EncBinary() - _ = yym3658 + if yyq3688[0] { + yy3690 := &x.ListMeta + yym3691 := z.EncBinary() + _ = yym3691 if false { - } else if z.HasExtensions() && z.EncExt(yy3657) { + } else if z.HasExtensions() && z.EncExt(yy3690) { } else { - z.EncFallback(yy3657) + z.EncFallback(yy3690) } } else { r.EncodeNil() } } else { - if yyq3655[0] { + if yyq3688[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3659 := &x.ListMeta - yym3660 := z.EncBinary() - _ = yym3660 + yy3692 := &x.ListMeta + yym3693 := z.EncBinary() + _ = yym3693 if false { - } else if z.HasExtensions() && z.EncExt(yy3659) { + } else if z.HasExtensions() && z.EncExt(yy3692) { } else { - z.EncFallback(yy3659) + z.EncFallback(yy3692) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3662 := z.EncBinary() - _ = yym3662 + yym3695 := z.EncBinary() + _ = yym3695 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -45609,19 +46124,19 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3663 := z.EncBinary() - _ = yym3663 + yym3696 := z.EncBinary() + _ = yym3696 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[2] { - yym3665 := z.EncBinary() - _ = yym3665 + if yyq3688[2] { + yym3698 := z.EncBinary() + _ = yym3698 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45630,23 +46145,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3655[2] { + if yyq3688[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3666 := z.EncBinary() - _ = yym3666 + yym3699 := z.EncBinary() + _ = yym3699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3655[3] { - yym3668 := z.EncBinary() - _ = yym3668 + if yyq3688[3] { + yym3701 := z.EncBinary() + _ = yym3701 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45655,19 +46170,19 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3655[3] { + if yyq3688[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3669 := z.EncBinary() - _ = yym3669 + yym3702 := z.EncBinary() + _ = yym3702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3655 || yy2arr3655 { + if yyr3688 || yy2arr3688 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45680,25 +46195,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3670 := z.DecBinary() - _ = yym3670 + yym3703 := z.DecBinary() + _ = yym3703 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3671 := r.ContainerType() - if yyct3671 == codecSelferValueTypeMap1234 { - yyl3671 := r.ReadMapStart() - if yyl3671 == 0 { + yyct3704 := r.ContainerType() + if yyct3704 == codecSelferValueTypeMap1234 { + yyl3704 := r.ReadMapStart() + if yyl3704 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3671, d) + x.codecDecodeSelfFromMap(yyl3704, d) } - } else if yyct3671 == codecSelferValueTypeArray1234 { - yyl3671 := r.ReadArrayStart() - if yyl3671 == 0 { + } else if yyct3704 == codecSelferValueTypeArray1234 { + yyl3704 := r.ReadArrayStart() + if yyl3704 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3671, d) + x.codecDecodeSelfFromArray(yyl3704, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45710,12 +46225,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3672Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3672Slc - var yyhl3672 bool = l >= 0 - for yyj3672 := 0; ; yyj3672++ { - if yyhl3672 { - if yyj3672 >= l { + var yys3705Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3705Slc + var yyhl3705 bool = l >= 0 + for yyj3705 := 0; ; yyj3705++ { + if yyhl3705 { + if yyj3705 >= l { break } } else { @@ -45724,33 +46239,33 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3672Slc = r.DecodeBytes(yys3672Slc, true, true) - yys3672 := string(yys3672Slc) + yys3705Slc = r.DecodeBytes(yys3705Slc, true, true) + yys3705 := string(yys3705Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3672 { + switch yys3705 { case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3673 := &x.ListMeta - yym3674 := z.DecBinary() - _ = yym3674 + yyv3706 := &x.ListMeta + yym3707 := z.DecBinary() + _ = yym3707 if false { - } else if z.HasExtensions() && z.DecExt(yyv3673) { + } else if z.HasExtensions() && z.DecExt(yyv3706) { } else { - z.DecFallback(yyv3673, false) + z.DecFallback(yyv3706, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3675 := &x.Items - yym3676 := z.DecBinary() - _ = yym3676 + yyv3708 := &x.Items + yym3709 := z.DecBinary() + _ = yym3709 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3675), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3708), d) } } case "kind": @@ -45766,443 +46281,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3672) - } // end switch yys3672 - } // end for yyj3672 + z.DecStructFieldNotFound(-1, yys3705) + } // end switch yys3705 + } // end for yyj3705 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3679 int - var yyb3679 bool - var yyhl3679 bool = l >= 0 - yyj3679++ - if yyhl3679 { - yyb3679 = yyj3679 > l - } else { - yyb3679 = r.CheckBreak() - } - if yyb3679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3680 := &x.ListMeta - yym3681 := z.DecBinary() - _ = yym3681 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3680) { - } else { - z.DecFallback(yyv3680, false) - } - } - yyj3679++ - if yyhl3679 { - yyb3679 = yyj3679 > l - } else { - yyb3679 = r.CheckBreak() - } - if yyb3679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3682 := &x.Items - yym3683 := z.DecBinary() - _ = yym3683 - if false { - } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3682), d) - } - } - yyj3679++ - if yyhl3679 { - yyb3679 = yyj3679 > l - } else { - yyb3679 = r.CheckBreak() - } - if yyb3679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3679++ - if yyhl3679 { - yyb3679 = yyj3679 > l - } else { - yyb3679 = r.CheckBreak() - } - if yyb3679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj3679++ - if yyhl3679 { - yyb3679 = yyj3679 > l - } else { - yyb3679 = r.CheckBreak() - } - if yyb3679 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3679-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3686 := z.EncBinary() - _ = yym3686 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3687 := !z.EncBinary() - yy2arr3687 := z.EncBasicHandle().StructToArray - var yyq3687 [1]bool - _, _, _ = yysep3687, yyq3687, yy2arr3687 - const yyr3687 bool = false - yyq3687[0] = len(x.Items) != 0 - var yynn3687 int - if yyr3687 || yy2arr3687 { - r.EncodeArrayStart(1) - } else { - yynn3687 = 0 - for _, b := range yyq3687 { - if b { - yynn3687++ - } - } - r.EncodeMapStart(yynn3687) - yynn3687 = 0 - } - if yyr3687 || yy2arr3687 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3687[0] { - if x.Items == nil { - r.EncodeNil() - } else { - yym3689 := z.EncBinary() - _ = yym3689 - if false { - } else { - h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3687[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3690 := z.EncBinary() - _ = yym3690 - if false { - } else { - h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) - } - } - } - } - if yyr3687 || yy2arr3687 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3691 := z.DecBinary() - _ = yym3691 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3692 := r.ContainerType() - if yyct3692 == codecSelferValueTypeMap1234 { - yyl3692 := r.ReadMapStart() - if yyl3692 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3692, d) - } - } else if yyct3692 == codecSelferValueTypeArray1234 { - yyl3692 := r.ReadArrayStart() - if yyl3692 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3692, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3693Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3693Slc - var yyhl3693 bool = l >= 0 - for yyj3693 := 0; ; yyj3693++ { - if yyhl3693 { - if yyj3693 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3693Slc = r.DecodeBytes(yys3693Slc, true, true) - yys3693 := string(yys3693Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3693 { - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3694 := &x.Items - yym3695 := z.DecBinary() - _ = yym3695 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3694), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3693) - } // end switch yys3693 - } // end for yyj3693 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3696 int - var yyb3696 bool - var yyhl3696 bool = l >= 0 - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l - } else { - yyb3696 = r.CheckBreak() - } - if yyb3696 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3697 := &x.Items - yym3698 := z.DecBinary() - _ = yym3698 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3697), d) - } - } - for { - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l - } else { - yyb3696 = r.CheckBreak() - } - if yyb3696 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3696-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3699 := z.EncBinary() - _ = yym3699 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3700 := !z.EncBinary() - yy2arr3700 := z.EncBasicHandle().StructToArray - var yyq3700 [2]bool - _, _, _ = yysep3700, yyq3700, yy2arr3700 - const yyr3700 bool = false - var yynn3700 int - if yyr3700 || yy2arr3700 { - r.EncodeArrayStart(2) - } else { - yynn3700 = 2 - for _, b := range yyq3700 { - if b { - yynn3700++ - } - } - r.EncodeMapStart(yynn3700) - yynn3700 = 0 - } - if yyr3700 || yy2arr3700 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3702 := z.EncBinary() - _ = yym3702 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3703 := z.EncBinary() - _ = yym3703 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - if yyr3700 || yy2arr3700 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3705 := &x.FieldRef - yy3705.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3706 := &x.FieldRef - yy3706.CodecEncodeSelf(e) - } - if yyr3700 || yy2arr3700 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3707 := z.DecBinary() - _ = yym3707 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3708 := r.ContainerType() - if yyct3708 == codecSelferValueTypeMap1234 { - yyl3708 := r.ReadMapStart() - if yyl3708 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3708, d) - } - } else if yyct3708 == codecSelferValueTypeArray1234 { - yyl3708 := r.ReadArrayStart() - if yyl3708 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3708, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3709Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3709Slc - var yyhl3709 bool = l >= 0 - for yyj3709 := 0; ; yyj3709++ { - if yyhl3709 { - if yyj3709 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3709Slc = r.DecodeBytes(yys3709Slc, true, true) - yys3709 := string(yys3709Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3709 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - case "fieldRef": - if r.TryDecodeAsNil() { - x.FieldRef = ObjectFieldSelector{} - } else { - yyv3711 := &x.FieldRef - yyv3711.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3709) - } // end switch yys3709 - } // end for yyj3709 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -46221,9 +46306,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Path = "" + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - x.Path = string(r.DecodeString()) + yyv3713 := &x.ListMeta + yym3714 := z.DecBinary() + _ = yym3714 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3713) { + } else { + z.DecFallback(yyv3713, false) + } } yyj3712++ if yyhl3712 { @@ -46237,10 +46329,47 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.FieldRef = ObjectFieldSelector{} + x.Items = nil } else { - yyv3714 := &x.FieldRef - yyv3714.CodecDecodeSelf(d) + yyv3715 := &x.Items + yym3716 := z.DecBinary() + _ = yym3716 + if false { + } else { + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3715), d) + } + } + yyj3712++ + if yyhl3712 { + yyb3712 = yyj3712 > l + } else { + yyb3712 = r.CheckBreak() + } + if yyb3712 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3712++ + if yyhl3712 { + yyb3712 = yyj3712 > l + } else { + yyb3712 = r.CheckBreak() + } + if yyb3712 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) } for { yyj3712++ @@ -46258,6 +46387,392 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3719 := z.EncBinary() + _ = yym3719 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3720 := !z.EncBinary() + yy2arr3720 := z.EncBasicHandle().StructToArray + var yyq3720 [1]bool + _, _, _ = yysep3720, yyq3720, yy2arr3720 + const yyr3720 bool = false + yyq3720[0] = len(x.Items) != 0 + var yynn3720 int + if yyr3720 || yy2arr3720 { + r.EncodeArrayStart(1) + } else { + yynn3720 = 0 + for _, b := range yyq3720 { + if b { + yynn3720++ + } + } + r.EncodeMapStart(yynn3720) + yynn3720 = 0 + } + if yyr3720 || yy2arr3720 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3720[0] { + if x.Items == nil { + r.EncodeNil() + } else { + yym3722 := z.EncBinary() + _ = yym3722 + if false { + } else { + h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3720[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3723 := z.EncBinary() + _ = yym3723 + if false { + } else { + h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) + } + } + } + } + if yyr3720 || yy2arr3720 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3724 := z.DecBinary() + _ = yym3724 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3725 := r.ContainerType() + if yyct3725 == codecSelferValueTypeMap1234 { + yyl3725 := r.ReadMapStart() + if yyl3725 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3725, d) + } + } else if yyct3725 == codecSelferValueTypeArray1234 { + yyl3725 := r.ReadArrayStart() + if yyl3725 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3725, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3726Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3726Slc + var yyhl3726 bool = l >= 0 + for yyj3726 := 0; ; yyj3726++ { + if yyhl3726 { + if yyj3726 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3726Slc = r.DecodeBytes(yys3726Slc, true, true) + yys3726 := string(yys3726Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3726 { + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3727 := &x.Items + yym3728 := z.DecBinary() + _ = yym3728 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3727), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3726) + } // end switch yys3726 + } // end for yyj3726 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3729 int + var yyb3729 bool + var yyhl3729 bool = l >= 0 + yyj3729++ + if yyhl3729 { + yyb3729 = yyj3729 > l + } else { + yyb3729 = r.CheckBreak() + } + if yyb3729 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3730 := &x.Items + yym3731 := z.DecBinary() + _ = yym3731 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3730), d) + } + } + for { + yyj3729++ + if yyhl3729 { + yyb3729 = yyj3729 > l + } else { + yyb3729 = r.CheckBreak() + } + if yyb3729 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3729-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3732 := z.EncBinary() + _ = yym3732 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3733 := !z.EncBinary() + yy2arr3733 := z.EncBasicHandle().StructToArray + var yyq3733 [2]bool + _, _, _ = yysep3733, yyq3733, yy2arr3733 + const yyr3733 bool = false + var yynn3733 int + if yyr3733 || yy2arr3733 { + r.EncodeArrayStart(2) + } else { + yynn3733 = 2 + for _, b := range yyq3733 { + if b { + yynn3733++ + } + } + r.EncodeMapStart(yynn3733) + yynn3733 = 0 + } + if yyr3733 || yy2arr3733 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3735 := z.EncBinary() + _ = yym3735 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3736 := z.EncBinary() + _ = yym3736 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + if yyr3733 || yy2arr3733 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3738 := &x.FieldRef + yy3738.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3739 := &x.FieldRef + yy3739.CodecEncodeSelf(e) + } + if yyr3733 || yy2arr3733 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3740 := z.DecBinary() + _ = yym3740 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3741 := r.ContainerType() + if yyct3741 == codecSelferValueTypeMap1234 { + yyl3741 := r.ReadMapStart() + if yyl3741 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3741, d) + } + } else if yyct3741 == codecSelferValueTypeArray1234 { + yyl3741 := r.ReadArrayStart() + if yyl3741 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3741, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3742Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3742Slc + var yyhl3742 bool = l >= 0 + for yyj3742 := 0; ; yyj3742++ { + if yyhl3742 { + if yyj3742 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3742Slc = r.DecodeBytes(yys3742Slc, true, true) + yys3742 := string(yys3742Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3742 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "fieldRef": + if r.TryDecodeAsNil() { + x.FieldRef = ObjectFieldSelector{} + } else { + yyv3744 := &x.FieldRef + yyv3744.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3742) + } // end switch yys3742 + } // end for yyj3742 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3745 int + var yyb3745 bool + var yyhl3745 bool = l >= 0 + yyj3745++ + if yyhl3745 { + yyb3745 = yyj3745 > l + } else { + yyb3745 = r.CheckBreak() + } + if yyb3745 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj3745++ + if yyhl3745 { + yyb3745 = yyj3745 > l + } else { + yyb3745 = r.CheckBreak() + } + if yyb3745 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FieldRef = ObjectFieldSelector{} + } else { + yyv3747 := &x.FieldRef + yyv3747.CodecDecodeSelf(d) + } + for { + yyj3745++ + if yyhl3745 { + yyb3745 = yyj3745 > l + } else { + yyb3745 = r.CheckBreak() + } + if yyb3745 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3745-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -46265,37 +46780,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3715 := z.EncBinary() - _ = yym3715 + yym3748 := z.EncBinary() + _ = yym3748 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3716 := !z.EncBinary() - yy2arr3716 := z.EncBasicHandle().StructToArray - var yyq3716 [5]bool - _, _, _ = yysep3716, yyq3716, yy2arr3716 - const yyr3716 bool = false - yyq3716[0] = x.Capabilities != nil - yyq3716[1] = x.Privileged != nil - yyq3716[2] = x.SELinuxOptions != nil - yyq3716[3] = x.RunAsUser != nil - yyq3716[4] = x.RunAsNonRoot != nil - var yynn3716 int - if yyr3716 || yy2arr3716 { + yysep3749 := !z.EncBinary() + yy2arr3749 := z.EncBasicHandle().StructToArray + var yyq3749 [5]bool + _, _, _ = yysep3749, yyq3749, yy2arr3749 + const yyr3749 bool = false + yyq3749[0] = x.Capabilities != nil + yyq3749[1] = x.Privileged != nil + yyq3749[2] = x.SELinuxOptions != nil + yyq3749[3] = x.RunAsUser != nil + yyq3749[4] = x.RunAsNonRoot != nil + var yynn3749 int + if yyr3749 || yy2arr3749 { r.EncodeArrayStart(5) } else { - yynn3716 = 0 - for _, b := range yyq3716 { + yynn3749 = 0 + for _, b := range yyq3749 { if b { - yynn3716++ + yynn3749++ } } - r.EncodeMapStart(yynn3716) - yynn3716 = 0 + r.EncodeMapStart(yynn3749) + yynn3749 = 0 } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3716[0] { + if yyq3749[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -46305,7 +46820,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3716[0] { + if yyq3749[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -46316,44 +46831,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3716[1] { + if yyq3749[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3719 := *x.Privileged - yym3720 := z.EncBinary() - _ = yym3720 + yy3752 := *x.Privileged + yym3753 := z.EncBinary() + _ = yym3753 if false { } else { - r.EncodeBool(bool(yy3719)) + r.EncodeBool(bool(yy3752)) } } } else { r.EncodeNil() } } else { - if yyq3716[1] { + if yyq3749[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3721 := *x.Privileged - yym3722 := z.EncBinary() - _ = yym3722 + yy3754 := *x.Privileged + yym3755 := z.EncBinary() + _ = yym3755 if false { } else { - r.EncodeBool(bool(yy3721)) + r.EncodeBool(bool(yy3754)) } } } } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3716[2] { + if yyq3749[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -46363,7 +46878,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3716[2] { + if yyq3749[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -46374,77 +46889,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3716[3] { + if yyq3749[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3725 := *x.RunAsUser - yym3726 := z.EncBinary() - _ = yym3726 + yy3758 := *x.RunAsUser + yym3759 := z.EncBinary() + _ = yym3759 if false { } else { - r.EncodeInt(int64(yy3725)) + r.EncodeInt(int64(yy3758)) } } } else { r.EncodeNil() } } else { - if yyq3716[3] { + if yyq3749[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3727 := *x.RunAsUser - yym3728 := z.EncBinary() - _ = yym3728 + yy3760 := *x.RunAsUser + yym3761 := z.EncBinary() + _ = yym3761 if false { } else { - r.EncodeInt(int64(yy3727)) + r.EncodeInt(int64(yy3760)) } } } } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3716[4] { + if yyq3749[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3730 := *x.RunAsNonRoot - yym3731 := z.EncBinary() - _ = yym3731 + yy3763 := *x.RunAsNonRoot + yym3764 := z.EncBinary() + _ = yym3764 if false { } else { - r.EncodeBool(bool(yy3730)) + r.EncodeBool(bool(yy3763)) } } } else { r.EncodeNil() } } else { - if yyq3716[4] { + if yyq3749[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3732 := *x.RunAsNonRoot - yym3733 := z.EncBinary() - _ = yym3733 + yy3765 := *x.RunAsNonRoot + yym3766 := z.EncBinary() + _ = yym3766 if false { } else { - r.EncodeBool(bool(yy3732)) + r.EncodeBool(bool(yy3765)) } } } } - if yyr3716 || yy2arr3716 { + if yyr3749 || yy2arr3749 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46457,25 +46972,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3734 := z.DecBinary() - _ = yym3734 + yym3767 := z.DecBinary() + _ = yym3767 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3735 := r.ContainerType() - if yyct3735 == codecSelferValueTypeMap1234 { - yyl3735 := r.ReadMapStart() - if yyl3735 == 0 { + yyct3768 := r.ContainerType() + if yyct3768 == codecSelferValueTypeMap1234 { + yyl3768 := r.ReadMapStart() + if yyl3768 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3735, d) + x.codecDecodeSelfFromMap(yyl3768, d) } - } else if yyct3735 == codecSelferValueTypeArray1234 { - yyl3735 := r.ReadArrayStart() - if yyl3735 == 0 { + } else if yyct3768 == codecSelferValueTypeArray1234 { + yyl3768 := r.ReadArrayStart() + if yyl3768 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3735, d) + x.codecDecodeSelfFromArray(yyl3768, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46487,12 +47002,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3736Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3736Slc - var yyhl3736 bool = l >= 0 - for yyj3736 := 0; ; yyj3736++ { - if yyhl3736 { - if yyj3736 >= l { + var yys3769Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3769Slc + var yyhl3769 bool = l >= 0 + for yyj3769 := 0; ; yyj3769++ { + if yyhl3769 { + if yyj3769 >= l { break } } else { @@ -46501,10 +47016,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3736Slc = r.DecodeBytes(yys3736Slc, true, true) - yys3736 := string(yys3736Slc) + yys3769Slc = r.DecodeBytes(yys3769Slc, true, true) + yys3769 := string(yys3769Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3736 { + switch yys3769 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -46525,8 +47040,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3739 := z.DecBinary() - _ = yym3739 + yym3772 := z.DecBinary() + _ = yym3772 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -46552,8 +47067,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3742 := z.DecBinary() - _ = yym3742 + yym3775 := z.DecBinary() + _ = yym3775 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -46568,17 +47083,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3744 := z.DecBinary() - _ = yym3744 + yym3777 := z.DecBinary() + _ = yym3777 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3736) - } // end switch yys3736 - } // end for yyj3736 + z.DecStructFieldNotFound(-1, yys3769) + } // end switch yys3769 + } // end for yyj3769 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46586,16 +47101,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3745 int - var yyb3745 bool - var yyhl3745 bool = l >= 0 - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + var yyj3778 int + var yyb3778 bool + var yyhl3778 bool = l >= 0 + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46610,13 +47125,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46629,20 +47144,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3748 := z.DecBinary() - _ = yym3748 + yym3781 := z.DecBinary() + _ = yym3781 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46657,13 +47172,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46676,20 +47191,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3751 := z.DecBinary() - _ = yym3751 + yym3784 := z.DecBinary() + _ = yym3784 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46702,25 +47217,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3753 := z.DecBinary() - _ = yym3753 + yym3786 := z.DecBinary() + _ = yym3786 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3745++ - if yyhl3745 { - yyb3745 = yyj3745 > l + yyj3778++ + if yyhl3778 { + yyb3778 = yyj3778 > l } else { - yyb3745 = r.CheckBreak() + yyb3778 = r.CheckBreak() } - if yyb3745 { + if yyb3778 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3745-1, "") + z.DecStructFieldNotFound(yyj3778-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46732,38 +47247,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3754 := z.EncBinary() - _ = yym3754 + yym3787 := z.EncBinary() + _ = yym3787 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3755 := !z.EncBinary() - yy2arr3755 := z.EncBasicHandle().StructToArray - var yyq3755 [4]bool - _, _, _ = yysep3755, yyq3755, yy2arr3755 - const yyr3755 bool = false - yyq3755[0] = x.User != "" - yyq3755[1] = x.Role != "" - yyq3755[2] = x.Type != "" - yyq3755[3] = x.Level != "" - var yynn3755 int - if yyr3755 || yy2arr3755 { + yysep3788 := !z.EncBinary() + yy2arr3788 := z.EncBasicHandle().StructToArray + var yyq3788 [4]bool + _, _, _ = yysep3788, yyq3788, yy2arr3788 + const yyr3788 bool = false + yyq3788[0] = x.User != "" + yyq3788[1] = x.Role != "" + yyq3788[2] = x.Type != "" + yyq3788[3] = x.Level != "" + var yynn3788 int + if yyr3788 || yy2arr3788 { r.EncodeArrayStart(4) } else { - yynn3755 = 0 - for _, b := range yyq3755 { + yynn3788 = 0 + for _, b := range yyq3788 { if b { - yynn3755++ + yynn3788++ } } - r.EncodeMapStart(yynn3755) - yynn3755 = 0 + r.EncodeMapStart(yynn3788) + yynn3788 = 0 } - if yyr3755 || yy2arr3755 { + if yyr3788 || yy2arr3788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3755[0] { - yym3757 := z.EncBinary() - _ = yym3757 + if yyq3788[0] { + yym3790 := z.EncBinary() + _ = yym3790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -46772,23 +47287,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3755[0] { + if yyq3788[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3758 := z.EncBinary() - _ = yym3758 + yym3791 := z.EncBinary() + _ = yym3791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3755 || yy2arr3755 { + if yyr3788 || yy2arr3788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3755[1] { - yym3760 := z.EncBinary() - _ = yym3760 + if yyq3788[1] { + yym3793 := z.EncBinary() + _ = yym3793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -46797,23 +47312,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3755[1] { + if yyq3788[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3761 := z.EncBinary() - _ = yym3761 + yym3794 := z.EncBinary() + _ = yym3794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3755 || yy2arr3755 { + if yyr3788 || yy2arr3788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3755[2] { - yym3763 := z.EncBinary() - _ = yym3763 + if yyq3788[2] { + yym3796 := z.EncBinary() + _ = yym3796 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -46822,23 +47337,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3755[2] { + if yyq3788[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3764 := z.EncBinary() - _ = yym3764 + yym3797 := z.EncBinary() + _ = yym3797 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3755 || yy2arr3755 { + if yyr3788 || yy2arr3788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3755[3] { - yym3766 := z.EncBinary() - _ = yym3766 + if yyq3788[3] { + yym3799 := z.EncBinary() + _ = yym3799 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -46847,19 +47362,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3755[3] { + if yyq3788[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3767 := z.EncBinary() - _ = yym3767 + yym3800 := z.EncBinary() + _ = yym3800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3755 || yy2arr3755 { + if yyr3788 || yy2arr3788 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46872,25 +47387,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3768 := z.DecBinary() - _ = yym3768 + yym3801 := z.DecBinary() + _ = yym3801 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3769 := r.ContainerType() - if yyct3769 == codecSelferValueTypeMap1234 { - yyl3769 := r.ReadMapStart() - if yyl3769 == 0 { + yyct3802 := r.ContainerType() + if yyct3802 == codecSelferValueTypeMap1234 { + yyl3802 := r.ReadMapStart() + if yyl3802 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3769, d) + x.codecDecodeSelfFromMap(yyl3802, d) } - } else if yyct3769 == codecSelferValueTypeArray1234 { - yyl3769 := r.ReadArrayStart() - if yyl3769 == 0 { + } else if yyct3802 == codecSelferValueTypeArray1234 { + yyl3802 := r.ReadArrayStart() + if yyl3802 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3769, d) + x.codecDecodeSelfFromArray(yyl3802, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46902,12 +47417,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3770Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3770Slc - var yyhl3770 bool = l >= 0 - for yyj3770 := 0; ; yyj3770++ { - if yyhl3770 { - if yyj3770 >= l { + var yys3803Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3803Slc + var yyhl3803 bool = l >= 0 + for yyj3803 := 0; ; yyj3803++ { + if yyhl3803 { + if yyj3803 >= l { break } } else { @@ -46916,10 +47431,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3770Slc = r.DecodeBytes(yys3770Slc, true, true) - yys3770 := string(yys3770Slc) + yys3803Slc = r.DecodeBytes(yys3803Slc, true, true) + yys3803 := string(yys3803Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3770 { + switch yys3803 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -46945,9 +47460,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3770) - } // end switch yys3770 - } // end for yyj3770 + z.DecStructFieldNotFound(-1, yys3803) + } // end switch yys3803 + } // end for yyj3803 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46955,16 +47470,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3775 int - var yyb3775 bool - var yyhl3775 bool = l >= 0 - yyj3775++ - if yyhl3775 { - yyb3775 = yyj3775 > l + var yyj3808 int + var yyb3808 bool + var yyhl3808 bool = l >= 0 + yyj3808++ + if yyhl3808 { + yyb3808 = yyj3808 > l } else { - yyb3775 = r.CheckBreak() + yyb3808 = r.CheckBreak() } - if yyb3775 { + if yyb3808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46974,13 +47489,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3775++ - if yyhl3775 { - yyb3775 = yyj3775 > l + yyj3808++ + if yyhl3808 { + yyb3808 = yyj3808 > l } else { - yyb3775 = r.CheckBreak() + yyb3808 = r.CheckBreak() } - if yyb3775 { + if yyb3808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46990,13 +47505,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3775++ - if yyhl3775 { - yyb3775 = yyj3775 > l + yyj3808++ + if yyhl3808 { + yyb3808 = yyj3808 > l } else { - yyb3775 = r.CheckBreak() + yyb3808 = r.CheckBreak() } - if yyb3775 { + if yyb3808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47006,13 +47521,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3775++ - if yyhl3775 { - yyb3775 = yyj3775 > l + yyj3808++ + if yyhl3808 { + yyb3808 = yyj3808 > l } else { - yyb3775 = r.CheckBreak() + yyb3808 = r.CheckBreak() } - if yyb3775 { + if yyb3808 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47023,17 +47538,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3775++ - if yyhl3775 { - yyb3775 = yyj3775 > l + yyj3808++ + if yyhl3808 { + yyb3808 = yyj3808 > l } else { - yyb3775 = r.CheckBreak() + yyb3808 = r.CheckBreak() } - if yyb3775 { + if yyb3808 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3775-1, "") + z.DecStructFieldNotFound(yyj3808-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47045,53 +47560,53 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3780 := z.EncBinary() - _ = yym3780 + yym3813 := z.EncBinary() + _ = yym3813 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3781 := !z.EncBinary() - yy2arr3781 := z.EncBasicHandle().StructToArray - var yyq3781 [5]bool - _, _, _ = yysep3781, yyq3781, yy2arr3781 - const yyr3781 bool = false - yyq3781[0] = true - yyq3781[3] = x.Kind != "" - yyq3781[4] = x.APIVersion != "" - var yynn3781 int - if yyr3781 || yy2arr3781 { + yysep3814 := !z.EncBinary() + yy2arr3814 := z.EncBasicHandle().StructToArray + var yyq3814 [5]bool + _, _, _ = yysep3814, yyq3814, yy2arr3814 + const yyr3814 bool = false + yyq3814[0] = true + yyq3814[3] = x.Kind != "" + yyq3814[4] = x.APIVersion != "" + var yynn3814 int + if yyr3814 || yy2arr3814 { r.EncodeArrayStart(5) } else { - yynn3781 = 2 - for _, b := range yyq3781 { + yynn3814 = 2 + for _, b := range yyq3814 { if b { - yynn3781++ + yynn3814++ } } - r.EncodeMapStart(yynn3781) - yynn3781 = 0 + r.EncodeMapStart(yynn3814) + yynn3814 = 0 } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3781[0] { - yy3783 := &x.ObjectMeta - yy3783.CodecEncodeSelf(e) + if yyq3814[0] { + yy3816 := &x.ObjectMeta + yy3816.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3781[0] { + if yyq3814[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3784 := &x.ObjectMeta - yy3784.CodecEncodeSelf(e) + yy3817 := &x.ObjectMeta + yy3817.CodecEncodeSelf(e) } } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3786 := z.EncBinary() - _ = yym3786 + yym3819 := z.EncBinary() + _ = yym3819 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -47100,20 +47615,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3787 := z.EncBinary() - _ = yym3787 + yym3820 := z.EncBinary() + _ = yym3820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3789 := z.EncBinary() - _ = yym3789 + yym3822 := z.EncBinary() + _ = yym3822 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -47126,19 +47641,19 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3790 := z.EncBinary() - _ = yym3790 + yym3823 := z.EncBinary() + _ = yym3823 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3781[3] { - yym3792 := z.EncBinary() - _ = yym3792 + if yyq3814[3] { + yym3825 := z.EncBinary() + _ = yym3825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47147,23 +47662,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3781[3] { + if yyq3814[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3793 := z.EncBinary() - _ = yym3793 + yym3826 := z.EncBinary() + _ = yym3826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3781[4] { - yym3795 := z.EncBinary() - _ = yym3795 + if yyq3814[4] { + yym3828 := z.EncBinary() + _ = yym3828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47172,19 +47687,19 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3781[4] { + if yyq3814[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3796 := z.EncBinary() - _ = yym3796 + yym3829 := z.EncBinary() + _ = yym3829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3781 || yy2arr3781 { + if yyr3814 || yy2arr3814 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47197,25 +47712,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3797 := z.DecBinary() - _ = yym3797 + yym3830 := z.DecBinary() + _ = yym3830 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3798 := r.ContainerType() - if yyct3798 == codecSelferValueTypeMap1234 { - yyl3798 := r.ReadMapStart() - if yyl3798 == 0 { + yyct3831 := r.ContainerType() + if yyct3831 == codecSelferValueTypeMap1234 { + yyl3831 := r.ReadMapStart() + if yyl3831 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3798, d) + x.codecDecodeSelfFromMap(yyl3831, d) } - } else if yyct3798 == codecSelferValueTypeArray1234 { - yyl3798 := r.ReadArrayStart() - if yyl3798 == 0 { + } else if yyct3831 == codecSelferValueTypeArray1234 { + yyl3831 := r.ReadArrayStart() + if yyl3831 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3798, d) + x.codecDecodeSelfFromArray(yyl3831, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47227,12 +47742,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3799Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3799Slc - var yyhl3799 bool = l >= 0 - for yyj3799 := 0; ; yyj3799++ { - if yyhl3799 { - if yyj3799 >= l { + var yys3832Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3832Slc + var yyhl3832 bool = l >= 0 + for yyj3832 := 0; ; yyj3832++ { + if yyhl3832 { + if yyj3832 >= l { break } } else { @@ -47241,16 +47756,16 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3799Slc = r.DecodeBytes(yys3799Slc, true, true) - yys3799 := string(yys3799Slc) + yys3832Slc = r.DecodeBytes(yys3832Slc, true, true) + yys3832 := string(yys3832Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3799 { + switch yys3832 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3800 := &x.ObjectMeta - yyv3800.CodecDecodeSelf(d) + yyv3833 := &x.ObjectMeta + yyv3833.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -47262,12 +47777,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3802 := &x.Data - yym3803 := z.DecBinary() - _ = yym3803 + yyv3835 := &x.Data + yym3836 := z.DecBinary() + _ = yym3836 if false { } else { - *yyv3802 = r.DecodeBytes(*(*[]byte)(yyv3802), false, false) + *yyv3835 = r.DecodeBytes(*(*[]byte)(yyv3835), false, false) } } case "kind": @@ -47283,9 +47798,9 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3799) - } // end switch yys3799 - } // end for yyj3799 + z.DecStructFieldNotFound(-1, yys3832) + } // end switch yys3832 + } // end for yyj3832 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47293,16 +47808,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3806 int - var yyb3806 bool - var yyhl3806 bool = l >= 0 - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + var yyj3839 int + var yyb3839 bool + var yyhl3839 bool = l >= 0 + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47310,16 +47825,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3807 := &x.ObjectMeta - yyv3807.CodecDecodeSelf(d) + yyv3840 := &x.ObjectMeta + yyv3840.CodecDecodeSelf(d) } - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47329,13 +47844,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47343,21 +47858,21 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3809 := &x.Data - yym3810 := z.DecBinary() - _ = yym3810 + yyv3842 := &x.Data + yym3843 := z.DecBinary() + _ = yym3843 if false { } else { - *yyv3809 = r.DecodeBytes(*(*[]byte)(yyv3809), false, false) + *yyv3842 = r.DecodeBytes(*(*[]byte)(yyv3842), false, false) } } - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47367,13 +47882,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47384,17 +47899,17 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.APIVersion = string(r.DecodeString()) } for { - yyj3806++ - if yyhl3806 { - yyb3806 = yyj3806 > l + yyj3839++ + if yyhl3839 { + yyb3839 = yyj3839 > l } else { - yyb3806 = r.CheckBreak() + yyb3839 = r.CheckBreak() } - if yyb3806 { + if yyb3839 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3806-1, "") + z.DecStructFieldNotFound(yyj3839-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47404,9 +47919,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3813 := range v { + for _, yyv3846 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3813.CodecEncodeSelf(e) + yyv3846.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47416,75 +47931,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3814 := *v - yyh3814, yyl3814 := z.DecSliceHelperStart() - var yyc3814 bool - if yyl3814 == 0 { - if yyv3814 == nil { - yyv3814 = []PersistentVolumeAccessMode{} - yyc3814 = true - } else if len(yyv3814) != 0 { - yyv3814 = yyv3814[:0] - yyc3814 = true + yyv3847 := *v + yyh3847, yyl3847 := z.DecSliceHelperStart() + var yyc3847 bool + if yyl3847 == 0 { + if yyv3847 == nil { + yyv3847 = []PersistentVolumeAccessMode{} + yyc3847 = true + } else if len(yyv3847) != 0 { + yyv3847 = yyv3847[:0] + yyc3847 = true } - } else if yyl3814 > 0 { - var yyrr3814, yyrl3814 int - var yyrt3814 bool - if yyl3814 > cap(yyv3814) { + } else if yyl3847 > 0 { + var yyrr3847, yyrl3847 int + var yyrt3847 bool + if yyl3847 > cap(yyv3847) { - yyrl3814, yyrt3814 = z.DecInferLen(yyl3814, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3814 { - if yyrl3814 <= cap(yyv3814) { - yyv3814 = yyv3814[:yyrl3814] + yyrl3847, yyrt3847 = z.DecInferLen(yyl3847, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3847 { + if yyrl3847 <= cap(yyv3847) { + yyv3847 = yyv3847[:yyrl3847] } else { - yyv3814 = make([]PersistentVolumeAccessMode, yyrl3814) + yyv3847 = make([]PersistentVolumeAccessMode, yyrl3847) } } else { - yyv3814 = make([]PersistentVolumeAccessMode, yyrl3814) + yyv3847 = make([]PersistentVolumeAccessMode, yyrl3847) } - yyc3814 = true - yyrr3814 = len(yyv3814) - } else if yyl3814 != len(yyv3814) { - yyv3814 = yyv3814[:yyl3814] - yyc3814 = true + yyc3847 = true + yyrr3847 = len(yyv3847) + } else if yyl3847 != len(yyv3847) { + yyv3847 = yyv3847[:yyl3847] + yyc3847 = true } - yyj3814 := 0 - for ; yyj3814 < yyrr3814; yyj3814++ { - yyh3814.ElemContainerState(yyj3814) + yyj3847 := 0 + for ; yyj3847 < yyrr3847; yyj3847++ { + yyh3847.ElemContainerState(yyj3847) if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3847[yyj3847] = "" } else { - yyv3814[yyj3814] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3847[yyj3847] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3814 { - for ; yyj3814 < yyl3814; yyj3814++ { - yyv3814 = append(yyv3814, "") - yyh3814.ElemContainerState(yyj3814) + if yyrt3847 { + for ; yyj3847 < yyl3847; yyj3847++ { + yyv3847 = append(yyv3847, "") + yyh3847.ElemContainerState(yyj3847) if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3847[yyj3847] = "" } else { - yyv3814[yyj3814] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3847[yyj3847] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3814 := 0 - for ; !r.CheckBreak(); yyj3814++ { + yyj3847 := 0 + for ; !r.CheckBreak(); yyj3847++ { - if yyj3814 >= len(yyv3814) { - yyv3814 = append(yyv3814, "") // var yyz3814 PersistentVolumeAccessMode - yyc3814 = true + if yyj3847 >= len(yyv3847) { + yyv3847 = append(yyv3847, "") // var yyz3847 PersistentVolumeAccessMode + yyc3847 = true } - yyh3814.ElemContainerState(yyj3814) - if yyj3814 < len(yyv3814) { + yyh3847.ElemContainerState(yyj3847) + if yyj3847 < len(yyv3847) { if r.TryDecodeAsNil() { - yyv3814[yyj3814] = "" + yyv3847[yyj3847] = "" } else { - yyv3814[yyj3814] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3847[yyj3847] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -47492,17 +48007,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3814 < len(yyv3814) { - yyv3814 = yyv3814[:yyj3814] - yyc3814 = true - } else if yyj3814 == 0 && yyv3814 == nil { - yyv3814 = []PersistentVolumeAccessMode{} - yyc3814 = true + if yyj3847 < len(yyv3847) { + yyv3847 = yyv3847[:yyj3847] + yyc3847 = true + } else if yyj3847 == 0 && yyv3847 == nil { + yyv3847 = []PersistentVolumeAccessMode{} + yyc3847 = true } } - yyh3814.End() - if yyc3814 { - *v = yyv3814 + yyh3847.End() + if yyc3847 { + *v = yyv3847 } } @@ -47511,10 +48026,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3818 := range v { + for _, yyv3851 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3819 := &yyv3818 - yy3819.CodecEncodeSelf(e) + yy3852 := &yyv3851 + yy3852.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47524,83 +48039,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3820 := *v - yyh3820, yyl3820 := z.DecSliceHelperStart() - var yyc3820 bool - if yyl3820 == 0 { - if yyv3820 == nil { - yyv3820 = []PersistentVolume{} - yyc3820 = true - } else if len(yyv3820) != 0 { - yyv3820 = yyv3820[:0] - yyc3820 = true + yyv3853 := *v + yyh3853, yyl3853 := z.DecSliceHelperStart() + var yyc3853 bool + if yyl3853 == 0 { + if yyv3853 == nil { + yyv3853 = []PersistentVolume{} + yyc3853 = true + } else if len(yyv3853) != 0 { + yyv3853 = yyv3853[:0] + yyc3853 = true } - } else if yyl3820 > 0 { - var yyrr3820, yyrl3820 int - var yyrt3820 bool - if yyl3820 > cap(yyv3820) { + } else if yyl3853 > 0 { + var yyrr3853, yyrl3853 int + var yyrt3853 bool + if yyl3853 > cap(yyv3853) { - yyrg3820 := len(yyv3820) > 0 - yyv23820 := yyv3820 - yyrl3820, yyrt3820 = z.DecInferLen(yyl3820, z.DecBasicHandle().MaxInitLen, 392) - if yyrt3820 { - if yyrl3820 <= cap(yyv3820) { - yyv3820 = yyv3820[:yyrl3820] + yyrg3853 := len(yyv3853) > 0 + yyv23853 := yyv3853 + yyrl3853, yyrt3853 = z.DecInferLen(yyl3853, z.DecBasicHandle().MaxInitLen, 400) + if yyrt3853 { + if yyrl3853 <= cap(yyv3853) { + yyv3853 = yyv3853[:yyrl3853] } else { - yyv3820 = make([]PersistentVolume, yyrl3820) + yyv3853 = make([]PersistentVolume, yyrl3853) } } else { - yyv3820 = make([]PersistentVolume, yyrl3820) + yyv3853 = make([]PersistentVolume, yyrl3853) } - yyc3820 = true - yyrr3820 = len(yyv3820) - if yyrg3820 { - copy(yyv3820, yyv23820) + yyc3853 = true + yyrr3853 = len(yyv3853) + if yyrg3853 { + copy(yyv3853, yyv23853) } - } else if yyl3820 != len(yyv3820) { - yyv3820 = yyv3820[:yyl3820] - yyc3820 = true + } else if yyl3853 != len(yyv3853) { + yyv3853 = yyv3853[:yyl3853] + yyc3853 = true } - yyj3820 := 0 - for ; yyj3820 < yyrr3820; yyj3820++ { - yyh3820.ElemContainerState(yyj3820) + yyj3853 := 0 + for ; yyj3853 < yyrr3853; yyj3853++ { + yyh3853.ElemContainerState(yyj3853) if r.TryDecodeAsNil() { - yyv3820[yyj3820] = PersistentVolume{} + yyv3853[yyj3853] = PersistentVolume{} } else { - yyv3821 := &yyv3820[yyj3820] - yyv3821.CodecDecodeSelf(d) + yyv3854 := &yyv3853[yyj3853] + yyv3854.CodecDecodeSelf(d) } } - if yyrt3820 { - for ; yyj3820 < yyl3820; yyj3820++ { - yyv3820 = append(yyv3820, PersistentVolume{}) - yyh3820.ElemContainerState(yyj3820) + if yyrt3853 { + for ; yyj3853 < yyl3853; yyj3853++ { + yyv3853 = append(yyv3853, PersistentVolume{}) + yyh3853.ElemContainerState(yyj3853) if r.TryDecodeAsNil() { - yyv3820[yyj3820] = PersistentVolume{} + yyv3853[yyj3853] = PersistentVolume{} } else { - yyv3822 := &yyv3820[yyj3820] - yyv3822.CodecDecodeSelf(d) + yyv3855 := &yyv3853[yyj3853] + yyv3855.CodecDecodeSelf(d) } } } } else { - yyj3820 := 0 - for ; !r.CheckBreak(); yyj3820++ { + yyj3853 := 0 + for ; !r.CheckBreak(); yyj3853++ { - if yyj3820 >= len(yyv3820) { - yyv3820 = append(yyv3820, PersistentVolume{}) // var yyz3820 PersistentVolume - yyc3820 = true + if yyj3853 >= len(yyv3853) { + yyv3853 = append(yyv3853, PersistentVolume{}) // var yyz3853 PersistentVolume + yyc3853 = true } - yyh3820.ElemContainerState(yyj3820) - if yyj3820 < len(yyv3820) { + yyh3853.ElemContainerState(yyj3853) + if yyj3853 < len(yyv3853) { if r.TryDecodeAsNil() { - yyv3820[yyj3820] = PersistentVolume{} + yyv3853[yyj3853] = PersistentVolume{} } else { - yyv3823 := &yyv3820[yyj3820] - yyv3823.CodecDecodeSelf(d) + yyv3856 := &yyv3853[yyj3853] + yyv3856.CodecDecodeSelf(d) } } else { @@ -47608,17 +48123,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3820 < len(yyv3820) { - yyv3820 = yyv3820[:yyj3820] - yyc3820 = true - } else if yyj3820 == 0 && yyv3820 == nil { - yyv3820 = []PersistentVolume{} - yyc3820 = true + if yyj3853 < len(yyv3853) { + yyv3853 = yyv3853[:yyj3853] + yyc3853 = true + } else if yyj3853 == 0 && yyv3853 == nil { + yyv3853 = []PersistentVolume{} + yyc3853 = true } } - yyh3820.End() - if yyc3820 { - *v = yyv3820 + yyh3853.End() + if yyc3853 { + *v = yyv3853 } } @@ -47627,10 +48142,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3824 := range v { + for _, yyv3857 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3825 := &yyv3824 - yy3825.CodecEncodeSelf(e) + yy3858 := &yyv3857 + yy3858.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47640,83 +48155,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3826 := *v - yyh3826, yyl3826 := z.DecSliceHelperStart() - var yyc3826 bool - if yyl3826 == 0 { - if yyv3826 == nil { - yyv3826 = []PersistentVolumeClaim{} - yyc3826 = true - } else if len(yyv3826) != 0 { - yyv3826 = yyv3826[:0] - yyc3826 = true + yyv3859 := *v + yyh3859, yyl3859 := z.DecSliceHelperStart() + var yyc3859 bool + if yyl3859 == 0 { + if yyv3859 == nil { + yyv3859 = []PersistentVolumeClaim{} + yyc3859 = true + } else if len(yyv3859) != 0 { + yyv3859 = yyv3859[:0] + yyc3859 = true } - } else if yyl3826 > 0 { - var yyrr3826, yyrl3826 int - var yyrt3826 bool - if yyl3826 > cap(yyv3826) { + } else if yyl3859 > 0 { + var yyrr3859, yyrl3859 int + var yyrt3859 bool + if yyl3859 > cap(yyv3859) { - yyrg3826 := len(yyv3826) > 0 - yyv23826 := yyv3826 - yyrl3826, yyrt3826 = z.DecInferLen(yyl3826, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3826 { - if yyrl3826 <= cap(yyv3826) { - yyv3826 = yyv3826[:yyrl3826] + yyrg3859 := len(yyv3859) > 0 + yyv23859 := yyv3859 + yyrl3859, yyrt3859 = z.DecInferLen(yyl3859, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3859 { + if yyrl3859 <= cap(yyv3859) { + yyv3859 = yyv3859[:yyrl3859] } else { - yyv3826 = make([]PersistentVolumeClaim, yyrl3826) + yyv3859 = make([]PersistentVolumeClaim, yyrl3859) } } else { - yyv3826 = make([]PersistentVolumeClaim, yyrl3826) + yyv3859 = make([]PersistentVolumeClaim, yyrl3859) } - yyc3826 = true - yyrr3826 = len(yyv3826) - if yyrg3826 { - copy(yyv3826, yyv23826) + yyc3859 = true + yyrr3859 = len(yyv3859) + if yyrg3859 { + copy(yyv3859, yyv23859) } - } else if yyl3826 != len(yyv3826) { - yyv3826 = yyv3826[:yyl3826] - yyc3826 = true + } else if yyl3859 != len(yyv3859) { + yyv3859 = yyv3859[:yyl3859] + yyc3859 = true } - yyj3826 := 0 - for ; yyj3826 < yyrr3826; yyj3826++ { - yyh3826.ElemContainerState(yyj3826) + yyj3859 := 0 + for ; yyj3859 < yyrr3859; yyj3859++ { + yyh3859.ElemContainerState(yyj3859) if r.TryDecodeAsNil() { - yyv3826[yyj3826] = PersistentVolumeClaim{} + yyv3859[yyj3859] = PersistentVolumeClaim{} } else { - yyv3827 := &yyv3826[yyj3826] - yyv3827.CodecDecodeSelf(d) + yyv3860 := &yyv3859[yyj3859] + yyv3860.CodecDecodeSelf(d) } } - if yyrt3826 { - for ; yyj3826 < yyl3826; yyj3826++ { - yyv3826 = append(yyv3826, PersistentVolumeClaim{}) - yyh3826.ElemContainerState(yyj3826) + if yyrt3859 { + for ; yyj3859 < yyl3859; yyj3859++ { + yyv3859 = append(yyv3859, PersistentVolumeClaim{}) + yyh3859.ElemContainerState(yyj3859) if r.TryDecodeAsNil() { - yyv3826[yyj3826] = PersistentVolumeClaim{} + yyv3859[yyj3859] = PersistentVolumeClaim{} } else { - yyv3828 := &yyv3826[yyj3826] - yyv3828.CodecDecodeSelf(d) + yyv3861 := &yyv3859[yyj3859] + yyv3861.CodecDecodeSelf(d) } } } } else { - yyj3826 := 0 - for ; !r.CheckBreak(); yyj3826++ { + yyj3859 := 0 + for ; !r.CheckBreak(); yyj3859++ { - if yyj3826 >= len(yyv3826) { - yyv3826 = append(yyv3826, PersistentVolumeClaim{}) // var yyz3826 PersistentVolumeClaim - yyc3826 = true + if yyj3859 >= len(yyv3859) { + yyv3859 = append(yyv3859, PersistentVolumeClaim{}) // var yyz3859 PersistentVolumeClaim + yyc3859 = true } - yyh3826.ElemContainerState(yyj3826) - if yyj3826 < len(yyv3826) { + yyh3859.ElemContainerState(yyj3859) + if yyj3859 < len(yyv3859) { if r.TryDecodeAsNil() { - yyv3826[yyj3826] = PersistentVolumeClaim{} + yyv3859[yyj3859] = PersistentVolumeClaim{} } else { - yyv3829 := &yyv3826[yyj3826] - yyv3829.CodecDecodeSelf(d) + yyv3862 := &yyv3859[yyj3859] + yyv3862.CodecDecodeSelf(d) } } else { @@ -47724,17 +48239,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3826 < len(yyv3826) { - yyv3826 = yyv3826[:yyj3826] - yyc3826 = true - } else if yyj3826 == 0 && yyv3826 == nil { - yyv3826 = []PersistentVolumeClaim{} - yyc3826 = true + if yyj3859 < len(yyv3859) { + yyv3859 = yyv3859[:yyj3859] + yyc3859 = true + } else if yyj3859 == 0 && yyv3859 == nil { + yyv3859 = []PersistentVolumeClaim{} + yyc3859 = true } } - yyh3826.End() - if yyc3826 { - *v = yyv3826 + yyh3859.End() + if yyc3859 { + *v = yyv3859 } } @@ -47743,10 +48258,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3830 := range v { + for _, yyv3863 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3831 := &yyv3830 - yy3831.CodecEncodeSelf(e) + yy3864 := &yyv3863 + yy3864.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47756,83 +48271,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3832 := *v - yyh3832, yyl3832 := z.DecSliceHelperStart() - var yyc3832 bool - if yyl3832 == 0 { - if yyv3832 == nil { - yyv3832 = []HTTPHeader{} - yyc3832 = true - } else if len(yyv3832) != 0 { - yyv3832 = yyv3832[:0] - yyc3832 = true + yyv3865 := *v + yyh3865, yyl3865 := z.DecSliceHelperStart() + var yyc3865 bool + if yyl3865 == 0 { + if yyv3865 == nil { + yyv3865 = []HTTPHeader{} + yyc3865 = true + } else if len(yyv3865) != 0 { + yyv3865 = yyv3865[:0] + yyc3865 = true } - } else if yyl3832 > 0 { - var yyrr3832, yyrl3832 int - var yyrt3832 bool - if yyl3832 > cap(yyv3832) { + } else if yyl3865 > 0 { + var yyrr3865, yyrl3865 int + var yyrt3865 bool + if yyl3865 > cap(yyv3865) { - yyrg3832 := len(yyv3832) > 0 - yyv23832 := yyv3832 - yyrl3832, yyrt3832 = z.DecInferLen(yyl3832, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3832 { - if yyrl3832 <= cap(yyv3832) { - yyv3832 = yyv3832[:yyrl3832] + yyrg3865 := len(yyv3865) > 0 + yyv23865 := yyv3865 + yyrl3865, yyrt3865 = z.DecInferLen(yyl3865, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3865 { + if yyrl3865 <= cap(yyv3865) { + yyv3865 = yyv3865[:yyrl3865] } else { - yyv3832 = make([]HTTPHeader, yyrl3832) + yyv3865 = make([]HTTPHeader, yyrl3865) } } else { - yyv3832 = make([]HTTPHeader, yyrl3832) + yyv3865 = make([]HTTPHeader, yyrl3865) } - yyc3832 = true - yyrr3832 = len(yyv3832) - if yyrg3832 { - copy(yyv3832, yyv23832) + yyc3865 = true + yyrr3865 = len(yyv3865) + if yyrg3865 { + copy(yyv3865, yyv23865) } - } else if yyl3832 != len(yyv3832) { - yyv3832 = yyv3832[:yyl3832] - yyc3832 = true + } else if yyl3865 != len(yyv3865) { + yyv3865 = yyv3865[:yyl3865] + yyc3865 = true } - yyj3832 := 0 - for ; yyj3832 < yyrr3832; yyj3832++ { - yyh3832.ElemContainerState(yyj3832) + yyj3865 := 0 + for ; yyj3865 < yyrr3865; yyj3865++ { + yyh3865.ElemContainerState(yyj3865) if r.TryDecodeAsNil() { - yyv3832[yyj3832] = HTTPHeader{} + yyv3865[yyj3865] = HTTPHeader{} } else { - yyv3833 := &yyv3832[yyj3832] - yyv3833.CodecDecodeSelf(d) + yyv3866 := &yyv3865[yyj3865] + yyv3866.CodecDecodeSelf(d) } } - if yyrt3832 { - for ; yyj3832 < yyl3832; yyj3832++ { - yyv3832 = append(yyv3832, HTTPHeader{}) - yyh3832.ElemContainerState(yyj3832) + if yyrt3865 { + for ; yyj3865 < yyl3865; yyj3865++ { + yyv3865 = append(yyv3865, HTTPHeader{}) + yyh3865.ElemContainerState(yyj3865) if r.TryDecodeAsNil() { - yyv3832[yyj3832] = HTTPHeader{} + yyv3865[yyj3865] = HTTPHeader{} } else { - yyv3834 := &yyv3832[yyj3832] - yyv3834.CodecDecodeSelf(d) + yyv3867 := &yyv3865[yyj3865] + yyv3867.CodecDecodeSelf(d) } } } } else { - yyj3832 := 0 - for ; !r.CheckBreak(); yyj3832++ { + yyj3865 := 0 + for ; !r.CheckBreak(); yyj3865++ { - if yyj3832 >= len(yyv3832) { - yyv3832 = append(yyv3832, HTTPHeader{}) // var yyz3832 HTTPHeader - yyc3832 = true + if yyj3865 >= len(yyv3865) { + yyv3865 = append(yyv3865, HTTPHeader{}) // var yyz3865 HTTPHeader + yyc3865 = true } - yyh3832.ElemContainerState(yyj3832) - if yyj3832 < len(yyv3832) { + yyh3865.ElemContainerState(yyj3865) + if yyj3865 < len(yyv3865) { if r.TryDecodeAsNil() { - yyv3832[yyj3832] = HTTPHeader{} + yyv3865[yyj3865] = HTTPHeader{} } else { - yyv3835 := &yyv3832[yyj3832] - yyv3835.CodecDecodeSelf(d) + yyv3868 := &yyv3865[yyj3865] + yyv3868.CodecDecodeSelf(d) } } else { @@ -47840,17 +48355,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj3832 < len(yyv3832) { - yyv3832 = yyv3832[:yyj3832] - yyc3832 = true - } else if yyj3832 == 0 && yyv3832 == nil { - yyv3832 = []HTTPHeader{} - yyc3832 = true + if yyj3865 < len(yyv3865) { + yyv3865 = yyv3865[:yyj3865] + yyc3865 = true + } else if yyj3865 == 0 && yyv3865 == nil { + yyv3865 = []HTTPHeader{} + yyc3865 = true } } - yyh3832.End() - if yyc3832 { - *v = yyv3832 + yyh3865.End() + if yyc3865 { + *v = yyv3865 } } @@ -47859,9 +48374,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3836 := range v { + for _, yyv3869 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3836.CodecEncodeSelf(e) + yyv3869.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47871,75 +48386,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3837 := *v - yyh3837, yyl3837 := z.DecSliceHelperStart() - var yyc3837 bool - if yyl3837 == 0 { - if yyv3837 == nil { - yyv3837 = []Capability{} - yyc3837 = true - } else if len(yyv3837) != 0 { - yyv3837 = yyv3837[:0] - yyc3837 = true + yyv3870 := *v + yyh3870, yyl3870 := z.DecSliceHelperStart() + var yyc3870 bool + if yyl3870 == 0 { + if yyv3870 == nil { + yyv3870 = []Capability{} + yyc3870 = true + } else if len(yyv3870) != 0 { + yyv3870 = yyv3870[:0] + yyc3870 = true } - } else if yyl3837 > 0 { - var yyrr3837, yyrl3837 int - var yyrt3837 bool - if yyl3837 > cap(yyv3837) { + } else if yyl3870 > 0 { + var yyrr3870, yyrl3870 int + var yyrt3870 bool + if yyl3870 > cap(yyv3870) { - yyrl3837, yyrt3837 = z.DecInferLen(yyl3837, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3837 { - if yyrl3837 <= cap(yyv3837) { - yyv3837 = yyv3837[:yyrl3837] + yyrl3870, yyrt3870 = z.DecInferLen(yyl3870, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3870 { + if yyrl3870 <= cap(yyv3870) { + yyv3870 = yyv3870[:yyrl3870] } else { - yyv3837 = make([]Capability, yyrl3837) + yyv3870 = make([]Capability, yyrl3870) } } else { - yyv3837 = make([]Capability, yyrl3837) + yyv3870 = make([]Capability, yyrl3870) } - yyc3837 = true - yyrr3837 = len(yyv3837) - } else if yyl3837 != len(yyv3837) { - yyv3837 = yyv3837[:yyl3837] - yyc3837 = true + yyc3870 = true + yyrr3870 = len(yyv3870) + } else if yyl3870 != len(yyv3870) { + yyv3870 = yyv3870[:yyl3870] + yyc3870 = true } - yyj3837 := 0 - for ; yyj3837 < yyrr3837; yyj3837++ { - yyh3837.ElemContainerState(yyj3837) + yyj3870 := 0 + for ; yyj3870 < yyrr3870; yyj3870++ { + yyh3870.ElemContainerState(yyj3870) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = "" + yyv3870[yyj3870] = "" } else { - yyv3837[yyj3837] = Capability(r.DecodeString()) + yyv3870[yyj3870] = Capability(r.DecodeString()) } } - if yyrt3837 { - for ; yyj3837 < yyl3837; yyj3837++ { - yyv3837 = append(yyv3837, "") - yyh3837.ElemContainerState(yyj3837) + if yyrt3870 { + for ; yyj3870 < yyl3870; yyj3870++ { + yyv3870 = append(yyv3870, "") + yyh3870.ElemContainerState(yyj3870) if r.TryDecodeAsNil() { - yyv3837[yyj3837] = "" + yyv3870[yyj3870] = "" } else { - yyv3837[yyj3837] = Capability(r.DecodeString()) + yyv3870[yyj3870] = Capability(r.DecodeString()) } } } } else { - yyj3837 := 0 - for ; !r.CheckBreak(); yyj3837++ { + yyj3870 := 0 + for ; !r.CheckBreak(); yyj3870++ { - if yyj3837 >= len(yyv3837) { - yyv3837 = append(yyv3837, "") // var yyz3837 Capability - yyc3837 = true + if yyj3870 >= len(yyv3870) { + yyv3870 = append(yyv3870, "") // var yyz3870 Capability + yyc3870 = true } - yyh3837.ElemContainerState(yyj3837) - if yyj3837 < len(yyv3837) { + yyh3870.ElemContainerState(yyj3870) + if yyj3870 < len(yyv3870) { if r.TryDecodeAsNil() { - yyv3837[yyj3837] = "" + yyv3870[yyj3870] = "" } else { - yyv3837[yyj3837] = Capability(r.DecodeString()) + yyv3870[yyj3870] = Capability(r.DecodeString()) } } else { @@ -47947,17 +48462,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3837 < len(yyv3837) { - yyv3837 = yyv3837[:yyj3837] - yyc3837 = true - } else if yyj3837 == 0 && yyv3837 == nil { - yyv3837 = []Capability{} - yyc3837 = true + if yyj3870 < len(yyv3870) { + yyv3870 = yyv3870[:yyj3870] + yyc3870 = true + } else if yyj3870 == 0 && yyv3870 == nil { + yyv3870 = []Capability{} + yyc3870 = true } } - yyh3837.End() - if yyc3837 { - *v = yyv3837 + yyh3870.End() + if yyc3870 { + *v = yyv3870 } } @@ -47966,10 +48481,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3841 := range v { + for _, yyv3874 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3842 := &yyv3841 - yy3842.CodecEncodeSelf(e) + yy3875 := &yyv3874 + yy3875.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47979,83 +48494,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3843 := *v - yyh3843, yyl3843 := z.DecSliceHelperStart() - var yyc3843 bool - if yyl3843 == 0 { - if yyv3843 == nil { - yyv3843 = []ContainerPort{} - yyc3843 = true - } else if len(yyv3843) != 0 { - yyv3843 = yyv3843[:0] - yyc3843 = true + yyv3876 := *v + yyh3876, yyl3876 := z.DecSliceHelperStart() + var yyc3876 bool + if yyl3876 == 0 { + if yyv3876 == nil { + yyv3876 = []ContainerPort{} + yyc3876 = true + } else if len(yyv3876) != 0 { + yyv3876 = yyv3876[:0] + yyc3876 = true } - } else if yyl3843 > 0 { - var yyrr3843, yyrl3843 int - var yyrt3843 bool - if yyl3843 > cap(yyv3843) { + } else if yyl3876 > 0 { + var yyrr3876, yyrl3876 int + var yyrt3876 bool + if yyl3876 > cap(yyv3876) { - yyrg3843 := len(yyv3843) > 0 - yyv23843 := yyv3843 - yyrl3843, yyrt3843 = z.DecInferLen(yyl3843, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3843 { - if yyrl3843 <= cap(yyv3843) { - yyv3843 = yyv3843[:yyrl3843] + yyrg3876 := len(yyv3876) > 0 + yyv23876 := yyv3876 + yyrl3876, yyrt3876 = z.DecInferLen(yyl3876, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3876 { + if yyrl3876 <= cap(yyv3876) { + yyv3876 = yyv3876[:yyrl3876] } else { - yyv3843 = make([]ContainerPort, yyrl3843) + yyv3876 = make([]ContainerPort, yyrl3876) } } else { - yyv3843 = make([]ContainerPort, yyrl3843) + yyv3876 = make([]ContainerPort, yyrl3876) } - yyc3843 = true - yyrr3843 = len(yyv3843) - if yyrg3843 { - copy(yyv3843, yyv23843) + yyc3876 = true + yyrr3876 = len(yyv3876) + if yyrg3876 { + copy(yyv3876, yyv23876) } - } else if yyl3843 != len(yyv3843) { - yyv3843 = yyv3843[:yyl3843] - yyc3843 = true + } else if yyl3876 != len(yyv3876) { + yyv3876 = yyv3876[:yyl3876] + yyc3876 = true } - yyj3843 := 0 - for ; yyj3843 < yyrr3843; yyj3843++ { - yyh3843.ElemContainerState(yyj3843) + yyj3876 := 0 + for ; yyj3876 < yyrr3876; yyj3876++ { + yyh3876.ElemContainerState(yyj3876) if r.TryDecodeAsNil() { - yyv3843[yyj3843] = ContainerPort{} + yyv3876[yyj3876] = ContainerPort{} } else { - yyv3844 := &yyv3843[yyj3843] - yyv3844.CodecDecodeSelf(d) + yyv3877 := &yyv3876[yyj3876] + yyv3877.CodecDecodeSelf(d) } } - if yyrt3843 { - for ; yyj3843 < yyl3843; yyj3843++ { - yyv3843 = append(yyv3843, ContainerPort{}) - yyh3843.ElemContainerState(yyj3843) + if yyrt3876 { + for ; yyj3876 < yyl3876; yyj3876++ { + yyv3876 = append(yyv3876, ContainerPort{}) + yyh3876.ElemContainerState(yyj3876) if r.TryDecodeAsNil() { - yyv3843[yyj3843] = ContainerPort{} + yyv3876[yyj3876] = ContainerPort{} } else { - yyv3845 := &yyv3843[yyj3843] - yyv3845.CodecDecodeSelf(d) + yyv3878 := &yyv3876[yyj3876] + yyv3878.CodecDecodeSelf(d) } } } } else { - yyj3843 := 0 - for ; !r.CheckBreak(); yyj3843++ { + yyj3876 := 0 + for ; !r.CheckBreak(); yyj3876++ { - if yyj3843 >= len(yyv3843) { - yyv3843 = append(yyv3843, ContainerPort{}) // var yyz3843 ContainerPort - yyc3843 = true + if yyj3876 >= len(yyv3876) { + yyv3876 = append(yyv3876, ContainerPort{}) // var yyz3876 ContainerPort + yyc3876 = true } - yyh3843.ElemContainerState(yyj3843) - if yyj3843 < len(yyv3843) { + yyh3876.ElemContainerState(yyj3876) + if yyj3876 < len(yyv3876) { if r.TryDecodeAsNil() { - yyv3843[yyj3843] = ContainerPort{} + yyv3876[yyj3876] = ContainerPort{} } else { - yyv3846 := &yyv3843[yyj3843] - yyv3846.CodecDecodeSelf(d) + yyv3879 := &yyv3876[yyj3876] + yyv3879.CodecDecodeSelf(d) } } else { @@ -48063,17 +48578,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3843 < len(yyv3843) { - yyv3843 = yyv3843[:yyj3843] - yyc3843 = true - } else if yyj3843 == 0 && yyv3843 == nil { - yyv3843 = []ContainerPort{} - yyc3843 = true + if yyj3876 < len(yyv3876) { + yyv3876 = yyv3876[:yyj3876] + yyc3876 = true + } else if yyj3876 == 0 && yyv3876 == nil { + yyv3876 = []ContainerPort{} + yyc3876 = true } } - yyh3843.End() - if yyc3843 { - *v = yyv3843 + yyh3876.End() + if yyc3876 { + *v = yyv3876 } } @@ -48082,10 +48597,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3847 := range v { + for _, yyv3880 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3848 := &yyv3847 - yy3848.CodecEncodeSelf(e) + yy3881 := &yyv3880 + yy3881.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48095,83 +48610,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3849 := *v - yyh3849, yyl3849 := z.DecSliceHelperStart() - var yyc3849 bool - if yyl3849 == 0 { - if yyv3849 == nil { - yyv3849 = []EnvVar{} - yyc3849 = true - } else if len(yyv3849) != 0 { - yyv3849 = yyv3849[:0] - yyc3849 = true + yyv3882 := *v + yyh3882, yyl3882 := z.DecSliceHelperStart() + var yyc3882 bool + if yyl3882 == 0 { + if yyv3882 == nil { + yyv3882 = []EnvVar{} + yyc3882 = true + } else if len(yyv3882) != 0 { + yyv3882 = yyv3882[:0] + yyc3882 = true } - } else if yyl3849 > 0 { - var yyrr3849, yyrl3849 int - var yyrt3849 bool - if yyl3849 > cap(yyv3849) { + } else if yyl3882 > 0 { + var yyrr3882, yyrl3882 int + var yyrt3882 bool + if yyl3882 > cap(yyv3882) { - yyrg3849 := len(yyv3849) > 0 - yyv23849 := yyv3849 - yyrl3849, yyrt3849 = z.DecInferLen(yyl3849, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3849 { - if yyrl3849 <= cap(yyv3849) { - yyv3849 = yyv3849[:yyrl3849] + yyrg3882 := len(yyv3882) > 0 + yyv23882 := yyv3882 + yyrl3882, yyrt3882 = z.DecInferLen(yyl3882, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3882 { + if yyrl3882 <= cap(yyv3882) { + yyv3882 = yyv3882[:yyrl3882] } else { - yyv3849 = make([]EnvVar, yyrl3849) + yyv3882 = make([]EnvVar, yyrl3882) } } else { - yyv3849 = make([]EnvVar, yyrl3849) + yyv3882 = make([]EnvVar, yyrl3882) } - yyc3849 = true - yyrr3849 = len(yyv3849) - if yyrg3849 { - copy(yyv3849, yyv23849) + yyc3882 = true + yyrr3882 = len(yyv3882) + if yyrg3882 { + copy(yyv3882, yyv23882) } - } else if yyl3849 != len(yyv3849) { - yyv3849 = yyv3849[:yyl3849] - yyc3849 = true + } else if yyl3882 != len(yyv3882) { + yyv3882 = yyv3882[:yyl3882] + yyc3882 = true } - yyj3849 := 0 - for ; yyj3849 < yyrr3849; yyj3849++ { - yyh3849.ElemContainerState(yyj3849) + yyj3882 := 0 + for ; yyj3882 < yyrr3882; yyj3882++ { + yyh3882.ElemContainerState(yyj3882) if r.TryDecodeAsNil() { - yyv3849[yyj3849] = EnvVar{} + yyv3882[yyj3882] = EnvVar{} } else { - yyv3850 := &yyv3849[yyj3849] - yyv3850.CodecDecodeSelf(d) + yyv3883 := &yyv3882[yyj3882] + yyv3883.CodecDecodeSelf(d) } } - if yyrt3849 { - for ; yyj3849 < yyl3849; yyj3849++ { - yyv3849 = append(yyv3849, EnvVar{}) - yyh3849.ElemContainerState(yyj3849) + if yyrt3882 { + for ; yyj3882 < yyl3882; yyj3882++ { + yyv3882 = append(yyv3882, EnvVar{}) + yyh3882.ElemContainerState(yyj3882) if r.TryDecodeAsNil() { - yyv3849[yyj3849] = EnvVar{} + yyv3882[yyj3882] = EnvVar{} } else { - yyv3851 := &yyv3849[yyj3849] - yyv3851.CodecDecodeSelf(d) + yyv3884 := &yyv3882[yyj3882] + yyv3884.CodecDecodeSelf(d) } } } } else { - yyj3849 := 0 - for ; !r.CheckBreak(); yyj3849++ { + yyj3882 := 0 + for ; !r.CheckBreak(); yyj3882++ { - if yyj3849 >= len(yyv3849) { - yyv3849 = append(yyv3849, EnvVar{}) // var yyz3849 EnvVar - yyc3849 = true + if yyj3882 >= len(yyv3882) { + yyv3882 = append(yyv3882, EnvVar{}) // var yyz3882 EnvVar + yyc3882 = true } - yyh3849.ElemContainerState(yyj3849) - if yyj3849 < len(yyv3849) { + yyh3882.ElemContainerState(yyj3882) + if yyj3882 < len(yyv3882) { if r.TryDecodeAsNil() { - yyv3849[yyj3849] = EnvVar{} + yyv3882[yyj3882] = EnvVar{} } else { - yyv3852 := &yyv3849[yyj3849] - yyv3852.CodecDecodeSelf(d) + yyv3885 := &yyv3882[yyj3882] + yyv3885.CodecDecodeSelf(d) } } else { @@ -48179,17 +48694,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3849 < len(yyv3849) { - yyv3849 = yyv3849[:yyj3849] - yyc3849 = true - } else if yyj3849 == 0 && yyv3849 == nil { - yyv3849 = []EnvVar{} - yyc3849 = true + if yyj3882 < len(yyv3882) { + yyv3882 = yyv3882[:yyj3882] + yyc3882 = true + } else if yyj3882 == 0 && yyv3882 == nil { + yyv3882 = []EnvVar{} + yyc3882 = true } } - yyh3849.End() - if yyc3849 { - *v = yyv3849 + yyh3882.End() + if yyc3882 { + *v = yyv3882 } } @@ -48198,10 +48713,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3853 := range v { + for _, yyv3886 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3854 := &yyv3853 - yy3854.CodecEncodeSelf(e) + yy3887 := &yyv3886 + yy3887.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48211,83 +48726,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3855 := *v - yyh3855, yyl3855 := z.DecSliceHelperStart() - var yyc3855 bool - if yyl3855 == 0 { - if yyv3855 == nil { - yyv3855 = []VolumeMount{} - yyc3855 = true - } else if len(yyv3855) != 0 { - yyv3855 = yyv3855[:0] - yyc3855 = true + yyv3888 := *v + yyh3888, yyl3888 := z.DecSliceHelperStart() + var yyc3888 bool + if yyl3888 == 0 { + if yyv3888 == nil { + yyv3888 = []VolumeMount{} + yyc3888 = true + } else if len(yyv3888) != 0 { + yyv3888 = yyv3888[:0] + yyc3888 = true } - } else if yyl3855 > 0 { - var yyrr3855, yyrl3855 int - var yyrt3855 bool - if yyl3855 > cap(yyv3855) { + } else if yyl3888 > 0 { + var yyrr3888, yyrl3888 int + var yyrt3888 bool + if yyl3888 > cap(yyv3888) { - yyrg3855 := len(yyv3855) > 0 - yyv23855 := yyv3855 - yyrl3855, yyrt3855 = z.DecInferLen(yyl3855, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3855 { - if yyrl3855 <= cap(yyv3855) { - yyv3855 = yyv3855[:yyrl3855] + yyrg3888 := len(yyv3888) > 0 + yyv23888 := yyv3888 + yyrl3888, yyrt3888 = z.DecInferLen(yyl3888, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3888 { + if yyrl3888 <= cap(yyv3888) { + yyv3888 = yyv3888[:yyrl3888] } else { - yyv3855 = make([]VolumeMount, yyrl3855) + yyv3888 = make([]VolumeMount, yyrl3888) } } else { - yyv3855 = make([]VolumeMount, yyrl3855) + yyv3888 = make([]VolumeMount, yyrl3888) } - yyc3855 = true - yyrr3855 = len(yyv3855) - if yyrg3855 { - copy(yyv3855, yyv23855) + yyc3888 = true + yyrr3888 = len(yyv3888) + if yyrg3888 { + copy(yyv3888, yyv23888) } - } else if yyl3855 != len(yyv3855) { - yyv3855 = yyv3855[:yyl3855] - yyc3855 = true + } else if yyl3888 != len(yyv3888) { + yyv3888 = yyv3888[:yyl3888] + yyc3888 = true } - yyj3855 := 0 - for ; yyj3855 < yyrr3855; yyj3855++ { - yyh3855.ElemContainerState(yyj3855) + yyj3888 := 0 + for ; yyj3888 < yyrr3888; yyj3888++ { + yyh3888.ElemContainerState(yyj3888) if r.TryDecodeAsNil() { - yyv3855[yyj3855] = VolumeMount{} + yyv3888[yyj3888] = VolumeMount{} } else { - yyv3856 := &yyv3855[yyj3855] - yyv3856.CodecDecodeSelf(d) + yyv3889 := &yyv3888[yyj3888] + yyv3889.CodecDecodeSelf(d) } } - if yyrt3855 { - for ; yyj3855 < yyl3855; yyj3855++ { - yyv3855 = append(yyv3855, VolumeMount{}) - yyh3855.ElemContainerState(yyj3855) + if yyrt3888 { + for ; yyj3888 < yyl3888; yyj3888++ { + yyv3888 = append(yyv3888, VolumeMount{}) + yyh3888.ElemContainerState(yyj3888) if r.TryDecodeAsNil() { - yyv3855[yyj3855] = VolumeMount{} + yyv3888[yyj3888] = VolumeMount{} } else { - yyv3857 := &yyv3855[yyj3855] - yyv3857.CodecDecodeSelf(d) + yyv3890 := &yyv3888[yyj3888] + yyv3890.CodecDecodeSelf(d) } } } } else { - yyj3855 := 0 - for ; !r.CheckBreak(); yyj3855++ { + yyj3888 := 0 + for ; !r.CheckBreak(); yyj3888++ { - if yyj3855 >= len(yyv3855) { - yyv3855 = append(yyv3855, VolumeMount{}) // var yyz3855 VolumeMount - yyc3855 = true + if yyj3888 >= len(yyv3888) { + yyv3888 = append(yyv3888, VolumeMount{}) // var yyz3888 VolumeMount + yyc3888 = true } - yyh3855.ElemContainerState(yyj3855) - if yyj3855 < len(yyv3855) { + yyh3888.ElemContainerState(yyj3888) + if yyj3888 < len(yyv3888) { if r.TryDecodeAsNil() { - yyv3855[yyj3855] = VolumeMount{} + yyv3888[yyj3888] = VolumeMount{} } else { - yyv3858 := &yyv3855[yyj3855] - yyv3858.CodecDecodeSelf(d) + yyv3891 := &yyv3888[yyj3888] + yyv3891.CodecDecodeSelf(d) } } else { @@ -48295,17 +48810,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3855 < len(yyv3855) { - yyv3855 = yyv3855[:yyj3855] - yyc3855 = true - } else if yyj3855 == 0 && yyv3855 == nil { - yyv3855 = []VolumeMount{} - yyc3855 = true + if yyj3888 < len(yyv3888) { + yyv3888 = yyv3888[:yyj3888] + yyc3888 = true + } else if yyj3888 == 0 && yyv3888 == nil { + yyv3888 = []VolumeMount{} + yyc3888 = true } } - yyh3855.End() - if yyc3855 { - *v = yyv3855 + yyh3888.End() + if yyc3888 { + *v = yyv3888 } } @@ -48314,10 +48829,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3859 := range v { + for _, yyv3892 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3860 := &yyv3859 - yy3860.CodecEncodeSelf(e) + yy3893 := &yyv3892 + yy3893.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48327,83 +48842,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3861 := *v - yyh3861, yyl3861 := z.DecSliceHelperStart() - var yyc3861 bool - if yyl3861 == 0 { - if yyv3861 == nil { - yyv3861 = []NodeSelectorTerm{} - yyc3861 = true - } else if len(yyv3861) != 0 { - yyv3861 = yyv3861[:0] - yyc3861 = true + yyv3894 := *v + yyh3894, yyl3894 := z.DecSliceHelperStart() + var yyc3894 bool + if yyl3894 == 0 { + if yyv3894 == nil { + yyv3894 = []NodeSelectorTerm{} + yyc3894 = true + } else if len(yyv3894) != 0 { + yyv3894 = yyv3894[:0] + yyc3894 = true } - } else if yyl3861 > 0 { - var yyrr3861, yyrl3861 int - var yyrt3861 bool - if yyl3861 > cap(yyv3861) { + } else if yyl3894 > 0 { + var yyrr3894, yyrl3894 int + var yyrt3894 bool + if yyl3894 > cap(yyv3894) { - yyrg3861 := len(yyv3861) > 0 - yyv23861 := yyv3861 - yyrl3861, yyrt3861 = z.DecInferLen(yyl3861, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3861 { - if yyrl3861 <= cap(yyv3861) { - yyv3861 = yyv3861[:yyrl3861] + yyrg3894 := len(yyv3894) > 0 + yyv23894 := yyv3894 + yyrl3894, yyrt3894 = z.DecInferLen(yyl3894, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3894 { + if yyrl3894 <= cap(yyv3894) { + yyv3894 = yyv3894[:yyrl3894] } else { - yyv3861 = make([]NodeSelectorTerm, yyrl3861) + yyv3894 = make([]NodeSelectorTerm, yyrl3894) } } else { - yyv3861 = make([]NodeSelectorTerm, yyrl3861) + yyv3894 = make([]NodeSelectorTerm, yyrl3894) } - yyc3861 = true - yyrr3861 = len(yyv3861) - if yyrg3861 { - copy(yyv3861, yyv23861) + yyc3894 = true + yyrr3894 = len(yyv3894) + if yyrg3894 { + copy(yyv3894, yyv23894) } - } else if yyl3861 != len(yyv3861) { - yyv3861 = yyv3861[:yyl3861] - yyc3861 = true + } else if yyl3894 != len(yyv3894) { + yyv3894 = yyv3894[:yyl3894] + yyc3894 = true } - yyj3861 := 0 - for ; yyj3861 < yyrr3861; yyj3861++ { - yyh3861.ElemContainerState(yyj3861) + yyj3894 := 0 + for ; yyj3894 < yyrr3894; yyj3894++ { + yyh3894.ElemContainerState(yyj3894) if r.TryDecodeAsNil() { - yyv3861[yyj3861] = NodeSelectorTerm{} + yyv3894[yyj3894] = NodeSelectorTerm{} } else { - yyv3862 := &yyv3861[yyj3861] - yyv3862.CodecDecodeSelf(d) + yyv3895 := &yyv3894[yyj3894] + yyv3895.CodecDecodeSelf(d) } } - if yyrt3861 { - for ; yyj3861 < yyl3861; yyj3861++ { - yyv3861 = append(yyv3861, NodeSelectorTerm{}) - yyh3861.ElemContainerState(yyj3861) + if yyrt3894 { + for ; yyj3894 < yyl3894; yyj3894++ { + yyv3894 = append(yyv3894, NodeSelectorTerm{}) + yyh3894.ElemContainerState(yyj3894) if r.TryDecodeAsNil() { - yyv3861[yyj3861] = NodeSelectorTerm{} + yyv3894[yyj3894] = NodeSelectorTerm{} } else { - yyv3863 := &yyv3861[yyj3861] - yyv3863.CodecDecodeSelf(d) + yyv3896 := &yyv3894[yyj3894] + yyv3896.CodecDecodeSelf(d) } } } } else { - yyj3861 := 0 - for ; !r.CheckBreak(); yyj3861++ { + yyj3894 := 0 + for ; !r.CheckBreak(); yyj3894++ { - if yyj3861 >= len(yyv3861) { - yyv3861 = append(yyv3861, NodeSelectorTerm{}) // var yyz3861 NodeSelectorTerm - yyc3861 = true + if yyj3894 >= len(yyv3894) { + yyv3894 = append(yyv3894, NodeSelectorTerm{}) // var yyz3894 NodeSelectorTerm + yyc3894 = true } - yyh3861.ElemContainerState(yyj3861) - if yyj3861 < len(yyv3861) { + yyh3894.ElemContainerState(yyj3894) + if yyj3894 < len(yyv3894) { if r.TryDecodeAsNil() { - yyv3861[yyj3861] = NodeSelectorTerm{} + yyv3894[yyj3894] = NodeSelectorTerm{} } else { - yyv3864 := &yyv3861[yyj3861] - yyv3864.CodecDecodeSelf(d) + yyv3897 := &yyv3894[yyj3894] + yyv3897.CodecDecodeSelf(d) } } else { @@ -48411,17 +48926,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj3861 < len(yyv3861) { - yyv3861 = yyv3861[:yyj3861] - yyc3861 = true - } else if yyj3861 == 0 && yyv3861 == nil { - yyv3861 = []NodeSelectorTerm{} - yyc3861 = true + if yyj3894 < len(yyv3894) { + yyv3894 = yyv3894[:yyj3894] + yyc3894 = true + } else if yyj3894 == 0 && yyv3894 == nil { + yyv3894 = []NodeSelectorTerm{} + yyc3894 = true } } - yyh3861.End() - if yyc3861 { - *v = yyv3861 + yyh3894.End() + if yyc3894 { + *v = yyv3894 } } @@ -48430,10 +48945,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3865 := range v { + for _, yyv3898 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3866 := &yyv3865 - yy3866.CodecEncodeSelf(e) + yy3899 := &yyv3898 + yy3899.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48443,83 +48958,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3867 := *v - yyh3867, yyl3867 := z.DecSliceHelperStart() - var yyc3867 bool - if yyl3867 == 0 { - if yyv3867 == nil { - yyv3867 = []NodeSelectorRequirement{} - yyc3867 = true - } else if len(yyv3867) != 0 { - yyv3867 = yyv3867[:0] - yyc3867 = true + yyv3900 := *v + yyh3900, yyl3900 := z.DecSliceHelperStart() + var yyc3900 bool + if yyl3900 == 0 { + if yyv3900 == nil { + yyv3900 = []NodeSelectorRequirement{} + yyc3900 = true + } else if len(yyv3900) != 0 { + yyv3900 = yyv3900[:0] + yyc3900 = true } - } else if yyl3867 > 0 { - var yyrr3867, yyrl3867 int - var yyrt3867 bool - if yyl3867 > cap(yyv3867) { + } else if yyl3900 > 0 { + var yyrr3900, yyrl3900 int + var yyrt3900 bool + if yyl3900 > cap(yyv3900) { - yyrg3867 := len(yyv3867) > 0 - yyv23867 := yyv3867 - yyrl3867, yyrt3867 = z.DecInferLen(yyl3867, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3867 { - if yyrl3867 <= cap(yyv3867) { - yyv3867 = yyv3867[:yyrl3867] + yyrg3900 := len(yyv3900) > 0 + yyv23900 := yyv3900 + yyrl3900, yyrt3900 = z.DecInferLen(yyl3900, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3900 { + if yyrl3900 <= cap(yyv3900) { + yyv3900 = yyv3900[:yyrl3900] } else { - yyv3867 = make([]NodeSelectorRequirement, yyrl3867) + yyv3900 = make([]NodeSelectorRequirement, yyrl3900) } } else { - yyv3867 = make([]NodeSelectorRequirement, yyrl3867) + yyv3900 = make([]NodeSelectorRequirement, yyrl3900) } - yyc3867 = true - yyrr3867 = len(yyv3867) - if yyrg3867 { - copy(yyv3867, yyv23867) + yyc3900 = true + yyrr3900 = len(yyv3900) + if yyrg3900 { + copy(yyv3900, yyv23900) } - } else if yyl3867 != len(yyv3867) { - yyv3867 = yyv3867[:yyl3867] - yyc3867 = true + } else if yyl3900 != len(yyv3900) { + yyv3900 = yyv3900[:yyl3900] + yyc3900 = true } - yyj3867 := 0 - for ; yyj3867 < yyrr3867; yyj3867++ { - yyh3867.ElemContainerState(yyj3867) + yyj3900 := 0 + for ; yyj3900 < yyrr3900; yyj3900++ { + yyh3900.ElemContainerState(yyj3900) if r.TryDecodeAsNil() { - yyv3867[yyj3867] = NodeSelectorRequirement{} + yyv3900[yyj3900] = NodeSelectorRequirement{} } else { - yyv3868 := &yyv3867[yyj3867] - yyv3868.CodecDecodeSelf(d) + yyv3901 := &yyv3900[yyj3900] + yyv3901.CodecDecodeSelf(d) } } - if yyrt3867 { - for ; yyj3867 < yyl3867; yyj3867++ { - yyv3867 = append(yyv3867, NodeSelectorRequirement{}) - yyh3867.ElemContainerState(yyj3867) + if yyrt3900 { + for ; yyj3900 < yyl3900; yyj3900++ { + yyv3900 = append(yyv3900, NodeSelectorRequirement{}) + yyh3900.ElemContainerState(yyj3900) if r.TryDecodeAsNil() { - yyv3867[yyj3867] = NodeSelectorRequirement{} + yyv3900[yyj3900] = NodeSelectorRequirement{} } else { - yyv3869 := &yyv3867[yyj3867] - yyv3869.CodecDecodeSelf(d) + yyv3902 := &yyv3900[yyj3900] + yyv3902.CodecDecodeSelf(d) } } } } else { - yyj3867 := 0 - for ; !r.CheckBreak(); yyj3867++ { + yyj3900 := 0 + for ; !r.CheckBreak(); yyj3900++ { - if yyj3867 >= len(yyv3867) { - yyv3867 = append(yyv3867, NodeSelectorRequirement{}) // var yyz3867 NodeSelectorRequirement - yyc3867 = true + if yyj3900 >= len(yyv3900) { + yyv3900 = append(yyv3900, NodeSelectorRequirement{}) // var yyz3900 NodeSelectorRequirement + yyc3900 = true } - yyh3867.ElemContainerState(yyj3867) - if yyj3867 < len(yyv3867) { + yyh3900.ElemContainerState(yyj3900) + if yyj3900 < len(yyv3900) { if r.TryDecodeAsNil() { - yyv3867[yyj3867] = NodeSelectorRequirement{} + yyv3900[yyj3900] = NodeSelectorRequirement{} } else { - yyv3870 := &yyv3867[yyj3867] - yyv3870.CodecDecodeSelf(d) + yyv3903 := &yyv3900[yyj3900] + yyv3903.CodecDecodeSelf(d) } } else { @@ -48527,17 +49042,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj3867 < len(yyv3867) { - yyv3867 = yyv3867[:yyj3867] - yyc3867 = true - } else if yyj3867 == 0 && yyv3867 == nil { - yyv3867 = []NodeSelectorRequirement{} - yyc3867 = true + if yyj3900 < len(yyv3900) { + yyv3900 = yyv3900[:yyj3900] + yyc3900 = true + } else if yyj3900 == 0 && yyv3900 == nil { + yyv3900 = []NodeSelectorRequirement{} + yyc3900 = true } } - yyh3867.End() - if yyc3867 { - *v = yyv3867 + yyh3900.End() + if yyc3900 { + *v = yyv3900 } } @@ -48546,10 +49061,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3871 := range v { + for _, yyv3904 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3872 := &yyv3871 - yy3872.CodecEncodeSelf(e) + yy3905 := &yyv3904 + yy3905.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48559,83 +49074,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3873 := *v - yyh3873, yyl3873 := z.DecSliceHelperStart() - var yyc3873 bool - if yyl3873 == 0 { - if yyv3873 == nil { - yyv3873 = []PreferredSchedulingTerm{} - yyc3873 = true - } else if len(yyv3873) != 0 { - yyv3873 = yyv3873[:0] - yyc3873 = true + yyv3906 := *v + yyh3906, yyl3906 := z.DecSliceHelperStart() + var yyc3906 bool + if yyl3906 == 0 { + if yyv3906 == nil { + yyv3906 = []PreferredSchedulingTerm{} + yyc3906 = true + } else if len(yyv3906) != 0 { + yyv3906 = yyv3906[:0] + yyc3906 = true } - } else if yyl3873 > 0 { - var yyrr3873, yyrl3873 int - var yyrt3873 bool - if yyl3873 > cap(yyv3873) { + } else if yyl3906 > 0 { + var yyrr3906, yyrl3906 int + var yyrt3906 bool + if yyl3906 > cap(yyv3906) { - yyrg3873 := len(yyv3873) > 0 - yyv23873 := yyv3873 - yyrl3873, yyrt3873 = z.DecInferLen(yyl3873, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3873 { - if yyrl3873 <= cap(yyv3873) { - yyv3873 = yyv3873[:yyrl3873] + yyrg3906 := len(yyv3906) > 0 + yyv23906 := yyv3906 + yyrl3906, yyrt3906 = z.DecInferLen(yyl3906, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3906 { + if yyrl3906 <= cap(yyv3906) { + yyv3906 = yyv3906[:yyrl3906] } else { - yyv3873 = make([]PreferredSchedulingTerm, yyrl3873) + yyv3906 = make([]PreferredSchedulingTerm, yyrl3906) } } else { - yyv3873 = make([]PreferredSchedulingTerm, yyrl3873) + yyv3906 = make([]PreferredSchedulingTerm, yyrl3906) } - yyc3873 = true - yyrr3873 = len(yyv3873) - if yyrg3873 { - copy(yyv3873, yyv23873) + yyc3906 = true + yyrr3906 = len(yyv3906) + if yyrg3906 { + copy(yyv3906, yyv23906) } - } else if yyl3873 != len(yyv3873) { - yyv3873 = yyv3873[:yyl3873] - yyc3873 = true + } else if yyl3906 != len(yyv3906) { + yyv3906 = yyv3906[:yyl3906] + yyc3906 = true } - yyj3873 := 0 - for ; yyj3873 < yyrr3873; yyj3873++ { - yyh3873.ElemContainerState(yyj3873) + yyj3906 := 0 + for ; yyj3906 < yyrr3906; yyj3906++ { + yyh3906.ElemContainerState(yyj3906) if r.TryDecodeAsNil() { - yyv3873[yyj3873] = PreferredSchedulingTerm{} + yyv3906[yyj3906] = PreferredSchedulingTerm{} } else { - yyv3874 := &yyv3873[yyj3873] - yyv3874.CodecDecodeSelf(d) + yyv3907 := &yyv3906[yyj3906] + yyv3907.CodecDecodeSelf(d) } } - if yyrt3873 { - for ; yyj3873 < yyl3873; yyj3873++ { - yyv3873 = append(yyv3873, PreferredSchedulingTerm{}) - yyh3873.ElemContainerState(yyj3873) + if yyrt3906 { + for ; yyj3906 < yyl3906; yyj3906++ { + yyv3906 = append(yyv3906, PreferredSchedulingTerm{}) + yyh3906.ElemContainerState(yyj3906) if r.TryDecodeAsNil() { - yyv3873[yyj3873] = PreferredSchedulingTerm{} + yyv3906[yyj3906] = PreferredSchedulingTerm{} } else { - yyv3875 := &yyv3873[yyj3873] - yyv3875.CodecDecodeSelf(d) + yyv3908 := &yyv3906[yyj3906] + yyv3908.CodecDecodeSelf(d) } } } } else { - yyj3873 := 0 - for ; !r.CheckBreak(); yyj3873++ { + yyj3906 := 0 + for ; !r.CheckBreak(); yyj3906++ { - if yyj3873 >= len(yyv3873) { - yyv3873 = append(yyv3873, PreferredSchedulingTerm{}) // var yyz3873 PreferredSchedulingTerm - yyc3873 = true + if yyj3906 >= len(yyv3906) { + yyv3906 = append(yyv3906, PreferredSchedulingTerm{}) // var yyz3906 PreferredSchedulingTerm + yyc3906 = true } - yyh3873.ElemContainerState(yyj3873) - if yyj3873 < len(yyv3873) { + yyh3906.ElemContainerState(yyj3906) + if yyj3906 < len(yyv3906) { if r.TryDecodeAsNil() { - yyv3873[yyj3873] = PreferredSchedulingTerm{} + yyv3906[yyj3906] = PreferredSchedulingTerm{} } else { - yyv3876 := &yyv3873[yyj3873] - yyv3876.CodecDecodeSelf(d) + yyv3909 := &yyv3906[yyj3906] + yyv3909.CodecDecodeSelf(d) } } else { @@ -48643,17 +49158,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj3873 < len(yyv3873) { - yyv3873 = yyv3873[:yyj3873] - yyc3873 = true - } else if yyj3873 == 0 && yyv3873 == nil { - yyv3873 = []PreferredSchedulingTerm{} - yyc3873 = true + if yyj3906 < len(yyv3906) { + yyv3906 = yyv3906[:yyj3906] + yyc3906 = true + } else if yyj3906 == 0 && yyv3906 == nil { + yyv3906 = []PreferredSchedulingTerm{} + yyc3906 = true } } - yyh3873.End() - if yyc3873 { - *v = yyv3873 + yyh3906.End() + if yyc3906 { + *v = yyv3906 } } @@ -48662,10 +49177,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3877 := range v { + for _, yyv3910 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3878 := &yyv3877 - yy3878.CodecEncodeSelf(e) + yy3911 := &yyv3910 + yy3911.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48675,83 +49190,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3879 := *v - yyh3879, yyl3879 := z.DecSliceHelperStart() - var yyc3879 bool - if yyl3879 == 0 { - if yyv3879 == nil { - yyv3879 = []Volume{} - yyc3879 = true - } else if len(yyv3879) != 0 { - yyv3879 = yyv3879[:0] - yyc3879 = true + yyv3912 := *v + yyh3912, yyl3912 := z.DecSliceHelperStart() + var yyc3912 bool + if yyl3912 == 0 { + if yyv3912 == nil { + yyv3912 = []Volume{} + yyc3912 = true + } else if len(yyv3912) != 0 { + yyv3912 = yyv3912[:0] + yyc3912 = true } - } else if yyl3879 > 0 { - var yyrr3879, yyrl3879 int - var yyrt3879 bool - if yyl3879 > cap(yyv3879) { + } else if yyl3912 > 0 { + var yyrr3912, yyrl3912 int + var yyrt3912 bool + if yyl3912 > cap(yyv3912) { - yyrg3879 := len(yyv3879) > 0 - yyv23879 := yyv3879 - yyrl3879, yyrt3879 = z.DecInferLen(yyl3879, z.DecBasicHandle().MaxInitLen, 152) - if yyrt3879 { - if yyrl3879 <= cap(yyv3879) { - yyv3879 = yyv3879[:yyrl3879] + yyrg3912 := len(yyv3912) > 0 + yyv23912 := yyv3912 + yyrl3912, yyrt3912 = z.DecInferLen(yyl3912, z.DecBasicHandle().MaxInitLen, 160) + if yyrt3912 { + if yyrl3912 <= cap(yyv3912) { + yyv3912 = yyv3912[:yyrl3912] } else { - yyv3879 = make([]Volume, yyrl3879) + yyv3912 = make([]Volume, yyrl3912) } } else { - yyv3879 = make([]Volume, yyrl3879) + yyv3912 = make([]Volume, yyrl3912) } - yyc3879 = true - yyrr3879 = len(yyv3879) - if yyrg3879 { - copy(yyv3879, yyv23879) + yyc3912 = true + yyrr3912 = len(yyv3912) + if yyrg3912 { + copy(yyv3912, yyv23912) } - } else if yyl3879 != len(yyv3879) { - yyv3879 = yyv3879[:yyl3879] - yyc3879 = true + } else if yyl3912 != len(yyv3912) { + yyv3912 = yyv3912[:yyl3912] + yyc3912 = true } - yyj3879 := 0 - for ; yyj3879 < yyrr3879; yyj3879++ { - yyh3879.ElemContainerState(yyj3879) + yyj3912 := 0 + for ; yyj3912 < yyrr3912; yyj3912++ { + yyh3912.ElemContainerState(yyj3912) if r.TryDecodeAsNil() { - yyv3879[yyj3879] = Volume{} + yyv3912[yyj3912] = Volume{} } else { - yyv3880 := &yyv3879[yyj3879] - yyv3880.CodecDecodeSelf(d) + yyv3913 := &yyv3912[yyj3912] + yyv3913.CodecDecodeSelf(d) } } - if yyrt3879 { - for ; yyj3879 < yyl3879; yyj3879++ { - yyv3879 = append(yyv3879, Volume{}) - yyh3879.ElemContainerState(yyj3879) + if yyrt3912 { + for ; yyj3912 < yyl3912; yyj3912++ { + yyv3912 = append(yyv3912, Volume{}) + yyh3912.ElemContainerState(yyj3912) if r.TryDecodeAsNil() { - yyv3879[yyj3879] = Volume{} + yyv3912[yyj3912] = Volume{} } else { - yyv3881 := &yyv3879[yyj3879] - yyv3881.CodecDecodeSelf(d) + yyv3914 := &yyv3912[yyj3912] + yyv3914.CodecDecodeSelf(d) } } } } else { - yyj3879 := 0 - for ; !r.CheckBreak(); yyj3879++ { + yyj3912 := 0 + for ; !r.CheckBreak(); yyj3912++ { - if yyj3879 >= len(yyv3879) { - yyv3879 = append(yyv3879, Volume{}) // var yyz3879 Volume - yyc3879 = true + if yyj3912 >= len(yyv3912) { + yyv3912 = append(yyv3912, Volume{}) // var yyz3912 Volume + yyc3912 = true } - yyh3879.ElemContainerState(yyj3879) - if yyj3879 < len(yyv3879) { + yyh3912.ElemContainerState(yyj3912) + if yyj3912 < len(yyv3912) { if r.TryDecodeAsNil() { - yyv3879[yyj3879] = Volume{} + yyv3912[yyj3912] = Volume{} } else { - yyv3882 := &yyv3879[yyj3879] - yyv3882.CodecDecodeSelf(d) + yyv3915 := &yyv3912[yyj3912] + yyv3915.CodecDecodeSelf(d) } } else { @@ -48759,17 +49274,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3879 < len(yyv3879) { - yyv3879 = yyv3879[:yyj3879] - yyc3879 = true - } else if yyj3879 == 0 && yyv3879 == nil { - yyv3879 = []Volume{} - yyc3879 = true + if yyj3912 < len(yyv3912) { + yyv3912 = yyv3912[:yyj3912] + yyc3912 = true + } else if yyj3912 == 0 && yyv3912 == nil { + yyv3912 = []Volume{} + yyc3912 = true } } - yyh3879.End() - if yyc3879 { - *v = yyv3879 + yyh3912.End() + if yyc3912 { + *v = yyv3912 } } @@ -48778,10 +49293,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3883 := range v { + for _, yyv3916 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3884 := &yyv3883 - yy3884.CodecEncodeSelf(e) + yy3917 := &yyv3916 + yy3917.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48791,83 +49306,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3885 := *v - yyh3885, yyl3885 := z.DecSliceHelperStart() - var yyc3885 bool - if yyl3885 == 0 { - if yyv3885 == nil { - yyv3885 = []Container{} - yyc3885 = true - } else if len(yyv3885) != 0 { - yyv3885 = yyv3885[:0] - yyc3885 = true + yyv3918 := *v + yyh3918, yyl3918 := z.DecSliceHelperStart() + var yyc3918 bool + if yyl3918 == 0 { + if yyv3918 == nil { + yyv3918 = []Container{} + yyc3918 = true + } else if len(yyv3918) != 0 { + yyv3918 = yyv3918[:0] + yyc3918 = true } - } else if yyl3885 > 0 { - var yyrr3885, yyrl3885 int - var yyrt3885 bool - if yyl3885 > cap(yyv3885) { + } else if yyl3918 > 0 { + var yyrr3918, yyrl3918 int + var yyrt3918 bool + if yyl3918 > cap(yyv3918) { - yyrg3885 := len(yyv3885) > 0 - yyv23885 := yyv3885 - yyrl3885, yyrt3885 = z.DecInferLen(yyl3885, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3885 { - if yyrl3885 <= cap(yyv3885) { - yyv3885 = yyv3885[:yyrl3885] + yyrg3918 := len(yyv3918) > 0 + yyv23918 := yyv3918 + yyrl3918, yyrt3918 = z.DecInferLen(yyl3918, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3918 { + if yyrl3918 <= cap(yyv3918) { + yyv3918 = yyv3918[:yyrl3918] } else { - yyv3885 = make([]Container, yyrl3885) + yyv3918 = make([]Container, yyrl3918) } } else { - yyv3885 = make([]Container, yyrl3885) + yyv3918 = make([]Container, yyrl3918) } - yyc3885 = true - yyrr3885 = len(yyv3885) - if yyrg3885 { - copy(yyv3885, yyv23885) + yyc3918 = true + yyrr3918 = len(yyv3918) + if yyrg3918 { + copy(yyv3918, yyv23918) } - } else if yyl3885 != len(yyv3885) { - yyv3885 = yyv3885[:yyl3885] - yyc3885 = true + } else if yyl3918 != len(yyv3918) { + yyv3918 = yyv3918[:yyl3918] + yyc3918 = true } - yyj3885 := 0 - for ; yyj3885 < yyrr3885; yyj3885++ { - yyh3885.ElemContainerState(yyj3885) + yyj3918 := 0 + for ; yyj3918 < yyrr3918; yyj3918++ { + yyh3918.ElemContainerState(yyj3918) if r.TryDecodeAsNil() { - yyv3885[yyj3885] = Container{} + yyv3918[yyj3918] = Container{} } else { - yyv3886 := &yyv3885[yyj3885] - yyv3886.CodecDecodeSelf(d) + yyv3919 := &yyv3918[yyj3918] + yyv3919.CodecDecodeSelf(d) } } - if yyrt3885 { - for ; yyj3885 < yyl3885; yyj3885++ { - yyv3885 = append(yyv3885, Container{}) - yyh3885.ElemContainerState(yyj3885) + if yyrt3918 { + for ; yyj3918 < yyl3918; yyj3918++ { + yyv3918 = append(yyv3918, Container{}) + yyh3918.ElemContainerState(yyj3918) if r.TryDecodeAsNil() { - yyv3885[yyj3885] = Container{} + yyv3918[yyj3918] = Container{} } else { - yyv3887 := &yyv3885[yyj3885] - yyv3887.CodecDecodeSelf(d) + yyv3920 := &yyv3918[yyj3918] + yyv3920.CodecDecodeSelf(d) } } } } else { - yyj3885 := 0 - for ; !r.CheckBreak(); yyj3885++ { + yyj3918 := 0 + for ; !r.CheckBreak(); yyj3918++ { - if yyj3885 >= len(yyv3885) { - yyv3885 = append(yyv3885, Container{}) // var yyz3885 Container - yyc3885 = true + if yyj3918 >= len(yyv3918) { + yyv3918 = append(yyv3918, Container{}) // var yyz3918 Container + yyc3918 = true } - yyh3885.ElemContainerState(yyj3885) - if yyj3885 < len(yyv3885) { + yyh3918.ElemContainerState(yyj3918) + if yyj3918 < len(yyv3918) { if r.TryDecodeAsNil() { - yyv3885[yyj3885] = Container{} + yyv3918[yyj3918] = Container{} } else { - yyv3888 := &yyv3885[yyj3885] - yyv3888.CodecDecodeSelf(d) + yyv3921 := &yyv3918[yyj3918] + yyv3921.CodecDecodeSelf(d) } } else { @@ -48875,17 +49390,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3885 < len(yyv3885) { - yyv3885 = yyv3885[:yyj3885] - yyc3885 = true - } else if yyj3885 == 0 && yyv3885 == nil { - yyv3885 = []Container{} - yyc3885 = true + if yyj3918 < len(yyv3918) { + yyv3918 = yyv3918[:yyj3918] + yyc3918 = true + } else if yyj3918 == 0 && yyv3918 == nil { + yyv3918 = []Container{} + yyc3918 = true } } - yyh3885.End() - if yyc3885 { - *v = yyv3885 + yyh3918.End() + if yyc3918 { + *v = yyv3918 } } @@ -48894,10 +49409,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3889 := range v { + for _, yyv3922 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3890 := &yyv3889 - yy3890.CodecEncodeSelf(e) + yy3923 := &yyv3922 + yy3923.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48907,83 +49422,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3891 := *v - yyh3891, yyl3891 := z.DecSliceHelperStart() - var yyc3891 bool - if yyl3891 == 0 { - if yyv3891 == nil { - yyv3891 = []LocalObjectReference{} - yyc3891 = true - } else if len(yyv3891) != 0 { - yyv3891 = yyv3891[:0] - yyc3891 = true + yyv3924 := *v + yyh3924, yyl3924 := z.DecSliceHelperStart() + var yyc3924 bool + if yyl3924 == 0 { + if yyv3924 == nil { + yyv3924 = []LocalObjectReference{} + yyc3924 = true + } else if len(yyv3924) != 0 { + yyv3924 = yyv3924[:0] + yyc3924 = true } - } else if yyl3891 > 0 { - var yyrr3891, yyrl3891 int - var yyrt3891 bool - if yyl3891 > cap(yyv3891) { + } else if yyl3924 > 0 { + var yyrr3924, yyrl3924 int + var yyrt3924 bool + if yyl3924 > cap(yyv3924) { - yyrg3891 := len(yyv3891) > 0 - yyv23891 := yyv3891 - yyrl3891, yyrt3891 = z.DecInferLen(yyl3891, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3891 { - if yyrl3891 <= cap(yyv3891) { - yyv3891 = yyv3891[:yyrl3891] + yyrg3924 := len(yyv3924) > 0 + yyv23924 := yyv3924 + yyrl3924, yyrt3924 = z.DecInferLen(yyl3924, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3924 { + if yyrl3924 <= cap(yyv3924) { + yyv3924 = yyv3924[:yyrl3924] } else { - yyv3891 = make([]LocalObjectReference, yyrl3891) + yyv3924 = make([]LocalObjectReference, yyrl3924) } } else { - yyv3891 = make([]LocalObjectReference, yyrl3891) + yyv3924 = make([]LocalObjectReference, yyrl3924) } - yyc3891 = true - yyrr3891 = len(yyv3891) - if yyrg3891 { - copy(yyv3891, yyv23891) + yyc3924 = true + yyrr3924 = len(yyv3924) + if yyrg3924 { + copy(yyv3924, yyv23924) } - } else if yyl3891 != len(yyv3891) { - yyv3891 = yyv3891[:yyl3891] - yyc3891 = true + } else if yyl3924 != len(yyv3924) { + yyv3924 = yyv3924[:yyl3924] + yyc3924 = true } - yyj3891 := 0 - for ; yyj3891 < yyrr3891; yyj3891++ { - yyh3891.ElemContainerState(yyj3891) + yyj3924 := 0 + for ; yyj3924 < yyrr3924; yyj3924++ { + yyh3924.ElemContainerState(yyj3924) if r.TryDecodeAsNil() { - yyv3891[yyj3891] = LocalObjectReference{} + yyv3924[yyj3924] = LocalObjectReference{} } else { - yyv3892 := &yyv3891[yyj3891] - yyv3892.CodecDecodeSelf(d) + yyv3925 := &yyv3924[yyj3924] + yyv3925.CodecDecodeSelf(d) } } - if yyrt3891 { - for ; yyj3891 < yyl3891; yyj3891++ { - yyv3891 = append(yyv3891, LocalObjectReference{}) - yyh3891.ElemContainerState(yyj3891) + if yyrt3924 { + for ; yyj3924 < yyl3924; yyj3924++ { + yyv3924 = append(yyv3924, LocalObjectReference{}) + yyh3924.ElemContainerState(yyj3924) if r.TryDecodeAsNil() { - yyv3891[yyj3891] = LocalObjectReference{} + yyv3924[yyj3924] = LocalObjectReference{} } else { - yyv3893 := &yyv3891[yyj3891] - yyv3893.CodecDecodeSelf(d) + yyv3926 := &yyv3924[yyj3924] + yyv3926.CodecDecodeSelf(d) } } } } else { - yyj3891 := 0 - for ; !r.CheckBreak(); yyj3891++ { + yyj3924 := 0 + for ; !r.CheckBreak(); yyj3924++ { - if yyj3891 >= len(yyv3891) { - yyv3891 = append(yyv3891, LocalObjectReference{}) // var yyz3891 LocalObjectReference - yyc3891 = true + if yyj3924 >= len(yyv3924) { + yyv3924 = append(yyv3924, LocalObjectReference{}) // var yyz3924 LocalObjectReference + yyc3924 = true } - yyh3891.ElemContainerState(yyj3891) - if yyj3891 < len(yyv3891) { + yyh3924.ElemContainerState(yyj3924) + if yyj3924 < len(yyv3924) { if r.TryDecodeAsNil() { - yyv3891[yyj3891] = LocalObjectReference{} + yyv3924[yyj3924] = LocalObjectReference{} } else { - yyv3894 := &yyv3891[yyj3891] - yyv3894.CodecDecodeSelf(d) + yyv3927 := &yyv3924[yyj3924] + yyv3927.CodecDecodeSelf(d) } } else { @@ -48991,17 +49506,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3891 < len(yyv3891) { - yyv3891 = yyv3891[:yyj3891] - yyc3891 = true - } else if yyj3891 == 0 && yyv3891 == nil { - yyv3891 = []LocalObjectReference{} - yyc3891 = true + if yyj3924 < len(yyv3924) { + yyv3924 = yyv3924[:yyj3924] + yyc3924 = true + } else if yyj3924 == 0 && yyv3924 == nil { + yyv3924 = []LocalObjectReference{} + yyc3924 = true } } - yyh3891.End() - if yyc3891 { - *v = yyv3891 + yyh3924.End() + if yyc3924 { + *v = yyv3924 } } @@ -49010,10 +49525,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3895 := range v { + for _, yyv3928 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3896 := &yyv3895 - yy3896.CodecEncodeSelf(e) + yy3929 := &yyv3928 + yy3929.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49023,83 +49538,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3897 := *v - yyh3897, yyl3897 := z.DecSliceHelperStart() - var yyc3897 bool - if yyl3897 == 0 { - if yyv3897 == nil { - yyv3897 = []PodCondition{} - yyc3897 = true - } else if len(yyv3897) != 0 { - yyv3897 = yyv3897[:0] - yyc3897 = true + yyv3930 := *v + yyh3930, yyl3930 := z.DecSliceHelperStart() + var yyc3930 bool + if yyl3930 == 0 { + if yyv3930 == nil { + yyv3930 = []PodCondition{} + yyc3930 = true + } else if len(yyv3930) != 0 { + yyv3930 = yyv3930[:0] + yyc3930 = true } - } else if yyl3897 > 0 { - var yyrr3897, yyrl3897 int - var yyrt3897 bool - if yyl3897 > cap(yyv3897) { + } else if yyl3930 > 0 { + var yyrr3930, yyrl3930 int + var yyrt3930 bool + if yyl3930 > cap(yyv3930) { - yyrg3897 := len(yyv3897) > 0 - yyv23897 := yyv3897 - yyrl3897, yyrt3897 = z.DecInferLen(yyl3897, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3897 { - if yyrl3897 <= cap(yyv3897) { - yyv3897 = yyv3897[:yyrl3897] + yyrg3930 := len(yyv3930) > 0 + yyv23930 := yyv3930 + yyrl3930, yyrt3930 = z.DecInferLen(yyl3930, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3930 { + if yyrl3930 <= cap(yyv3930) { + yyv3930 = yyv3930[:yyrl3930] } else { - yyv3897 = make([]PodCondition, yyrl3897) + yyv3930 = make([]PodCondition, yyrl3930) } } else { - yyv3897 = make([]PodCondition, yyrl3897) + yyv3930 = make([]PodCondition, yyrl3930) } - yyc3897 = true - yyrr3897 = len(yyv3897) - if yyrg3897 { - copy(yyv3897, yyv23897) + yyc3930 = true + yyrr3930 = len(yyv3930) + if yyrg3930 { + copy(yyv3930, yyv23930) } - } else if yyl3897 != len(yyv3897) { - yyv3897 = yyv3897[:yyl3897] - yyc3897 = true + } else if yyl3930 != len(yyv3930) { + yyv3930 = yyv3930[:yyl3930] + yyc3930 = true } - yyj3897 := 0 - for ; yyj3897 < yyrr3897; yyj3897++ { - yyh3897.ElemContainerState(yyj3897) + yyj3930 := 0 + for ; yyj3930 < yyrr3930; yyj3930++ { + yyh3930.ElemContainerState(yyj3930) if r.TryDecodeAsNil() { - yyv3897[yyj3897] = PodCondition{} + yyv3930[yyj3930] = PodCondition{} } else { - yyv3898 := &yyv3897[yyj3897] - yyv3898.CodecDecodeSelf(d) + yyv3931 := &yyv3930[yyj3930] + yyv3931.CodecDecodeSelf(d) } } - if yyrt3897 { - for ; yyj3897 < yyl3897; yyj3897++ { - yyv3897 = append(yyv3897, PodCondition{}) - yyh3897.ElemContainerState(yyj3897) + if yyrt3930 { + for ; yyj3930 < yyl3930; yyj3930++ { + yyv3930 = append(yyv3930, PodCondition{}) + yyh3930.ElemContainerState(yyj3930) if r.TryDecodeAsNil() { - yyv3897[yyj3897] = PodCondition{} + yyv3930[yyj3930] = PodCondition{} } else { - yyv3899 := &yyv3897[yyj3897] - yyv3899.CodecDecodeSelf(d) + yyv3932 := &yyv3930[yyj3930] + yyv3932.CodecDecodeSelf(d) } } } } else { - yyj3897 := 0 - for ; !r.CheckBreak(); yyj3897++ { + yyj3930 := 0 + for ; !r.CheckBreak(); yyj3930++ { - if yyj3897 >= len(yyv3897) { - yyv3897 = append(yyv3897, PodCondition{}) // var yyz3897 PodCondition - yyc3897 = true + if yyj3930 >= len(yyv3930) { + yyv3930 = append(yyv3930, PodCondition{}) // var yyz3930 PodCondition + yyc3930 = true } - yyh3897.ElemContainerState(yyj3897) - if yyj3897 < len(yyv3897) { + yyh3930.ElemContainerState(yyj3930) + if yyj3930 < len(yyv3930) { if r.TryDecodeAsNil() { - yyv3897[yyj3897] = PodCondition{} + yyv3930[yyj3930] = PodCondition{} } else { - yyv3900 := &yyv3897[yyj3897] - yyv3900.CodecDecodeSelf(d) + yyv3933 := &yyv3930[yyj3930] + yyv3933.CodecDecodeSelf(d) } } else { @@ -49107,17 +49622,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3897 < len(yyv3897) { - yyv3897 = yyv3897[:yyj3897] - yyc3897 = true - } else if yyj3897 == 0 && yyv3897 == nil { - yyv3897 = []PodCondition{} - yyc3897 = true + if yyj3930 < len(yyv3930) { + yyv3930 = yyv3930[:yyj3930] + yyc3930 = true + } else if yyj3930 == 0 && yyv3930 == nil { + yyv3930 = []PodCondition{} + yyc3930 = true } } - yyh3897.End() - if yyc3897 { - *v = yyv3897 + yyh3930.End() + if yyc3930 { + *v = yyv3930 } } @@ -49126,10 +49641,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3901 := range v { + for _, yyv3934 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3902 := &yyv3901 - yy3902.CodecEncodeSelf(e) + yy3935 := &yyv3934 + yy3935.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49139,83 +49654,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3903 := *v - yyh3903, yyl3903 := z.DecSliceHelperStart() - var yyc3903 bool - if yyl3903 == 0 { - if yyv3903 == nil { - yyv3903 = []ContainerStatus{} - yyc3903 = true - } else if len(yyv3903) != 0 { - yyv3903 = yyv3903[:0] - yyc3903 = true + yyv3936 := *v + yyh3936, yyl3936 := z.DecSliceHelperStart() + var yyc3936 bool + if yyl3936 == 0 { + if yyv3936 == nil { + yyv3936 = []ContainerStatus{} + yyc3936 = true + } else if len(yyv3936) != 0 { + yyv3936 = yyv3936[:0] + yyc3936 = true } - } else if yyl3903 > 0 { - var yyrr3903, yyrl3903 int - var yyrt3903 bool - if yyl3903 > cap(yyv3903) { + } else if yyl3936 > 0 { + var yyrr3936, yyrl3936 int + var yyrt3936 bool + if yyl3936 > cap(yyv3936) { - yyrg3903 := len(yyv3903) > 0 - yyv23903 := yyv3903 - yyrl3903, yyrt3903 = z.DecInferLen(yyl3903, z.DecBasicHandle().MaxInitLen, 120) - if yyrt3903 { - if yyrl3903 <= cap(yyv3903) { - yyv3903 = yyv3903[:yyrl3903] + yyrg3936 := len(yyv3936) > 0 + yyv23936 := yyv3936 + yyrl3936, yyrt3936 = z.DecInferLen(yyl3936, z.DecBasicHandle().MaxInitLen, 120) + if yyrt3936 { + if yyrl3936 <= cap(yyv3936) { + yyv3936 = yyv3936[:yyrl3936] } else { - yyv3903 = make([]ContainerStatus, yyrl3903) + yyv3936 = make([]ContainerStatus, yyrl3936) } } else { - yyv3903 = make([]ContainerStatus, yyrl3903) + yyv3936 = make([]ContainerStatus, yyrl3936) } - yyc3903 = true - yyrr3903 = len(yyv3903) - if yyrg3903 { - copy(yyv3903, yyv23903) + yyc3936 = true + yyrr3936 = len(yyv3936) + if yyrg3936 { + copy(yyv3936, yyv23936) } - } else if yyl3903 != len(yyv3903) { - yyv3903 = yyv3903[:yyl3903] - yyc3903 = true + } else if yyl3936 != len(yyv3936) { + yyv3936 = yyv3936[:yyl3936] + yyc3936 = true } - yyj3903 := 0 - for ; yyj3903 < yyrr3903; yyj3903++ { - yyh3903.ElemContainerState(yyj3903) + yyj3936 := 0 + for ; yyj3936 < yyrr3936; yyj3936++ { + yyh3936.ElemContainerState(yyj3936) if r.TryDecodeAsNil() { - yyv3903[yyj3903] = ContainerStatus{} + yyv3936[yyj3936] = ContainerStatus{} } else { - yyv3904 := &yyv3903[yyj3903] - yyv3904.CodecDecodeSelf(d) + yyv3937 := &yyv3936[yyj3936] + yyv3937.CodecDecodeSelf(d) } } - if yyrt3903 { - for ; yyj3903 < yyl3903; yyj3903++ { - yyv3903 = append(yyv3903, ContainerStatus{}) - yyh3903.ElemContainerState(yyj3903) + if yyrt3936 { + for ; yyj3936 < yyl3936; yyj3936++ { + yyv3936 = append(yyv3936, ContainerStatus{}) + yyh3936.ElemContainerState(yyj3936) if r.TryDecodeAsNil() { - yyv3903[yyj3903] = ContainerStatus{} + yyv3936[yyj3936] = ContainerStatus{} } else { - yyv3905 := &yyv3903[yyj3903] - yyv3905.CodecDecodeSelf(d) + yyv3938 := &yyv3936[yyj3936] + yyv3938.CodecDecodeSelf(d) } } } } else { - yyj3903 := 0 - for ; !r.CheckBreak(); yyj3903++ { + yyj3936 := 0 + for ; !r.CheckBreak(); yyj3936++ { - if yyj3903 >= len(yyv3903) { - yyv3903 = append(yyv3903, ContainerStatus{}) // var yyz3903 ContainerStatus - yyc3903 = true + if yyj3936 >= len(yyv3936) { + yyv3936 = append(yyv3936, ContainerStatus{}) // var yyz3936 ContainerStatus + yyc3936 = true } - yyh3903.ElemContainerState(yyj3903) - if yyj3903 < len(yyv3903) { + yyh3936.ElemContainerState(yyj3936) + if yyj3936 < len(yyv3936) { if r.TryDecodeAsNil() { - yyv3903[yyj3903] = ContainerStatus{} + yyv3936[yyj3936] = ContainerStatus{} } else { - yyv3906 := &yyv3903[yyj3903] - yyv3906.CodecDecodeSelf(d) + yyv3939 := &yyv3936[yyj3936] + yyv3939.CodecDecodeSelf(d) } } else { @@ -49223,17 +49738,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3903 < len(yyv3903) { - yyv3903 = yyv3903[:yyj3903] - yyc3903 = true - } else if yyj3903 == 0 && yyv3903 == nil { - yyv3903 = []ContainerStatus{} - yyc3903 = true + if yyj3936 < len(yyv3936) { + yyv3936 = yyv3936[:yyj3936] + yyc3936 = true + } else if yyj3936 == 0 && yyv3936 == nil { + yyv3936 = []ContainerStatus{} + yyc3936 = true } } - yyh3903.End() - if yyc3903 { - *v = yyv3903 + yyh3936.End() + if yyc3936 { + *v = yyv3936 } } @@ -49242,10 +49757,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3907 := range v { + for _, yyv3940 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3908 := &yyv3907 - yy3908.CodecEncodeSelf(e) + yy3941 := &yyv3940 + yy3941.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49255,83 +49770,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3909 := *v - yyh3909, yyl3909 := z.DecSliceHelperStart() - var yyc3909 bool - if yyl3909 == 0 { - if yyv3909 == nil { - yyv3909 = []Pod{} - yyc3909 = true - } else if len(yyv3909) != 0 { - yyv3909 = yyv3909[:0] - yyc3909 = true + yyv3942 := *v + yyh3942, yyl3942 := z.DecSliceHelperStart() + var yyc3942 bool + if yyl3942 == 0 { + if yyv3942 == nil { + yyv3942 = []Pod{} + yyc3942 = true + } else if len(yyv3942) != 0 { + yyv3942 = yyv3942[:0] + yyc3942 = true } - } else if yyl3909 > 0 { - var yyrr3909, yyrl3909 int - var yyrt3909 bool - if yyl3909 > cap(yyv3909) { + } else if yyl3942 > 0 { + var yyrr3942, yyrl3942 int + var yyrt3942 bool + if yyl3942 > cap(yyv3942) { - yyrg3909 := len(yyv3909) > 0 - yyv23909 := yyv3909 - yyrl3909, yyrt3909 = z.DecInferLen(yyl3909, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3909 { - if yyrl3909 <= cap(yyv3909) { - yyv3909 = yyv3909[:yyrl3909] + yyrg3942 := len(yyv3942) > 0 + yyv23942 := yyv3942 + yyrl3942, yyrt3942 = z.DecInferLen(yyl3942, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3942 { + if yyrl3942 <= cap(yyv3942) { + yyv3942 = yyv3942[:yyrl3942] } else { - yyv3909 = make([]Pod, yyrl3909) + yyv3942 = make([]Pod, yyrl3942) } } else { - yyv3909 = make([]Pod, yyrl3909) + yyv3942 = make([]Pod, yyrl3942) } - yyc3909 = true - yyrr3909 = len(yyv3909) - if yyrg3909 { - copy(yyv3909, yyv23909) + yyc3942 = true + yyrr3942 = len(yyv3942) + if yyrg3942 { + copy(yyv3942, yyv23942) } - } else if yyl3909 != len(yyv3909) { - yyv3909 = yyv3909[:yyl3909] - yyc3909 = true + } else if yyl3942 != len(yyv3942) { + yyv3942 = yyv3942[:yyl3942] + yyc3942 = true } - yyj3909 := 0 - for ; yyj3909 < yyrr3909; yyj3909++ { - yyh3909.ElemContainerState(yyj3909) + yyj3942 := 0 + for ; yyj3942 < yyrr3942; yyj3942++ { + yyh3942.ElemContainerState(yyj3942) if r.TryDecodeAsNil() { - yyv3909[yyj3909] = Pod{} + yyv3942[yyj3942] = Pod{} } else { - yyv3910 := &yyv3909[yyj3909] - yyv3910.CodecDecodeSelf(d) + yyv3943 := &yyv3942[yyj3942] + yyv3943.CodecDecodeSelf(d) } } - if yyrt3909 { - for ; yyj3909 < yyl3909; yyj3909++ { - yyv3909 = append(yyv3909, Pod{}) - yyh3909.ElemContainerState(yyj3909) + if yyrt3942 { + for ; yyj3942 < yyl3942; yyj3942++ { + yyv3942 = append(yyv3942, Pod{}) + yyh3942.ElemContainerState(yyj3942) if r.TryDecodeAsNil() { - yyv3909[yyj3909] = Pod{} + yyv3942[yyj3942] = Pod{} } else { - yyv3911 := &yyv3909[yyj3909] - yyv3911.CodecDecodeSelf(d) + yyv3944 := &yyv3942[yyj3942] + yyv3944.CodecDecodeSelf(d) } } } } else { - yyj3909 := 0 - for ; !r.CheckBreak(); yyj3909++ { + yyj3942 := 0 + for ; !r.CheckBreak(); yyj3942++ { - if yyj3909 >= len(yyv3909) { - yyv3909 = append(yyv3909, Pod{}) // var yyz3909 Pod - yyc3909 = true + if yyj3942 >= len(yyv3942) { + yyv3942 = append(yyv3942, Pod{}) // var yyz3942 Pod + yyc3942 = true } - yyh3909.ElemContainerState(yyj3909) - if yyj3909 < len(yyv3909) { + yyh3942.ElemContainerState(yyj3942) + if yyj3942 < len(yyv3942) { if r.TryDecodeAsNil() { - yyv3909[yyj3909] = Pod{} + yyv3942[yyj3942] = Pod{} } else { - yyv3912 := &yyv3909[yyj3909] - yyv3912.CodecDecodeSelf(d) + yyv3945 := &yyv3942[yyj3942] + yyv3945.CodecDecodeSelf(d) } } else { @@ -49339,17 +49854,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3909 < len(yyv3909) { - yyv3909 = yyv3909[:yyj3909] - yyc3909 = true - } else if yyj3909 == 0 && yyv3909 == nil { - yyv3909 = []Pod{} - yyc3909 = true + if yyj3942 < len(yyv3942) { + yyv3942 = yyv3942[:yyj3942] + yyc3942 = true + } else if yyj3942 == 0 && yyv3942 == nil { + yyv3942 = []Pod{} + yyc3942 = true } } - yyh3909.End() - if yyc3909 { - *v = yyv3909 + yyh3942.End() + if yyc3942 { + *v = yyv3942 } } @@ -49358,10 +49873,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3913 := range v { + for _, yyv3946 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3914 := &yyv3913 - yy3914.CodecEncodeSelf(e) + yy3947 := &yyv3946 + yy3947.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49371,83 +49886,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3915 := *v - yyh3915, yyl3915 := z.DecSliceHelperStart() - var yyc3915 bool - if yyl3915 == 0 { - if yyv3915 == nil { - yyv3915 = []PodTemplate{} - yyc3915 = true - } else if len(yyv3915) != 0 { - yyv3915 = yyv3915[:0] - yyc3915 = true + yyv3948 := *v + yyh3948, yyl3948 := z.DecSliceHelperStart() + var yyc3948 bool + if yyl3948 == 0 { + if yyv3948 == nil { + yyv3948 = []PodTemplate{} + yyc3948 = true + } else if len(yyv3948) != 0 { + yyv3948 = yyv3948[:0] + yyc3948 = true } - } else if yyl3915 > 0 { - var yyrr3915, yyrl3915 int - var yyrt3915 bool - if yyl3915 > cap(yyv3915) { + } else if yyl3948 > 0 { + var yyrr3948, yyrl3948 int + var yyrt3948 bool + if yyl3948 > cap(yyv3948) { - yyrg3915 := len(yyv3915) > 0 - yyv23915 := yyv3915 - yyrl3915, yyrt3915 = z.DecInferLen(yyl3915, z.DecBasicHandle().MaxInitLen, 544) - if yyrt3915 { - if yyrl3915 <= cap(yyv3915) { - yyv3915 = yyv3915[:yyrl3915] + yyrg3948 := len(yyv3948) > 0 + yyv23948 := yyv3948 + yyrl3948, yyrt3948 = z.DecInferLen(yyl3948, z.DecBasicHandle().MaxInitLen, 544) + if yyrt3948 { + if yyrl3948 <= cap(yyv3948) { + yyv3948 = yyv3948[:yyrl3948] } else { - yyv3915 = make([]PodTemplate, yyrl3915) + yyv3948 = make([]PodTemplate, yyrl3948) } } else { - yyv3915 = make([]PodTemplate, yyrl3915) + yyv3948 = make([]PodTemplate, yyrl3948) } - yyc3915 = true - yyrr3915 = len(yyv3915) - if yyrg3915 { - copy(yyv3915, yyv23915) + yyc3948 = true + yyrr3948 = len(yyv3948) + if yyrg3948 { + copy(yyv3948, yyv23948) } - } else if yyl3915 != len(yyv3915) { - yyv3915 = yyv3915[:yyl3915] - yyc3915 = true + } else if yyl3948 != len(yyv3948) { + yyv3948 = yyv3948[:yyl3948] + yyc3948 = true } - yyj3915 := 0 - for ; yyj3915 < yyrr3915; yyj3915++ { - yyh3915.ElemContainerState(yyj3915) + yyj3948 := 0 + for ; yyj3948 < yyrr3948; yyj3948++ { + yyh3948.ElemContainerState(yyj3948) if r.TryDecodeAsNil() { - yyv3915[yyj3915] = PodTemplate{} + yyv3948[yyj3948] = PodTemplate{} } else { - yyv3916 := &yyv3915[yyj3915] - yyv3916.CodecDecodeSelf(d) + yyv3949 := &yyv3948[yyj3948] + yyv3949.CodecDecodeSelf(d) } } - if yyrt3915 { - for ; yyj3915 < yyl3915; yyj3915++ { - yyv3915 = append(yyv3915, PodTemplate{}) - yyh3915.ElemContainerState(yyj3915) + if yyrt3948 { + for ; yyj3948 < yyl3948; yyj3948++ { + yyv3948 = append(yyv3948, PodTemplate{}) + yyh3948.ElemContainerState(yyj3948) if r.TryDecodeAsNil() { - yyv3915[yyj3915] = PodTemplate{} + yyv3948[yyj3948] = PodTemplate{} } else { - yyv3917 := &yyv3915[yyj3915] - yyv3917.CodecDecodeSelf(d) + yyv3950 := &yyv3948[yyj3948] + yyv3950.CodecDecodeSelf(d) } } } } else { - yyj3915 := 0 - for ; !r.CheckBreak(); yyj3915++ { + yyj3948 := 0 + for ; !r.CheckBreak(); yyj3948++ { - if yyj3915 >= len(yyv3915) { - yyv3915 = append(yyv3915, PodTemplate{}) // var yyz3915 PodTemplate - yyc3915 = true + if yyj3948 >= len(yyv3948) { + yyv3948 = append(yyv3948, PodTemplate{}) // var yyz3948 PodTemplate + yyc3948 = true } - yyh3915.ElemContainerState(yyj3915) - if yyj3915 < len(yyv3915) { + yyh3948.ElemContainerState(yyj3948) + if yyj3948 < len(yyv3948) { if r.TryDecodeAsNil() { - yyv3915[yyj3915] = PodTemplate{} + yyv3948[yyj3948] = PodTemplate{} } else { - yyv3918 := &yyv3915[yyj3915] - yyv3918.CodecDecodeSelf(d) + yyv3951 := &yyv3948[yyj3948] + yyv3951.CodecDecodeSelf(d) } } else { @@ -49455,17 +49970,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3915 < len(yyv3915) { - yyv3915 = yyv3915[:yyj3915] - yyc3915 = true - } else if yyj3915 == 0 && yyv3915 == nil { - yyv3915 = []PodTemplate{} - yyc3915 = true + if yyj3948 < len(yyv3948) { + yyv3948 = yyv3948[:yyj3948] + yyc3948 = true + } else if yyj3948 == 0 && yyv3948 == nil { + yyv3948 = []PodTemplate{} + yyc3948 = true } } - yyh3915.End() - if yyc3915 { - *v = yyv3915 + yyh3948.End() + if yyc3948 { + *v = yyv3948 } } @@ -49474,10 +49989,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3919 := range v { + for _, yyv3952 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3920 := &yyv3919 - yy3920.CodecEncodeSelf(e) + yy3953 := &yyv3952 + yy3953.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49487,83 +50002,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3921 := *v - yyh3921, yyl3921 := z.DecSliceHelperStart() - var yyc3921 bool - if yyl3921 == 0 { - if yyv3921 == nil { - yyv3921 = []ReplicationController{} - yyc3921 = true - } else if len(yyv3921) != 0 { - yyv3921 = yyv3921[:0] - yyc3921 = true + yyv3954 := *v + yyh3954, yyl3954 := z.DecSliceHelperStart() + var yyc3954 bool + if yyl3954 == 0 { + if yyv3954 == nil { + yyv3954 = []ReplicationController{} + yyc3954 = true + } else if len(yyv3954) != 0 { + yyv3954 = yyv3954[:0] + yyc3954 = true } - } else if yyl3921 > 0 { - var yyrr3921, yyrl3921 int - var yyrt3921 bool - if yyl3921 > cap(yyv3921) { + } else if yyl3954 > 0 { + var yyrr3954, yyrl3954 int + var yyrt3954 bool + if yyl3954 > cap(yyv3954) { - yyrg3921 := len(yyv3921) > 0 - yyv23921 := yyv3921 - yyrl3921, yyrt3921 = z.DecInferLen(yyl3921, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3921 { - if yyrl3921 <= cap(yyv3921) { - yyv3921 = yyv3921[:yyrl3921] + yyrg3954 := len(yyv3954) > 0 + yyv23954 := yyv3954 + yyrl3954, yyrt3954 = z.DecInferLen(yyl3954, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3954 { + if yyrl3954 <= cap(yyv3954) { + yyv3954 = yyv3954[:yyrl3954] } else { - yyv3921 = make([]ReplicationController, yyrl3921) + yyv3954 = make([]ReplicationController, yyrl3954) } } else { - yyv3921 = make([]ReplicationController, yyrl3921) + yyv3954 = make([]ReplicationController, yyrl3954) } - yyc3921 = true - yyrr3921 = len(yyv3921) - if yyrg3921 { - copy(yyv3921, yyv23921) + yyc3954 = true + yyrr3954 = len(yyv3954) + if yyrg3954 { + copy(yyv3954, yyv23954) } - } else if yyl3921 != len(yyv3921) { - yyv3921 = yyv3921[:yyl3921] - yyc3921 = true + } else if yyl3954 != len(yyv3954) { + yyv3954 = yyv3954[:yyl3954] + yyc3954 = true } - yyj3921 := 0 - for ; yyj3921 < yyrr3921; yyj3921++ { - yyh3921.ElemContainerState(yyj3921) + yyj3954 := 0 + for ; yyj3954 < yyrr3954; yyj3954++ { + yyh3954.ElemContainerState(yyj3954) if r.TryDecodeAsNil() { - yyv3921[yyj3921] = ReplicationController{} + yyv3954[yyj3954] = ReplicationController{} } else { - yyv3922 := &yyv3921[yyj3921] - yyv3922.CodecDecodeSelf(d) + yyv3955 := &yyv3954[yyj3954] + yyv3955.CodecDecodeSelf(d) } } - if yyrt3921 { - for ; yyj3921 < yyl3921; yyj3921++ { - yyv3921 = append(yyv3921, ReplicationController{}) - yyh3921.ElemContainerState(yyj3921) + if yyrt3954 { + for ; yyj3954 < yyl3954; yyj3954++ { + yyv3954 = append(yyv3954, ReplicationController{}) + yyh3954.ElemContainerState(yyj3954) if r.TryDecodeAsNil() { - yyv3921[yyj3921] = ReplicationController{} + yyv3954[yyj3954] = ReplicationController{} } else { - yyv3923 := &yyv3921[yyj3921] - yyv3923.CodecDecodeSelf(d) + yyv3956 := &yyv3954[yyj3954] + yyv3956.CodecDecodeSelf(d) } } } } else { - yyj3921 := 0 - for ; !r.CheckBreak(); yyj3921++ { + yyj3954 := 0 + for ; !r.CheckBreak(); yyj3954++ { - if yyj3921 >= len(yyv3921) { - yyv3921 = append(yyv3921, ReplicationController{}) // var yyz3921 ReplicationController - yyc3921 = true + if yyj3954 >= len(yyv3954) { + yyv3954 = append(yyv3954, ReplicationController{}) // var yyz3954 ReplicationController + yyc3954 = true } - yyh3921.ElemContainerState(yyj3921) - if yyj3921 < len(yyv3921) { + yyh3954.ElemContainerState(yyj3954) + if yyj3954 < len(yyv3954) { if r.TryDecodeAsNil() { - yyv3921[yyj3921] = ReplicationController{} + yyv3954[yyj3954] = ReplicationController{} } else { - yyv3924 := &yyv3921[yyj3921] - yyv3924.CodecDecodeSelf(d) + yyv3957 := &yyv3954[yyj3954] + yyv3957.CodecDecodeSelf(d) } } else { @@ -49571,17 +50086,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3921 < len(yyv3921) { - yyv3921 = yyv3921[:yyj3921] - yyc3921 = true - } else if yyj3921 == 0 && yyv3921 == nil { - yyv3921 = []ReplicationController{} - yyc3921 = true + if yyj3954 < len(yyv3954) { + yyv3954 = yyv3954[:yyj3954] + yyc3954 = true + } else if yyj3954 == 0 && yyv3954 == nil { + yyv3954 = []ReplicationController{} + yyc3954 = true } } - yyh3921.End() - if yyc3921 { - *v = yyv3921 + yyh3954.End() + if yyc3954 { + *v = yyv3954 } } @@ -49590,10 +50105,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3925 := range v { + for _, yyv3958 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3926 := &yyv3925 - yy3926.CodecEncodeSelf(e) + yy3959 := &yyv3958 + yy3959.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49603,83 +50118,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3927 := *v - yyh3927, yyl3927 := z.DecSliceHelperStart() - var yyc3927 bool - if yyl3927 == 0 { - if yyv3927 == nil { - yyv3927 = []LoadBalancerIngress{} - yyc3927 = true - } else if len(yyv3927) != 0 { - yyv3927 = yyv3927[:0] - yyc3927 = true + yyv3960 := *v + yyh3960, yyl3960 := z.DecSliceHelperStart() + var yyc3960 bool + if yyl3960 == 0 { + if yyv3960 == nil { + yyv3960 = []LoadBalancerIngress{} + yyc3960 = true + } else if len(yyv3960) != 0 { + yyv3960 = yyv3960[:0] + yyc3960 = true } - } else if yyl3927 > 0 { - var yyrr3927, yyrl3927 int - var yyrt3927 bool - if yyl3927 > cap(yyv3927) { + } else if yyl3960 > 0 { + var yyrr3960, yyrl3960 int + var yyrt3960 bool + if yyl3960 > cap(yyv3960) { - yyrg3927 := len(yyv3927) > 0 - yyv23927 := yyv3927 - yyrl3927, yyrt3927 = z.DecInferLen(yyl3927, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3927 { - if yyrl3927 <= cap(yyv3927) { - yyv3927 = yyv3927[:yyrl3927] + yyrg3960 := len(yyv3960) > 0 + yyv23960 := yyv3960 + yyrl3960, yyrt3960 = z.DecInferLen(yyl3960, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3960 { + if yyrl3960 <= cap(yyv3960) { + yyv3960 = yyv3960[:yyrl3960] } else { - yyv3927 = make([]LoadBalancerIngress, yyrl3927) + yyv3960 = make([]LoadBalancerIngress, yyrl3960) } } else { - yyv3927 = make([]LoadBalancerIngress, yyrl3927) + yyv3960 = make([]LoadBalancerIngress, yyrl3960) } - yyc3927 = true - yyrr3927 = len(yyv3927) - if yyrg3927 { - copy(yyv3927, yyv23927) + yyc3960 = true + yyrr3960 = len(yyv3960) + if yyrg3960 { + copy(yyv3960, yyv23960) } - } else if yyl3927 != len(yyv3927) { - yyv3927 = yyv3927[:yyl3927] - yyc3927 = true + } else if yyl3960 != len(yyv3960) { + yyv3960 = yyv3960[:yyl3960] + yyc3960 = true } - yyj3927 := 0 - for ; yyj3927 < yyrr3927; yyj3927++ { - yyh3927.ElemContainerState(yyj3927) + yyj3960 := 0 + for ; yyj3960 < yyrr3960; yyj3960++ { + yyh3960.ElemContainerState(yyj3960) if r.TryDecodeAsNil() { - yyv3927[yyj3927] = LoadBalancerIngress{} + yyv3960[yyj3960] = LoadBalancerIngress{} } else { - yyv3928 := &yyv3927[yyj3927] - yyv3928.CodecDecodeSelf(d) + yyv3961 := &yyv3960[yyj3960] + yyv3961.CodecDecodeSelf(d) } } - if yyrt3927 { - for ; yyj3927 < yyl3927; yyj3927++ { - yyv3927 = append(yyv3927, LoadBalancerIngress{}) - yyh3927.ElemContainerState(yyj3927) + if yyrt3960 { + for ; yyj3960 < yyl3960; yyj3960++ { + yyv3960 = append(yyv3960, LoadBalancerIngress{}) + yyh3960.ElemContainerState(yyj3960) if r.TryDecodeAsNil() { - yyv3927[yyj3927] = LoadBalancerIngress{} + yyv3960[yyj3960] = LoadBalancerIngress{} } else { - yyv3929 := &yyv3927[yyj3927] - yyv3929.CodecDecodeSelf(d) + yyv3962 := &yyv3960[yyj3960] + yyv3962.CodecDecodeSelf(d) } } } } else { - yyj3927 := 0 - for ; !r.CheckBreak(); yyj3927++ { + yyj3960 := 0 + for ; !r.CheckBreak(); yyj3960++ { - if yyj3927 >= len(yyv3927) { - yyv3927 = append(yyv3927, LoadBalancerIngress{}) // var yyz3927 LoadBalancerIngress - yyc3927 = true + if yyj3960 >= len(yyv3960) { + yyv3960 = append(yyv3960, LoadBalancerIngress{}) // var yyz3960 LoadBalancerIngress + yyc3960 = true } - yyh3927.ElemContainerState(yyj3927) - if yyj3927 < len(yyv3927) { + yyh3960.ElemContainerState(yyj3960) + if yyj3960 < len(yyv3960) { if r.TryDecodeAsNil() { - yyv3927[yyj3927] = LoadBalancerIngress{} + yyv3960[yyj3960] = LoadBalancerIngress{} } else { - yyv3930 := &yyv3927[yyj3927] - yyv3930.CodecDecodeSelf(d) + yyv3963 := &yyv3960[yyj3960] + yyv3963.CodecDecodeSelf(d) } } else { @@ -49687,17 +50202,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3927 < len(yyv3927) { - yyv3927 = yyv3927[:yyj3927] - yyc3927 = true - } else if yyj3927 == 0 && yyv3927 == nil { - yyv3927 = []LoadBalancerIngress{} - yyc3927 = true + if yyj3960 < len(yyv3960) { + yyv3960 = yyv3960[:yyj3960] + yyc3960 = true + } else if yyj3960 == 0 && yyv3960 == nil { + yyv3960 = []LoadBalancerIngress{} + yyc3960 = true } } - yyh3927.End() - if yyc3927 { - *v = yyv3927 + yyh3960.End() + if yyc3960 { + *v = yyv3960 } } @@ -49706,10 +50221,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3931 := range v { + for _, yyv3964 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3932 := &yyv3931 - yy3932.CodecEncodeSelf(e) + yy3965 := &yyv3964 + yy3965.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49719,83 +50234,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3933 := *v - yyh3933, yyl3933 := z.DecSliceHelperStart() - var yyc3933 bool - if yyl3933 == 0 { - if yyv3933 == nil { - yyv3933 = []ServicePort{} - yyc3933 = true - } else if len(yyv3933) != 0 { - yyv3933 = yyv3933[:0] - yyc3933 = true + yyv3966 := *v + yyh3966, yyl3966 := z.DecSliceHelperStart() + var yyc3966 bool + if yyl3966 == 0 { + if yyv3966 == nil { + yyv3966 = []ServicePort{} + yyc3966 = true + } else if len(yyv3966) != 0 { + yyv3966 = yyv3966[:0] + yyc3966 = true } - } else if yyl3933 > 0 { - var yyrr3933, yyrl3933 int - var yyrt3933 bool - if yyl3933 > cap(yyv3933) { + } else if yyl3966 > 0 { + var yyrr3966, yyrl3966 int + var yyrt3966 bool + if yyl3966 > cap(yyv3966) { - yyrg3933 := len(yyv3933) > 0 - yyv23933 := yyv3933 - yyrl3933, yyrt3933 = z.DecInferLen(yyl3933, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3933 { - if yyrl3933 <= cap(yyv3933) { - yyv3933 = yyv3933[:yyrl3933] + yyrg3966 := len(yyv3966) > 0 + yyv23966 := yyv3966 + yyrl3966, yyrt3966 = z.DecInferLen(yyl3966, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3966 { + if yyrl3966 <= cap(yyv3966) { + yyv3966 = yyv3966[:yyrl3966] } else { - yyv3933 = make([]ServicePort, yyrl3933) + yyv3966 = make([]ServicePort, yyrl3966) } } else { - yyv3933 = make([]ServicePort, yyrl3933) + yyv3966 = make([]ServicePort, yyrl3966) } - yyc3933 = true - yyrr3933 = len(yyv3933) - if yyrg3933 { - copy(yyv3933, yyv23933) + yyc3966 = true + yyrr3966 = len(yyv3966) + if yyrg3966 { + copy(yyv3966, yyv23966) } - } else if yyl3933 != len(yyv3933) { - yyv3933 = yyv3933[:yyl3933] - yyc3933 = true + } else if yyl3966 != len(yyv3966) { + yyv3966 = yyv3966[:yyl3966] + yyc3966 = true } - yyj3933 := 0 - for ; yyj3933 < yyrr3933; yyj3933++ { - yyh3933.ElemContainerState(yyj3933) + yyj3966 := 0 + for ; yyj3966 < yyrr3966; yyj3966++ { + yyh3966.ElemContainerState(yyj3966) if r.TryDecodeAsNil() { - yyv3933[yyj3933] = ServicePort{} + yyv3966[yyj3966] = ServicePort{} } else { - yyv3934 := &yyv3933[yyj3933] - yyv3934.CodecDecodeSelf(d) + yyv3967 := &yyv3966[yyj3966] + yyv3967.CodecDecodeSelf(d) } } - if yyrt3933 { - for ; yyj3933 < yyl3933; yyj3933++ { - yyv3933 = append(yyv3933, ServicePort{}) - yyh3933.ElemContainerState(yyj3933) + if yyrt3966 { + for ; yyj3966 < yyl3966; yyj3966++ { + yyv3966 = append(yyv3966, ServicePort{}) + yyh3966.ElemContainerState(yyj3966) if r.TryDecodeAsNil() { - yyv3933[yyj3933] = ServicePort{} + yyv3966[yyj3966] = ServicePort{} } else { - yyv3935 := &yyv3933[yyj3933] - yyv3935.CodecDecodeSelf(d) + yyv3968 := &yyv3966[yyj3966] + yyv3968.CodecDecodeSelf(d) } } } } else { - yyj3933 := 0 - for ; !r.CheckBreak(); yyj3933++ { + yyj3966 := 0 + for ; !r.CheckBreak(); yyj3966++ { - if yyj3933 >= len(yyv3933) { - yyv3933 = append(yyv3933, ServicePort{}) // var yyz3933 ServicePort - yyc3933 = true + if yyj3966 >= len(yyv3966) { + yyv3966 = append(yyv3966, ServicePort{}) // var yyz3966 ServicePort + yyc3966 = true } - yyh3933.ElemContainerState(yyj3933) - if yyj3933 < len(yyv3933) { + yyh3966.ElemContainerState(yyj3966) + if yyj3966 < len(yyv3966) { if r.TryDecodeAsNil() { - yyv3933[yyj3933] = ServicePort{} + yyv3966[yyj3966] = ServicePort{} } else { - yyv3936 := &yyv3933[yyj3933] - yyv3936.CodecDecodeSelf(d) + yyv3969 := &yyv3966[yyj3966] + yyv3969.CodecDecodeSelf(d) } } else { @@ -49803,17 +50318,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3933 < len(yyv3933) { - yyv3933 = yyv3933[:yyj3933] - yyc3933 = true - } else if yyj3933 == 0 && yyv3933 == nil { - yyv3933 = []ServicePort{} - yyc3933 = true + if yyj3966 < len(yyv3966) { + yyv3966 = yyv3966[:yyj3966] + yyc3966 = true + } else if yyj3966 == 0 && yyv3966 == nil { + yyv3966 = []ServicePort{} + yyc3966 = true } } - yyh3933.End() - if yyc3933 { - *v = yyv3933 + yyh3966.End() + if yyc3966 { + *v = yyv3966 } } @@ -49822,10 +50337,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3937 := range v { + for _, yyv3970 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3938 := &yyv3937 - yy3938.CodecEncodeSelf(e) + yy3971 := &yyv3970 + yy3971.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49835,83 +50350,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3939 := *v - yyh3939, yyl3939 := z.DecSliceHelperStart() - var yyc3939 bool - if yyl3939 == 0 { - if yyv3939 == nil { - yyv3939 = []Service{} - yyc3939 = true - } else if len(yyv3939) != 0 { - yyv3939 = yyv3939[:0] - yyc3939 = true + yyv3972 := *v + yyh3972, yyl3972 := z.DecSliceHelperStart() + var yyc3972 bool + if yyl3972 == 0 { + if yyv3972 == nil { + yyv3972 = []Service{} + yyc3972 = true + } else if len(yyv3972) != 0 { + yyv3972 = yyv3972[:0] + yyc3972 = true } - } else if yyl3939 > 0 { - var yyrr3939, yyrl3939 int - var yyrt3939 bool - if yyl3939 > cap(yyv3939) { + } else if yyl3972 > 0 { + var yyrr3972, yyrl3972 int + var yyrt3972 bool + if yyl3972 > cap(yyv3972) { - yyrg3939 := len(yyv3939) > 0 - yyv23939 := yyv3939 - yyrl3939, yyrt3939 = z.DecInferLen(yyl3939, z.DecBasicHandle().MaxInitLen, 360) - if yyrt3939 { - if yyrl3939 <= cap(yyv3939) { - yyv3939 = yyv3939[:yyrl3939] + yyrg3972 := len(yyv3972) > 0 + yyv23972 := yyv3972 + yyrl3972, yyrt3972 = z.DecInferLen(yyl3972, z.DecBasicHandle().MaxInitLen, 360) + if yyrt3972 { + if yyrl3972 <= cap(yyv3972) { + yyv3972 = yyv3972[:yyrl3972] } else { - yyv3939 = make([]Service, yyrl3939) + yyv3972 = make([]Service, yyrl3972) } } else { - yyv3939 = make([]Service, yyrl3939) + yyv3972 = make([]Service, yyrl3972) } - yyc3939 = true - yyrr3939 = len(yyv3939) - if yyrg3939 { - copy(yyv3939, yyv23939) + yyc3972 = true + yyrr3972 = len(yyv3972) + if yyrg3972 { + copy(yyv3972, yyv23972) } - } else if yyl3939 != len(yyv3939) { - yyv3939 = yyv3939[:yyl3939] - yyc3939 = true + } else if yyl3972 != len(yyv3972) { + yyv3972 = yyv3972[:yyl3972] + yyc3972 = true } - yyj3939 := 0 - for ; yyj3939 < yyrr3939; yyj3939++ { - yyh3939.ElemContainerState(yyj3939) + yyj3972 := 0 + for ; yyj3972 < yyrr3972; yyj3972++ { + yyh3972.ElemContainerState(yyj3972) if r.TryDecodeAsNil() { - yyv3939[yyj3939] = Service{} + yyv3972[yyj3972] = Service{} } else { - yyv3940 := &yyv3939[yyj3939] - yyv3940.CodecDecodeSelf(d) + yyv3973 := &yyv3972[yyj3972] + yyv3973.CodecDecodeSelf(d) } } - if yyrt3939 { - for ; yyj3939 < yyl3939; yyj3939++ { - yyv3939 = append(yyv3939, Service{}) - yyh3939.ElemContainerState(yyj3939) + if yyrt3972 { + for ; yyj3972 < yyl3972; yyj3972++ { + yyv3972 = append(yyv3972, Service{}) + yyh3972.ElemContainerState(yyj3972) if r.TryDecodeAsNil() { - yyv3939[yyj3939] = Service{} + yyv3972[yyj3972] = Service{} } else { - yyv3941 := &yyv3939[yyj3939] - yyv3941.CodecDecodeSelf(d) + yyv3974 := &yyv3972[yyj3972] + yyv3974.CodecDecodeSelf(d) } } } } else { - yyj3939 := 0 - for ; !r.CheckBreak(); yyj3939++ { + yyj3972 := 0 + for ; !r.CheckBreak(); yyj3972++ { - if yyj3939 >= len(yyv3939) { - yyv3939 = append(yyv3939, Service{}) // var yyz3939 Service - yyc3939 = true + if yyj3972 >= len(yyv3972) { + yyv3972 = append(yyv3972, Service{}) // var yyz3972 Service + yyc3972 = true } - yyh3939.ElemContainerState(yyj3939) - if yyj3939 < len(yyv3939) { + yyh3972.ElemContainerState(yyj3972) + if yyj3972 < len(yyv3972) { if r.TryDecodeAsNil() { - yyv3939[yyj3939] = Service{} + yyv3972[yyj3972] = Service{} } else { - yyv3942 := &yyv3939[yyj3939] - yyv3942.CodecDecodeSelf(d) + yyv3975 := &yyv3972[yyj3972] + yyv3975.CodecDecodeSelf(d) } } else { @@ -49919,17 +50434,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3939 < len(yyv3939) { - yyv3939 = yyv3939[:yyj3939] - yyc3939 = true - } else if yyj3939 == 0 && yyv3939 == nil { - yyv3939 = []Service{} - yyc3939 = true + if yyj3972 < len(yyv3972) { + yyv3972 = yyv3972[:yyj3972] + yyc3972 = true + } else if yyj3972 == 0 && yyv3972 == nil { + yyv3972 = []Service{} + yyc3972 = true } } - yyh3939.End() - if yyc3939 { - *v = yyv3939 + yyh3972.End() + if yyc3972 { + *v = yyv3972 } } @@ -49938,10 +50453,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3943 := range v { + for _, yyv3976 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3944 := &yyv3943 - yy3944.CodecEncodeSelf(e) + yy3977 := &yyv3976 + yy3977.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49951,83 +50466,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3945 := *v - yyh3945, yyl3945 := z.DecSliceHelperStart() - var yyc3945 bool - if yyl3945 == 0 { - if yyv3945 == nil { - yyv3945 = []ObjectReference{} - yyc3945 = true - } else if len(yyv3945) != 0 { - yyv3945 = yyv3945[:0] - yyc3945 = true + yyv3978 := *v + yyh3978, yyl3978 := z.DecSliceHelperStart() + var yyc3978 bool + if yyl3978 == 0 { + if yyv3978 == nil { + yyv3978 = []ObjectReference{} + yyc3978 = true + } else if len(yyv3978) != 0 { + yyv3978 = yyv3978[:0] + yyc3978 = true } - } else if yyl3945 > 0 { - var yyrr3945, yyrl3945 int - var yyrt3945 bool - if yyl3945 > cap(yyv3945) { + } else if yyl3978 > 0 { + var yyrr3978, yyrl3978 int + var yyrt3978 bool + if yyl3978 > cap(yyv3978) { - yyrg3945 := len(yyv3945) > 0 - yyv23945 := yyv3945 - yyrl3945, yyrt3945 = z.DecInferLen(yyl3945, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3945 { - if yyrl3945 <= cap(yyv3945) { - yyv3945 = yyv3945[:yyrl3945] + yyrg3978 := len(yyv3978) > 0 + yyv23978 := yyv3978 + yyrl3978, yyrt3978 = z.DecInferLen(yyl3978, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3978 { + if yyrl3978 <= cap(yyv3978) { + yyv3978 = yyv3978[:yyrl3978] } else { - yyv3945 = make([]ObjectReference, yyrl3945) + yyv3978 = make([]ObjectReference, yyrl3978) } } else { - yyv3945 = make([]ObjectReference, yyrl3945) + yyv3978 = make([]ObjectReference, yyrl3978) } - yyc3945 = true - yyrr3945 = len(yyv3945) - if yyrg3945 { - copy(yyv3945, yyv23945) + yyc3978 = true + yyrr3978 = len(yyv3978) + if yyrg3978 { + copy(yyv3978, yyv23978) } - } else if yyl3945 != len(yyv3945) { - yyv3945 = yyv3945[:yyl3945] - yyc3945 = true + } else if yyl3978 != len(yyv3978) { + yyv3978 = yyv3978[:yyl3978] + yyc3978 = true } - yyj3945 := 0 - for ; yyj3945 < yyrr3945; yyj3945++ { - yyh3945.ElemContainerState(yyj3945) + yyj3978 := 0 + for ; yyj3978 < yyrr3978; yyj3978++ { + yyh3978.ElemContainerState(yyj3978) if r.TryDecodeAsNil() { - yyv3945[yyj3945] = ObjectReference{} + yyv3978[yyj3978] = ObjectReference{} } else { - yyv3946 := &yyv3945[yyj3945] - yyv3946.CodecDecodeSelf(d) + yyv3979 := &yyv3978[yyj3978] + yyv3979.CodecDecodeSelf(d) } } - if yyrt3945 { - for ; yyj3945 < yyl3945; yyj3945++ { - yyv3945 = append(yyv3945, ObjectReference{}) - yyh3945.ElemContainerState(yyj3945) + if yyrt3978 { + for ; yyj3978 < yyl3978; yyj3978++ { + yyv3978 = append(yyv3978, ObjectReference{}) + yyh3978.ElemContainerState(yyj3978) if r.TryDecodeAsNil() { - yyv3945[yyj3945] = ObjectReference{} + yyv3978[yyj3978] = ObjectReference{} } else { - yyv3947 := &yyv3945[yyj3945] - yyv3947.CodecDecodeSelf(d) + yyv3980 := &yyv3978[yyj3978] + yyv3980.CodecDecodeSelf(d) } } } } else { - yyj3945 := 0 - for ; !r.CheckBreak(); yyj3945++ { + yyj3978 := 0 + for ; !r.CheckBreak(); yyj3978++ { - if yyj3945 >= len(yyv3945) { - yyv3945 = append(yyv3945, ObjectReference{}) // var yyz3945 ObjectReference - yyc3945 = true + if yyj3978 >= len(yyv3978) { + yyv3978 = append(yyv3978, ObjectReference{}) // var yyz3978 ObjectReference + yyc3978 = true } - yyh3945.ElemContainerState(yyj3945) - if yyj3945 < len(yyv3945) { + yyh3978.ElemContainerState(yyj3978) + if yyj3978 < len(yyv3978) { if r.TryDecodeAsNil() { - yyv3945[yyj3945] = ObjectReference{} + yyv3978[yyj3978] = ObjectReference{} } else { - yyv3948 := &yyv3945[yyj3945] - yyv3948.CodecDecodeSelf(d) + yyv3981 := &yyv3978[yyj3978] + yyv3981.CodecDecodeSelf(d) } } else { @@ -50035,17 +50550,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3945 < len(yyv3945) { - yyv3945 = yyv3945[:yyj3945] - yyc3945 = true - } else if yyj3945 == 0 && yyv3945 == nil { - yyv3945 = []ObjectReference{} - yyc3945 = true + if yyj3978 < len(yyv3978) { + yyv3978 = yyv3978[:yyj3978] + yyc3978 = true + } else if yyj3978 == 0 && yyv3978 == nil { + yyv3978 = []ObjectReference{} + yyc3978 = true } } - yyh3945.End() - if yyc3945 { - *v = yyv3945 + yyh3978.End() + if yyc3978 { + *v = yyv3978 } } @@ -50054,10 +50569,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3949 := range v { + for _, yyv3982 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3950 := &yyv3949 - yy3950.CodecEncodeSelf(e) + yy3983 := &yyv3982 + yy3983.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50067,83 +50582,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3951 := *v - yyh3951, yyl3951 := z.DecSliceHelperStart() - var yyc3951 bool - if yyl3951 == 0 { - if yyv3951 == nil { - yyv3951 = []ServiceAccount{} - yyc3951 = true - } else if len(yyv3951) != 0 { - yyv3951 = yyv3951[:0] - yyc3951 = true + yyv3984 := *v + yyh3984, yyl3984 := z.DecSliceHelperStart() + var yyc3984 bool + if yyl3984 == 0 { + if yyv3984 == nil { + yyv3984 = []ServiceAccount{} + yyc3984 = true + } else if len(yyv3984) != 0 { + yyv3984 = yyv3984[:0] + yyc3984 = true } - } else if yyl3951 > 0 { - var yyrr3951, yyrl3951 int - var yyrt3951 bool - if yyl3951 > cap(yyv3951) { + } else if yyl3984 > 0 { + var yyrr3984, yyrl3984 int + var yyrt3984 bool + if yyl3984 > cap(yyv3984) { - yyrg3951 := len(yyv3951) > 0 - yyv23951 := yyv3951 - yyrl3951, yyrt3951 = z.DecInferLen(yyl3951, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3951 { - if yyrl3951 <= cap(yyv3951) { - yyv3951 = yyv3951[:yyrl3951] + yyrg3984 := len(yyv3984) > 0 + yyv23984 := yyv3984 + yyrl3984, yyrt3984 = z.DecInferLen(yyl3984, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3984 { + if yyrl3984 <= cap(yyv3984) { + yyv3984 = yyv3984[:yyrl3984] } else { - yyv3951 = make([]ServiceAccount, yyrl3951) + yyv3984 = make([]ServiceAccount, yyrl3984) } } else { - yyv3951 = make([]ServiceAccount, yyrl3951) + yyv3984 = make([]ServiceAccount, yyrl3984) } - yyc3951 = true - yyrr3951 = len(yyv3951) - if yyrg3951 { - copy(yyv3951, yyv23951) + yyc3984 = true + yyrr3984 = len(yyv3984) + if yyrg3984 { + copy(yyv3984, yyv23984) } - } else if yyl3951 != len(yyv3951) { - yyv3951 = yyv3951[:yyl3951] - yyc3951 = true + } else if yyl3984 != len(yyv3984) { + yyv3984 = yyv3984[:yyl3984] + yyc3984 = true } - yyj3951 := 0 - for ; yyj3951 < yyrr3951; yyj3951++ { - yyh3951.ElemContainerState(yyj3951) + yyj3984 := 0 + for ; yyj3984 < yyrr3984; yyj3984++ { + yyh3984.ElemContainerState(yyj3984) if r.TryDecodeAsNil() { - yyv3951[yyj3951] = ServiceAccount{} + yyv3984[yyj3984] = ServiceAccount{} } else { - yyv3952 := &yyv3951[yyj3951] - yyv3952.CodecDecodeSelf(d) + yyv3985 := &yyv3984[yyj3984] + yyv3985.CodecDecodeSelf(d) } } - if yyrt3951 { - for ; yyj3951 < yyl3951; yyj3951++ { - yyv3951 = append(yyv3951, ServiceAccount{}) - yyh3951.ElemContainerState(yyj3951) + if yyrt3984 { + for ; yyj3984 < yyl3984; yyj3984++ { + yyv3984 = append(yyv3984, ServiceAccount{}) + yyh3984.ElemContainerState(yyj3984) if r.TryDecodeAsNil() { - yyv3951[yyj3951] = ServiceAccount{} + yyv3984[yyj3984] = ServiceAccount{} } else { - yyv3953 := &yyv3951[yyj3951] - yyv3953.CodecDecodeSelf(d) + yyv3986 := &yyv3984[yyj3984] + yyv3986.CodecDecodeSelf(d) } } } } else { - yyj3951 := 0 - for ; !r.CheckBreak(); yyj3951++ { + yyj3984 := 0 + for ; !r.CheckBreak(); yyj3984++ { - if yyj3951 >= len(yyv3951) { - yyv3951 = append(yyv3951, ServiceAccount{}) // var yyz3951 ServiceAccount - yyc3951 = true + if yyj3984 >= len(yyv3984) { + yyv3984 = append(yyv3984, ServiceAccount{}) // var yyz3984 ServiceAccount + yyc3984 = true } - yyh3951.ElemContainerState(yyj3951) - if yyj3951 < len(yyv3951) { + yyh3984.ElemContainerState(yyj3984) + if yyj3984 < len(yyv3984) { if r.TryDecodeAsNil() { - yyv3951[yyj3951] = ServiceAccount{} + yyv3984[yyj3984] = ServiceAccount{} } else { - yyv3954 := &yyv3951[yyj3951] - yyv3954.CodecDecodeSelf(d) + yyv3987 := &yyv3984[yyj3984] + yyv3987.CodecDecodeSelf(d) } } else { @@ -50151,17 +50666,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3951 < len(yyv3951) { - yyv3951 = yyv3951[:yyj3951] - yyc3951 = true - } else if yyj3951 == 0 && yyv3951 == nil { - yyv3951 = []ServiceAccount{} - yyc3951 = true + if yyj3984 < len(yyv3984) { + yyv3984 = yyv3984[:yyj3984] + yyc3984 = true + } else if yyj3984 == 0 && yyv3984 == nil { + yyv3984 = []ServiceAccount{} + yyc3984 = true } } - yyh3951.End() - if yyc3951 { - *v = yyv3951 + yyh3984.End() + if yyc3984 { + *v = yyv3984 } } @@ -50170,10 +50685,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3955 := range v { + for _, yyv3988 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3956 := &yyv3955 - yy3956.CodecEncodeSelf(e) + yy3989 := &yyv3988 + yy3989.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50183,83 +50698,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3957 := *v - yyh3957, yyl3957 := z.DecSliceHelperStart() - var yyc3957 bool - if yyl3957 == 0 { - if yyv3957 == nil { - yyv3957 = []EndpointSubset{} - yyc3957 = true - } else if len(yyv3957) != 0 { - yyv3957 = yyv3957[:0] - yyc3957 = true + yyv3990 := *v + yyh3990, yyl3990 := z.DecSliceHelperStart() + var yyc3990 bool + if yyl3990 == 0 { + if yyv3990 == nil { + yyv3990 = []EndpointSubset{} + yyc3990 = true + } else if len(yyv3990) != 0 { + yyv3990 = yyv3990[:0] + yyc3990 = true } - } else if yyl3957 > 0 { - var yyrr3957, yyrl3957 int - var yyrt3957 bool - if yyl3957 > cap(yyv3957) { + } else if yyl3990 > 0 { + var yyrr3990, yyrl3990 int + var yyrt3990 bool + if yyl3990 > cap(yyv3990) { - yyrg3957 := len(yyv3957) > 0 - yyv23957 := yyv3957 - yyrl3957, yyrt3957 = z.DecInferLen(yyl3957, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3957 { - if yyrl3957 <= cap(yyv3957) { - yyv3957 = yyv3957[:yyrl3957] + yyrg3990 := len(yyv3990) > 0 + yyv23990 := yyv3990 + yyrl3990, yyrt3990 = z.DecInferLen(yyl3990, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3990 { + if yyrl3990 <= cap(yyv3990) { + yyv3990 = yyv3990[:yyrl3990] } else { - yyv3957 = make([]EndpointSubset, yyrl3957) + yyv3990 = make([]EndpointSubset, yyrl3990) } } else { - yyv3957 = make([]EndpointSubset, yyrl3957) + yyv3990 = make([]EndpointSubset, yyrl3990) } - yyc3957 = true - yyrr3957 = len(yyv3957) - if yyrg3957 { - copy(yyv3957, yyv23957) + yyc3990 = true + yyrr3990 = len(yyv3990) + if yyrg3990 { + copy(yyv3990, yyv23990) } - } else if yyl3957 != len(yyv3957) { - yyv3957 = yyv3957[:yyl3957] - yyc3957 = true + } else if yyl3990 != len(yyv3990) { + yyv3990 = yyv3990[:yyl3990] + yyc3990 = true } - yyj3957 := 0 - for ; yyj3957 < yyrr3957; yyj3957++ { - yyh3957.ElemContainerState(yyj3957) + yyj3990 := 0 + for ; yyj3990 < yyrr3990; yyj3990++ { + yyh3990.ElemContainerState(yyj3990) if r.TryDecodeAsNil() { - yyv3957[yyj3957] = EndpointSubset{} + yyv3990[yyj3990] = EndpointSubset{} } else { - yyv3958 := &yyv3957[yyj3957] - yyv3958.CodecDecodeSelf(d) + yyv3991 := &yyv3990[yyj3990] + yyv3991.CodecDecodeSelf(d) } } - if yyrt3957 { - for ; yyj3957 < yyl3957; yyj3957++ { - yyv3957 = append(yyv3957, EndpointSubset{}) - yyh3957.ElemContainerState(yyj3957) + if yyrt3990 { + for ; yyj3990 < yyl3990; yyj3990++ { + yyv3990 = append(yyv3990, EndpointSubset{}) + yyh3990.ElemContainerState(yyj3990) if r.TryDecodeAsNil() { - yyv3957[yyj3957] = EndpointSubset{} + yyv3990[yyj3990] = EndpointSubset{} } else { - yyv3959 := &yyv3957[yyj3957] - yyv3959.CodecDecodeSelf(d) + yyv3992 := &yyv3990[yyj3990] + yyv3992.CodecDecodeSelf(d) } } } } else { - yyj3957 := 0 - for ; !r.CheckBreak(); yyj3957++ { + yyj3990 := 0 + for ; !r.CheckBreak(); yyj3990++ { - if yyj3957 >= len(yyv3957) { - yyv3957 = append(yyv3957, EndpointSubset{}) // var yyz3957 EndpointSubset - yyc3957 = true + if yyj3990 >= len(yyv3990) { + yyv3990 = append(yyv3990, EndpointSubset{}) // var yyz3990 EndpointSubset + yyc3990 = true } - yyh3957.ElemContainerState(yyj3957) - if yyj3957 < len(yyv3957) { + yyh3990.ElemContainerState(yyj3990) + if yyj3990 < len(yyv3990) { if r.TryDecodeAsNil() { - yyv3957[yyj3957] = EndpointSubset{} + yyv3990[yyj3990] = EndpointSubset{} } else { - yyv3960 := &yyv3957[yyj3957] - yyv3960.CodecDecodeSelf(d) + yyv3993 := &yyv3990[yyj3990] + yyv3993.CodecDecodeSelf(d) } } else { @@ -50267,17 +50782,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3957 < len(yyv3957) { - yyv3957 = yyv3957[:yyj3957] - yyc3957 = true - } else if yyj3957 == 0 && yyv3957 == nil { - yyv3957 = []EndpointSubset{} - yyc3957 = true + if yyj3990 < len(yyv3990) { + yyv3990 = yyv3990[:yyj3990] + yyc3990 = true + } else if yyj3990 == 0 && yyv3990 == nil { + yyv3990 = []EndpointSubset{} + yyc3990 = true } } - yyh3957.End() - if yyc3957 { - *v = yyv3957 + yyh3990.End() + if yyc3990 { + *v = yyv3990 } } @@ -50286,10 +50801,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3961 := range v { + for _, yyv3994 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3962 := &yyv3961 - yy3962.CodecEncodeSelf(e) + yy3995 := &yyv3994 + yy3995.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50299,83 +50814,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3963 := *v - yyh3963, yyl3963 := z.DecSliceHelperStart() - var yyc3963 bool - if yyl3963 == 0 { - if yyv3963 == nil { - yyv3963 = []EndpointAddress{} - yyc3963 = true - } else if len(yyv3963) != 0 { - yyv3963 = yyv3963[:0] - yyc3963 = true + yyv3996 := *v + yyh3996, yyl3996 := z.DecSliceHelperStart() + var yyc3996 bool + if yyl3996 == 0 { + if yyv3996 == nil { + yyv3996 = []EndpointAddress{} + yyc3996 = true + } else if len(yyv3996) != 0 { + yyv3996 = yyv3996[:0] + yyc3996 = true } - } else if yyl3963 > 0 { - var yyrr3963, yyrl3963 int - var yyrt3963 bool - if yyl3963 > cap(yyv3963) { + } else if yyl3996 > 0 { + var yyrr3996, yyrl3996 int + var yyrt3996 bool + if yyl3996 > cap(yyv3996) { - yyrg3963 := len(yyv3963) > 0 - yyv23963 := yyv3963 - yyrl3963, yyrt3963 = z.DecInferLen(yyl3963, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3963 { - if yyrl3963 <= cap(yyv3963) { - yyv3963 = yyv3963[:yyrl3963] + yyrg3996 := len(yyv3996) > 0 + yyv23996 := yyv3996 + yyrl3996, yyrt3996 = z.DecInferLen(yyl3996, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3996 { + if yyrl3996 <= cap(yyv3996) { + yyv3996 = yyv3996[:yyrl3996] } else { - yyv3963 = make([]EndpointAddress, yyrl3963) + yyv3996 = make([]EndpointAddress, yyrl3996) } } else { - yyv3963 = make([]EndpointAddress, yyrl3963) + yyv3996 = make([]EndpointAddress, yyrl3996) } - yyc3963 = true - yyrr3963 = len(yyv3963) - if yyrg3963 { - copy(yyv3963, yyv23963) + yyc3996 = true + yyrr3996 = len(yyv3996) + if yyrg3996 { + copy(yyv3996, yyv23996) } - } else if yyl3963 != len(yyv3963) { - yyv3963 = yyv3963[:yyl3963] - yyc3963 = true + } else if yyl3996 != len(yyv3996) { + yyv3996 = yyv3996[:yyl3996] + yyc3996 = true } - yyj3963 := 0 - for ; yyj3963 < yyrr3963; yyj3963++ { - yyh3963.ElemContainerState(yyj3963) + yyj3996 := 0 + for ; yyj3996 < yyrr3996; yyj3996++ { + yyh3996.ElemContainerState(yyj3996) if r.TryDecodeAsNil() { - yyv3963[yyj3963] = EndpointAddress{} + yyv3996[yyj3996] = EndpointAddress{} } else { - yyv3964 := &yyv3963[yyj3963] - yyv3964.CodecDecodeSelf(d) + yyv3997 := &yyv3996[yyj3996] + yyv3997.CodecDecodeSelf(d) } } - if yyrt3963 { - for ; yyj3963 < yyl3963; yyj3963++ { - yyv3963 = append(yyv3963, EndpointAddress{}) - yyh3963.ElemContainerState(yyj3963) + if yyrt3996 { + for ; yyj3996 < yyl3996; yyj3996++ { + yyv3996 = append(yyv3996, EndpointAddress{}) + yyh3996.ElemContainerState(yyj3996) if r.TryDecodeAsNil() { - yyv3963[yyj3963] = EndpointAddress{} + yyv3996[yyj3996] = EndpointAddress{} } else { - yyv3965 := &yyv3963[yyj3963] - yyv3965.CodecDecodeSelf(d) + yyv3998 := &yyv3996[yyj3996] + yyv3998.CodecDecodeSelf(d) } } } } else { - yyj3963 := 0 - for ; !r.CheckBreak(); yyj3963++ { + yyj3996 := 0 + for ; !r.CheckBreak(); yyj3996++ { - if yyj3963 >= len(yyv3963) { - yyv3963 = append(yyv3963, EndpointAddress{}) // var yyz3963 EndpointAddress - yyc3963 = true + if yyj3996 >= len(yyv3996) { + yyv3996 = append(yyv3996, EndpointAddress{}) // var yyz3996 EndpointAddress + yyc3996 = true } - yyh3963.ElemContainerState(yyj3963) - if yyj3963 < len(yyv3963) { + yyh3996.ElemContainerState(yyj3996) + if yyj3996 < len(yyv3996) { if r.TryDecodeAsNil() { - yyv3963[yyj3963] = EndpointAddress{} + yyv3996[yyj3996] = EndpointAddress{} } else { - yyv3966 := &yyv3963[yyj3963] - yyv3966.CodecDecodeSelf(d) + yyv3999 := &yyv3996[yyj3996] + yyv3999.CodecDecodeSelf(d) } } else { @@ -50383,17 +50898,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3963 < len(yyv3963) { - yyv3963 = yyv3963[:yyj3963] - yyc3963 = true - } else if yyj3963 == 0 && yyv3963 == nil { - yyv3963 = []EndpointAddress{} - yyc3963 = true + if yyj3996 < len(yyv3996) { + yyv3996 = yyv3996[:yyj3996] + yyc3996 = true + } else if yyj3996 == 0 && yyv3996 == nil { + yyv3996 = []EndpointAddress{} + yyc3996 = true } } - yyh3963.End() - if yyc3963 { - *v = yyv3963 + yyh3996.End() + if yyc3996 { + *v = yyv3996 } } @@ -50402,10 +50917,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3967 := range v { + for _, yyv4000 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3968 := &yyv3967 - yy3968.CodecEncodeSelf(e) + yy4001 := &yyv4000 + yy4001.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50415,83 +50930,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3969 := *v - yyh3969, yyl3969 := z.DecSliceHelperStart() - var yyc3969 bool - if yyl3969 == 0 { - if yyv3969 == nil { - yyv3969 = []EndpointPort{} - yyc3969 = true - } else if len(yyv3969) != 0 { - yyv3969 = yyv3969[:0] - yyc3969 = true + yyv4002 := *v + yyh4002, yyl4002 := z.DecSliceHelperStart() + var yyc4002 bool + if yyl4002 == 0 { + if yyv4002 == nil { + yyv4002 = []EndpointPort{} + yyc4002 = true + } else if len(yyv4002) != 0 { + yyv4002 = yyv4002[:0] + yyc4002 = true } - } else if yyl3969 > 0 { - var yyrr3969, yyrl3969 int - var yyrt3969 bool - if yyl3969 > cap(yyv3969) { + } else if yyl4002 > 0 { + var yyrr4002, yyrl4002 int + var yyrt4002 bool + if yyl4002 > cap(yyv4002) { - yyrg3969 := len(yyv3969) > 0 - yyv23969 := yyv3969 - yyrl3969, yyrt3969 = z.DecInferLen(yyl3969, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3969 { - if yyrl3969 <= cap(yyv3969) { - yyv3969 = yyv3969[:yyrl3969] + yyrg4002 := len(yyv4002) > 0 + yyv24002 := yyv4002 + yyrl4002, yyrt4002 = z.DecInferLen(yyl4002, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4002 { + if yyrl4002 <= cap(yyv4002) { + yyv4002 = yyv4002[:yyrl4002] } else { - yyv3969 = make([]EndpointPort, yyrl3969) + yyv4002 = make([]EndpointPort, yyrl4002) } } else { - yyv3969 = make([]EndpointPort, yyrl3969) + yyv4002 = make([]EndpointPort, yyrl4002) } - yyc3969 = true - yyrr3969 = len(yyv3969) - if yyrg3969 { - copy(yyv3969, yyv23969) + yyc4002 = true + yyrr4002 = len(yyv4002) + if yyrg4002 { + copy(yyv4002, yyv24002) } - } else if yyl3969 != len(yyv3969) { - yyv3969 = yyv3969[:yyl3969] - yyc3969 = true + } else if yyl4002 != len(yyv4002) { + yyv4002 = yyv4002[:yyl4002] + yyc4002 = true } - yyj3969 := 0 - for ; yyj3969 < yyrr3969; yyj3969++ { - yyh3969.ElemContainerState(yyj3969) + yyj4002 := 0 + for ; yyj4002 < yyrr4002; yyj4002++ { + yyh4002.ElemContainerState(yyj4002) if r.TryDecodeAsNil() { - yyv3969[yyj3969] = EndpointPort{} + yyv4002[yyj4002] = EndpointPort{} } else { - yyv3970 := &yyv3969[yyj3969] - yyv3970.CodecDecodeSelf(d) + yyv4003 := &yyv4002[yyj4002] + yyv4003.CodecDecodeSelf(d) } } - if yyrt3969 { - for ; yyj3969 < yyl3969; yyj3969++ { - yyv3969 = append(yyv3969, EndpointPort{}) - yyh3969.ElemContainerState(yyj3969) + if yyrt4002 { + for ; yyj4002 < yyl4002; yyj4002++ { + yyv4002 = append(yyv4002, EndpointPort{}) + yyh4002.ElemContainerState(yyj4002) if r.TryDecodeAsNil() { - yyv3969[yyj3969] = EndpointPort{} + yyv4002[yyj4002] = EndpointPort{} } else { - yyv3971 := &yyv3969[yyj3969] - yyv3971.CodecDecodeSelf(d) + yyv4004 := &yyv4002[yyj4002] + yyv4004.CodecDecodeSelf(d) } } } } else { - yyj3969 := 0 - for ; !r.CheckBreak(); yyj3969++ { + yyj4002 := 0 + for ; !r.CheckBreak(); yyj4002++ { - if yyj3969 >= len(yyv3969) { - yyv3969 = append(yyv3969, EndpointPort{}) // var yyz3969 EndpointPort - yyc3969 = true + if yyj4002 >= len(yyv4002) { + yyv4002 = append(yyv4002, EndpointPort{}) // var yyz4002 EndpointPort + yyc4002 = true } - yyh3969.ElemContainerState(yyj3969) - if yyj3969 < len(yyv3969) { + yyh4002.ElemContainerState(yyj4002) + if yyj4002 < len(yyv4002) { if r.TryDecodeAsNil() { - yyv3969[yyj3969] = EndpointPort{} + yyv4002[yyj4002] = EndpointPort{} } else { - yyv3972 := &yyv3969[yyj3969] - yyv3972.CodecDecodeSelf(d) + yyv4005 := &yyv4002[yyj4002] + yyv4005.CodecDecodeSelf(d) } } else { @@ -50499,17 +51014,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3969 < len(yyv3969) { - yyv3969 = yyv3969[:yyj3969] - yyc3969 = true - } else if yyj3969 == 0 && yyv3969 == nil { - yyv3969 = []EndpointPort{} - yyc3969 = true + if yyj4002 < len(yyv4002) { + yyv4002 = yyv4002[:yyj4002] + yyc4002 = true + } else if yyj4002 == 0 && yyv4002 == nil { + yyv4002 = []EndpointPort{} + yyc4002 = true } } - yyh3969.End() - if yyc3969 { - *v = yyv3969 + yyh4002.End() + if yyc4002 { + *v = yyv4002 } } @@ -50518,10 +51033,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3973 := range v { + for _, yyv4006 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3974 := &yyv3973 - yy3974.CodecEncodeSelf(e) + yy4007 := &yyv4006 + yy4007.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50531,83 +51046,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3975 := *v - yyh3975, yyl3975 := z.DecSliceHelperStart() - var yyc3975 bool - if yyl3975 == 0 { - if yyv3975 == nil { - yyv3975 = []Endpoints{} - yyc3975 = true - } else if len(yyv3975) != 0 { - yyv3975 = yyv3975[:0] - yyc3975 = true + yyv4008 := *v + yyh4008, yyl4008 := z.DecSliceHelperStart() + var yyc4008 bool + if yyl4008 == 0 { + if yyv4008 == nil { + yyv4008 = []Endpoints{} + yyc4008 = true + } else if len(yyv4008) != 0 { + yyv4008 = yyv4008[:0] + yyc4008 = true } - } else if yyl3975 > 0 { - var yyrr3975, yyrl3975 int - var yyrt3975 bool - if yyl3975 > cap(yyv3975) { + } else if yyl4008 > 0 { + var yyrr4008, yyrl4008 int + var yyrt4008 bool + if yyl4008 > cap(yyv4008) { - yyrg3975 := len(yyv3975) > 0 - yyv23975 := yyv3975 - yyrl3975, yyrt3975 = z.DecInferLen(yyl3975, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3975 { - if yyrl3975 <= cap(yyv3975) { - yyv3975 = yyv3975[:yyrl3975] + yyrg4008 := len(yyv4008) > 0 + yyv24008 := yyv4008 + yyrl4008, yyrt4008 = z.DecInferLen(yyl4008, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4008 { + if yyrl4008 <= cap(yyv4008) { + yyv4008 = yyv4008[:yyrl4008] } else { - yyv3975 = make([]Endpoints, yyrl3975) + yyv4008 = make([]Endpoints, yyrl4008) } } else { - yyv3975 = make([]Endpoints, yyrl3975) + yyv4008 = make([]Endpoints, yyrl4008) } - yyc3975 = true - yyrr3975 = len(yyv3975) - if yyrg3975 { - copy(yyv3975, yyv23975) + yyc4008 = true + yyrr4008 = len(yyv4008) + if yyrg4008 { + copy(yyv4008, yyv24008) } - } else if yyl3975 != len(yyv3975) { - yyv3975 = yyv3975[:yyl3975] - yyc3975 = true + } else if yyl4008 != len(yyv4008) { + yyv4008 = yyv4008[:yyl4008] + yyc4008 = true } - yyj3975 := 0 - for ; yyj3975 < yyrr3975; yyj3975++ { - yyh3975.ElemContainerState(yyj3975) + yyj4008 := 0 + for ; yyj4008 < yyrr4008; yyj4008++ { + yyh4008.ElemContainerState(yyj4008) if r.TryDecodeAsNil() { - yyv3975[yyj3975] = Endpoints{} + yyv4008[yyj4008] = Endpoints{} } else { - yyv3976 := &yyv3975[yyj3975] - yyv3976.CodecDecodeSelf(d) + yyv4009 := &yyv4008[yyj4008] + yyv4009.CodecDecodeSelf(d) } } - if yyrt3975 { - for ; yyj3975 < yyl3975; yyj3975++ { - yyv3975 = append(yyv3975, Endpoints{}) - yyh3975.ElemContainerState(yyj3975) + if yyrt4008 { + for ; yyj4008 < yyl4008; yyj4008++ { + yyv4008 = append(yyv4008, Endpoints{}) + yyh4008.ElemContainerState(yyj4008) if r.TryDecodeAsNil() { - yyv3975[yyj3975] = Endpoints{} + yyv4008[yyj4008] = Endpoints{} } else { - yyv3977 := &yyv3975[yyj3975] - yyv3977.CodecDecodeSelf(d) + yyv4010 := &yyv4008[yyj4008] + yyv4010.CodecDecodeSelf(d) } } } } else { - yyj3975 := 0 - for ; !r.CheckBreak(); yyj3975++ { + yyj4008 := 0 + for ; !r.CheckBreak(); yyj4008++ { - if yyj3975 >= len(yyv3975) { - yyv3975 = append(yyv3975, Endpoints{}) // var yyz3975 Endpoints - yyc3975 = true + if yyj4008 >= len(yyv4008) { + yyv4008 = append(yyv4008, Endpoints{}) // var yyz4008 Endpoints + yyc4008 = true } - yyh3975.ElemContainerState(yyj3975) - if yyj3975 < len(yyv3975) { + yyh4008.ElemContainerState(yyj4008) + if yyj4008 < len(yyv4008) { if r.TryDecodeAsNil() { - yyv3975[yyj3975] = Endpoints{} + yyv4008[yyj4008] = Endpoints{} } else { - yyv3978 := &yyv3975[yyj3975] - yyv3978.CodecDecodeSelf(d) + yyv4011 := &yyv4008[yyj4008] + yyv4011.CodecDecodeSelf(d) } } else { @@ -50615,17 +51130,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3975 < len(yyv3975) { - yyv3975 = yyv3975[:yyj3975] - yyc3975 = true - } else if yyj3975 == 0 && yyv3975 == nil { - yyv3975 = []Endpoints{} - yyc3975 = true + if yyj4008 < len(yyv4008) { + yyv4008 = yyv4008[:yyj4008] + yyc4008 = true + } else if yyj4008 == 0 && yyv4008 == nil { + yyv4008 = []Endpoints{} + yyc4008 = true } } - yyh3975.End() - if yyc3975 { - *v = yyv3975 + yyh4008.End() + if yyc4008 { + *v = yyv4008 } } @@ -50634,10 +51149,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3979 := range v { + for _, yyv4012 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3980 := &yyv3979 - yy3980.CodecEncodeSelf(e) + yy4013 := &yyv4012 + yy4013.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50647,589 +51162,12 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3981 := *v - yyh3981, yyl3981 := z.DecSliceHelperStart() - var yyc3981 bool - if yyl3981 == 0 { - if yyv3981 == nil { - yyv3981 = []NodeCondition{} - yyc3981 = true - } else if len(yyv3981) != 0 { - yyv3981 = yyv3981[:0] - yyc3981 = true - } - } else if yyl3981 > 0 { - var yyrr3981, yyrl3981 int - var yyrt3981 bool - if yyl3981 > cap(yyv3981) { - - yyrg3981 := len(yyv3981) > 0 - yyv23981 := yyv3981 - yyrl3981, yyrt3981 = z.DecInferLen(yyl3981, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3981 { - if yyrl3981 <= cap(yyv3981) { - yyv3981 = yyv3981[:yyrl3981] - } else { - yyv3981 = make([]NodeCondition, yyrl3981) - } - } else { - yyv3981 = make([]NodeCondition, yyrl3981) - } - yyc3981 = true - yyrr3981 = len(yyv3981) - if yyrg3981 { - copy(yyv3981, yyv23981) - } - } else if yyl3981 != len(yyv3981) { - yyv3981 = yyv3981[:yyl3981] - yyc3981 = true - } - yyj3981 := 0 - for ; yyj3981 < yyrr3981; yyj3981++ { - yyh3981.ElemContainerState(yyj3981) - if r.TryDecodeAsNil() { - yyv3981[yyj3981] = NodeCondition{} - } else { - yyv3982 := &yyv3981[yyj3981] - yyv3982.CodecDecodeSelf(d) - } - - } - if yyrt3981 { - for ; yyj3981 < yyl3981; yyj3981++ { - yyv3981 = append(yyv3981, NodeCondition{}) - yyh3981.ElemContainerState(yyj3981) - if r.TryDecodeAsNil() { - yyv3981[yyj3981] = NodeCondition{} - } else { - yyv3983 := &yyv3981[yyj3981] - yyv3983.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3981 := 0 - for ; !r.CheckBreak(); yyj3981++ { - - if yyj3981 >= len(yyv3981) { - yyv3981 = append(yyv3981, NodeCondition{}) // var yyz3981 NodeCondition - yyc3981 = true - } - yyh3981.ElemContainerState(yyj3981) - if yyj3981 < len(yyv3981) { - if r.TryDecodeAsNil() { - yyv3981[yyj3981] = NodeCondition{} - } else { - yyv3984 := &yyv3981[yyj3981] - yyv3984.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3981 < len(yyv3981) { - yyv3981 = yyv3981[:yyj3981] - yyc3981 = true - } else if yyj3981 == 0 && yyv3981 == nil { - yyv3981 = []NodeCondition{} - yyc3981 = true - } - } - yyh3981.End() - if yyc3981 { - *v = yyv3981 - } -} - -func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3985 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3986 := &yyv3985 - yy3986.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3987 := *v - yyh3987, yyl3987 := z.DecSliceHelperStart() - var yyc3987 bool - if yyl3987 == 0 { - if yyv3987 == nil { - yyv3987 = []NodeAddress{} - yyc3987 = true - } else if len(yyv3987) != 0 { - yyv3987 = yyv3987[:0] - yyc3987 = true - } - } else if yyl3987 > 0 { - var yyrr3987, yyrl3987 int - var yyrt3987 bool - if yyl3987 > cap(yyv3987) { - - yyrg3987 := len(yyv3987) > 0 - yyv23987 := yyv3987 - yyrl3987, yyrt3987 = z.DecInferLen(yyl3987, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3987 { - if yyrl3987 <= cap(yyv3987) { - yyv3987 = yyv3987[:yyrl3987] - } else { - yyv3987 = make([]NodeAddress, yyrl3987) - } - } else { - yyv3987 = make([]NodeAddress, yyrl3987) - } - yyc3987 = true - yyrr3987 = len(yyv3987) - if yyrg3987 { - copy(yyv3987, yyv23987) - } - } else if yyl3987 != len(yyv3987) { - yyv3987 = yyv3987[:yyl3987] - yyc3987 = true - } - yyj3987 := 0 - for ; yyj3987 < yyrr3987; yyj3987++ { - yyh3987.ElemContainerState(yyj3987) - if r.TryDecodeAsNil() { - yyv3987[yyj3987] = NodeAddress{} - } else { - yyv3988 := &yyv3987[yyj3987] - yyv3988.CodecDecodeSelf(d) - } - - } - if yyrt3987 { - for ; yyj3987 < yyl3987; yyj3987++ { - yyv3987 = append(yyv3987, NodeAddress{}) - yyh3987.ElemContainerState(yyj3987) - if r.TryDecodeAsNil() { - yyv3987[yyj3987] = NodeAddress{} - } else { - yyv3989 := &yyv3987[yyj3987] - yyv3989.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3987 := 0 - for ; !r.CheckBreak(); yyj3987++ { - - if yyj3987 >= len(yyv3987) { - yyv3987 = append(yyv3987, NodeAddress{}) // var yyz3987 NodeAddress - yyc3987 = true - } - yyh3987.ElemContainerState(yyj3987) - if yyj3987 < len(yyv3987) { - if r.TryDecodeAsNil() { - yyv3987[yyj3987] = NodeAddress{} - } else { - yyv3990 := &yyv3987[yyj3987] - yyv3990.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3987 < len(yyv3987) { - yyv3987 = yyv3987[:yyj3987] - yyc3987 = true - } else if yyj3987 == 0 && yyv3987 == nil { - yyv3987 = []NodeAddress{} - yyc3987 = true - } - } - yyh3987.End() - if yyc3987 { - *v = yyv3987 - } -} - -func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3991 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3992 := &yyv3991 - yy3992.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3993 := *v - yyh3993, yyl3993 := z.DecSliceHelperStart() - var yyc3993 bool - if yyl3993 == 0 { - if yyv3993 == nil { - yyv3993 = []ContainerImage{} - yyc3993 = true - } else if len(yyv3993) != 0 { - yyv3993 = yyv3993[:0] - yyc3993 = true - } - } else if yyl3993 > 0 { - var yyrr3993, yyrl3993 int - var yyrt3993 bool - if yyl3993 > cap(yyv3993) { - - yyrg3993 := len(yyv3993) > 0 - yyv23993 := yyv3993 - yyrl3993, yyrt3993 = z.DecInferLen(yyl3993, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3993 { - if yyrl3993 <= cap(yyv3993) { - yyv3993 = yyv3993[:yyrl3993] - } else { - yyv3993 = make([]ContainerImage, yyrl3993) - } - } else { - yyv3993 = make([]ContainerImage, yyrl3993) - } - yyc3993 = true - yyrr3993 = len(yyv3993) - if yyrg3993 { - copy(yyv3993, yyv23993) - } - } else if yyl3993 != len(yyv3993) { - yyv3993 = yyv3993[:yyl3993] - yyc3993 = true - } - yyj3993 := 0 - for ; yyj3993 < yyrr3993; yyj3993++ { - yyh3993.ElemContainerState(yyj3993) - if r.TryDecodeAsNil() { - yyv3993[yyj3993] = ContainerImage{} - } else { - yyv3994 := &yyv3993[yyj3993] - yyv3994.CodecDecodeSelf(d) - } - - } - if yyrt3993 { - for ; yyj3993 < yyl3993; yyj3993++ { - yyv3993 = append(yyv3993, ContainerImage{}) - yyh3993.ElemContainerState(yyj3993) - if r.TryDecodeAsNil() { - yyv3993[yyj3993] = ContainerImage{} - } else { - yyv3995 := &yyv3993[yyj3993] - yyv3995.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3993 := 0 - for ; !r.CheckBreak(); yyj3993++ { - - if yyj3993 >= len(yyv3993) { - yyv3993 = append(yyv3993, ContainerImage{}) // var yyz3993 ContainerImage - yyc3993 = true - } - yyh3993.ElemContainerState(yyj3993) - if yyj3993 < len(yyv3993) { - if r.TryDecodeAsNil() { - yyv3993[yyj3993] = ContainerImage{} - } else { - yyv3996 := &yyv3993[yyj3993] - yyv3996.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3993 < len(yyv3993) { - yyv3993 = yyv3993[:yyj3993] - yyc3993 = true - } else if yyj3993 == 0 && yyv3993 == nil { - yyv3993 = []ContainerImage{} - yyc3993 = true - } - } - yyh3993.End() - if yyc3993 { - *v = yyv3993 - } -} - -func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeMapStart(len(v)) - for yyk3997, yyv3997 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3997.CodecEncodeSelf(e) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3998 := &yyv3997 - yym3999 := z.EncBinary() - _ = yym3999 - if false { - } else if z.HasExtensions() && z.EncExt(yy3998) { - } else if !yym3999 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3998) - } else { - z.EncFallback(yy3998) - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4000 := *v - yyl4000 := r.ReadMapStart() - yybh4000 := z.DecBasicHandle() - if yyv4000 == nil { - yyrl4000, _ := z.DecInferLen(yyl4000, yybh4000.MaxInitLen, 40) - yyv4000 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4000) - *v = yyv4000 - } - var yymk4000 ResourceName - var yymv4000 pkg3_resource.Quantity - var yymg4000 bool - if yybh4000.MapValueReset { - yymg4000 = true - } - if yyl4000 > 0 { - for yyj4000 := 0; yyj4000 < yyl4000; yyj4000++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk4000 = "" - } else { - yymk4000 = ResourceName(r.DecodeString()) - } - - if yymg4000 { - yymv4000 = yyv4000[yymk4000] - } else { - yymv4000 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4000 = pkg3_resource.Quantity{} - } else { - yyv4002 := &yymv4000 - yym4003 := z.DecBinary() - _ = yym4003 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4002) { - } else if !yym4003 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4002) - } else { - z.DecFallback(yyv4002, false) - } - } - - if yyv4000 != nil { - yyv4000[yymk4000] = yymv4000 - } - } - } else if yyl4000 < 0 { - for yyj4000 := 0; !r.CheckBreak(); yyj4000++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk4000 = "" - } else { - yymk4000 = ResourceName(r.DecodeString()) - } - - if yymg4000 { - yymv4000 = yyv4000[yymk4000] - } else { - yymv4000 = pkg3_resource.Quantity{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4000 = pkg3_resource.Quantity{} - } else { - yyv4005 := &yymv4000 - yym4006 := z.DecBinary() - _ = yym4006 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4005) { - } else if !yym4006 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4005) - } else { - z.DecFallback(yyv4005, false) - } - } - - if yyv4000 != nil { - yyv4000[yymk4000] = yymv4000 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4007 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4008 := &yyv4007 - yy4008.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4009 := *v - yyh4009, yyl4009 := z.DecSliceHelperStart() - var yyc4009 bool - if yyl4009 == 0 { - if yyv4009 == nil { - yyv4009 = []Node{} - yyc4009 = true - } else if len(yyv4009) != 0 { - yyv4009 = yyv4009[:0] - yyc4009 = true - } - } else if yyl4009 > 0 { - var yyrr4009, yyrl4009 int - var yyrt4009 bool - if yyl4009 > cap(yyv4009) { - - yyrg4009 := len(yyv4009) > 0 - yyv24009 := yyv4009 - yyrl4009, yyrt4009 = z.DecInferLen(yyl4009, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4009 { - if yyrl4009 <= cap(yyv4009) { - yyv4009 = yyv4009[:yyrl4009] - } else { - yyv4009 = make([]Node, yyrl4009) - } - } else { - yyv4009 = make([]Node, yyrl4009) - } - yyc4009 = true - yyrr4009 = len(yyv4009) - if yyrg4009 { - copy(yyv4009, yyv24009) - } - } else if yyl4009 != len(yyv4009) { - yyv4009 = yyv4009[:yyl4009] - yyc4009 = true - } - yyj4009 := 0 - for ; yyj4009 < yyrr4009; yyj4009++ { - yyh4009.ElemContainerState(yyj4009) - if r.TryDecodeAsNil() { - yyv4009[yyj4009] = Node{} - } else { - yyv4010 := &yyv4009[yyj4009] - yyv4010.CodecDecodeSelf(d) - } - - } - if yyrt4009 { - for ; yyj4009 < yyl4009; yyj4009++ { - yyv4009 = append(yyv4009, Node{}) - yyh4009.ElemContainerState(yyj4009) - if r.TryDecodeAsNil() { - yyv4009[yyj4009] = Node{} - } else { - yyv4011 := &yyv4009[yyj4009] - yyv4011.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4009 := 0 - for ; !r.CheckBreak(); yyj4009++ { - - if yyj4009 >= len(yyv4009) { - yyv4009 = append(yyv4009, Node{}) // var yyz4009 Node - yyc4009 = true - } - yyh4009.ElemContainerState(yyj4009) - if yyj4009 < len(yyv4009) { - if r.TryDecodeAsNil() { - yyv4009[yyj4009] = Node{} - } else { - yyv4012 := &yyv4009[yyj4009] - yyv4012.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4009 < len(yyv4009) { - yyv4009 = yyv4009[:yyj4009] - yyc4009 = true - } else if yyj4009 == 0 && yyv4009 == nil { - yyv4009 = []Node{} - yyc4009 = true - } - } - yyh4009.End() - if yyc4009 { - *v = yyv4009 - } -} - -func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4013 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4013.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv4014 := *v yyh4014, yyl4014 := z.DecSliceHelperStart() var yyc4014 bool if yyl4014 == 0 { if yyv4014 == nil { - yyv4014 = []FinalizerName{} + yyv4014 = []NodeCondition{} yyc4014 = true } else if len(yyv4014) != 0 { yyv4014 = yyv4014[:0] @@ -51240,18 +51178,23 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. var yyrt4014 bool if yyl4014 > cap(yyv4014) { - yyrl4014, yyrt4014 = z.DecInferLen(yyl4014, z.DecBasicHandle().MaxInitLen, 16) + yyrg4014 := len(yyv4014) > 0 + yyv24014 := yyv4014 + yyrl4014, yyrt4014 = z.DecInferLen(yyl4014, z.DecBasicHandle().MaxInitLen, 112) if yyrt4014 { if yyrl4014 <= cap(yyv4014) { yyv4014 = yyv4014[:yyrl4014] } else { - yyv4014 = make([]FinalizerName, yyrl4014) + yyv4014 = make([]NodeCondition, yyrl4014) } } else { - yyv4014 = make([]FinalizerName, yyrl4014) + yyv4014 = make([]NodeCondition, yyrl4014) } yyc4014 = true yyrr4014 = len(yyv4014) + if yyrg4014 { + copy(yyv4014, yyv24014) + } } else if yyl4014 != len(yyv4014) { yyv4014 = yyv4014[:yyl4014] yyc4014 = true @@ -51260,20 +51203,22 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. for ; yyj4014 < yyrr4014; yyj4014++ { yyh4014.ElemContainerState(yyj4014) if r.TryDecodeAsNil() { - yyv4014[yyj4014] = "" + yyv4014[yyj4014] = NodeCondition{} } else { - yyv4014[yyj4014] = FinalizerName(r.DecodeString()) + yyv4015 := &yyv4014[yyj4014] + yyv4015.CodecDecodeSelf(d) } } if yyrt4014 { for ; yyj4014 < yyl4014; yyj4014++ { - yyv4014 = append(yyv4014, "") + yyv4014 = append(yyv4014, NodeCondition{}) yyh4014.ElemContainerState(yyj4014) if r.TryDecodeAsNil() { - yyv4014[yyj4014] = "" + yyv4014[yyj4014] = NodeCondition{} } else { - yyv4014[yyj4014] = FinalizerName(r.DecodeString()) + yyv4016 := &yyv4014[yyj4014] + yyv4016.CodecDecodeSelf(d) } } @@ -51284,15 +51229,16 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. for ; !r.CheckBreak(); yyj4014++ { if yyj4014 >= len(yyv4014) { - yyv4014 = append(yyv4014, "") // var yyz4014 FinalizerName + yyv4014 = append(yyv4014, NodeCondition{}) // var yyz4014 NodeCondition yyc4014 = true } yyh4014.ElemContainerState(yyj4014) if yyj4014 < len(yyv4014) { if r.TryDecodeAsNil() { - yyv4014[yyj4014] = "" + yyv4014[yyj4014] = NodeCondition{} } else { - yyv4014[yyj4014] = FinalizerName(r.DecodeString()) + yyv4017 := &yyv4014[yyj4014] + yyv4017.CodecDecodeSelf(d) } } else { @@ -51304,7 +51250,7 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. yyv4014 = yyv4014[:yyj4014] yyc4014 = true } else if yyj4014 == 0 && yyv4014 == nil { - yyv4014 = []FinalizerName{} + yyv4014 = []NodeCondition{} yyc4014 = true } } @@ -51314,7 +51260,7 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } -func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51327,7 +51273,7 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51337,7 +51283,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) var yyc4020 bool if yyl4020 == 0 { if yyv4020 == nil { - yyv4020 = []Namespace{} + yyv4020 = []NodeAddress{} yyc4020 = true } else if len(yyv4020) != 0 { yyv4020 = yyv4020[:0] @@ -51350,15 +51296,15 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) yyrg4020 := len(yyv4020) > 0 yyv24020 := yyv4020 - yyrl4020, yyrt4020 = z.DecInferLen(yyl4020, z.DecBasicHandle().MaxInitLen, 232) + yyrl4020, yyrt4020 = z.DecInferLen(yyl4020, z.DecBasicHandle().MaxInitLen, 32) if yyrt4020 { if yyrl4020 <= cap(yyv4020) { yyv4020 = yyv4020[:yyrl4020] } else { - yyv4020 = make([]Namespace, yyrl4020) + yyv4020 = make([]NodeAddress, yyrl4020) } } else { - yyv4020 = make([]Namespace, yyrl4020) + yyv4020 = make([]NodeAddress, yyrl4020) } yyc4020 = true yyrr4020 = len(yyv4020) @@ -51373,7 +51319,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) for ; yyj4020 < yyrr4020; yyj4020++ { yyh4020.ElemContainerState(yyj4020) if r.TryDecodeAsNil() { - yyv4020[yyj4020] = Namespace{} + yyv4020[yyj4020] = NodeAddress{} } else { yyv4021 := &yyv4020[yyj4020] yyv4021.CodecDecodeSelf(d) @@ -51382,10 +51328,10 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } if yyrt4020 { for ; yyj4020 < yyl4020; yyj4020++ { - yyv4020 = append(yyv4020, Namespace{}) + yyv4020 = append(yyv4020, NodeAddress{}) yyh4020.ElemContainerState(yyj4020) if r.TryDecodeAsNil() { - yyv4020[yyj4020] = Namespace{} + yyv4020[yyj4020] = NodeAddress{} } else { yyv4022 := &yyv4020[yyj4020] yyv4022.CodecDecodeSelf(d) @@ -51399,13 +51345,13 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) for ; !r.CheckBreak(); yyj4020++ { if yyj4020 >= len(yyv4020) { - yyv4020 = append(yyv4020, Namespace{}) // var yyz4020 Namespace + yyv4020 = append(yyv4020, NodeAddress{}) // var yyz4020 NodeAddress yyc4020 = true } yyh4020.ElemContainerState(yyj4020) if yyj4020 < len(yyv4020) { if r.TryDecodeAsNil() { - yyv4020[yyj4020] = Namespace{} + yyv4020[yyj4020] = NodeAddress{} } else { yyv4023 := &yyv4020[yyj4020] yyv4023.CodecDecodeSelf(d) @@ -51420,7 +51366,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) yyv4020 = yyv4020[:yyj4020] yyc4020 = true } else if yyj4020 == 0 && yyv4020 == nil { - yyv4020 = []Namespace{} + yyv4020 = []NodeAddress{} yyc4020 = true } } @@ -51430,7 +51376,7 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } -func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51443,7 +51389,7 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51453,7 +51399,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { var yyc4026 bool if yyl4026 == 0 { if yyv4026 == nil { - yyv4026 = []Event{} + yyv4026 = []ContainerImage{} yyc4026 = true } else if len(yyv4026) != 0 { yyv4026 = yyv4026[:0] @@ -51466,15 +51412,15 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { yyrg4026 := len(yyv4026) > 0 yyv24026 := yyv4026 - yyrl4026, yyrt4026 = z.DecInferLen(yyl4026, z.DecBasicHandle().MaxInitLen, 440) + yyrl4026, yyrt4026 = z.DecInferLen(yyl4026, z.DecBasicHandle().MaxInitLen, 32) if yyrt4026 { if yyrl4026 <= cap(yyv4026) { yyv4026 = yyv4026[:yyrl4026] } else { - yyv4026 = make([]Event, yyrl4026) + yyv4026 = make([]ContainerImage, yyrl4026) } } else { - yyv4026 = make([]Event, yyrl4026) + yyv4026 = make([]ContainerImage, yyrl4026) } yyc4026 = true yyrr4026 = len(yyv4026) @@ -51489,7 +51435,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { for ; yyj4026 < yyrr4026; yyj4026++ { yyh4026.ElemContainerState(yyj4026) if r.TryDecodeAsNil() { - yyv4026[yyj4026] = Event{} + yyv4026[yyj4026] = ContainerImage{} } else { yyv4027 := &yyv4026[yyj4026] yyv4027.CodecDecodeSelf(d) @@ -51498,10 +51444,10 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } if yyrt4026 { for ; yyj4026 < yyl4026; yyj4026++ { - yyv4026 = append(yyv4026, Event{}) + yyv4026 = append(yyv4026, ContainerImage{}) yyh4026.ElemContainerState(yyj4026) if r.TryDecodeAsNil() { - yyv4026[yyj4026] = Event{} + yyv4026[yyj4026] = ContainerImage{} } else { yyv4028 := &yyv4026[yyj4026] yyv4028.CodecDecodeSelf(d) @@ -51515,13 +51461,13 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj4026++ { if yyj4026 >= len(yyv4026) { - yyv4026 = append(yyv4026, Event{}) // var yyz4026 Event + yyv4026 = append(yyv4026, ContainerImage{}) // var yyz4026 ContainerImage yyc4026 = true } yyh4026.ElemContainerState(yyj4026) if yyj4026 < len(yyv4026) { if r.TryDecodeAsNil() { - yyv4026[yyj4026] = Event{} + yyv4026[yyj4026] = ContainerImage{} } else { yyv4029 := &yyv4026[yyj4026] yyv4029.CodecDecodeSelf(d) @@ -51536,7 +51482,7 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { yyv4026 = yyv4026[:yyj4026] yyc4026 = true } else if yyj4026 == 0 && yyv4026 == nil { - yyv4026 = []Event{} + yyv4026 = []ContainerImage{} yyc4026 = true } } @@ -51546,13 +51492,15 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtension, e *codec1978.Encoder) { +func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4030 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) + r.EncodeMapStart(len(v)) + for yyk4030, yyv4030 := range v { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + yyk4030.CodecEncodeSelf(e) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yy4031 := &yyv4030 yym4032 := z.EncBinary() _ = yym4032 @@ -51564,137 +51512,101 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtens z.EncFallback(yy4031) } } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + z.EncSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExtension, d *codec1978.Decoder) { +func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r yyv4033 := *v - yyh4033, yyl4033 := z.DecSliceHelperStart() - var yyc4033 bool - if yyl4033 == 0 { - if yyv4033 == nil { - yyv4033 = []pkg6_runtime.RawExtension{} - yyc4033 = true - } else if len(yyv4033) != 0 { - yyv4033 = yyv4033[:0] - yyc4033 = true - } - } else if yyl4033 > 0 { - var yyrr4033, yyrl4033 int - var yyrt4033 bool - if yyl4033 > cap(yyv4033) { - - yyrg4033 := len(yyv4033) > 0 - yyv24033 := yyv4033 - yyrl4033, yyrt4033 = z.DecInferLen(yyl4033, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4033 { - if yyrl4033 <= cap(yyv4033) { - yyv4033 = yyv4033[:yyrl4033] - } else { - yyv4033 = make([]pkg6_runtime.RawExtension, yyrl4033) - } - } else { - yyv4033 = make([]pkg6_runtime.RawExtension, yyrl4033) - } - yyc4033 = true - yyrr4033 = len(yyv4033) - if yyrg4033 { - copy(yyv4033, yyv24033) - } - } else if yyl4033 != len(yyv4033) { - yyv4033 = yyv4033[:yyl4033] - yyc4033 = true - } - yyj4033 := 0 - for ; yyj4033 < yyrr4033; yyj4033++ { - yyh4033.ElemContainerState(yyj4033) - if r.TryDecodeAsNil() { - yyv4033[yyj4033] = pkg6_runtime.RawExtension{} - } else { - yyv4034 := &yyv4033[yyj4033] - yym4035 := z.DecBinary() - _ = yym4035 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4034) { - } else if !yym4035 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4034) - } else { - z.DecFallback(yyv4034, false) - } - } - - } - if yyrt4033 { - for ; yyj4033 < yyl4033; yyj4033++ { - yyv4033 = append(yyv4033, pkg6_runtime.RawExtension{}) - yyh4033.ElemContainerState(yyj4033) - if r.TryDecodeAsNil() { - yyv4033[yyj4033] = pkg6_runtime.RawExtension{} - } else { - yyv4036 := &yyv4033[yyj4033] - yym4037 := z.DecBinary() - _ = yym4037 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4036) { - } else if !yym4037 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4036) - } else { - z.DecFallback(yyv4036, false) - } - } - - } - } - - } else { - yyj4033 := 0 - for ; !r.CheckBreak(); yyj4033++ { - - if yyj4033 >= len(yyv4033) { - yyv4033 = append(yyv4033, pkg6_runtime.RawExtension{}) // var yyz4033 pkg6_runtime.RawExtension - yyc4033 = true - } - yyh4033.ElemContainerState(yyj4033) - if yyj4033 < len(yyv4033) { - if r.TryDecodeAsNil() { - yyv4033[yyj4033] = pkg6_runtime.RawExtension{} - } else { - yyv4038 := &yyv4033[yyj4033] - yym4039 := z.DecBinary() - _ = yym4039 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4038) { - } else if !yym4039 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4038) - } else { - z.DecFallback(yyv4038, false) - } - } - - } else { - z.DecSwallow() - } - - } - if yyj4033 < len(yyv4033) { - yyv4033 = yyv4033[:yyj4033] - yyc4033 = true - } else if yyj4033 == 0 && yyv4033 == nil { - yyv4033 = []pkg6_runtime.RawExtension{} - yyc4033 = true - } - } - yyh4033.End() - if yyc4033 { + yyl4033 := r.ReadMapStart() + yybh4033 := z.DecBasicHandle() + if yyv4033 == nil { + yyrl4033, _ := z.DecInferLen(yyl4033, yybh4033.MaxInitLen, 40) + yyv4033 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4033) *v = yyv4033 } + var yymk4033 ResourceName + var yymv4033 pkg3_resource.Quantity + var yymg4033 bool + if yybh4033.MapValueReset { + yymg4033 = true + } + if yyl4033 > 0 { + for yyj4033 := 0; yyj4033 < yyl4033; yyj4033++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk4033 = "" + } else { + yymk4033 = ResourceName(r.DecodeString()) + } + + if yymg4033 { + yymv4033 = yyv4033[yymk4033] + } else { + yymv4033 = pkg3_resource.Quantity{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv4033 = pkg3_resource.Quantity{} + } else { + yyv4035 := &yymv4033 + yym4036 := z.DecBinary() + _ = yym4036 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4035) { + } else if !yym4036 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4035) + } else { + z.DecFallback(yyv4035, false) + } + } + + if yyv4033 != nil { + yyv4033[yymk4033] = yymv4033 + } + } + } else if yyl4033 < 0 { + for yyj4033 := 0; !r.CheckBreak(); yyj4033++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk4033 = "" + } else { + yymk4033 = ResourceName(r.DecodeString()) + } + + if yymg4033 { + yymv4033 = yyv4033[yymk4033] + } else { + yymv4033 = pkg3_resource.Quantity{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv4033 = pkg3_resource.Quantity{} + } else { + yyv4038 := &yymv4033 + yym4039 := z.DecBinary() + _ = yym4039 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4038) { + } else if !yym4039 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4038) + } else { + z.DecFallback(yyv4038, false) + } + } + + if yyv4033 != nil { + yyv4033[yymk4033] = yymv4033 + } + } + } // else len==0: TODO: Should we clear map entries? + z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -51707,7 +51619,7 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51717,7 +51629,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 var yyc4042 bool if yyl4042 == 0 { if yyv4042 == nil { - yyv4042 = []LimitRangeItem{} + yyv4042 = []Node{} yyc4042 = true } else if len(yyv4042) != 0 { yyv4042 = yyv4042[:0] @@ -51730,15 +51642,15 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 yyrg4042 := len(yyv4042) > 0 yyv24042 := yyv4042 - yyrl4042, yyrt4042 = z.DecInferLen(yyl4042, z.DecBasicHandle().MaxInitLen, 56) + yyrl4042, yyrt4042 = z.DecInferLen(yyl4042, z.DecBasicHandle().MaxInitLen, 488) if yyrt4042 { if yyrl4042 <= cap(yyv4042) { yyv4042 = yyv4042[:yyrl4042] } else { - yyv4042 = make([]LimitRangeItem, yyrl4042) + yyv4042 = make([]Node, yyrl4042) } } else { - yyv4042 = make([]LimitRangeItem, yyrl4042) + yyv4042 = make([]Node, yyrl4042) } yyc4042 = true yyrr4042 = len(yyv4042) @@ -51753,7 +51665,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 for ; yyj4042 < yyrr4042; yyj4042++ { yyh4042.ElemContainerState(yyj4042) if r.TryDecodeAsNil() { - yyv4042[yyj4042] = LimitRangeItem{} + yyv4042[yyj4042] = Node{} } else { yyv4043 := &yyv4042[yyj4042] yyv4043.CodecDecodeSelf(d) @@ -51762,10 +51674,10 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } if yyrt4042 { for ; yyj4042 < yyl4042; yyj4042++ { - yyv4042 = append(yyv4042, LimitRangeItem{}) + yyv4042 = append(yyv4042, Node{}) yyh4042.ElemContainerState(yyj4042) if r.TryDecodeAsNil() { - yyv4042[yyj4042] = LimitRangeItem{} + yyv4042[yyj4042] = Node{} } else { yyv4044 := &yyv4042[yyj4042] yyv4044.CodecDecodeSelf(d) @@ -51779,13 +51691,13 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 for ; !r.CheckBreak(); yyj4042++ { if yyj4042 >= len(yyv4042) { - yyv4042 = append(yyv4042, LimitRangeItem{}) // var yyz4042 LimitRangeItem + yyv4042 = append(yyv4042, Node{}) // var yyz4042 Node yyc4042 = true } yyh4042.ElemContainerState(yyj4042) if yyj4042 < len(yyv4042) { if r.TryDecodeAsNil() { - yyv4042[yyj4042] = LimitRangeItem{} + yyv4042[yyj4042] = Node{} } else { yyv4045 := &yyv4042[yyj4042] yyv4045.CodecDecodeSelf(d) @@ -51800,7 +51712,7 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 yyv4042 = yyv4042[:yyj4042] yyc4042 = true } else if yyj4042 == 0 && yyv4042 == nil { - yyv4042 = []LimitRangeItem{} + yyv4042 = []Node{} yyc4042 = true } } @@ -51810,15 +51722,618 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } -func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv4046 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4047 := &yyv4046 - yy4047.CodecEncodeSelf(e) + yyv4046.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4047 := *v + yyh4047, yyl4047 := z.DecSliceHelperStart() + var yyc4047 bool + if yyl4047 == 0 { + if yyv4047 == nil { + yyv4047 = []FinalizerName{} + yyc4047 = true + } else if len(yyv4047) != 0 { + yyv4047 = yyv4047[:0] + yyc4047 = true + } + } else if yyl4047 > 0 { + var yyrr4047, yyrl4047 int + var yyrt4047 bool + if yyl4047 > cap(yyv4047) { + + yyrl4047, yyrt4047 = z.DecInferLen(yyl4047, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4047 { + if yyrl4047 <= cap(yyv4047) { + yyv4047 = yyv4047[:yyrl4047] + } else { + yyv4047 = make([]FinalizerName, yyrl4047) + } + } else { + yyv4047 = make([]FinalizerName, yyrl4047) + } + yyc4047 = true + yyrr4047 = len(yyv4047) + } else if yyl4047 != len(yyv4047) { + yyv4047 = yyv4047[:yyl4047] + yyc4047 = true + } + yyj4047 := 0 + for ; yyj4047 < yyrr4047; yyj4047++ { + yyh4047.ElemContainerState(yyj4047) + if r.TryDecodeAsNil() { + yyv4047[yyj4047] = "" + } else { + yyv4047[yyj4047] = FinalizerName(r.DecodeString()) + } + + } + if yyrt4047 { + for ; yyj4047 < yyl4047; yyj4047++ { + yyv4047 = append(yyv4047, "") + yyh4047.ElemContainerState(yyj4047) + if r.TryDecodeAsNil() { + yyv4047[yyj4047] = "" + } else { + yyv4047[yyj4047] = FinalizerName(r.DecodeString()) + } + + } + } + + } else { + yyj4047 := 0 + for ; !r.CheckBreak(); yyj4047++ { + + if yyj4047 >= len(yyv4047) { + yyv4047 = append(yyv4047, "") // var yyz4047 FinalizerName + yyc4047 = true + } + yyh4047.ElemContainerState(yyj4047) + if yyj4047 < len(yyv4047) { + if r.TryDecodeAsNil() { + yyv4047[yyj4047] = "" + } else { + yyv4047[yyj4047] = FinalizerName(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj4047 < len(yyv4047) { + yyv4047 = yyv4047[:yyj4047] + yyc4047 = true + } else if yyj4047 == 0 && yyv4047 == nil { + yyv4047 = []FinalizerName{} + yyc4047 = true + } + } + yyh4047.End() + if yyc4047 { + *v = yyv4047 + } +} + +func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4051 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4052 := &yyv4051 + yy4052.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4053 := *v + yyh4053, yyl4053 := z.DecSliceHelperStart() + var yyc4053 bool + if yyl4053 == 0 { + if yyv4053 == nil { + yyv4053 = []Namespace{} + yyc4053 = true + } else if len(yyv4053) != 0 { + yyv4053 = yyv4053[:0] + yyc4053 = true + } + } else if yyl4053 > 0 { + var yyrr4053, yyrl4053 int + var yyrt4053 bool + if yyl4053 > cap(yyv4053) { + + yyrg4053 := len(yyv4053) > 0 + yyv24053 := yyv4053 + yyrl4053, yyrt4053 = z.DecInferLen(yyl4053, z.DecBasicHandle().MaxInitLen, 232) + if yyrt4053 { + if yyrl4053 <= cap(yyv4053) { + yyv4053 = yyv4053[:yyrl4053] + } else { + yyv4053 = make([]Namespace, yyrl4053) + } + } else { + yyv4053 = make([]Namespace, yyrl4053) + } + yyc4053 = true + yyrr4053 = len(yyv4053) + if yyrg4053 { + copy(yyv4053, yyv24053) + } + } else if yyl4053 != len(yyv4053) { + yyv4053 = yyv4053[:yyl4053] + yyc4053 = true + } + yyj4053 := 0 + for ; yyj4053 < yyrr4053; yyj4053++ { + yyh4053.ElemContainerState(yyj4053) + if r.TryDecodeAsNil() { + yyv4053[yyj4053] = Namespace{} + } else { + yyv4054 := &yyv4053[yyj4053] + yyv4054.CodecDecodeSelf(d) + } + + } + if yyrt4053 { + for ; yyj4053 < yyl4053; yyj4053++ { + yyv4053 = append(yyv4053, Namespace{}) + yyh4053.ElemContainerState(yyj4053) + if r.TryDecodeAsNil() { + yyv4053[yyj4053] = Namespace{} + } else { + yyv4055 := &yyv4053[yyj4053] + yyv4055.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4053 := 0 + for ; !r.CheckBreak(); yyj4053++ { + + if yyj4053 >= len(yyv4053) { + yyv4053 = append(yyv4053, Namespace{}) // var yyz4053 Namespace + yyc4053 = true + } + yyh4053.ElemContainerState(yyj4053) + if yyj4053 < len(yyv4053) { + if r.TryDecodeAsNil() { + yyv4053[yyj4053] = Namespace{} + } else { + yyv4056 := &yyv4053[yyj4053] + yyv4056.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4053 < len(yyv4053) { + yyv4053 = yyv4053[:yyj4053] + yyc4053 = true + } else if yyj4053 == 0 && yyv4053 == nil { + yyv4053 = []Namespace{} + yyc4053 = true + } + } + yyh4053.End() + if yyc4053 { + *v = yyv4053 + } +} + +func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4057 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4058 := &yyv4057 + yy4058.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4059 := *v + yyh4059, yyl4059 := z.DecSliceHelperStart() + var yyc4059 bool + if yyl4059 == 0 { + if yyv4059 == nil { + yyv4059 = []Event{} + yyc4059 = true + } else if len(yyv4059) != 0 { + yyv4059 = yyv4059[:0] + yyc4059 = true + } + } else if yyl4059 > 0 { + var yyrr4059, yyrl4059 int + var yyrt4059 bool + if yyl4059 > cap(yyv4059) { + + yyrg4059 := len(yyv4059) > 0 + yyv24059 := yyv4059 + yyrl4059, yyrt4059 = z.DecInferLen(yyl4059, z.DecBasicHandle().MaxInitLen, 440) + if yyrt4059 { + if yyrl4059 <= cap(yyv4059) { + yyv4059 = yyv4059[:yyrl4059] + } else { + yyv4059 = make([]Event, yyrl4059) + } + } else { + yyv4059 = make([]Event, yyrl4059) + } + yyc4059 = true + yyrr4059 = len(yyv4059) + if yyrg4059 { + copy(yyv4059, yyv24059) + } + } else if yyl4059 != len(yyv4059) { + yyv4059 = yyv4059[:yyl4059] + yyc4059 = true + } + yyj4059 := 0 + for ; yyj4059 < yyrr4059; yyj4059++ { + yyh4059.ElemContainerState(yyj4059) + if r.TryDecodeAsNil() { + yyv4059[yyj4059] = Event{} + } else { + yyv4060 := &yyv4059[yyj4059] + yyv4060.CodecDecodeSelf(d) + } + + } + if yyrt4059 { + for ; yyj4059 < yyl4059; yyj4059++ { + yyv4059 = append(yyv4059, Event{}) + yyh4059.ElemContainerState(yyj4059) + if r.TryDecodeAsNil() { + yyv4059[yyj4059] = Event{} + } else { + yyv4061 := &yyv4059[yyj4059] + yyv4061.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4059 := 0 + for ; !r.CheckBreak(); yyj4059++ { + + if yyj4059 >= len(yyv4059) { + yyv4059 = append(yyv4059, Event{}) // var yyz4059 Event + yyc4059 = true + } + yyh4059.ElemContainerState(yyj4059) + if yyj4059 < len(yyv4059) { + if r.TryDecodeAsNil() { + yyv4059[yyj4059] = Event{} + } else { + yyv4062 := &yyv4059[yyj4059] + yyv4062.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4059 < len(yyv4059) { + yyv4059 = yyv4059[:yyj4059] + yyc4059 = true + } else if yyj4059 == 0 && yyv4059 == nil { + yyv4059 = []Event{} + yyc4059 = true + } + } + yyh4059.End() + if yyc4059 { + *v = yyv4059 + } +} + +func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtension, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4063 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4064 := &yyv4063 + yym4065 := z.EncBinary() + _ = yym4065 + if false { + } else if z.HasExtensions() && z.EncExt(yy4064) { + } else if !yym4065 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4064) + } else { + z.EncFallback(yy4064) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExtension, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4066 := *v + yyh4066, yyl4066 := z.DecSliceHelperStart() + var yyc4066 bool + if yyl4066 == 0 { + if yyv4066 == nil { + yyv4066 = []pkg6_runtime.RawExtension{} + yyc4066 = true + } else if len(yyv4066) != 0 { + yyv4066 = yyv4066[:0] + yyc4066 = true + } + } else if yyl4066 > 0 { + var yyrr4066, yyrl4066 int + var yyrt4066 bool + if yyl4066 > cap(yyv4066) { + + yyrg4066 := len(yyv4066) > 0 + yyv24066 := yyv4066 + yyrl4066, yyrt4066 = z.DecInferLen(yyl4066, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4066 { + if yyrl4066 <= cap(yyv4066) { + yyv4066 = yyv4066[:yyrl4066] + } else { + yyv4066 = make([]pkg6_runtime.RawExtension, yyrl4066) + } + } else { + yyv4066 = make([]pkg6_runtime.RawExtension, yyrl4066) + } + yyc4066 = true + yyrr4066 = len(yyv4066) + if yyrg4066 { + copy(yyv4066, yyv24066) + } + } else if yyl4066 != len(yyv4066) { + yyv4066 = yyv4066[:yyl4066] + yyc4066 = true + } + yyj4066 := 0 + for ; yyj4066 < yyrr4066; yyj4066++ { + yyh4066.ElemContainerState(yyj4066) + if r.TryDecodeAsNil() { + yyv4066[yyj4066] = pkg6_runtime.RawExtension{} + } else { + yyv4067 := &yyv4066[yyj4066] + yym4068 := z.DecBinary() + _ = yym4068 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4067) { + } else if !yym4068 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4067) + } else { + z.DecFallback(yyv4067, false) + } + } + + } + if yyrt4066 { + for ; yyj4066 < yyl4066; yyj4066++ { + yyv4066 = append(yyv4066, pkg6_runtime.RawExtension{}) + yyh4066.ElemContainerState(yyj4066) + if r.TryDecodeAsNil() { + yyv4066[yyj4066] = pkg6_runtime.RawExtension{} + } else { + yyv4069 := &yyv4066[yyj4066] + yym4070 := z.DecBinary() + _ = yym4070 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4069) { + } else if !yym4070 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4069) + } else { + z.DecFallback(yyv4069, false) + } + } + + } + } + + } else { + yyj4066 := 0 + for ; !r.CheckBreak(); yyj4066++ { + + if yyj4066 >= len(yyv4066) { + yyv4066 = append(yyv4066, pkg6_runtime.RawExtension{}) // var yyz4066 pkg6_runtime.RawExtension + yyc4066 = true + } + yyh4066.ElemContainerState(yyj4066) + if yyj4066 < len(yyv4066) { + if r.TryDecodeAsNil() { + yyv4066[yyj4066] = pkg6_runtime.RawExtension{} + } else { + yyv4071 := &yyv4066[yyj4066] + yym4072 := z.DecBinary() + _ = yym4072 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4071) { + } else if !yym4072 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4071) + } else { + z.DecFallback(yyv4071, false) + } + } + + } else { + z.DecSwallow() + } + + } + if yyj4066 < len(yyv4066) { + yyv4066 = yyv4066[:yyj4066] + yyc4066 = true + } else if yyj4066 == 0 && yyv4066 == nil { + yyv4066 = []pkg6_runtime.RawExtension{} + yyc4066 = true + } + } + yyh4066.End() + if yyc4066 { + *v = yyv4066 + } +} + +func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4073 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4074 := &yyv4073 + yy4074.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv4075 := *v + yyh4075, yyl4075 := z.DecSliceHelperStart() + var yyc4075 bool + if yyl4075 == 0 { + if yyv4075 == nil { + yyv4075 = []LimitRangeItem{} + yyc4075 = true + } else if len(yyv4075) != 0 { + yyv4075 = yyv4075[:0] + yyc4075 = true + } + } else if yyl4075 > 0 { + var yyrr4075, yyrl4075 int + var yyrt4075 bool + if yyl4075 > cap(yyv4075) { + + yyrg4075 := len(yyv4075) > 0 + yyv24075 := yyv4075 + yyrl4075, yyrt4075 = z.DecInferLen(yyl4075, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4075 { + if yyrl4075 <= cap(yyv4075) { + yyv4075 = yyv4075[:yyrl4075] + } else { + yyv4075 = make([]LimitRangeItem, yyrl4075) + } + } else { + yyv4075 = make([]LimitRangeItem, yyrl4075) + } + yyc4075 = true + yyrr4075 = len(yyv4075) + if yyrg4075 { + copy(yyv4075, yyv24075) + } + } else if yyl4075 != len(yyv4075) { + yyv4075 = yyv4075[:yyl4075] + yyc4075 = true + } + yyj4075 := 0 + for ; yyj4075 < yyrr4075; yyj4075++ { + yyh4075.ElemContainerState(yyj4075) + if r.TryDecodeAsNil() { + yyv4075[yyj4075] = LimitRangeItem{} + } else { + yyv4076 := &yyv4075[yyj4075] + yyv4076.CodecDecodeSelf(d) + } + + } + if yyrt4075 { + for ; yyj4075 < yyl4075; yyj4075++ { + yyv4075 = append(yyv4075, LimitRangeItem{}) + yyh4075.ElemContainerState(yyj4075) + if r.TryDecodeAsNil() { + yyv4075[yyj4075] = LimitRangeItem{} + } else { + yyv4077 := &yyv4075[yyj4075] + yyv4077.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4075 := 0 + for ; !r.CheckBreak(); yyj4075++ { + + if yyj4075 >= len(yyv4075) { + yyv4075 = append(yyv4075, LimitRangeItem{}) // var yyz4075 LimitRangeItem + yyc4075 = true + } + yyh4075.ElemContainerState(yyj4075) + if yyj4075 < len(yyv4075) { + if r.TryDecodeAsNil() { + yyv4075[yyj4075] = LimitRangeItem{} + } else { + yyv4078 := &yyv4075[yyj4075] + yyv4078.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4075 < len(yyv4075) { + yyv4075 = yyv4075[:yyj4075] + yyc4075 = true + } else if yyj4075 == 0 && yyv4075 == nil { + yyv4075 = []LimitRangeItem{} + yyc4075 = true + } + } + yyh4075.End() + if yyc4075 { + *v = yyv4075 + } +} + +func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4079 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4080 := &yyv4079 + yy4080.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51828,83 +52343,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4048 := *v - yyh4048, yyl4048 := z.DecSliceHelperStart() - var yyc4048 bool - if yyl4048 == 0 { - if yyv4048 == nil { - yyv4048 = []LimitRange{} - yyc4048 = true - } else if len(yyv4048) != 0 { - yyv4048 = yyv4048[:0] - yyc4048 = true + yyv4081 := *v + yyh4081, yyl4081 := z.DecSliceHelperStart() + var yyc4081 bool + if yyl4081 == 0 { + if yyv4081 == nil { + yyv4081 = []LimitRange{} + yyc4081 = true + } else if len(yyv4081) != 0 { + yyv4081 = yyv4081[:0] + yyc4081 = true } - } else if yyl4048 > 0 { - var yyrr4048, yyrl4048 int - var yyrt4048 bool - if yyl4048 > cap(yyv4048) { + } else if yyl4081 > 0 { + var yyrr4081, yyrl4081 int + var yyrt4081 bool + if yyl4081 > cap(yyv4081) { - yyrg4048 := len(yyv4048) > 0 - yyv24048 := yyv4048 - yyrl4048, yyrt4048 = z.DecInferLen(yyl4048, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4048 { - if yyrl4048 <= cap(yyv4048) { - yyv4048 = yyv4048[:yyrl4048] + yyrg4081 := len(yyv4081) > 0 + yyv24081 := yyv4081 + yyrl4081, yyrt4081 = z.DecInferLen(yyl4081, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4081 { + if yyrl4081 <= cap(yyv4081) { + yyv4081 = yyv4081[:yyrl4081] } else { - yyv4048 = make([]LimitRange, yyrl4048) + yyv4081 = make([]LimitRange, yyrl4081) } } else { - yyv4048 = make([]LimitRange, yyrl4048) + yyv4081 = make([]LimitRange, yyrl4081) } - yyc4048 = true - yyrr4048 = len(yyv4048) - if yyrg4048 { - copy(yyv4048, yyv24048) + yyc4081 = true + yyrr4081 = len(yyv4081) + if yyrg4081 { + copy(yyv4081, yyv24081) } - } else if yyl4048 != len(yyv4048) { - yyv4048 = yyv4048[:yyl4048] - yyc4048 = true + } else if yyl4081 != len(yyv4081) { + yyv4081 = yyv4081[:yyl4081] + yyc4081 = true } - yyj4048 := 0 - for ; yyj4048 < yyrr4048; yyj4048++ { - yyh4048.ElemContainerState(yyj4048) + yyj4081 := 0 + for ; yyj4081 < yyrr4081; yyj4081++ { + yyh4081.ElemContainerState(yyj4081) if r.TryDecodeAsNil() { - yyv4048[yyj4048] = LimitRange{} + yyv4081[yyj4081] = LimitRange{} } else { - yyv4049 := &yyv4048[yyj4048] - yyv4049.CodecDecodeSelf(d) + yyv4082 := &yyv4081[yyj4081] + yyv4082.CodecDecodeSelf(d) } } - if yyrt4048 { - for ; yyj4048 < yyl4048; yyj4048++ { - yyv4048 = append(yyv4048, LimitRange{}) - yyh4048.ElemContainerState(yyj4048) + if yyrt4081 { + for ; yyj4081 < yyl4081; yyj4081++ { + yyv4081 = append(yyv4081, LimitRange{}) + yyh4081.ElemContainerState(yyj4081) if r.TryDecodeAsNil() { - yyv4048[yyj4048] = LimitRange{} + yyv4081[yyj4081] = LimitRange{} } else { - yyv4050 := &yyv4048[yyj4048] - yyv4050.CodecDecodeSelf(d) + yyv4083 := &yyv4081[yyj4081] + yyv4083.CodecDecodeSelf(d) } } } } else { - yyj4048 := 0 - for ; !r.CheckBreak(); yyj4048++ { + yyj4081 := 0 + for ; !r.CheckBreak(); yyj4081++ { - if yyj4048 >= len(yyv4048) { - yyv4048 = append(yyv4048, LimitRange{}) // var yyz4048 LimitRange - yyc4048 = true + if yyj4081 >= len(yyv4081) { + yyv4081 = append(yyv4081, LimitRange{}) // var yyz4081 LimitRange + yyc4081 = true } - yyh4048.ElemContainerState(yyj4048) - if yyj4048 < len(yyv4048) { + yyh4081.ElemContainerState(yyj4081) + if yyj4081 < len(yyv4081) { if r.TryDecodeAsNil() { - yyv4048[yyj4048] = LimitRange{} + yyv4081[yyj4081] = LimitRange{} } else { - yyv4051 := &yyv4048[yyj4048] - yyv4051.CodecDecodeSelf(d) + yyv4084 := &yyv4081[yyj4081] + yyv4084.CodecDecodeSelf(d) } } else { @@ -51912,17 +52427,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4048 < len(yyv4048) { - yyv4048 = yyv4048[:yyj4048] - yyc4048 = true - } else if yyj4048 == 0 && yyv4048 == nil { - yyv4048 = []LimitRange{} - yyc4048 = true + if yyj4081 < len(yyv4081) { + yyv4081 = yyv4081[:yyj4081] + yyc4081 = true + } else if yyj4081 == 0 && yyv4081 == nil { + yyv4081 = []LimitRange{} + yyc4081 = true } } - yyh4048.End() - if yyc4048 { - *v = yyv4048 + yyh4081.End() + if yyc4081 { + *v = yyv4081 } } @@ -51931,10 +52446,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4052 := range v { + for _, yyv4085 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4053 := &yyv4052 - yy4053.CodecEncodeSelf(e) + yy4086 := &yyv4085 + yy4086.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51944,83 +52459,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4054 := *v - yyh4054, yyl4054 := z.DecSliceHelperStart() - var yyc4054 bool - if yyl4054 == 0 { - if yyv4054 == nil { - yyv4054 = []ResourceQuota{} - yyc4054 = true - } else if len(yyv4054) != 0 { - yyv4054 = yyv4054[:0] - yyc4054 = true + yyv4087 := *v + yyh4087, yyl4087 := z.DecSliceHelperStart() + var yyc4087 bool + if yyl4087 == 0 { + if yyv4087 == nil { + yyv4087 = []ResourceQuota{} + yyc4087 = true + } else if len(yyv4087) != 0 { + yyv4087 = yyv4087[:0] + yyc4087 = true } - } else if yyl4054 > 0 { - var yyrr4054, yyrl4054 int - var yyrt4054 bool - if yyl4054 > cap(yyv4054) { + } else if yyl4087 > 0 { + var yyrr4087, yyrl4087 int + var yyrt4087 bool + if yyl4087 > cap(yyv4087) { - yyrg4054 := len(yyv4054) > 0 - yyv24054 := yyv4054 - yyrl4054, yyrt4054 = z.DecInferLen(yyl4054, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4054 { - if yyrl4054 <= cap(yyv4054) { - yyv4054 = yyv4054[:yyrl4054] + yyrg4087 := len(yyv4087) > 0 + yyv24087 := yyv4087 + yyrl4087, yyrt4087 = z.DecInferLen(yyl4087, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4087 { + if yyrl4087 <= cap(yyv4087) { + yyv4087 = yyv4087[:yyrl4087] } else { - yyv4054 = make([]ResourceQuota, yyrl4054) + yyv4087 = make([]ResourceQuota, yyrl4087) } } else { - yyv4054 = make([]ResourceQuota, yyrl4054) + yyv4087 = make([]ResourceQuota, yyrl4087) } - yyc4054 = true - yyrr4054 = len(yyv4054) - if yyrg4054 { - copy(yyv4054, yyv24054) + yyc4087 = true + yyrr4087 = len(yyv4087) + if yyrg4087 { + copy(yyv4087, yyv24087) } - } else if yyl4054 != len(yyv4054) { - yyv4054 = yyv4054[:yyl4054] - yyc4054 = true + } else if yyl4087 != len(yyv4087) { + yyv4087 = yyv4087[:yyl4087] + yyc4087 = true } - yyj4054 := 0 - for ; yyj4054 < yyrr4054; yyj4054++ { - yyh4054.ElemContainerState(yyj4054) + yyj4087 := 0 + for ; yyj4087 < yyrr4087; yyj4087++ { + yyh4087.ElemContainerState(yyj4087) if r.TryDecodeAsNil() { - yyv4054[yyj4054] = ResourceQuota{} + yyv4087[yyj4087] = ResourceQuota{} } else { - yyv4055 := &yyv4054[yyj4054] - yyv4055.CodecDecodeSelf(d) + yyv4088 := &yyv4087[yyj4087] + yyv4088.CodecDecodeSelf(d) } } - if yyrt4054 { - for ; yyj4054 < yyl4054; yyj4054++ { - yyv4054 = append(yyv4054, ResourceQuota{}) - yyh4054.ElemContainerState(yyj4054) + if yyrt4087 { + for ; yyj4087 < yyl4087; yyj4087++ { + yyv4087 = append(yyv4087, ResourceQuota{}) + yyh4087.ElemContainerState(yyj4087) if r.TryDecodeAsNil() { - yyv4054[yyj4054] = ResourceQuota{} + yyv4087[yyj4087] = ResourceQuota{} } else { - yyv4056 := &yyv4054[yyj4054] - yyv4056.CodecDecodeSelf(d) + yyv4089 := &yyv4087[yyj4087] + yyv4089.CodecDecodeSelf(d) } } } } else { - yyj4054 := 0 - for ; !r.CheckBreak(); yyj4054++ { + yyj4087 := 0 + for ; !r.CheckBreak(); yyj4087++ { - if yyj4054 >= len(yyv4054) { - yyv4054 = append(yyv4054, ResourceQuota{}) // var yyz4054 ResourceQuota - yyc4054 = true + if yyj4087 >= len(yyv4087) { + yyv4087 = append(yyv4087, ResourceQuota{}) // var yyz4087 ResourceQuota + yyc4087 = true } - yyh4054.ElemContainerState(yyj4054) - if yyj4054 < len(yyv4054) { + yyh4087.ElemContainerState(yyj4087) + if yyj4087 < len(yyv4087) { if r.TryDecodeAsNil() { - yyv4054[yyj4054] = ResourceQuota{} + yyv4087[yyj4087] = ResourceQuota{} } else { - yyv4057 := &yyv4054[yyj4054] - yyv4057.CodecDecodeSelf(d) + yyv4090 := &yyv4087[yyj4087] + yyv4090.CodecDecodeSelf(d) } } else { @@ -52028,17 +52543,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4054 < len(yyv4054) { - yyv4054 = yyv4054[:yyj4054] - yyc4054 = true - } else if yyj4054 == 0 && yyv4054 == nil { - yyv4054 = []ResourceQuota{} - yyc4054 = true + if yyj4087 < len(yyv4087) { + yyv4087 = yyv4087[:yyj4087] + yyc4087 = true + } else if yyj4087 == 0 && yyv4087 == nil { + yyv4087 = []ResourceQuota{} + yyc4087 = true } } - yyh4054.End() - if yyc4054 { - *v = yyv4054 + yyh4087.End() + if yyc4087 { + *v = yyv4087 } } @@ -52047,23 +52562,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4058, yyv4058 := range v { + for yyk4091, yyv4091 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4059 := z.EncBinary() - _ = yym4059 + yym4092 := z.EncBinary() + _ = yym4092 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4058)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4091)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4058 == nil { + if yyv4091 == nil { r.EncodeNil() } else { - yym4060 := z.EncBinary() - _ = yym4060 + yym4093 := z.EncBinary() + _ = yym4093 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4058)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4091)) } } } @@ -52075,80 +52590,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4061 := *v - yyl4061 := r.ReadMapStart() - yybh4061 := z.DecBasicHandle() - if yyv4061 == nil { - yyrl4061, _ := z.DecInferLen(yyl4061, yybh4061.MaxInitLen, 40) - yyv4061 = make(map[string][]uint8, yyrl4061) - *v = yyv4061 + yyv4094 := *v + yyl4094 := r.ReadMapStart() + yybh4094 := z.DecBasicHandle() + if yyv4094 == nil { + yyrl4094, _ := z.DecInferLen(yyl4094, yybh4094.MaxInitLen, 40) + yyv4094 = make(map[string][]uint8, yyrl4094) + *v = yyv4094 } - var yymk4061 string - var yymv4061 []uint8 - var yymg4061 bool - if yybh4061.MapValueReset { - yymg4061 = true + var yymk4094 string + var yymv4094 []uint8 + var yymg4094 bool + if yybh4094.MapValueReset { + yymg4094 = true } - if yyl4061 > 0 { - for yyj4061 := 0; yyj4061 < yyl4061; yyj4061++ { + if yyl4094 > 0 { + for yyj4094 := 0; yyj4094 < yyl4094; yyj4094++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4061 = "" + yymk4094 = "" } else { - yymk4061 = string(r.DecodeString()) + yymk4094 = string(r.DecodeString()) } - if yymg4061 { - yymv4061 = yyv4061[yymk4061] + if yymg4094 { + yymv4094 = yyv4094[yymk4094] } else { - yymv4061 = nil + yymv4094 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4061 = nil + yymv4094 = nil } else { - yyv4063 := &yymv4061 - yym4064 := z.DecBinary() - _ = yym4064 + yyv4096 := &yymv4094 + yym4097 := z.DecBinary() + _ = yym4097 if false { } else { - *yyv4063 = r.DecodeBytes(*(*[]byte)(yyv4063), false, false) + *yyv4096 = r.DecodeBytes(*(*[]byte)(yyv4096), false, false) } } - if yyv4061 != nil { - yyv4061[yymk4061] = yymv4061 + if yyv4094 != nil { + yyv4094[yymk4094] = yymv4094 } } - } else if yyl4061 < 0 { - for yyj4061 := 0; !r.CheckBreak(); yyj4061++ { + } else if yyl4094 < 0 { + for yyj4094 := 0; !r.CheckBreak(); yyj4094++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4061 = "" + yymk4094 = "" } else { - yymk4061 = string(r.DecodeString()) + yymk4094 = string(r.DecodeString()) } - if yymg4061 { - yymv4061 = yyv4061[yymk4061] + if yymg4094 { + yymv4094 = yyv4094[yymk4094] } else { - yymv4061 = nil + yymv4094 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4061 = nil + yymv4094 = nil } else { - yyv4066 := &yymv4061 - yym4067 := z.DecBinary() - _ = yym4067 + yyv4099 := &yymv4094 + yym4100 := z.DecBinary() + _ = yym4100 if false { } else { - *yyv4066 = r.DecodeBytes(*(*[]byte)(yyv4066), false, false) + *yyv4099 = r.DecodeBytes(*(*[]byte)(yyv4099), false, false) } } - if yyv4061 != nil { - yyv4061[yymk4061] = yymv4061 + if yyv4094 != nil { + yyv4094[yymk4094] = yymv4094 } } } // else len==0: TODO: Should we clear map entries? @@ -52160,10 +52675,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4068 := range v { + for _, yyv4101 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4069 := &yyv4068 - yy4069.CodecEncodeSelf(e) + yy4102 := &yyv4101 + yy4102.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52173,83 +52688,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4070 := *v - yyh4070, yyl4070 := z.DecSliceHelperStart() - var yyc4070 bool - if yyl4070 == 0 { - if yyv4070 == nil { - yyv4070 = []Secret{} - yyc4070 = true - } else if len(yyv4070) != 0 { - yyv4070 = yyv4070[:0] - yyc4070 = true + yyv4103 := *v + yyh4103, yyl4103 := z.DecSliceHelperStart() + var yyc4103 bool + if yyl4103 == 0 { + if yyv4103 == nil { + yyv4103 = []Secret{} + yyc4103 = true + } else if len(yyv4103) != 0 { + yyv4103 = yyv4103[:0] + yyc4103 = true } - } else if yyl4070 > 0 { - var yyrr4070, yyrl4070 int - var yyrt4070 bool - if yyl4070 > cap(yyv4070) { + } else if yyl4103 > 0 { + var yyrr4103, yyrl4103 int + var yyrt4103 bool + if yyl4103 > cap(yyv4103) { - yyrg4070 := len(yyv4070) > 0 - yyv24070 := yyv4070 - yyrl4070, yyrt4070 = z.DecInferLen(yyl4070, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4070 { - if yyrl4070 <= cap(yyv4070) { - yyv4070 = yyv4070[:yyrl4070] + yyrg4103 := len(yyv4103) > 0 + yyv24103 := yyv4103 + yyrl4103, yyrt4103 = z.DecInferLen(yyl4103, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4103 { + if yyrl4103 <= cap(yyv4103) { + yyv4103 = yyv4103[:yyrl4103] } else { - yyv4070 = make([]Secret, yyrl4070) + yyv4103 = make([]Secret, yyrl4103) } } else { - yyv4070 = make([]Secret, yyrl4070) + yyv4103 = make([]Secret, yyrl4103) } - yyc4070 = true - yyrr4070 = len(yyv4070) - if yyrg4070 { - copy(yyv4070, yyv24070) + yyc4103 = true + yyrr4103 = len(yyv4103) + if yyrg4103 { + copy(yyv4103, yyv24103) } - } else if yyl4070 != len(yyv4070) { - yyv4070 = yyv4070[:yyl4070] - yyc4070 = true + } else if yyl4103 != len(yyv4103) { + yyv4103 = yyv4103[:yyl4103] + yyc4103 = true } - yyj4070 := 0 - for ; yyj4070 < yyrr4070; yyj4070++ { - yyh4070.ElemContainerState(yyj4070) + yyj4103 := 0 + for ; yyj4103 < yyrr4103; yyj4103++ { + yyh4103.ElemContainerState(yyj4103) if r.TryDecodeAsNil() { - yyv4070[yyj4070] = Secret{} + yyv4103[yyj4103] = Secret{} } else { - yyv4071 := &yyv4070[yyj4070] - yyv4071.CodecDecodeSelf(d) + yyv4104 := &yyv4103[yyj4103] + yyv4104.CodecDecodeSelf(d) } } - if yyrt4070 { - for ; yyj4070 < yyl4070; yyj4070++ { - yyv4070 = append(yyv4070, Secret{}) - yyh4070.ElemContainerState(yyj4070) + if yyrt4103 { + for ; yyj4103 < yyl4103; yyj4103++ { + yyv4103 = append(yyv4103, Secret{}) + yyh4103.ElemContainerState(yyj4103) if r.TryDecodeAsNil() { - yyv4070[yyj4070] = Secret{} + yyv4103[yyj4103] = Secret{} } else { - yyv4072 := &yyv4070[yyj4070] - yyv4072.CodecDecodeSelf(d) + yyv4105 := &yyv4103[yyj4103] + yyv4105.CodecDecodeSelf(d) } } } } else { - yyj4070 := 0 - for ; !r.CheckBreak(); yyj4070++ { + yyj4103 := 0 + for ; !r.CheckBreak(); yyj4103++ { - if yyj4070 >= len(yyv4070) { - yyv4070 = append(yyv4070, Secret{}) // var yyz4070 Secret - yyc4070 = true + if yyj4103 >= len(yyv4103) { + yyv4103 = append(yyv4103, Secret{}) // var yyz4103 Secret + yyc4103 = true } - yyh4070.ElemContainerState(yyj4070) - if yyj4070 < len(yyv4070) { + yyh4103.ElemContainerState(yyj4103) + if yyj4103 < len(yyv4103) { if r.TryDecodeAsNil() { - yyv4070[yyj4070] = Secret{} + yyv4103[yyj4103] = Secret{} } else { - yyv4073 := &yyv4070[yyj4070] - yyv4073.CodecDecodeSelf(d) + yyv4106 := &yyv4103[yyj4103] + yyv4106.CodecDecodeSelf(d) } } else { @@ -52257,17 +52772,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4070 < len(yyv4070) { - yyv4070 = yyv4070[:yyj4070] - yyc4070 = true - } else if yyj4070 == 0 && yyv4070 == nil { - yyv4070 = []Secret{} - yyc4070 = true + if yyj4103 < len(yyv4103) { + yyv4103 = yyv4103[:yyj4103] + yyc4103 = true + } else if yyj4103 == 0 && yyv4103 == nil { + yyv4103 = []Secret{} + yyc4103 = true } } - yyh4070.End() - if yyc4070 { - *v = yyv4070 + yyh4103.End() + if yyc4103 { + *v = yyv4103 } } @@ -52276,10 +52791,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4074 := range v { + for _, yyv4107 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4075 := &yyv4074 - yy4075.CodecEncodeSelf(e) + yy4108 := &yyv4107 + yy4108.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52289,83 +52804,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4076 := *v - yyh4076, yyl4076 := z.DecSliceHelperStart() - var yyc4076 bool - if yyl4076 == 0 { - if yyv4076 == nil { - yyv4076 = []ConfigMap{} - yyc4076 = true - } else if len(yyv4076) != 0 { - yyv4076 = yyv4076[:0] - yyc4076 = true + yyv4109 := *v + yyh4109, yyl4109 := z.DecSliceHelperStart() + var yyc4109 bool + if yyl4109 == 0 { + if yyv4109 == nil { + yyv4109 = []ConfigMap{} + yyc4109 = true + } else if len(yyv4109) != 0 { + yyv4109 = yyv4109[:0] + yyc4109 = true } - } else if yyl4076 > 0 { - var yyrr4076, yyrl4076 int - var yyrt4076 bool - if yyl4076 > cap(yyv4076) { + } else if yyl4109 > 0 { + var yyrr4109, yyrl4109 int + var yyrt4109 bool + if yyl4109 > cap(yyv4109) { - yyrg4076 := len(yyv4076) > 0 - yyv24076 := yyv4076 - yyrl4076, yyrt4076 = z.DecInferLen(yyl4076, z.DecBasicHandle().MaxInitLen, 200) - if yyrt4076 { - if yyrl4076 <= cap(yyv4076) { - yyv4076 = yyv4076[:yyrl4076] + yyrg4109 := len(yyv4109) > 0 + yyv24109 := yyv4109 + yyrl4109, yyrt4109 = z.DecInferLen(yyl4109, z.DecBasicHandle().MaxInitLen, 200) + if yyrt4109 { + if yyrl4109 <= cap(yyv4109) { + yyv4109 = yyv4109[:yyrl4109] } else { - yyv4076 = make([]ConfigMap, yyrl4076) + yyv4109 = make([]ConfigMap, yyrl4109) } } else { - yyv4076 = make([]ConfigMap, yyrl4076) + yyv4109 = make([]ConfigMap, yyrl4109) } - yyc4076 = true - yyrr4076 = len(yyv4076) - if yyrg4076 { - copy(yyv4076, yyv24076) + yyc4109 = true + yyrr4109 = len(yyv4109) + if yyrg4109 { + copy(yyv4109, yyv24109) } - } else if yyl4076 != len(yyv4076) { - yyv4076 = yyv4076[:yyl4076] - yyc4076 = true + } else if yyl4109 != len(yyv4109) { + yyv4109 = yyv4109[:yyl4109] + yyc4109 = true } - yyj4076 := 0 - for ; yyj4076 < yyrr4076; yyj4076++ { - yyh4076.ElemContainerState(yyj4076) + yyj4109 := 0 + for ; yyj4109 < yyrr4109; yyj4109++ { + yyh4109.ElemContainerState(yyj4109) if r.TryDecodeAsNil() { - yyv4076[yyj4076] = ConfigMap{} + yyv4109[yyj4109] = ConfigMap{} } else { - yyv4077 := &yyv4076[yyj4076] - yyv4077.CodecDecodeSelf(d) + yyv4110 := &yyv4109[yyj4109] + yyv4110.CodecDecodeSelf(d) } } - if yyrt4076 { - for ; yyj4076 < yyl4076; yyj4076++ { - yyv4076 = append(yyv4076, ConfigMap{}) - yyh4076.ElemContainerState(yyj4076) + if yyrt4109 { + for ; yyj4109 < yyl4109; yyj4109++ { + yyv4109 = append(yyv4109, ConfigMap{}) + yyh4109.ElemContainerState(yyj4109) if r.TryDecodeAsNil() { - yyv4076[yyj4076] = ConfigMap{} + yyv4109[yyj4109] = ConfigMap{} } else { - yyv4078 := &yyv4076[yyj4076] - yyv4078.CodecDecodeSelf(d) + yyv4111 := &yyv4109[yyj4109] + yyv4111.CodecDecodeSelf(d) } } } } else { - yyj4076 := 0 - for ; !r.CheckBreak(); yyj4076++ { + yyj4109 := 0 + for ; !r.CheckBreak(); yyj4109++ { - if yyj4076 >= len(yyv4076) { - yyv4076 = append(yyv4076, ConfigMap{}) // var yyz4076 ConfigMap - yyc4076 = true + if yyj4109 >= len(yyv4109) { + yyv4109 = append(yyv4109, ConfigMap{}) // var yyz4109 ConfigMap + yyc4109 = true } - yyh4076.ElemContainerState(yyj4076) - if yyj4076 < len(yyv4076) { + yyh4109.ElemContainerState(yyj4109) + if yyj4109 < len(yyv4109) { if r.TryDecodeAsNil() { - yyv4076[yyj4076] = ConfigMap{} + yyv4109[yyj4109] = ConfigMap{} } else { - yyv4079 := &yyv4076[yyj4076] - yyv4079.CodecDecodeSelf(d) + yyv4112 := &yyv4109[yyj4109] + yyv4112.CodecDecodeSelf(d) } } else { @@ -52373,17 +52888,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4076 < len(yyv4076) { - yyv4076 = yyv4076[:yyj4076] - yyc4076 = true - } else if yyj4076 == 0 && yyv4076 == nil { - yyv4076 = []ConfigMap{} - yyc4076 = true + if yyj4109 < len(yyv4109) { + yyv4109 = yyv4109[:yyj4109] + yyc4109 = true + } else if yyj4109 == 0 && yyv4109 == nil { + yyv4109 = []ConfigMap{} + yyc4109 = true } } - yyh4076.End() - if yyc4076 { - *v = yyv4076 + yyh4109.End() + if yyc4109 { + *v = yyv4109 } } @@ -52392,10 +52907,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4080 := range v { + for _, yyv4113 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4081 := &yyv4080 - yy4081.CodecEncodeSelf(e) + yy4114 := &yyv4113 + yy4114.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52405,83 +52920,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4082 := *v - yyh4082, yyl4082 := z.DecSliceHelperStart() - var yyc4082 bool - if yyl4082 == 0 { - if yyv4082 == nil { - yyv4082 = []ComponentCondition{} - yyc4082 = true - } else if len(yyv4082) != 0 { - yyv4082 = yyv4082[:0] - yyc4082 = true + yyv4115 := *v + yyh4115, yyl4115 := z.DecSliceHelperStart() + var yyc4115 bool + if yyl4115 == 0 { + if yyv4115 == nil { + yyv4115 = []ComponentCondition{} + yyc4115 = true + } else if len(yyv4115) != 0 { + yyv4115 = yyv4115[:0] + yyc4115 = true } - } else if yyl4082 > 0 { - var yyrr4082, yyrl4082 int - var yyrt4082 bool - if yyl4082 > cap(yyv4082) { + } else if yyl4115 > 0 { + var yyrr4115, yyrl4115 int + var yyrt4115 bool + if yyl4115 > cap(yyv4115) { - yyrg4082 := len(yyv4082) > 0 - yyv24082 := yyv4082 - yyrl4082, yyrt4082 = z.DecInferLen(yyl4082, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4082 { - if yyrl4082 <= cap(yyv4082) { - yyv4082 = yyv4082[:yyrl4082] + yyrg4115 := len(yyv4115) > 0 + yyv24115 := yyv4115 + yyrl4115, yyrt4115 = z.DecInferLen(yyl4115, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4115 { + if yyrl4115 <= cap(yyv4115) { + yyv4115 = yyv4115[:yyrl4115] } else { - yyv4082 = make([]ComponentCondition, yyrl4082) + yyv4115 = make([]ComponentCondition, yyrl4115) } } else { - yyv4082 = make([]ComponentCondition, yyrl4082) + yyv4115 = make([]ComponentCondition, yyrl4115) } - yyc4082 = true - yyrr4082 = len(yyv4082) - if yyrg4082 { - copy(yyv4082, yyv24082) + yyc4115 = true + yyrr4115 = len(yyv4115) + if yyrg4115 { + copy(yyv4115, yyv24115) } - } else if yyl4082 != len(yyv4082) { - yyv4082 = yyv4082[:yyl4082] - yyc4082 = true + } else if yyl4115 != len(yyv4115) { + yyv4115 = yyv4115[:yyl4115] + yyc4115 = true } - yyj4082 := 0 - for ; yyj4082 < yyrr4082; yyj4082++ { - yyh4082.ElemContainerState(yyj4082) + yyj4115 := 0 + for ; yyj4115 < yyrr4115; yyj4115++ { + yyh4115.ElemContainerState(yyj4115) if r.TryDecodeAsNil() { - yyv4082[yyj4082] = ComponentCondition{} + yyv4115[yyj4115] = ComponentCondition{} } else { - yyv4083 := &yyv4082[yyj4082] - yyv4083.CodecDecodeSelf(d) + yyv4116 := &yyv4115[yyj4115] + yyv4116.CodecDecodeSelf(d) } } - if yyrt4082 { - for ; yyj4082 < yyl4082; yyj4082++ { - yyv4082 = append(yyv4082, ComponentCondition{}) - yyh4082.ElemContainerState(yyj4082) + if yyrt4115 { + for ; yyj4115 < yyl4115; yyj4115++ { + yyv4115 = append(yyv4115, ComponentCondition{}) + yyh4115.ElemContainerState(yyj4115) if r.TryDecodeAsNil() { - yyv4082[yyj4082] = ComponentCondition{} + yyv4115[yyj4115] = ComponentCondition{} } else { - yyv4084 := &yyv4082[yyj4082] - yyv4084.CodecDecodeSelf(d) + yyv4117 := &yyv4115[yyj4115] + yyv4117.CodecDecodeSelf(d) } } } } else { - yyj4082 := 0 - for ; !r.CheckBreak(); yyj4082++ { + yyj4115 := 0 + for ; !r.CheckBreak(); yyj4115++ { - if yyj4082 >= len(yyv4082) { - yyv4082 = append(yyv4082, ComponentCondition{}) // var yyz4082 ComponentCondition - yyc4082 = true + if yyj4115 >= len(yyv4115) { + yyv4115 = append(yyv4115, ComponentCondition{}) // var yyz4115 ComponentCondition + yyc4115 = true } - yyh4082.ElemContainerState(yyj4082) - if yyj4082 < len(yyv4082) { + yyh4115.ElemContainerState(yyj4115) + if yyj4115 < len(yyv4115) { if r.TryDecodeAsNil() { - yyv4082[yyj4082] = ComponentCondition{} + yyv4115[yyj4115] = ComponentCondition{} } else { - yyv4085 := &yyv4082[yyj4082] - yyv4085.CodecDecodeSelf(d) + yyv4118 := &yyv4115[yyj4115] + yyv4118.CodecDecodeSelf(d) } } else { @@ -52489,17 +53004,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4082 < len(yyv4082) { - yyv4082 = yyv4082[:yyj4082] - yyc4082 = true - } else if yyj4082 == 0 && yyv4082 == nil { - yyv4082 = []ComponentCondition{} - yyc4082 = true + if yyj4115 < len(yyv4115) { + yyv4115 = yyv4115[:yyj4115] + yyc4115 = true + } else if yyj4115 == 0 && yyv4115 == nil { + yyv4115 = []ComponentCondition{} + yyc4115 = true } } - yyh4082.End() - if yyc4082 { - *v = yyv4082 + yyh4115.End() + if yyc4115 { + *v = yyv4115 } } @@ -52508,10 +53023,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4086 := range v { + for _, yyv4119 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4087 := &yyv4086 - yy4087.CodecEncodeSelf(e) + yy4120 := &yyv4119 + yy4120.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52521,83 +53036,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4088 := *v - yyh4088, yyl4088 := z.DecSliceHelperStart() - var yyc4088 bool - if yyl4088 == 0 { - if yyv4088 == nil { - yyv4088 = []ComponentStatus{} - yyc4088 = true - } else if len(yyv4088) != 0 { - yyv4088 = yyv4088[:0] - yyc4088 = true + yyv4121 := *v + yyh4121, yyl4121 := z.DecSliceHelperStart() + var yyc4121 bool + if yyl4121 == 0 { + if yyv4121 == nil { + yyv4121 = []ComponentStatus{} + yyc4121 = true + } else if len(yyv4121) != 0 { + yyv4121 = yyv4121[:0] + yyc4121 = true } - } else if yyl4088 > 0 { - var yyrr4088, yyrl4088 int - var yyrt4088 bool - if yyl4088 > cap(yyv4088) { + } else if yyl4121 > 0 { + var yyrr4121, yyrl4121 int + var yyrt4121 bool + if yyl4121 > cap(yyv4121) { - yyrg4088 := len(yyv4088) > 0 - yyv24088 := yyv4088 - yyrl4088, yyrt4088 = z.DecInferLen(yyl4088, z.DecBasicHandle().MaxInitLen, 216) - if yyrt4088 { - if yyrl4088 <= cap(yyv4088) { - yyv4088 = yyv4088[:yyrl4088] + yyrg4121 := len(yyv4121) > 0 + yyv24121 := yyv4121 + yyrl4121, yyrt4121 = z.DecInferLen(yyl4121, z.DecBasicHandle().MaxInitLen, 216) + if yyrt4121 { + if yyrl4121 <= cap(yyv4121) { + yyv4121 = yyv4121[:yyrl4121] } else { - yyv4088 = make([]ComponentStatus, yyrl4088) + yyv4121 = make([]ComponentStatus, yyrl4121) } } else { - yyv4088 = make([]ComponentStatus, yyrl4088) + yyv4121 = make([]ComponentStatus, yyrl4121) } - yyc4088 = true - yyrr4088 = len(yyv4088) - if yyrg4088 { - copy(yyv4088, yyv24088) + yyc4121 = true + yyrr4121 = len(yyv4121) + if yyrg4121 { + copy(yyv4121, yyv24121) } - } else if yyl4088 != len(yyv4088) { - yyv4088 = yyv4088[:yyl4088] - yyc4088 = true + } else if yyl4121 != len(yyv4121) { + yyv4121 = yyv4121[:yyl4121] + yyc4121 = true } - yyj4088 := 0 - for ; yyj4088 < yyrr4088; yyj4088++ { - yyh4088.ElemContainerState(yyj4088) + yyj4121 := 0 + for ; yyj4121 < yyrr4121; yyj4121++ { + yyh4121.ElemContainerState(yyj4121) if r.TryDecodeAsNil() { - yyv4088[yyj4088] = ComponentStatus{} + yyv4121[yyj4121] = ComponentStatus{} } else { - yyv4089 := &yyv4088[yyj4088] - yyv4089.CodecDecodeSelf(d) + yyv4122 := &yyv4121[yyj4121] + yyv4122.CodecDecodeSelf(d) } } - if yyrt4088 { - for ; yyj4088 < yyl4088; yyj4088++ { - yyv4088 = append(yyv4088, ComponentStatus{}) - yyh4088.ElemContainerState(yyj4088) + if yyrt4121 { + for ; yyj4121 < yyl4121; yyj4121++ { + yyv4121 = append(yyv4121, ComponentStatus{}) + yyh4121.ElemContainerState(yyj4121) if r.TryDecodeAsNil() { - yyv4088[yyj4088] = ComponentStatus{} + yyv4121[yyj4121] = ComponentStatus{} } else { - yyv4090 := &yyv4088[yyj4088] - yyv4090.CodecDecodeSelf(d) + yyv4123 := &yyv4121[yyj4121] + yyv4123.CodecDecodeSelf(d) } } } } else { - yyj4088 := 0 - for ; !r.CheckBreak(); yyj4088++ { + yyj4121 := 0 + for ; !r.CheckBreak(); yyj4121++ { - if yyj4088 >= len(yyv4088) { - yyv4088 = append(yyv4088, ComponentStatus{}) // var yyz4088 ComponentStatus - yyc4088 = true + if yyj4121 >= len(yyv4121) { + yyv4121 = append(yyv4121, ComponentStatus{}) // var yyz4121 ComponentStatus + yyc4121 = true } - yyh4088.ElemContainerState(yyj4088) - if yyj4088 < len(yyv4088) { + yyh4121.ElemContainerState(yyj4121) + if yyj4121 < len(yyv4121) { if r.TryDecodeAsNil() { - yyv4088[yyj4088] = ComponentStatus{} + yyv4121[yyj4121] = ComponentStatus{} } else { - yyv4091 := &yyv4088[yyj4088] - yyv4091.CodecDecodeSelf(d) + yyv4124 := &yyv4121[yyj4121] + yyv4124.CodecDecodeSelf(d) } } else { @@ -52605,17 +53120,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4088 < len(yyv4088) { - yyv4088 = yyv4088[:yyj4088] - yyc4088 = true - } else if yyj4088 == 0 && yyv4088 == nil { - yyv4088 = []ComponentStatus{} - yyc4088 = true + if yyj4121 < len(yyv4121) { + yyv4121 = yyv4121[:yyj4121] + yyc4121 = true + } else if yyj4121 == 0 && yyv4121 == nil { + yyv4121 = []ComponentStatus{} + yyc4121 = true } } - yyh4088.End() - if yyc4088 { - *v = yyv4088 + yyh4121.End() + if yyc4121 { + *v = yyv4121 } } @@ -52624,10 +53139,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4092 := range v { + for _, yyv4125 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4093 := &yyv4092 - yy4093.CodecEncodeSelf(e) + yy4126 := &yyv4125 + yy4126.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52637,83 +53152,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4094 := *v - yyh4094, yyl4094 := z.DecSliceHelperStart() - var yyc4094 bool - if yyl4094 == 0 { - if yyv4094 == nil { - yyv4094 = []DownwardAPIVolumeFile{} - yyc4094 = true - } else if len(yyv4094) != 0 { - yyv4094 = yyv4094[:0] - yyc4094 = true + yyv4127 := *v + yyh4127, yyl4127 := z.DecSliceHelperStart() + var yyc4127 bool + if yyl4127 == 0 { + if yyv4127 == nil { + yyv4127 = []DownwardAPIVolumeFile{} + yyc4127 = true + } else if len(yyv4127) != 0 { + yyv4127 = yyv4127[:0] + yyc4127 = true } - } else if yyl4094 > 0 { - var yyrr4094, yyrl4094 int - var yyrt4094 bool - if yyl4094 > cap(yyv4094) { + } else if yyl4127 > 0 { + var yyrr4127, yyrl4127 int + var yyrt4127 bool + if yyl4127 > cap(yyv4127) { - yyrg4094 := len(yyv4094) > 0 - yyv24094 := yyv4094 - yyrl4094, yyrt4094 = z.DecInferLen(yyl4094, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4094 { - if yyrl4094 <= cap(yyv4094) { - yyv4094 = yyv4094[:yyrl4094] + yyrg4127 := len(yyv4127) > 0 + yyv24127 := yyv4127 + yyrl4127, yyrt4127 = z.DecInferLen(yyl4127, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4127 { + if yyrl4127 <= cap(yyv4127) { + yyv4127 = yyv4127[:yyrl4127] } else { - yyv4094 = make([]DownwardAPIVolumeFile, yyrl4094) + yyv4127 = make([]DownwardAPIVolumeFile, yyrl4127) } } else { - yyv4094 = make([]DownwardAPIVolumeFile, yyrl4094) + yyv4127 = make([]DownwardAPIVolumeFile, yyrl4127) } - yyc4094 = true - yyrr4094 = len(yyv4094) - if yyrg4094 { - copy(yyv4094, yyv24094) + yyc4127 = true + yyrr4127 = len(yyv4127) + if yyrg4127 { + copy(yyv4127, yyv24127) } - } else if yyl4094 != len(yyv4094) { - yyv4094 = yyv4094[:yyl4094] - yyc4094 = true + } else if yyl4127 != len(yyv4127) { + yyv4127 = yyv4127[:yyl4127] + yyc4127 = true } - yyj4094 := 0 - for ; yyj4094 < yyrr4094; yyj4094++ { - yyh4094.ElemContainerState(yyj4094) + yyj4127 := 0 + for ; yyj4127 < yyrr4127; yyj4127++ { + yyh4127.ElemContainerState(yyj4127) if r.TryDecodeAsNil() { - yyv4094[yyj4094] = DownwardAPIVolumeFile{} + yyv4127[yyj4127] = DownwardAPIVolumeFile{} } else { - yyv4095 := &yyv4094[yyj4094] - yyv4095.CodecDecodeSelf(d) + yyv4128 := &yyv4127[yyj4127] + yyv4128.CodecDecodeSelf(d) } } - if yyrt4094 { - for ; yyj4094 < yyl4094; yyj4094++ { - yyv4094 = append(yyv4094, DownwardAPIVolumeFile{}) - yyh4094.ElemContainerState(yyj4094) + if yyrt4127 { + for ; yyj4127 < yyl4127; yyj4127++ { + yyv4127 = append(yyv4127, DownwardAPIVolumeFile{}) + yyh4127.ElemContainerState(yyj4127) if r.TryDecodeAsNil() { - yyv4094[yyj4094] = DownwardAPIVolumeFile{} + yyv4127[yyj4127] = DownwardAPIVolumeFile{} } else { - yyv4096 := &yyv4094[yyj4094] - yyv4096.CodecDecodeSelf(d) + yyv4129 := &yyv4127[yyj4127] + yyv4129.CodecDecodeSelf(d) } } } } else { - yyj4094 := 0 - for ; !r.CheckBreak(); yyj4094++ { + yyj4127 := 0 + for ; !r.CheckBreak(); yyj4127++ { - if yyj4094 >= len(yyv4094) { - yyv4094 = append(yyv4094, DownwardAPIVolumeFile{}) // var yyz4094 DownwardAPIVolumeFile - yyc4094 = true + if yyj4127 >= len(yyv4127) { + yyv4127 = append(yyv4127, DownwardAPIVolumeFile{}) // var yyz4127 DownwardAPIVolumeFile + yyc4127 = true } - yyh4094.ElemContainerState(yyj4094) - if yyj4094 < len(yyv4094) { + yyh4127.ElemContainerState(yyj4127) + if yyj4127 < len(yyv4127) { if r.TryDecodeAsNil() { - yyv4094[yyj4094] = DownwardAPIVolumeFile{} + yyv4127[yyj4127] = DownwardAPIVolumeFile{} } else { - yyv4097 := &yyv4094[yyj4094] - yyv4097.CodecDecodeSelf(d) + yyv4130 := &yyv4127[yyj4127] + yyv4130.CodecDecodeSelf(d) } } else { @@ -52721,16 +53236,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj4094 < len(yyv4094) { - yyv4094 = yyv4094[:yyj4094] - yyc4094 = true - } else if yyj4094 == 0 && yyv4094 == nil { - yyv4094 = []DownwardAPIVolumeFile{} - yyc4094 = true + if yyj4127 < len(yyv4127) { + yyv4127 = yyv4127[:yyj4127] + yyc4127 = true + } else if yyj4127 == 0 && yyv4127 == nil { + yyv4127 = []DownwardAPIVolumeFile{} + yyc4127 = true } } - yyh4094.End() - if yyc4094 { - *v = yyv4094 + yyh4127.End() + if yyc4127 { + *v = yyv4127 } } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 40d5e344928..7090e77a23d 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -261,6 +261,8 @@ type VolumeSource struct { DownwardAPI *DownwardAPIVolumeSource `json:"downwardAPI,omitempty"` // FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. FC *FCVolumeSource `json:"fc,omitempty"` + // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` } // PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. @@ -319,6 +321,8 @@ type PersistentVolumeSource struct { // provisioned/attached using a exec based plugin. This is an // alpha feature and may change in future. FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` + // AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + AzureFile *AzureFileVolumeSource `json:"azureFile,omitempty"` } // PersistentVolume (PV) is a storage resource provisioned by an administrator. @@ -791,6 +795,17 @@ type FCVolumeSource struct { ReadOnly bool `json:"readOnly,omitempty"` } +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +type AzureFileVolumeSource struct { + // the name of secret that contains Azure Storage Account Name and Key + SecretName string `json:"secretName"` + // Share Name + ShareName string `json:"shareName"` + // Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + ReadOnly bool `json:"readOnly,omitempty"` +} + // ContainerPort represents a network port in a single container. type ContainerPort struct { // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index 17efbb0be68..fd63777b755 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -48,6 +48,17 @@ func (Affinity) SwaggerDoc() map[string]string { return map_Affinity } +var map_AzureFileVolumeSource = map[string]string{ + "": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "secretName": "the name of secret that contains Azure Storage Account Name and Key", + "shareName": "Share Name", + "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", +} + +func (AzureFileVolumeSource) SwaggerDoc() map[string]string { + return map_AzureFileVolumeSource +} + var map_Binding = map[string]string{ "": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", @@ -990,6 +1001,7 @@ var map_PersistentVolumeSource = map[string]string{ "fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", "flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", "flexVolume": "FlexVolume represents a generic volume resource that is provisioned/attached using a exec based plugin. This is an alpha feature and may change in future.", + "azureFile": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", } func (PersistentVolumeSource) SwaggerDoc() map[string]string { @@ -1541,6 +1553,7 @@ var map_VolumeSource = map[string]string{ "flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", "downwardAPI": "DownwardAPI represents downward API about the pod that should populate this volume", "fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "azureFile": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", } func (VolumeSource) SwaggerDoc() map[string]string { diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index a2ecf16211e..6031b84b62a 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -494,6 +494,10 @@ func validateVolumeSource(source *api.VolumeSource, fldPath *field.Path) field.E numVolumes++ allErrs = append(allErrs, validateFlexVolumeSource(source.FlexVolume, fldPath.Child("flexVolume"))...) } + if source.AzureFile != nil { + numVolumes++ + allErrs = append(allErrs, validateAzureFile(source.AzureFile, fldPath.Child("azureFile"))...) + } if numVolumes == 0 { allErrs = append(allErrs, field.Required(fldPath, "must specify a volume type")) } @@ -718,6 +722,17 @@ func validateFlexVolumeSource(fv *api.FlexVolumeSource, fldPath *field.Path) fie return allErrs } +func validateAzureFile(azure *api.AzureFileVolumeSource, fldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if azure.SecretName == "" { + allErrs = append(allErrs, field.Required(fldPath.Child("secretName"), "")) + } + if azure.ShareName == "" { + allErrs = append(allErrs, field.Required(fldPath.Child("shareName"), "")) + } + return allErrs +} + func ValidatePersistentVolumeName(name string, prefix bool) (bool, string) { return NameIsDNSSubdomain(name, prefix) } @@ -842,6 +857,10 @@ func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList { numVolumes++ allErrs = append(allErrs, validateFlexVolumeSource(pv.Spec.FlexVolume, specPath.Child("flexVolume"))...) } + if pv.Spec.AzureFile != nil { + numVolumes++ + allErrs = append(allErrs, validateAzureFile(pv.Spec.AzureFile, specPath.Child("azureFile"))...) + } if numVolumes == 0 { allErrs = append(allErrs, field.Required(specPath, "must specify a volume type")) } diff --git a/pkg/api/validation/validation_test.go b/pkg/api/validation/validation_test.go index 0a60104f344..7094cbb7359 100644 --- a/pkg/api/validation/validation_test.go +++ b/pkg/api/validation/validation_test.go @@ -509,6 +509,7 @@ func TestValidateVolumes(t *testing.T) { }}}}, {Name: "fc", VolumeSource: api.VolumeSource{FC: &api.FCVolumeSource{[]string{"some_wwn"}, &lun, "ext4", false}}}, {Name: "flexvolume", VolumeSource: api.VolumeSource{FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/blue", FSType: "ext4"}}}, + {Name: "azure", VolumeSource: api.VolumeSource{AzureFile: &api.AzureFileVolumeSource{"key", "share", false}}}, } names, errs := validateVolumes(successCase, field.NewPath("field")) if len(errs) != 0 { @@ -557,6 +558,8 @@ func TestValidateVolumes(t *testing.T) { zeroWWN := api.VolumeSource{FC: &api.FCVolumeSource{[]string{}, &lun, "ext4", false}} emptyLun := api.VolumeSource{FC: &api.FCVolumeSource{[]string{"wwn"}, nil, "ext4", false}} slashInName := api.VolumeSource{Flocker: &api.FlockerVolumeSource{DatasetName: "foo/bar"}} + emptyAzureSecret := api.VolumeSource{AzureFile: &api.AzureFileVolumeSource{"", "share", false}} + emptyAzureShare := api.VolumeSource{AzureFile: &api.AzureFileVolumeSource{"name", "", false}} errorCases := map[string]struct { V []api.Volume T field.ErrorType @@ -678,6 +681,16 @@ func TestValidateVolumes(t *testing.T) { field.ErrorTypeInvalid, "gitRepo.directory", "", }, + "empty secret": { + []api.Volume{{Name: "emptyaccount", VolumeSource: emptyAzureSecret}}, + field.ErrorTypeRequired, + "azureFile.secretName", "", + }, + "empty share": { + []api.Volume{{Name: "emptyaccount", VolumeSource: emptyAzureShare}}, + field.ErrorTypeRequired, + "azureFile.shareName", "", + }, } for k, v := range errorCases { _, errs := validateVolumes(v.V, field.NewPath("field")) diff --git a/pkg/apis/extensions/v1beta1/conversion_generated.go b/pkg/apis/extensions/v1beta1/conversion_generated.go index 9beeb43e57e..5a8f8157b37 100644 --- a/pkg/apis/extensions/v1beta1/conversion_generated.go +++ b/pkg/apis/extensions/v1beta1/conversion_generated.go @@ -44,6 +44,20 @@ func Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolu return autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource(in, out, s) } +func autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.AzureFileVolumeSource, out *v1.AzureFileVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.AzureFileVolumeSource))(in) + } + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + +func Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.AzureFileVolumeSource, out *v1.AzureFileVolumeSource, s conversion.Scope) error { + return autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in, out, s) +} + func autoConvert_api_Capabilities_To_v1_Capabilities(in *api.Capabilities, out *v1.Capabilities, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.Capabilities))(in) @@ -1257,6 +1271,15 @@ func autoConvert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out * } else { out.FC = nil } + // unable to generate simple pointer conversion for api.AzureFileVolumeSource -> v1.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(v1.AzureFileVolumeSource) + if err := Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -1329,6 +1352,20 @@ func Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolu return autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in, out, s) } +func autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in *v1.AzureFileVolumeSource, out *api.AzureFileVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*v1.AzureFileVolumeSource))(in) + } + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + +func Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in *v1.AzureFileVolumeSource, out *api.AzureFileVolumeSource, s conversion.Scope) error { + return autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in, out, s) +} + func autoConvert_v1_Capabilities_To_api_Capabilities(in *v1.Capabilities, out *api.Capabilities, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*v1.Capabilities))(in) @@ -2518,6 +2555,15 @@ func autoConvert_v1_VolumeSource_To_api_VolumeSource(in *v1.VolumeSource, out *a } else { out.FC = nil } + // unable to generate simple pointer conversion for v1.AzureFileVolumeSource -> api.AzureFileVolumeSource + if in.AzureFile != nil { + out.AzureFile = new(api.AzureFileVolumeSource) + if err := Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in.AzureFile, out.AzureFile, s); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -5213,6 +5259,7 @@ func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList func init() { err := api.Scheme.AddGeneratedConversionFuncs( autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource, + autoConvert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource, autoConvert_api_Capabilities_To_v1_Capabilities, autoConvert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource, autoConvert_api_CinderVolumeSource_To_v1_CinderVolumeSource, @@ -5320,6 +5367,7 @@ func init() { autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement, autoConvert_unversioned_LabelSelector_To_v1beta1_LabelSelector, autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource, + autoConvert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource, autoConvert_v1_Capabilities_To_api_Capabilities, autoConvert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource, autoConvert_v1_CinderVolumeSource_To_api_CinderVolumeSource, diff --git a/pkg/apis/extensions/v1beta1/deep_copy_generated.go b/pkg/apis/extensions/v1beta1/deep_copy_generated.go index e8352ccff2d..eab1a3f1691 100644 --- a/pkg/apis/extensions/v1beta1/deep_copy_generated.go +++ b/pkg/apis/extensions/v1beta1/deep_copy_generated.go @@ -73,6 +73,13 @@ func deepCopy_v1_AWSElasticBlockStoreVolumeSource(in v1.AWSElasticBlockStoreVolu return nil } +func deepCopy_v1_AzureFileVolumeSource(in v1.AzureFileVolumeSource, out *v1.AzureFileVolumeSource, c *conversion.Cloner) error { + out.SecretName = in.SecretName + out.ShareName = in.ShareName + out.ReadOnly = in.ReadOnly + return nil +} + func deepCopy_v1_Capabilities(in v1.Capabilities, out *v1.Capabilities, c *conversion.Cloner) error { if in.Add != nil { out.Add = make([]v1.Capability, len(in.Add)) @@ -964,6 +971,14 @@ func deepCopy_v1_VolumeSource(in v1.VolumeSource, out *v1.VolumeSource, c *conve } else { out.FC = nil } + if in.AzureFile != nil { + out.AzureFile = new(v1.AzureFileVolumeSource) + if err := deepCopy_v1_AzureFileVolumeSource(*in.AzureFile, out.AzureFile, c); err != nil { + return err + } + } else { + out.AzureFile = nil + } return nil } @@ -1981,6 +1996,7 @@ func init() { deepCopy_unversioned_Time, deepCopy_unversioned_TypeMeta, deepCopy_v1_AWSElasticBlockStoreVolumeSource, + deepCopy_v1_AzureFileVolumeSource, deepCopy_v1_Capabilities, deepCopy_v1_CephFSVolumeSource, deepCopy_v1_CinderVolumeSource, diff --git a/pkg/volume/azure_file/azure_file.go b/pkg/volume/azure_file/azure_file.go new file mode 100644 index 00000000000..662d027fe38 --- /dev/null +++ b/pkg/volume/azure_file/azure_file.go @@ -0,0 +1,234 @@ +/* +Copyright 2016 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package azure_file + +import ( + "fmt" + "os" + + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/types" + "k8s.io/kubernetes/pkg/util/mount" + "k8s.io/kubernetes/pkg/util/strings" + "k8s.io/kubernetes/pkg/volume" + + "github.com/golang/glog" +) + +// This is the primary entrypoint for volume plugins. +func ProbeVolumePlugins() []volume.VolumePlugin { + return []volume.VolumePlugin{&azureFilePlugin{nil}} +} + +type azureFilePlugin struct { + host volume.VolumeHost +} + +var _ volume.VolumePlugin = &azureFilePlugin{} +var _ volume.PersistentVolumePlugin = &azureFilePlugin{} + +const ( + azureFilePluginName = "kubernetes.io/azure-file" +) + +func (plugin *azureFilePlugin) Init(host volume.VolumeHost) error { + plugin.host = host + return nil +} + +func (plugin *azureFilePlugin) Name() string { + return azureFilePluginName +} + +func (plugin *azureFilePlugin) CanSupport(spec *volume.Spec) bool { + //TODO: check if mount.cifs is there + return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.AzureFile != nil) || + (spec.Volume != nil && spec.Volume.AzureFile != nil) +} + +func (plugin *azureFilePlugin) GetAccessModes() []api.PersistentVolumeAccessMode { + return []api.PersistentVolumeAccessMode{ + api.ReadWriteOnce, + api.ReadOnlyMany, + api.ReadWriteMany, + } +} + +func (plugin *azureFilePlugin) NewBuilder(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions) (volume.Builder, error) { + return plugin.newBuilderInternal(spec, pod, &azureSvc{}, plugin.host.GetMounter()) +} + +func (plugin *azureFilePlugin) newBuilderInternal(spec *volume.Spec, pod *api.Pod, util azureUtil, mounter mount.Interface) (volume.Builder, error) { + var source *api.AzureFileVolumeSource + var readOnly bool + if spec.Volume != nil && spec.Volume.AzureFile != nil { + source = spec.Volume.AzureFile + readOnly = spec.Volume.AzureFile.ReadOnly + } else { + source = spec.PersistentVolume.Spec.AzureFile + readOnly = spec.ReadOnly + } + return &azureFileBuilder{ + azureFile: &azureFile{ + volName: spec.Name(), + mounter: mounter, + pod: pod, + plugin: plugin, + }, + util: util, + secretName: source.SecretName, + shareName: source.ShareName, + readOnly: readOnly, + }, nil +} + +func (plugin *azureFilePlugin) NewCleaner(volName string, podUID types.UID) (volume.Cleaner, error) { + return plugin.newCleanerInternal(volName, podUID, plugin.host.GetMounter()) +} + +func (plugin *azureFilePlugin) newCleanerInternal(volName string, podUID types.UID, mounter mount.Interface) (volume.Cleaner, error) { + return &azureFileCleaner{&azureFile{ + volName: volName, + mounter: mounter, + pod: &api.Pod{ObjectMeta: api.ObjectMeta{UID: podUID}}, + plugin: plugin, + }}, nil +} + +// azureFile volumes represent mount of an AzureFile share. +type azureFile struct { + volName string + pod *api.Pod + mounter mount.Interface + plugin *azureFilePlugin + volume.MetricsNil +} + +func (azureFileVolume *azureFile) GetPath() string { + name := azureFilePluginName + return azureFileVolume.plugin.host.GetPodVolumeDir(azureFileVolume.pod.UID, strings.EscapeQualifiedNameForDisk(name), azureFileVolume.volName) +} + +type azureFileBuilder struct { + *azureFile + util azureUtil + secretName string + shareName string + readOnly bool +} + +var _ volume.Builder = &azureFileBuilder{} + +func (b *azureFileBuilder) GetAttributes() volume.Attributes { + return volume.Attributes{ + ReadOnly: b.readOnly, + Managed: !b.readOnly, + SupportsSELinux: false, + } +} + +// SetUp attaches the disk and bind mounts to the volume path. +func (b *azureFileBuilder) SetUp(fsGroup *int64) error { + return b.SetUpAt(b.GetPath(), fsGroup) +} + +func (b *azureFileBuilder) SetUpAt(dir string, fsGroup *int64) error { + notMnt, err := b.mounter.IsLikelyNotMountPoint(dir) + glog.V(4).Infof("AzureFile mount set up: %s %v %v", dir, !notMnt, err) + if err != nil && !os.IsNotExist(err) { + return err + } + if !notMnt { + return nil + } + var accountKey, accountName string + if accountName, accountKey, err = b.util.GetAzureCredentials(b.plugin.host, b.pod.Namespace, b.secretName, b.shareName); err != nil { + return err + } + os.MkdirAll(dir, 0750) + source := fmt.Sprintf("//%s.file.core.windows.net/%s", accountName, b.shareName) + // parameters suggested by https://azure.microsoft.com/en-us/documentation/articles/storage-how-to-use-files-linux/ + options := []string{fmt.Sprintf("vers=3.0,username=%s,password=%s,dir_mode=0777,file_mode=0777", accountName, accountKey)} + if b.readOnly { + options = append(options, "ro") + } + err = b.mounter.Mount(source, dir, "cifs", options) + if err != nil { + notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) + if mntErr != nil { + glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) + return err + } + if !notMnt { + if mntErr = b.mounter.Unmount(dir); mntErr != nil { + glog.Errorf("Failed to unmount: %v", mntErr) + return err + } + notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) + if mntErr != nil { + glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) + return err + } + if !notMnt { + // This is very odd, we don't expect it. We'll try again next sync loop. + glog.Errorf("%s is still mounted, despite call to unmount(). Will try again next sync loop.", dir) + return err + } + } + os.Remove(dir) + return err + } + return nil +} + +var _ volume.Cleaner = &azureFileCleaner{} + +type azureFileCleaner struct { + *azureFile +} + +func (c *azureFileCleaner) TearDown() error { + return c.TearDownAt(c.GetPath()) +} + +func (c *azureFileCleaner) TearDownAt(dir string) error { + notMnt, err := c.mounter.IsLikelyNotMountPoint(dir) + if err != nil { + glog.Errorf("Error checking IsLikelyNotMountPoint: %v", err) + return err + } + if notMnt { + return os.Remove(dir) + } + + if err := c.mounter.Unmount(dir); err != nil { + glog.Errorf("Unmounting failed: %v", err) + return err + } + notMnt, mntErr := c.mounter.IsLikelyNotMountPoint(dir) + if mntErr != nil { + glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) + return mntErr + } + if notMnt { + if err := os.Remove(dir); err != nil { + return err + } + } + + return nil +} diff --git a/pkg/volume/azure_file/azure_file_test.go b/pkg/volume/azure_file/azure_file_test.go new file mode 100644 index 00000000000..bbe5f1c3e7c --- /dev/null +++ b/pkg/volume/azure_file/azure_file_test.go @@ -0,0 +1,239 @@ +/* +Copyright 2016 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package azure_file + +import ( + "io/ioutil" + "os" + "path" + "testing" + + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/client/testing/fake" + "k8s.io/kubernetes/pkg/types" + "k8s.io/kubernetes/pkg/util/mount" + "k8s.io/kubernetes/pkg/volume" +) + +func TestCanSupport(t *testing.T) { + tmpDir, err := ioutil.TempDir(os.TempDir(), "azureFileTest") + if err != nil { + t.Fatalf("can't make a temp dir: %v", err) + } + defer os.RemoveAll(tmpDir) + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(), volume.NewFakeVolumeHost(tmpDir, nil, nil)) + + plug, err := plugMgr.FindPluginByName("kubernetes.io/azure-file") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + if plug.Name() != "kubernetes.io/azure-file" { + t.Errorf("Wrong name: %s", plug.Name()) + } + if !plug.CanSupport(&volume.Spec{Volume: &api.Volume{VolumeSource: api.VolumeSource{AzureFile: &api.AzureFileVolumeSource{}}}}) { + t.Errorf("Expected true") + } + if !plug.CanSupport(&volume.Spec{PersistentVolume: &api.PersistentVolume{Spec: api.PersistentVolumeSpec{PersistentVolumeSource: api.PersistentVolumeSource{AzureFile: &api.AzureFileVolumeSource{}}}}}) { + t.Errorf("Expected true") + } +} + +func TestGetAccessModes(t *testing.T) { + tmpDir, err := ioutil.TempDir(os.TempDir(), "azureFileTest") + if err != nil { + t.Fatalf("can't make a temp dir: %v", err) + } + defer os.RemoveAll(tmpDir) + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(), volume.NewFakeVolumeHost(tmpDir, nil, nil)) + + plug, err := plugMgr.FindPersistentPluginByName("kubernetes.io/azure-file") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + if !contains(plug.GetAccessModes(), api.ReadWriteOnce) || !contains(plug.GetAccessModes(), api.ReadOnlyMany) || !contains(plug.GetAccessModes(), api.ReadWriteMany) { + t.Errorf("Expected three AccessModeTypes: %s, %s, and %s", api.ReadWriteOnce, api.ReadOnlyMany, api.ReadWriteMany) + } +} + +func contains(modes []api.PersistentVolumeAccessMode, mode api.PersistentVolumeAccessMode) bool { + for _, m := range modes { + if m == mode { + return true + } + } + return false +} + +func TestPlugin(t *testing.T) { + tmpDir, err := ioutil.TempDir(os.TempDir(), "azurefileTest") + if err != nil { + t.Fatalf("can't make a temp dir: %v") + } + defer os.RemoveAll(tmpDir) + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(), volume.NewFakeVolumeHost(tmpDir, nil, nil)) + + plug, err := plugMgr.FindPluginByName("kubernetes.io/azure-file") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + spec := &api.Volume{ + Name: "vol1", + VolumeSource: api.VolumeSource{ + AzureFile: &api.AzureFileVolumeSource{ + SecretName: "secret", + ShareName: "share", + }, + }, + } + fake := &mount.FakeMounter{} + pod := &api.Pod{ObjectMeta: api.ObjectMeta{UID: types.UID("poduid")}} + builder, err := plug.(*azureFilePlugin).newBuilderInternal(volume.NewSpecFromVolume(spec), pod, &fakeAzureSvc{}, fake) + if err != nil { + t.Errorf("Failed to make a new Builder: %v", err) + } + if builder == nil { + t.Errorf("Got a nil Builder") + } + volPath := path.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~azure-file/vol1") + path := builder.GetPath() + if path != volPath { + t.Errorf("Got unexpected path: %s", path) + } + + if err := builder.SetUp(nil); err != nil { + t.Errorf("Expected success, got: %v", err) + } + if _, err := os.Stat(path); err != nil { + if os.IsNotExist(err) { + t.Errorf("SetUp() failed, volume path not created: %s", path) + } else { + t.Errorf("SetUp() failed: %v", err) + } + } + if _, err := os.Stat(path); err != nil { + if os.IsNotExist(err) { + t.Errorf("SetUp() failed, volume path not created: %s", path) + } else { + t.Errorf("SetUp() failed: %v", err) + } + } + + cleaner, err := plug.(*azureFilePlugin).newCleanerInternal("vol1", types.UID("poduid"), &mount.FakeMounter{}) + if err != nil { + t.Errorf("Failed to make a new Cleaner: %v", err) + } + if cleaner == nil { + t.Errorf("Got a nil Cleaner") + } + + if err := cleaner.TearDown(); err != nil { + t.Errorf("Expected success, got: %v", err) + } + if _, err := os.Stat(path); err == nil { + t.Errorf("TearDown() failed, volume path still exists: %s", path) + } else if !os.IsNotExist(err) { + t.Errorf("SetUp() failed: %v", err) + } +} + +func TestPersistentClaimReadOnlyFlag(t *testing.T) { + pv := &api.PersistentVolume{ + ObjectMeta: api.ObjectMeta{ + Name: "pvA", + }, + Spec: api.PersistentVolumeSpec{ + PersistentVolumeSource: api.PersistentVolumeSource{ + AzureFile: &api.AzureFileVolumeSource{}, + }, + ClaimRef: &api.ObjectReference{ + Name: "claimA", + }, + }, + } + + claim := &api.PersistentVolumeClaim{ + ObjectMeta: api.ObjectMeta{ + Name: "claimA", + Namespace: "nsA", + }, + Spec: api.PersistentVolumeClaimSpec{ + VolumeName: "pvA", + }, + Status: api.PersistentVolumeClaimStatus{ + Phase: api.ClaimBound, + }, + } + + client := fake.NewSimpleClientset(pv, claim) + + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(), volume.NewFakeVolumeHost("/tmp/fake", client, nil)) + plug, _ := plugMgr.FindPluginByName(azureFilePluginName) + + // readOnly bool is supplied by persistent-claim volume source when its builder creates other volumes + spec := volume.NewSpecFromPersistentVolume(pv, true) + pod := &api.Pod{ObjectMeta: api.ObjectMeta{UID: types.UID("poduid")}} + builder, _ := plug.NewBuilder(spec, pod, volume.VolumeOptions{}) + + if !builder.GetAttributes().ReadOnly { + t.Errorf("Expected true for builder.IsReadOnly") + } +} + +type fakeAzureSvc struct{} + +func (s *fakeAzureSvc) GetAzureCredentials(host volume.VolumeHost, nameSpace, secretName, shareName string) (string, string, error) { + return "name", "key", nil +} + +func TestBuilderAndCleanerTypeAssert(t *testing.T) { + tmpDir, err := ioutil.TempDir(os.TempDir(), "azurefileTest") + if err != nil { + t.Fatalf("can't make a temp dir: %v", err) + } + defer os.RemoveAll(tmpDir) + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(), volume.NewFakeVolumeHost(tmpDir, nil, nil)) + + plug, err := plugMgr.FindPluginByName("kubernetes.io/azure-file") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + spec := &api.Volume{ + Name: "vol1", + VolumeSource: api.VolumeSource{ + AzureFile: &api.AzureFileVolumeSource{ + SecretName: "secret", + ShareName: "share", + }, + }, + } + fake := &mount.FakeMounter{} + pod := &api.Pod{ObjectMeta: api.ObjectMeta{UID: types.UID("poduid")}} + builder, err := plug.(*azureFilePlugin).newBuilderInternal(volume.NewSpecFromVolume(spec), pod, &fakeAzureSvc{}, fake) + if _, ok := builder.(volume.Cleaner); ok { + t.Errorf("Volume Builder can be type-assert to Cleaner") + } + + cleaner, err := plug.(*azureFilePlugin).newCleanerInternal("vol1", types.UID("poduid"), &mount.FakeMounter{}) + if _, ok := cleaner.(volume.Builder); ok { + t.Errorf("Volume Cleaner can be type-assert to Builder") + } +} diff --git a/pkg/volume/azure_file/azure_util.go b/pkg/volume/azure_file/azure_util.go new file mode 100644 index 00000000000..5d068c2c844 --- /dev/null +++ b/pkg/volume/azure_file/azure_util.go @@ -0,0 +1,55 @@ +/* +Copyright 2016 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package azure_file + +import ( + "fmt" + + "k8s.io/kubernetes/pkg/volume" +) + +// Abstract interface to azure file operations. +type azureUtil interface { + GetAzureCredentials(host volume.VolumeHost, nameSpace, secretName, shareName string) (string, string, error) +} + +type azureSvc struct{} + +func (s *azureSvc) GetAzureCredentials(host volume.VolumeHost, nameSpace, secretName, shareName string) (string, string, error) { + var accountKey, accountName string + kubeClient := host.GetKubeClient() + if kubeClient == nil { + return "", "", fmt.Errorf("Cannot get kube client") + } + + keys, err := kubeClient.Core().Secrets(nameSpace).Get(secretName) + if err != nil { + return "", "", fmt.Errorf("Couldn't get secret %v/%v", nameSpace, secretName) + } + for name, data := range keys.Data { + if name == "azurestorageaccountname" { + accountName = string(data) + } + if name == "azurestorageaccountkey" { + accountKey = string(data) + } + } + if accountName == "" || accountKey == "" { + return "", "", fmt.Errorf("Invalid %v/%v, couldn't extract azurestorageaccountname or azurestorageaccountkey", nameSpace, secretName) + } + return accountName, accountKey, nil +} diff --git a/pkg/volume/azure_file/doc.go b/pkg/volume/azure_file/doc.go new file mode 100644 index 00000000000..119e4579018 --- /dev/null +++ b/pkg/volume/azure_file/doc.go @@ -0,0 +1,19 @@ +/* +Copyright 2016 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package azure_file contains the internal representation of +// Azure File Service Volume +package azure_file