diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 1cdfb84328..9dc0d280c7 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -13884,6 +13884,10 @@ "$ref": "v1.FlockerVolumeSource", "description": "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": { + "$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." + }, "accessModes": { "type": "array", "items": { @@ -14205,6 +14209,35 @@ } } }, + "v1.FlexVolumeSource": { + "id": "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.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string", + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": "string", + "description": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"" + }, + "secretRef": { + "$ref": "v1.LocalObjectReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty." + }, + "readOnly": { + "type": "boolean", + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "options": { + "type": "any", + "description": "Optional: Extra command options if any." + } + } + }, "v1.PersistentVolumeStatus": { "id": "v1.PersistentVolumeStatus", "description": "PersistentVolumeStatus is the current status of a persistent volume.", @@ -14412,6 +14445,10 @@ "$ref": "v1.RBDVolumeSource", "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md" }, + "flexVolume": { + "$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." + }, "cinder": { "$ref": "v1.CinderVolumeSource", "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md" diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index 3f84caf1e4..7e11e9fd06 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -3429,6 +3429,10 @@ "$ref": "v1.RBDVolumeSource", "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md" }, + "flexVolume": { + "$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." + }, "cinder": { "$ref": "v1.CinderVolumeSource", "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md" @@ -3719,6 +3723,35 @@ } } }, + "v1.FlexVolumeSource": { + "id": "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.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string", + "description": "Driver is the name of the driver to use for this volume." + }, + "fsType": { + "type": "string", + "description": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"" + }, + "secretRef": { + "$ref": "v1.LocalObjectReference", + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty." + }, + "readOnly": { + "type": "boolean", + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts." + }, + "options": { + "type": "any", + "description": "Optional: Extra command options if any." + } + } + }, "v1.CinderVolumeSource": { "id": "v1.CinderVolumeSource", "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", diff --git a/cmd/kubelet/app/plugins.go b/cmd/kubelet/app/plugins.go index de41804db2..fd252d830a 100644 --- a/cmd/kubelet/app/plugins.go +++ b/cmd/kubelet/app/plugins.go @@ -32,6 +32,7 @@ import ( "k8s.io/kubernetes/pkg/volume/downwardapi" "k8s.io/kubernetes/pkg/volume/empty_dir" "k8s.io/kubernetes/pkg/volume/fc" + "k8s.io/kubernetes/pkg/volume/flexvolume" "k8s.io/kubernetes/pkg/volume/flocker" "k8s.io/kubernetes/pkg/volume/gce_pd" "k8s.io/kubernetes/pkg/volume/git_repo" @@ -47,7 +48,9 @@ import ( ) // ProbeVolumePlugins collects all volume plugins into an easy to use list. -func ProbeVolumePlugins() []volume.VolumePlugin { +// PluginDir specifies the directory to search for additional third party +// volume plugins. +func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin { allPlugins := []volume.VolumePlugin{} // The list of plugins to probe is decided by the kubelet binary, not @@ -72,6 +75,8 @@ func ProbeVolumePlugins() []volume.VolumePlugin { allPlugins = append(allPlugins, downwardapi.ProbeVolumePlugins()...) allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...) allPlugins = append(allPlugins, flocker.ProbeVolumePlugins()...) + allPlugins = append(allPlugins, flexvolume.ProbeVolumePlugins(pluginDir)...) + return allPlugins } diff --git a/cmd/kubelet/app/server.go b/cmd/kubelet/app/server.go index 3c7f6efb89..899916f431 100644 --- a/cmd/kubelet/app/server.go +++ b/cmd/kubelet/app/server.go @@ -116,6 +116,7 @@ type KubeletServer struct { MaxPods int MinimumGCAge time.Duration NetworkPluginDir string + VolumePluginDir string NetworkPluginName string NodeLabels []string NodeLabelsFile string @@ -207,6 +208,7 @@ func NewKubeletServer() *KubeletServer { MaxPods: 40, MinimumGCAge: 1 * time.Minute, NetworkPluginDir: "/usr/libexec/kubernetes/kubelet-plugins/net/exec/", + VolumePluginDir: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/", NetworkPluginName: "", NodeLabels: []string{}, NodeLabelsFile: "", @@ -321,6 +323,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) { fs.IntVar(&s.LowDiskSpaceThresholdMB, "low-diskspace-threshold-mb", s.LowDiskSpaceThresholdMB, "The absolute free disk space, in MB, to maintain. When disk space falls below this threshold, new pods would be rejected. Default: 256") fs.StringVar(&s.NetworkPluginName, "network-plugin", s.NetworkPluginName, " The name of the network plugin to be invoked for various events in kubelet/pod lifecycle") fs.StringVar(&s.NetworkPluginDir, "network-plugin-dir", s.NetworkPluginDir, " The full path of the directory in which to search for network plugins") + fs.StringVar(&s.VolumePluginDir, "volume-plugin-dir", s.VolumePluginDir, " The full path of the directory in which to search for additional third party volume plugins") fs.StringVar(&s.CloudProvider, "cloud-provider", s.CloudProvider, "The provider for cloud services. Empty string for no provider.") fs.StringVar(&s.CloudConfigFile, "cloud-config", s.CloudConfigFile, "The path to the cloud provider configuration file. Empty string for no configuration file.") fs.StringVar(&s.ResourceContainer, "resource-container", s.ResourceContainer, "Absolute name of the resource-only container to create and run the Kubelet in (Default: /kubelet).") @@ -482,7 +485,7 @@ func (s *KubeletServer) UnsecuredKubeletConfig() (*KubeletConfig, error) { SystemContainer: s.SystemContainer, TLSOptions: tlsOptions, Writer: writer, - VolumePlugins: ProbeVolumePlugins(), + VolumePlugins: ProbeVolumePlugins(s.VolumePluginDir), ExperimentalFlannelOverlay: s.ExperimentalFlannelOverlay, }, nil diff --git a/docs/admin/kubelet.md b/docs/admin/kubelet.md index a21e8cdfa6..b40d1b2d2d 100644 --- a/docs/admin/kubelet.md +++ b/docs/admin/kubelet.md @@ -139,9 +139,10 @@ kubelet --system-container="": Optional resource-only container in which to place all non-kernel processes that are not already in a container. Empty for no container. Rolling back the flag requires a reboot. (Default: ""). --tls-cert-file="": File containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to --cert-dir. --tls-private-key-file="": File containing x509 private key matching --tls-cert-file. + --volume-plugin-dir="/usr/libexec/kubernetes/kubelet-plugins/volume/exec/": The full path of the directory in which to search for additional third party volume plugins ``` -###### Auto generated by spf13/cobra on 8-Dec-2015 +###### Auto generated by spf13/cobra on 11-Dec-2015 diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index fce30b2e7a..fc2b7ed9b5 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -2969,6 +2969,68 @@ Populated by the system when a graceful deletion is requested. Read-only. More i + +
+

v1.FlexVolumeSource

+
+

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.

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

driver

Driver is the name of the driver to use for this volume.

true

string

fsType

Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs"

false

string

secretRef

Optional: SecretRef is reference to the authentication secret for User, default is empty.

false

v1.LocalObjectReference

readOnly

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

false

boolean

false

options

Optional: Extra command options if any.

false

any

+

v1beta1.JobCondition

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

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.

+

false

+

v1.FlexVolumeSource

+ + +

cinder

Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

@@ -4292,7 +4361,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 bb4255bacd..a1fbc1ae1a 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -2525,6 +2525,68 @@ The resulting set of endpoints can be viewed as:
+ +
+

v1.FlexVolumeSource

+
+

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.

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

driver

Driver is the name of the driver to use for this volume.

true

string

fsType

Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs"

false

string

secretRef

Optional: SecretRef is reference to the authentication secret for User, default is empty.

false

v1.LocalObjectReference

readOnly

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

false

boolean

false

options

Optional: Extra command options if any.

false

any

+

v1.EnvVarSource

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

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.

+

false

+

v1.FlexVolumeSource

+ + +

cinder

Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

false

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

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.

+

false

+

v1.FlexVolumeSource

+ + +

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

@@ -5247,61 +5323,6 @@ The resulting set of endpoints can be viewed as:
-
-
-

v1.Binding

-
-

Binding ties one object to another. For example, a pod is bound to a node by a scheduler.

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

kind

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

false

string

apiVersion

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

false

string

metadata

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

false

v1.ObjectMeta

target

The target object that you want to bind to the standard object.

true

v1.ObjectReference

-

v1.ContainerStateTerminated

@@ -5378,6 +5399,61 @@ The resulting set of endpoints can be viewed as:
+
+
+

v1.Binding

+
+

Binding ties one object to another. For example, a pod is bound to a node by a scheduler.

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

kind

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

false

string

apiVersion

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

false

string

metadata

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

false

v1.ObjectMeta

target

The target object that you want to bind to the standard object.

true

v1.ObjectReference

+

v1.CinderVolumeSource

@@ -6925,7 +7001,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 dc78768256..ed5819e63e 100644 --- a/docs/user-guide/volumes.md +++ b/docs/user-guide/volumes.md @@ -66,6 +66,7 @@ Familiarity with [pods](pods.md) is suggested. - [secret](#secret) - [persistentVolumeClaim](#persistentvolumeclaim) - [downwardAPI](#downwardapi) + - [FlexVolume](#flexvolume) - [Resources](#resources) @@ -420,6 +421,14 @@ It mounts a directory and writes the requested data in plain text files. See the [`downwardAPI` volume example](downward-api/volume/README.md) for more details. +### FlexVolume + +A `FlexVolume` enables users to mount vendor volumes into a pod. It expects vendor +drivers are installed in the volume plugin path on each kubelet node. This is +an alpha feature and may change in future. + +More details are in [here](../../examples/flexvolume/README.md) + ## Resources The storage media (Disk, SSD, etc) of an `emptyDir` volume is determined by the diff --git a/examples/flexvolume/README.md b/examples/flexvolume/README.md new file mode 100644 index 0000000000..5f49e2d06f --- /dev/null +++ b/examples/flexvolume/README.md @@ -0,0 +1,73 @@ + + + + +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). + +-- + + + + + +# Flexvolume + +Flexvolume enables users to mount vendor volumes into kubernetes. It expects vendor drivers are installed in the volume plugin path on every kubelet node. + +It allows for vendors to develop their own drivers to mount volumes on nodes. + +*Note: Flexvolume is an alpha feature and is most likely to change in future* + +## Prerequisites + +Install the vendor driver on all nodes in the kubelet plugin path. Path for installing the plugin: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/\/\ + +For example to add a 'cifs' driver, by vendor 'foo' install the driver at: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/\/cifs + +## Plugin details + +Driver will be invoked with 'Init' to initalize the driver. It will be invoked with 'attach' to attach the volume and with 'detach' to detach the volume from the kubelet node. It also supports custom mounts using 'mount' and 'unmount' callouts to the driver. + +### Driver invocation model: + +Init: +\ init + +Attach: +\ attach \ + +Detach: +\ detach \ + +Mount: +\ mount \ \ \ + +Unmount: +\ unmount \ + +See lvm[lvm] for a quick example on how to write a simple flexvolume driver. + +### Example of Flexvolume + +See nginx.yaml[nginx.yaml] for a quick example on how to use Flexvolume in a pod. + + +[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/flexvolume/README.md?pixel)]() + diff --git a/examples/flexvolume/lvm b/examples/flexvolume/lvm new file mode 100755 index 0000000000..22c32ca6bf --- /dev/null +++ b/examples/flexvolume/lvm @@ -0,0 +1,146 @@ +#!/bin/bash + +# Copyright 2015 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. + +usage() { + err "Invalid usage. Usage: " + err "\t$0 init" + err "\t$0 attach " + err "\t$0 detach " + err "\t$0 mount " + err "\t$0 unmount " + exit 1 +} + +err() { + echo -ne $* 1>&2 +} + +log() { + echo -ne $* >&1 +} + +ismounted() { + MOUNT=`findmnt -n ${MNTPATH} 2>/dev/null | cut -d' ' -f1` + if [ "${MOUNT}" == "${MNTPATH}" ]; then + echo "1" + else + echo "0" + fi +} + +attach() { + VOLUMEID=$(echo $1 | jq -r '.volumeID') + SIZE=$(echo $1 | jq -r '.size') + VG=$(echo $1|jq -r '.volumegroup') + + DMDEV="/dev/mapper/${VG}-${VOLUMEID}" + if [ ! -b "${DMDEV}" ]; then + err "{\"status\": \"Failure\", \"message\": \"Volume ${VOLUMEID} does not exist\"}" + exit 1 + fi + log "{\"status\": \"Success\", \"device\":\"${DMDEV}\"}" + exit 0 +} + +detach() { + log "{\"status\": \"Success\"}" + exit 0 +} + +domount() { + MNTPATH=$1 + DMDEV=$2 + FSTYPE=$(echo $3|jq -r '.["kubernetes.io/fsType"]') + + if [ ! -b "${DMDEV}" ]; then + err "{\"status\": \"Failure\", \"message\": \"${DMDEV} does not exist\"}" + exit 1 + fi + + if [ $(ismounted) -eq 1 ] ; then + log "{\"status\": \"Success\"}" + exit 0 + fi + + VOLFSTYPE=`blkid -o udev ${DMDEV} 2>/dev/null|grep "ID_FS_TYPE"|cut -d"=" -f2` + if [ "${VOLFSTYPE}" == "" ]; then + mkfs -t ${FSTYPE} ${DMDEV} + if [ $? -ne 0 ]; then + err "{ \"status\": \"Failure\", \"message\": \"Failed to create fs ${FSTYPE} on device ${DMDEV}\"}" + exit 1 + fi + fi + + mkdir -p ${MNTPATH} &> /dev/null + + mount ${DMDEV} ${MNTPATH} &> /dev/null + if [ $? -ne 0 ]; then + err "{ \"status\": \"Failure\", \"message\": \"Failed to mount device ${DMDEV} at ${MNTPATH}\"}" + exit 1 + fi + log "{\"status\": \"Success\"}" + exit 0 +} + +unmount() { + MNTPATH=$1 + if [ $(ismounted) -eq 0 ] ; then + log "{\"status\": \"Success\"}" + exit 0 + fi + + umount ${MNTPATH} &> /dev/null + if [ $? -ne 0 ]; then + err "{ \"status\": \"Failed\", \"message\": \"Failed to unmount volume at ${MNTPATH}\"}" + exit 1 + fi + rmdir ${MNTPATH} &> /dev/null + + log "{\"status\": \"Success\"}" + exit 0 +} + +op=$1 + +if [ "$op" = "init" ]; then + log "{\"status\": \"Success\"}" + exit 0 +fi + +if [ $# -lt 2 ]; then + usage +fi + +shift + +case "$op" in + attach) + attach $* + ;; + detach) + detach $* + ;; + mount) + domount $* + ;; + unmount) + unmount $* + ;; + *) + usage +esac + +exit 1 diff --git a/examples/flexvolume/nginx.yaml b/examples/flexvolume/nginx.yaml new file mode 100644 index 0000000000..4e74905cdd --- /dev/null +++ b/examples/flexvolume/nginx.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Pod +metadata: + name: nginx +spec: + containers: + - name: nginx + image: nginx + volumeMounts: + - name: test + mountPath: /data + ports: + - containerPort: 80 + volumes: + - name: test + flexVolume: + driver: "kubernetes.io/lvm" + fsType: "ext4" + options: + volumeID: "vol1" + size: "1000m" + volumegroup: "kube_vg" + diff --git a/hack/verify-flags/known-flags.txt b/hack/verify-flags/known-flags.txt index 1838ce9bb8..b0eb2072f9 100644 --- a/hack/verify-flags/known-flags.txt +++ b/hack/verify-flags/known-flags.txt @@ -337,6 +337,7 @@ upgrade-target use-kubernetes-cluster-service user-whitelist verify-only +volume-plugin-dir watch-cache watch-only whitelist-override-label diff --git a/pkg/api/deep_copy_generated.go b/pkg/api/deep_copy_generated.go index dead657d3f..4232d2e82e 100644 --- a/pkg/api/deep_copy_generated.go +++ b/pkg/api/deep_copy_generated.go @@ -573,6 +573,29 @@ func deepCopy_api_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conv return nil } +func deepCopy_api_FlexVolumeSource(in FlexVolumeSource, out *FlexVolumeSource, c *conversion.Cloner) error { + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(LocalObjectReference) + if err := deepCopy_api_LocalObjectReference(*in.SecretRef, out.SecretRef, c); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + func deepCopy_api_FlockerVolumeSource(in FlockerVolumeSource, out *FlockerVolumeSource, c *conversion.Cloner) error { out.DatasetName = in.DatasetName return nil @@ -1298,6 +1321,14 @@ func deepCopy_api_PersistentVolumeSource(in PersistentVolumeSource, out *Persist } else { out.ISCSI = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := deepCopy_api_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(CinderVolumeSource) if err := deepCopy_api_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil { @@ -2284,6 +2315,14 @@ func deepCopy_api_VolumeSource(in VolumeSource, out *VolumeSource, c *conversion } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := deepCopy_api_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(CinderVolumeSource) if err := deepCopy_api_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil { @@ -2403,6 +2442,7 @@ func init() { deepCopy_api_EventSource, deepCopy_api_ExecAction, deepCopy_api_FCVolumeSource, + deepCopy_api_FlexVolumeSource, deepCopy_api_FlockerVolumeSource, deepCopy_api_GCEPersistentDiskVolumeSource, deepCopy_api_GitRepoVolumeSource, diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index 101ceff4d6..4b6ee889cb 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 [17]bool + var yyq82 [18]bool _, _, _ = yysep82, yyq82, yy2arr82 const yyr82 bool = false yyq82[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil @@ -960,14 +960,15 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { yyq82[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil yyq82[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil yyq82[11] = x.VolumeSource.RBD != nil && x.RBD != nil - yyq82[12] = x.VolumeSource.Cinder != nil && x.Cinder != nil - yyq82[13] = x.VolumeSource.CephFS != nil && x.CephFS != nil - yyq82[14] = x.VolumeSource.Flocker != nil && x.Flocker != nil - yyq82[15] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil - yyq82[16] = x.VolumeSource.FC != nil && x.FC != nil + yyq82[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq82[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil + yyq82[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil + 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 var yynn82 int if yyr82 || yy2arr82 { - r.EncodeArrayStart(17) + r.EncodeArrayStart(18) } else { yynn82 = 1 for _, b := range yyq82 { @@ -1405,7 +1406,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } var yyn97 bool - if x.VolumeSource.Cinder == nil { + if x.VolumeSource.FlexVolume == nil { yyn97 = true goto LABEL97 } @@ -1416,10 +1417,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[12] { - if x.Cinder == nil { + if x.FlexVolume == nil { r.EncodeNil() } else { - x.Cinder.CodecEncodeSelf(e) + x.FlexVolume.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1428,21 +1429,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn97 { r.EncodeNil() } else { - if x.Cinder == nil { + if x.FlexVolume == nil { r.EncodeNil() } else { - x.Cinder.CodecEncodeSelf(e) + x.FlexVolume.CodecEncodeSelf(e) } } } } var yyn98 bool - if x.VolumeSource.CephFS == nil { + if x.VolumeSource.Cinder == nil { yyn98 = true goto LABEL98 } @@ -1453,10 +1454,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[13] { - if x.CephFS == nil { + if x.Cinder == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.Cinder.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1465,21 +1466,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn98 { r.EncodeNil() } else { - if x.CephFS == nil { + if x.Cinder == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.Cinder.CodecEncodeSelf(e) } } } } var yyn99 bool - if x.VolumeSource.Flocker == nil { + if x.VolumeSource.CephFS == nil { yyn99 = true goto LABEL99 } @@ -1490,10 +1491,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[14] { - if x.Flocker == nil { + if x.CephFS == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.CephFS.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1502,21 +1503,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flocker")) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn99 { r.EncodeNil() } else { - if x.Flocker == nil { + if x.CephFS == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.CephFS.CodecEncodeSelf(e) } } } } var yyn100 bool - if x.VolumeSource.DownwardAPI == nil { + if x.VolumeSource.Flocker == nil { yyn100 = true goto LABEL100 } @@ -1527,10 +1528,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[15] { - if x.DownwardAPI == nil { + if x.Flocker == nil { r.EncodeNil() } else { - x.DownwardAPI.CodecEncodeSelf(e) + x.Flocker.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1539,21 +1540,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) + r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn100 { r.EncodeNil() } else { - if x.DownwardAPI == nil { + if x.Flocker == nil { r.EncodeNil() } else { - x.DownwardAPI.CodecEncodeSelf(e) + x.Flocker.CodecEncodeSelf(e) } } } } var yyn101 bool - if x.VolumeSource.FC == nil { + if x.VolumeSource.DownwardAPI == nil { yyn101 = true goto LABEL101 } @@ -1564,6 +1565,43 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[16] { + if x.DownwardAPI == nil { + r.EncodeNil() + } else { + x.DownwardAPI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq82[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn101 { + r.EncodeNil() + } else { + if x.DownwardAPI == nil { + r.EncodeNil() + } else { + x.DownwardAPI.CodecEncodeSelf(e) + } + } + } + } + var yyn102 bool + if x.VolumeSource.FC == nil { + yyn102 = true + goto LABEL102 + } + LABEL102: + if yyr82 || yy2arr82 { + if yyn102 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[17] { if x.FC == nil { r.EncodeNil() } else { @@ -1574,11 +1612,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq82[16] { + if yyq82[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn101 { + if yyn102 { r.EncodeNil() } else { if x.FC == nil { @@ -1602,25 +1640,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym102 := z.DecBinary() - _ = yym102 + yym103 := z.DecBinary() + _ = yym103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct103 := r.ContainerType() - if yyct103 == codecSelferValueTypeMap1234 { - yyl103 := r.ReadMapStart() - if yyl103 == 0 { + yyct104 := r.ContainerType() + if yyct104 == codecSelferValueTypeMap1234 { + yyl104 := r.ReadMapStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl103, d) + x.codecDecodeSelfFromMap(yyl104, d) } - } else if yyct103 == codecSelferValueTypeArray1234 { - yyl103 := r.ReadArrayStart() - if yyl103 == 0 { + } else if yyct104 == codecSelferValueTypeArray1234 { + yyl104 := r.ReadArrayStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl103, d) + x.codecDecodeSelfFromArray(yyl104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1632,12 +1670,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys104Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys104Slc - var yyhl104 bool = l >= 0 - for yyj104 := 0; ; yyj104++ { - if yyhl104 { - if yyj104 >= l { + var yys105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys105Slc + var yyhl105 bool = l >= 0 + for yyj105 := 0; ; yyj105++ { + if yyhl105 { + if yyj105 >= l { break } } else { @@ -1646,10 +1684,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys104Slc = r.DecodeBytes(yys104Slc, true, true) - yys104 := string(yys104Slc) + yys105Slc = r.DecodeBytes(yys105Slc, true, true) + yys105 := string(yys105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys104 { + switch yys105 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1810,6 +1848,20 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + case "flexVolume": + if x.VolumeSource.FlexVolume == nil { + x.VolumeSource.FlexVolume = new(FlexVolumeSource) + } + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) @@ -1881,9 +1933,9 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys104) - } // end switch yys104 - } // end for yyj104 + z.DecStructFieldNotFound(-1, yys105) + } // end switch yys105 + } // end for yyj105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1891,16 +1943,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj122 int - var yyb122 bool - var yyhl122 bool = l >= 0 - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + var yyj124 int + var yyb124 bool + var yyhl124 bool = l >= 0 + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1913,13 +1965,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1937,13 +1989,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1961,13 +2013,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1985,13 +2037,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2009,13 +2061,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2033,13 +2085,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2057,13 +2109,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2081,13 +2133,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2105,13 +2157,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2129,13 +2181,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2153,13 +2205,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2174,16 +2226,40 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + if x.VolumeSource.FlexVolume == nil { + x.VolumeSource.FlexVolume = new(FlexVolumeSource) + } + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l + } else { + yyb124 = r.CheckBreak() + } + if yyb124 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2201,13 +2277,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2225,13 +2301,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2249,13 +2325,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2273,13 +2349,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2295,17 +2371,17 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } for { - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj122-1, "") + z.DecStructFieldNotFound(yyj124-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2317,48 +2393,49 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym140 := z.EncBinary() - _ = yym140 + yym143 := z.EncBinary() + _ = yym143 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep141 := !z.EncBinary() - yy2arr141 := z.EncBasicHandle().StructToArray - var yyq141 [16]bool - _, _, _ = yysep141, yyq141, yy2arr141 - const yyr141 bool = false - yyq141[0] = x.HostPath != nil - yyq141[1] = x.EmptyDir != nil - yyq141[2] = x.GCEPersistentDisk != nil - yyq141[3] = x.AWSElasticBlockStore != nil - yyq141[4] = x.GitRepo != nil - yyq141[5] = x.Secret != nil - yyq141[6] = x.NFS != nil - yyq141[7] = x.ISCSI != nil - yyq141[8] = x.Glusterfs != nil - yyq141[9] = x.PersistentVolumeClaim != nil - yyq141[10] = x.RBD != nil - yyq141[11] = x.Cinder != nil - yyq141[12] = x.CephFS != nil - yyq141[13] = x.Flocker != nil - yyq141[14] = x.DownwardAPI != nil - yyq141[15] = x.FC != nil - var yynn141 int - if yyr141 || yy2arr141 { - r.EncodeArrayStart(16) + 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) } else { - yynn141 = 0 - for _, b := range yyq141 { + yynn144 = 0 + for _, b := range yyq144 { if b { - yynn141++ + yynn144++ } } - r.EncodeMapStart(yynn141) - yynn141 = 0 + r.EncodeMapStart(yynn144) + yynn144 = 0 } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[0] { + if yyq144[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2368,7 +2445,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[0] { + if yyq144[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2379,9 +2456,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[1] { + if yyq144[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2391,7 +2468,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[1] { + if yyq144[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2402,9 +2479,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[2] { + if yyq144[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2414,7 +2491,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[2] { + if yyq144[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2425,9 +2502,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[3] { + if yyq144[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2437,7 +2514,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[3] { + if yyq144[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2448,9 +2525,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[4] { + if yyq144[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2460,7 +2537,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[4] { + if yyq144[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2471,9 +2548,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[5] { + if yyq144[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2483,7 +2560,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[5] { + if yyq144[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2494,9 +2571,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[6] { + if yyq144[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2506,7 +2583,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[6] { + if yyq144[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2517,9 +2594,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[7] { + if yyq144[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2529,7 +2606,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[7] { + if yyq144[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2540,9 +2617,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[8] { + if yyq144[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2552,7 +2629,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[8] { + if yyq144[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2563,9 +2640,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[9] { + if yyq144[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -2575,7 +2652,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[9] { + if yyq144[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2586,9 +2663,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[10] { + if yyq144[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -2598,7 +2675,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[10] { + if yyq144[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2609,9 +2686,32 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[11] { + if yyq144[11] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq144[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + if yyr144 || yy2arr144 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq144[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -2621,7 +2721,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[11] { + if yyq144[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2632,9 +2732,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[12] { + if yyq144[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -2644,7 +2744,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[12] { + if yyq144[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2655,9 +2755,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[13] { + if yyq144[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -2667,7 +2767,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[13] { + if yyq144[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2678,9 +2778,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[14] { + if yyq144[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -2690,7 +2790,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[14] { + if yyq144[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2701,9 +2801,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[15] { + if yyq144[16] { if x.FC == nil { r.EncodeNil() } else { @@ -2713,7 +2813,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[15] { + if yyq144[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2724,7 +2824,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2737,25 +2837,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym158 := z.DecBinary() - _ = yym158 + yym162 := z.DecBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct159 := r.ContainerType() - if yyct159 == codecSelferValueTypeMap1234 { - yyl159 := r.ReadMapStart() - if yyl159 == 0 { + yyct163 := r.ContainerType() + if yyct163 == codecSelferValueTypeMap1234 { + yyl163 := r.ReadMapStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl159, d) + x.codecDecodeSelfFromMap(yyl163, d) } - } else if yyct159 == codecSelferValueTypeArray1234 { - yyl159 := r.ReadArrayStart() - if yyl159 == 0 { + } else if yyct163 == codecSelferValueTypeArray1234 { + yyl163 := r.ReadArrayStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl159, d) + x.codecDecodeSelfFromArray(yyl163, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2767,12 +2867,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys160Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys160Slc - var yyhl160 bool = l >= 0 - for yyj160 := 0; ; yyj160++ { - if yyhl160 { - if yyj160 >= l { + var yys164Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys164Slc + var yyhl164 bool = l >= 0 + for yyj164 := 0; ; yyj164++ { + if yyhl164 { + if yyj164 >= l { break } } else { @@ -2781,10 +2881,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys160Slc = r.DecodeBytes(yys160Slc, true, true) - yys160 := string(yys160Slc) + yys164Slc = r.DecodeBytes(yys164Slc, true, true) + yys164 := string(yys164Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys160 { + switch yys164 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -2906,6 +3006,17 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + case "flexVolume": + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if r.TryDecodeAsNil() { if x.Cinder != nil { @@ -2962,9 +3073,9 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys160) - } // end switch yys160 - } // end for yyj160 + z.DecStructFieldNotFound(-1, yys164) + } // end switch yys164 + } // end for yyj164 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2972,16 +3083,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj177 int - var yyb177 bool - var yyhl177 bool = l >= 0 - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + var yyj182 int + var yyb182 bool + var yyhl182 bool = l >= 0 + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2996,13 +3107,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3017,13 +3128,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3038,13 +3149,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3059,13 +3170,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3080,13 +3191,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3101,13 +3212,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3122,13 +3233,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3143,13 +3254,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3164,13 +3275,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3185,13 +3296,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3206,13 +3317,34 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l + } else { + yyb182 = r.CheckBreak() + } + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3227,13 +3359,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3248,13 +3380,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3269,13 +3401,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3290,13 +3422,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3312,17 +3444,17 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } for { - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj177-1, "") + z.DecStructFieldNotFound(yyj182-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3334,43 +3466,44 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym194 := z.EncBinary() - _ = yym194 + yym200 := z.EncBinary() + _ = yym200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep195 := !z.EncBinary() - yy2arr195 := z.EncBasicHandle().StructToArray - var yyq195 [11]bool - _, _, _ = yysep195, yyq195, yy2arr195 - const yyr195 bool = false - yyq195[0] = x.GCEPersistentDisk != nil - yyq195[1] = x.AWSElasticBlockStore != nil - yyq195[2] = x.HostPath != nil - yyq195[3] = x.Glusterfs != nil - yyq195[4] = x.NFS != nil - yyq195[5] = x.RBD != nil - yyq195[6] = x.ISCSI != nil - yyq195[7] = x.Cinder != nil - yyq195[8] = x.CephFS != nil - yyq195[9] = x.FC != nil - yyq195[10] = x.Flocker != nil - var yynn195 int - if yyr195 || yy2arr195 { - r.EncodeArrayStart(11) + 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) } else { - yynn195 = 0 - for _, b := range yyq195 { + yynn201 = 0 + for _, b := range yyq201 { if b { - yynn195++ + yynn201++ } } - r.EncodeMapStart(yynn195) - yynn195 = 0 + r.EncodeMapStart(yynn201) + yynn201 = 0 } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[0] { + if yyq201[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -3380,7 +3513,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[0] { + if yyq201[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3391,9 +3524,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[1] { + if yyq201[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -3403,7 +3536,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[1] { + if yyq201[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3414,9 +3547,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[2] { + if yyq201[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -3426,7 +3559,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[2] { + if yyq201[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3437,9 +3570,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[3] { + if yyq201[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -3449,7 +3582,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[3] { + if yyq201[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3460,9 +3593,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[4] { + if yyq201[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -3472,7 +3605,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[4] { + if yyq201[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3483,9 +3616,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[5] { + if yyq201[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -3495,7 +3628,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[5] { + if yyq201[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3506,9 +3639,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[6] { + if yyq201[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -3518,7 +3651,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[6] { + if yyq201[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3529,9 +3662,32 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[7] { + if yyq201[7] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq201[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + if yyr201 || yy2arr201 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq201[8] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3541,7 +3697,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[7] { + if yyq201[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3552,9 +3708,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[8] { + if yyq201[9] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3564,7 +3720,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[8] { + if yyq201[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3575,9 +3731,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[9] { + if yyq201[10] { if x.FC == nil { r.EncodeNil() } else { @@ -3587,7 +3743,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[9] { + if yyq201[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3598,9 +3754,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[10] { + if yyq201[11] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3610,7 +3766,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq195[10] { + if yyq201[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3621,7 +3777,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3634,25 +3790,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym207 := z.DecBinary() - _ = yym207 + yym214 := z.DecBinary() + _ = yym214 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct208 := r.ContainerType() - if yyct208 == codecSelferValueTypeMap1234 { - yyl208 := r.ReadMapStart() - if yyl208 == 0 { + yyct215 := r.ContainerType() + if yyct215 == codecSelferValueTypeMap1234 { + yyl215 := r.ReadMapStart() + if yyl215 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl208, d) + x.codecDecodeSelfFromMap(yyl215, d) } - } else if yyct208 == codecSelferValueTypeArray1234 { - yyl208 := r.ReadArrayStart() - if yyl208 == 0 { + } else if yyct215 == codecSelferValueTypeArray1234 { + yyl215 := r.ReadArrayStart() + if yyl215 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl208, d) + x.codecDecodeSelfFromArray(yyl215, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3664,12 +3820,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys209Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys209Slc - var yyhl209 bool = l >= 0 - for yyj209 := 0; ; yyj209++ { - if yyhl209 { - if yyj209 >= 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 { @@ -3678,10 +3834,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys209Slc = r.DecodeBytes(yys209Slc, true, true) - yys209 := string(yys209Slc) + yys216Slc = r.DecodeBytes(yys216Slc, true, true) + yys216 := string(yys216Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys209 { + switch yys216 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -3759,6 +3915,17 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } x.ISCSI.CodecDecodeSelf(d) } + case "flexVolume": + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if r.TryDecodeAsNil() { if x.Cinder != nil { @@ -3804,9 +3971,9 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Flocker.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys209) - } // end switch yys209 - } // end for yyj209 + z.DecStructFieldNotFound(-1, yys216) + } // end switch yys216 + } // end for yyj216 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3814,16 +3981,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj221 int - var yyb221 bool - var yyhl221 bool = l >= 0 - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + var yyj229 int + var yyb229 bool + var yyhl229 bool = l >= 0 + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3838,13 +4005,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3859,13 +4026,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3880,13 +4047,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3901,13 +4068,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3922,13 +4089,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3943,13 +4110,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3964,13 +4131,34 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l + } else { + yyb229 = r.CheckBreak() + } + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3985,13 +4173,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4006,13 +4194,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4027,13 +4215,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4049,17 +4237,17 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De x.Flocker.CodecDecodeSelf(d) } for { - yyj221++ - if yyhl221 { - yyb221 = yyj221 > l + yyj229++ + if yyhl229 { + yyb229 = yyj229 > l } else { - yyb221 = r.CheckBreak() + yyb229 = r.CheckBreak() } - if yyb221 { + if yyb229 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj221-1, "") + z.DecStructFieldNotFound(yyj229-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4071,34 +4259,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym233 := z.EncBinary() - _ = yym233 + yym242 := z.EncBinary() + _ = yym242 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep234 := !z.EncBinary() - yy2arr234 := z.EncBasicHandle().StructToArray - var yyq234 [2]bool - _, _, _ = yysep234, yyq234, yy2arr234 - const yyr234 bool = false - yyq234[1] = x.ReadOnly != false - var yynn234 int - if yyr234 || yy2arr234 { + 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 { r.EncodeArrayStart(2) } else { - yynn234 = 1 - for _, b := range yyq234 { + yynn243 = 1 + for _, b := range yyq243 { if b { - yynn234++ + yynn243++ } } - r.EncodeMapStart(yynn234) - yynn234 = 0 + r.EncodeMapStart(yynn243) + yynn243 = 0 } - if yyr234 || yy2arr234 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym236 := z.EncBinary() - _ = yym236 + yym245 := z.EncBinary() + _ = yym245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -4107,18 +4295,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym237 := z.EncBinary() - _ = yym237 + yym246 := z.EncBinary() + _ = yym246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr234 || yy2arr234 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq234[1] { - yym239 := z.EncBinary() - _ = yym239 + if yyq243[1] { + yym248 := z.EncBinary() + _ = yym248 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -4127,19 +4315,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq234[1] { + if yyq243[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym240 := z.EncBinary() - _ = yym240 + yym249 := z.EncBinary() + _ = yym249 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr234 || yy2arr234 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4152,25 +4340,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym241 := z.DecBinary() - _ = yym241 + yym250 := z.DecBinary() + _ = yym250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct242 := r.ContainerType() - if yyct242 == codecSelferValueTypeMap1234 { - yyl242 := r.ReadMapStart() - if yyl242 == 0 { + yyct251 := r.ContainerType() + if yyct251 == codecSelferValueTypeMap1234 { + yyl251 := r.ReadMapStart() + if yyl251 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl242, d) + x.codecDecodeSelfFromMap(yyl251, d) } - } else if yyct242 == codecSelferValueTypeArray1234 { - yyl242 := r.ReadArrayStart() - if yyl242 == 0 { + } else if yyct251 == codecSelferValueTypeArray1234 { + yyl251 := r.ReadArrayStart() + if yyl251 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl242, d) + x.codecDecodeSelfFromArray(yyl251, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4182,12 +4370,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys243Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys243Slc - var yyhl243 bool = l >= 0 - for yyj243 := 0; ; yyj243++ { - if yyhl243 { - if yyj243 >= l { + var yys252Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys252Slc + var yyhl252 bool = l >= 0 + for yyj252 := 0; ; yyj252++ { + if yyhl252 { + if yyj252 >= l { break } } else { @@ -4196,10 +4384,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys243Slc = r.DecodeBytes(yys243Slc, true, true) - yys243 := string(yys243Slc) + yys252Slc = r.DecodeBytes(yys252Slc, true, true) + yys252 := string(yys252Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys243 { + switch yys252 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -4213,9 +4401,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys243) - } // end switch yys243 - } // end for yyj243 + z.DecStructFieldNotFound(-1, yys252) + } // end switch yys252 + } // end for yyj252 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4223,16 +4411,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj246 int - var yyb246 bool - var yyhl246 bool = l >= 0 - yyj246++ - if yyhl246 { - yyb246 = yyj246 > l + var yyj255 int + var yyb255 bool + var yyhl255 bool = l >= 0 + yyj255++ + if yyhl255 { + yyb255 = yyj255 > l } else { - yyb246 = r.CheckBreak() + yyb255 = r.CheckBreak() } - if yyb246 { + if yyb255 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4242,13 +4430,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj246++ - if yyhl246 { - yyb246 = yyj246 > l + yyj255++ + if yyhl255 { + yyb255 = yyj255 > l } else { - yyb246 = r.CheckBreak() + yyb255 = r.CheckBreak() } - if yyb246 { + if yyb255 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4259,17 +4447,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj246++ - if yyhl246 { - yyb246 = yyj246 > l + yyj255++ + if yyhl255 { + yyb255 = yyj255 > l } else { - yyb246 = r.CheckBreak() + yyb255 = r.CheckBreak() } - if yyb246 { + if yyb255 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj246-1, "") + z.DecStructFieldNotFound(yyj255-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4281,39 +4469,39 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym249 := z.EncBinary() - _ = yym249 + yym258 := z.EncBinary() + _ = yym258 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep250 := !z.EncBinary() - yy2arr250 := z.EncBasicHandle().StructToArray - var yyq250 [5]bool - _, _, _ = yysep250, yyq250, yy2arr250 - const yyr250 bool = false - yyq250[0] = x.Kind != "" - yyq250[1] = x.APIVersion != "" - yyq250[2] = true - yyq250[3] = true - yyq250[4] = true - var yynn250 int - if yyr250 || yy2arr250 { + yysep259 := !z.EncBinary() + yy2arr259 := z.EncBasicHandle().StructToArray + var yyq259 [5]bool + _, _, _ = yysep259, yyq259, yy2arr259 + const yyr259 bool = false + yyq259[0] = x.Kind != "" + yyq259[1] = x.APIVersion != "" + yyq259[2] = true + yyq259[3] = true + yyq259[4] = true + var yynn259 int + if yyr259 || yy2arr259 { r.EncodeArrayStart(5) } else { - yynn250 = 0 - for _, b := range yyq250 { + yynn259 = 0 + for _, b := range yyq259 { if b { - yynn250++ + yynn259++ } } - r.EncodeMapStart(yynn250) - yynn250 = 0 + r.EncodeMapStart(yynn259) + yynn259 = 0 } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[0] { - yym252 := z.EncBinary() - _ = yym252 + if yyq259[0] { + yym261 := z.EncBinary() + _ = yym261 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4322,23 +4510,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq250[0] { + if yyq259[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 + yym262 := z.EncBinary() + _ = yym262 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[1] { - yym255 := z.EncBinary() - _ = yym255 + if yyq259[1] { + yym264 := z.EncBinary() + _ = yym264 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4347,70 +4535,70 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq250[1] { + if yyq259[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym256 := z.EncBinary() - _ = yym256 + yym265 := z.EncBinary() + _ = yym265 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[2] { - yy258 := &x.ObjectMeta - yy258.CodecEncodeSelf(e) + if yyq259[2] { + yy267 := &x.ObjectMeta + yy267.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[2] { + if yyq259[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy259 := &x.ObjectMeta - yy259.CodecEncodeSelf(e) + yy268 := &x.ObjectMeta + yy268.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[3] { - yy261 := &x.Spec - yy261.CodecEncodeSelf(e) + if yyq259[3] { + yy270 := &x.Spec + yy270.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[3] { + if yyq259[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.Spec - yy262.CodecEncodeSelf(e) + yy271 := &x.Spec + yy271.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[4] { - yy264 := &x.Status - yy264.CodecEncodeSelf(e) + if yyq259[4] { + yy273 := &x.Status + yy273.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[4] { + if yyq259[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy265 := &x.Status - yy265.CodecEncodeSelf(e) + yy274 := &x.Status + yy274.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4423,25 +4611,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym266 := z.DecBinary() - _ = yym266 + yym275 := z.DecBinary() + _ = yym275 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct267 := r.ContainerType() - if yyct267 == codecSelferValueTypeMap1234 { - yyl267 := r.ReadMapStart() - if yyl267 == 0 { + yyct276 := r.ContainerType() + if yyct276 == codecSelferValueTypeMap1234 { + yyl276 := r.ReadMapStart() + if yyl276 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl267, d) + x.codecDecodeSelfFromMap(yyl276, d) } - } else if yyct267 == codecSelferValueTypeArray1234 { - yyl267 := r.ReadArrayStart() - if yyl267 == 0 { + } else if yyct276 == codecSelferValueTypeArray1234 { + yyl276 := r.ReadArrayStart() + if yyl276 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl267, d) + x.codecDecodeSelfFromArray(yyl276, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4453,12 +4641,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys268Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys268Slc - var yyhl268 bool = l >= 0 - for yyj268 := 0; ; yyj268++ { - if yyhl268 { - if yyj268 >= l { + var yys277Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys277Slc + var yyhl277 bool = l >= 0 + for yyj277 := 0; ; yyj277++ { + if yyhl277 { + if yyj277 >= l { break } } else { @@ -4467,10 +4655,10 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys268Slc = r.DecodeBytes(yys268Slc, true, true) - yys268 := string(yys268Slc) + yys277Slc = r.DecodeBytes(yys277Slc, true, true) + yys277 := string(yys277Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys268 { + switch yys277 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4487,27 +4675,27 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv271 := &x.ObjectMeta - yyv271.CodecDecodeSelf(d) + yyv280 := &x.ObjectMeta + yyv280.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv272 := &x.Spec - yyv272.CodecDecodeSelf(d) + yyv281 := &x.Spec + yyv281.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv273 := &x.Status - yyv273.CodecDecodeSelf(d) + yyv282 := &x.Status + yyv282.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys268) - } // end switch yys268 - } // end for yyj268 + z.DecStructFieldNotFound(-1, yys277) + } // end switch yys277 + } // end for yyj277 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4515,16 +4703,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj274 int - var yyb274 bool - var yyhl274 bool = l >= 0 - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + var yyj283 int + var yyb283 bool + var yyhl283 bool = l >= 0 + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4534,13 +4722,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4550,13 +4738,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4564,16 +4752,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv277 := &x.ObjectMeta - yyv277.CodecDecodeSelf(d) + yyv286 := &x.ObjectMeta + yyv286.CodecDecodeSelf(d) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4581,16 +4769,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv278 := &x.Spec - yyv278.CodecDecodeSelf(d) + yyv287 := &x.Spec + yyv287.CodecDecodeSelf(d) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4598,21 +4786,21 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv279 := &x.Status - yyv279.CodecDecodeSelf(d) + yyv288 := &x.Status + yyv288.CodecDecodeSelf(d) } for { - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj274-1, "") + z.DecStructFieldNotFound(yyj283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4624,44 +4812,45 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym280 := z.EncBinary() - _ = yym280 + yym289 := z.EncBinary() + _ = yym289 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep281 := !z.EncBinary() - yy2arr281 := z.EncBasicHandle().StructToArray - var yyq281 [15]bool - _, _, _ = yysep281, yyq281, yy2arr281 - const yyr281 bool = false - yyq281[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq281[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq281[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq281[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq281[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq281[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq281[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq281[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq281[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq281[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq281[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq281[12] = len(x.AccessModes) != 0 - yyq281[13] = x.ClaimRef != nil - yyq281[14] = x.PersistentVolumeReclaimPolicy != "" - var yynn281 int - if yyr281 || yy2arr281 { - r.EncodeArrayStart(15) + yysep290 := !z.EncBinary() + yy2arr290 := z.EncBasicHandle().StructToArray + var yyq290 [16]bool + _, _, _ = yysep290, yyq290, yy2arr290 + const yyr290 bool = false + yyq290[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq290[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq290[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq290[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq290[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq290[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq290[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq290[8] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq290[9] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq290[10] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq290[11] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq290[12] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq290[13] = len(x.AccessModes) != 0 + yyq290[14] = x.ClaimRef != nil + yyq290[15] = x.PersistentVolumeReclaimPolicy != "" + var yynn290 int + if yyr290 || yy2arr290 { + r.EncodeArrayStart(16) } else { - yynn281 = 1 - for _, b := range yyq281 { + yynn290 = 1 + for _, b := range yyq290 { if b { - yynn281++ + yynn290++ } } - r.EncodeMapStart(yynn281) - yynn281 = 0 + r.EncodeMapStart(yynn290) + yynn290 = 0 } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Capacity == nil { r.EncodeNil() @@ -4678,388 +4867,425 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.Capacity.CodecEncodeSelf(e) } } - var yyn283 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn283 = true - goto LABEL283 - } - LABEL283: - if yyr281 || yy2arr281 { - if yyn283 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[1] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn283 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn284 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn284 = true - goto LABEL284 - } - LABEL284: - if yyr281 || yy2arr281 { - if yyn284 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[2] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn284 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn285 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn285 = true - goto LABEL285 - } - LABEL285: - if yyr281 || yy2arr281 { - if yyn285 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[3] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn285 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn286 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn286 = true - goto LABEL286 - } - LABEL286: - if yyr281 || yy2arr281 { - if yyn286 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[4] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn286 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn287 bool - if x.PersistentVolumeSource.NFS == nil { - yyn287 = true - goto LABEL287 - } - LABEL287: - if yyr281 || yy2arr281 { - if yyn287 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[5] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn287 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn288 bool - if x.PersistentVolumeSource.RBD == nil { - yyn288 = true - goto LABEL288 - } - LABEL288: - if yyr281 || yy2arr281 { - if yyn288 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[6] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn288 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn289 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn289 = true - goto LABEL289 - } - LABEL289: - if yyr281 || yy2arr281 { - if yyn289 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[7] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn289 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn290 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn290 = true - goto LABEL290 - } - LABEL290: - if yyr281 || yy2arr281 { - if yyn290 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[8] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn290 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } - var yyn291 bool - if x.PersistentVolumeSource.CephFS == nil { - yyn291 = true - goto LABEL291 - } - LABEL291: - if yyr281 || yy2arr281 { - if yyn291 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[9] { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn291 { - r.EncodeNil() - } else { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } - } - } var yyn292 bool - if x.PersistentVolumeSource.FC == nil { + if x.PersistentVolumeSource.GCEPersistentDisk == nil { yyn292 = true goto LABEL292 } LABEL292: - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { if yyn292 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[10] { - if x.FC == nil { + if yyq290[1] { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq281[10] { + if yyq290[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn292 { r.EncodeNil() } else { - if x.FC == nil { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } } } var yyn293 bool - if x.PersistentVolumeSource.Flocker == nil { + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { yyn293 = true goto LABEL293 } LABEL293: - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { if yyn293 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[11] { + if yyq290[2] { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn293 { + r.EncodeNil() + } else { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } + } + } + var yyn294 bool + if x.PersistentVolumeSource.HostPath == nil { + yyn294 = true + goto LABEL294 + } + LABEL294: + if yyr290 || yy2arr290 { + if yyn294 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[3] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn294 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn295 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn295 = true + goto LABEL295 + } + LABEL295: + if yyr290 || yy2arr290 { + if yyn295 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[4] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn295 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn296 bool + if x.PersistentVolumeSource.NFS == nil { + yyn296 = true + goto LABEL296 + } + LABEL296: + if yyr290 || yy2arr290 { + if yyn296 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[5] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn296 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn297 bool + if x.PersistentVolumeSource.RBD == nil { + yyn297 = true + goto LABEL297 + } + LABEL297: + if yyr290 || yy2arr290 { + if yyn297 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[6] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn297 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn298 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn298 = true + goto LABEL298 + } + LABEL298: + if yyr290 || yy2arr290 { + if yyn298 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[7] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn298 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn299 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn299 = true + goto LABEL299 + } + LABEL299: + if yyr290 || yy2arr290 { + if yyn299 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[8] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn299 { + r.EncodeNil() + } else { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + } + var yyn300 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn300 = true + goto LABEL300 + } + LABEL300: + if yyr290 || yy2arr290 { + if yyn300 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[9] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn300 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn301 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn301 = true + goto LABEL301 + } + LABEL301: + if yyr290 || yy2arr290 { + if yyn301 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[10] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn301 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn302 bool + if x.PersistentVolumeSource.FC == nil { + yyn302 = true + goto LABEL302 + } + LABEL302: + if yyr290 || yy2arr290 { + if yyn302 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[11] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn302 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn303 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn303 = true + goto LABEL303 + } + LABEL303: + if yyr290 || yy2arr290 { + if yyn303 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[12] { if x.Flocker == nil { r.EncodeNil() } else { @@ -5070,11 +5296,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq281[11] { + if yyq290[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn293 { + if yyn303 { r.EncodeNil() } else { if x.Flocker == nil { @@ -5085,14 +5311,14 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[12] { + if yyq290[13] { if x.AccessModes == nil { r.EncodeNil() } else { - yym295 := z.EncBinary() - _ = yym295 + yym305 := z.EncBinary() + _ = yym305 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5102,15 +5328,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq281[12] { + if yyq290[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym296 := z.EncBinary() - _ = yym296 + yym306 := z.EncBinary() + _ = yym306 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5118,9 +5344,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[13] { + if yyq290[14] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -5130,7 +5356,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq281[13] { + if yyq290[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5141,22 +5367,22 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[14] { + if yyq290[15] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq281[14] { + if yyq290[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5169,25 +5395,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym299 := z.DecBinary() - _ = yym299 + yym309 := z.DecBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct300 := r.ContainerType() - if yyct300 == codecSelferValueTypeMap1234 { - yyl300 := r.ReadMapStart() - if yyl300 == 0 { + yyct310 := r.ContainerType() + if yyct310 == codecSelferValueTypeMap1234 { + yyl310 := r.ReadMapStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl300, d) + x.codecDecodeSelfFromMap(yyl310, d) } - } else if yyct300 == codecSelferValueTypeArray1234 { - yyl300 := r.ReadArrayStart() - if yyl300 == 0 { + } else if yyct310 == codecSelferValueTypeArray1234 { + yyl310 := r.ReadArrayStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl300, d) + x.codecDecodeSelfFromArray(yyl310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5199,12 +5425,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys301Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys301Slc - var yyhl301 bool = l >= 0 - for yyj301 := 0; ; yyj301++ { - if yyhl301 { - if yyj301 >= l { + var yys311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys311Slc + var yyhl311 bool = l >= 0 + for yyj311 := 0; ; yyj311++ { + if yyhl311 { + if yyj311 >= l { break } } else { @@ -5213,16 +5439,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys301Slc = r.DecodeBytes(yys301Slc, true, true) - yys301 := string(yys301Slc) + yys311Slc = r.DecodeBytes(yys311Slc, true, true) + yys311 := string(yys311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys301 { + switch yys311 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv302 := &x.Capacity - yyv302.CodecDecodeSelf(d) + yyv312 := &x.Capacity + yyv312.CodecDecodeSelf(d) } case "gcePersistentDisk": if x.PersistentVolumeSource.GCEPersistentDisk == nil { @@ -5322,6 +5548,20 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.ISCSI.CodecDecodeSelf(d) } + case "flexVolume": + if x.PersistentVolumeSource.FlexVolume == nil { + x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) + } + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) @@ -5382,12 +5622,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv314 := &x.AccessModes - yym315 := z.DecBinary() - _ = yym315 + yyv325 := &x.AccessModes + yym326 := z.DecBinary() + _ = yym326 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv314), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv325), d) } } case "claimRef": @@ -5408,9 +5648,9 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys301) - } // end switch yys301 - } // end for yyj301 + z.DecStructFieldNotFound(-1, yys311) + } // end switch yys311 + } // end for yyj311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5418,16 +5658,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj318 int - var yyb318 bool - var yyhl318 bool = l >= 0 - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + var yyj329 int + var yyb329 bool + var yyhl329 bool = l >= 0 + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5435,19 +5675,19 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv319 := &x.Capacity - yyv319.CodecDecodeSelf(d) + yyv330 := &x.Capacity + yyv330.CodecDecodeSelf(d) } if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5465,13 +5705,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5489,13 +5729,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5513,13 +5753,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5537,13 +5777,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5561,13 +5801,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5585,13 +5825,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5606,16 +5846,40 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ISCSI.CodecDecodeSelf(d) } + if x.PersistentVolumeSource.FlexVolume == nil { + x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) + } + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l + } else { + yyb329 = r.CheckBreak() + } + if yyb329 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5633,13 +5897,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5657,13 +5921,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5681,13 +5945,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5702,13 +5966,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.Flocker.CodecDecodeSelf(d) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5716,21 +5980,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv331 := &x.AccessModes - yym332 := z.DecBinary() - _ = yym332 + yyv343 := &x.AccessModes + yym344 := z.DecBinary() + _ = yym344 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv331), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv343), d) } } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5745,13 +6009,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ClaimRef.CodecDecodeSelf(d) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5762,17 +6026,17 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) } for { - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj318-1, "") + z.DecStructFieldNotFound(yyj329-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5781,8 +6045,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym335 := z.EncBinary() - _ = yym335 + yym347 := z.EncBinary() + _ = yym347 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -5794,8 +6058,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym336 := z.DecBinary() - _ = yym336 + yym348 := z.DecBinary() + _ = yym348 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -5810,52 +6074,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym337 := z.EncBinary() - _ = yym337 + yym349 := z.EncBinary() + _ = yym349 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep338 := !z.EncBinary() - yy2arr338 := z.EncBasicHandle().StructToArray - var yyq338 [3]bool - _, _, _ = yysep338, yyq338, yy2arr338 - const yyr338 bool = false - yyq338[0] = x.Phase != "" - yyq338[1] = x.Message != "" - yyq338[2] = x.Reason != "" - var yynn338 int - if yyr338 || yy2arr338 { + 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 { r.EncodeArrayStart(3) } else { - yynn338 = 0 - for _, b := range yyq338 { + yynn350 = 0 + for _, b := range yyq350 { if b { - yynn338++ + yynn350++ } } - r.EncodeMapStart(yynn338) - yynn338 = 0 + r.EncodeMapStart(yynn350) + yynn350 = 0 } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[0] { + if yyq350[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[0] { + if yyq350[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[1] { - yym341 := z.EncBinary() - _ = yym341 + if yyq350[1] { + yym353 := z.EncBinary() + _ = yym353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -5864,23 +6128,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[1] { + if yyq350[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym342 := z.EncBinary() - _ = yym342 + yym354 := z.EncBinary() + _ = yym354 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[2] { - yym344 := z.EncBinary() - _ = yym344 + if yyq350[2] { + yym356 := z.EncBinary() + _ = yym356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -5889,19 +6153,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[2] { + if yyq350[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym345 := z.EncBinary() - _ = yym345 + yym357 := z.EncBinary() + _ = yym357 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5914,25 +6178,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym346 := z.DecBinary() - _ = yym346 + yym358 := z.DecBinary() + _ = yym358 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct347 := r.ContainerType() - if yyct347 == codecSelferValueTypeMap1234 { - yyl347 := r.ReadMapStart() - if yyl347 == 0 { + yyct359 := r.ContainerType() + if yyct359 == codecSelferValueTypeMap1234 { + yyl359 := r.ReadMapStart() + if yyl359 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl347, d) + x.codecDecodeSelfFromMap(yyl359, d) } - } else if yyct347 == codecSelferValueTypeArray1234 { - yyl347 := r.ReadArrayStart() - if yyl347 == 0 { + } else if yyct359 == codecSelferValueTypeArray1234 { + yyl359 := r.ReadArrayStart() + if yyl359 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl347, d) + x.codecDecodeSelfFromArray(yyl359, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5944,12 +6208,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys348Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys348Slc - var yyhl348 bool = l >= 0 - for yyj348 := 0; ; yyj348++ { - if yyhl348 { - if yyj348 >= l { + var yys360Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys360Slc + var yyhl360 bool = l >= 0 + for yyj360 := 0; ; yyj360++ { + if yyhl360 { + if yyj360 >= l { break } } else { @@ -5958,10 +6222,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys348Slc = r.DecodeBytes(yys348Slc, true, true) - yys348 := string(yys348Slc) + yys360Slc = r.DecodeBytes(yys360Slc, true, true) + yys360 := string(yys360Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys348 { + switch yys360 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -5981,9 +6245,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys348) - } // end switch yys348 - } // end for yyj348 + z.DecStructFieldNotFound(-1, yys360) + } // end switch yys360 + } // end for yyj360 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5991,16 +6255,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj352 int - var yyb352 bool - var yyhl352 bool = l >= 0 - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + var yyj364 int + var yyb364 bool + var yyhl364 bool = l >= 0 + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6010,13 +6274,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6026,13 +6290,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6043,17 +6307,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj352-1, "") + z.DecStructFieldNotFound(yyj364-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6065,37 +6329,37 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym356 := z.EncBinary() - _ = yym356 + yym368 := z.EncBinary() + _ = yym368 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep357 := !z.EncBinary() - yy2arr357 := z.EncBasicHandle().StructToArray - var yyq357 [4]bool - _, _, _ = yysep357, yyq357, yy2arr357 - const yyr357 bool = false - yyq357[0] = x.Kind != "" - yyq357[1] = x.APIVersion != "" - yyq357[2] = true - var yynn357 int - if yyr357 || yy2arr357 { + yysep369 := !z.EncBinary() + yy2arr369 := z.EncBasicHandle().StructToArray + var yyq369 [4]bool + _, _, _ = yysep369, yyq369, yy2arr369 + const yyr369 bool = false + yyq369[0] = x.Kind != "" + yyq369[1] = x.APIVersion != "" + yyq369[2] = true + var yynn369 int + if yyr369 || yy2arr369 { r.EncodeArrayStart(4) } else { - yynn357 = 1 - for _, b := range yyq357 { + yynn369 = 1 + for _, b := range yyq369 { if b { - yynn357++ + yynn369++ } } - r.EncodeMapStart(yynn357) - yynn357 = 0 + r.EncodeMapStart(yynn369) + yynn369 = 0 } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[0] { - yym359 := z.EncBinary() - _ = yym359 + if yyq369[0] { + yym371 := z.EncBinary() + _ = yym371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6104,23 +6368,23 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq357[0] { + if yyq369[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym360 := z.EncBinary() - _ = yym360 + yym372 := z.EncBinary() + _ = yym372 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[1] { - yym362 := z.EncBinary() - _ = yym362 + if yyq369[1] { + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6129,54 +6393,54 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq357[1] { + if yyq369[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym363 := z.EncBinary() - _ = yym363 + yym375 := z.EncBinary() + _ = yym375 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[2] { - yy365 := &x.ListMeta - yym366 := z.EncBinary() - _ = yym366 + if yyq369[2] { + yy377 := &x.ListMeta + yym378 := z.EncBinary() + _ = yym378 if false { - } else if z.HasExtensions() && z.EncExt(yy365) { + } else if z.HasExtensions() && z.EncExt(yy377) { } else { - z.EncFallback(yy365) + z.EncFallback(yy377) } } else { r.EncodeNil() } } else { - if yyq357[2] { + if yyq369[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy367 := &x.ListMeta - yym368 := z.EncBinary() - _ = yym368 + yy379 := &x.ListMeta + yym380 := z.EncBinary() + _ = yym380 if false { - } else if z.HasExtensions() && z.EncExt(yy367) { + } else if z.HasExtensions() && z.EncExt(yy379) { } else { - z.EncFallback(yy367) + z.EncFallback(yy379) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym370 := z.EncBinary() - _ = yym370 + yym382 := z.EncBinary() + _ = yym382 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -6189,15 +6453,15 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym371 := z.EncBinary() - _ = yym371 + yym383 := z.EncBinary() + _ = yym383 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6210,25 +6474,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym372 := z.DecBinary() - _ = yym372 + yym384 := z.DecBinary() + _ = yym384 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct373 := r.ContainerType() - if yyct373 == codecSelferValueTypeMap1234 { - yyl373 := r.ReadMapStart() - if yyl373 == 0 { + yyct385 := r.ContainerType() + if yyct385 == codecSelferValueTypeMap1234 { + yyl385 := r.ReadMapStart() + if yyl385 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl373, d) + x.codecDecodeSelfFromMap(yyl385, d) } - } else if yyct373 == codecSelferValueTypeArray1234 { - yyl373 := r.ReadArrayStart() - if yyl373 == 0 { + } else if yyct385 == codecSelferValueTypeArray1234 { + yyl385 := r.ReadArrayStart() + if yyl385 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl373, d) + x.codecDecodeSelfFromArray(yyl385, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6240,12 +6504,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys374Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys374Slc - var yyhl374 bool = l >= 0 - for yyj374 := 0; ; yyj374++ { - if yyhl374 { - if yyj374 >= l { + var yys386Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys386Slc + var yyhl386 bool = l >= 0 + for yyj386 := 0; ; yyj386++ { + if yyhl386 { + if yyj386 >= l { break } } else { @@ -6254,10 +6518,10 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys374Slc = r.DecodeBytes(yys374Slc, true, true) - yys374 := string(yys374Slc) + yys386Slc = r.DecodeBytes(yys386Slc, true, true) + yys386 := string(yys386Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys374 { + switch yys386 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6274,31 +6538,31 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv377 := &x.ListMeta - yym378 := z.DecBinary() - _ = yym378 + yyv389 := &x.ListMeta + yym390 := z.DecBinary() + _ = yym390 if false { - } else if z.HasExtensions() && z.DecExt(yyv377) { + } else if z.HasExtensions() && z.DecExt(yyv389) { } else { - z.DecFallback(yyv377, false) + z.DecFallback(yyv389, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv379 := &x.Items - yym380 := z.DecBinary() - _ = yym380 + yyv391 := &x.Items + yym392 := z.DecBinary() + _ = yym392 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv379), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv391), d) } } default: - z.DecStructFieldNotFound(-1, yys374) - } // end switch yys374 - } // end for yyj374 + z.DecStructFieldNotFound(-1, yys386) + } // end switch yys386 + } // end for yyj386 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6306,16 +6570,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj381 int - var yyb381 bool - var yyhl381 bool = l >= 0 - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + var yyj393 int + var yyb393 bool + var yyhl393 bool = l >= 0 + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6325,13 +6589,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6341,13 +6605,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6355,22 +6619,22 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv384 := &x.ListMeta - yym385 := z.DecBinary() - _ = yym385 + yyv396 := &x.ListMeta + yym397 := z.DecBinary() + _ = yym397 if false { - } else if z.HasExtensions() && z.DecExt(yyv384) { + } else if z.HasExtensions() && z.DecExt(yyv396) { } else { - z.DecFallback(yyv384, false) + z.DecFallback(yyv396, false) } } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6378,26 +6642,26 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Items = nil } else { - yyv386 := &x.Items - yym387 := z.DecBinary() - _ = yym387 + yyv398 := &x.Items + yym399 := z.DecBinary() + _ = yym399 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv386), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv398), d) } } for { - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj381-1, "") + z.DecStructFieldNotFound(yyj393-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6409,39 +6673,39 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym388 := z.EncBinary() - _ = yym388 + yym400 := z.EncBinary() + _ = yym400 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep389 := !z.EncBinary() - yy2arr389 := z.EncBasicHandle().StructToArray - var yyq389 [5]bool - _, _, _ = yysep389, yyq389, yy2arr389 - const yyr389 bool = false - yyq389[0] = x.Kind != "" - yyq389[1] = x.APIVersion != "" - yyq389[2] = true - yyq389[3] = true - yyq389[4] = true - var yynn389 int - if yyr389 || yy2arr389 { + yysep401 := !z.EncBinary() + yy2arr401 := z.EncBasicHandle().StructToArray + var yyq401 [5]bool + _, _, _ = yysep401, yyq401, yy2arr401 + const yyr401 bool = false + yyq401[0] = x.Kind != "" + yyq401[1] = x.APIVersion != "" + yyq401[2] = true + yyq401[3] = true + yyq401[4] = true + var yynn401 int + if yyr401 || yy2arr401 { r.EncodeArrayStart(5) } else { - yynn389 = 0 - for _, b := range yyq389 { + yynn401 = 0 + for _, b := range yyq401 { if b { - yynn389++ + yynn401++ } } - r.EncodeMapStart(yynn389) - yynn389 = 0 + r.EncodeMapStart(yynn401) + yynn401 = 0 } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[0] { - yym391 := z.EncBinary() - _ = yym391 + if yyq401[0] { + yym403 := z.EncBinary() + _ = yym403 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6450,23 +6714,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq389[0] { + if yyq401[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym392 := z.EncBinary() - _ = yym392 + yym404 := z.EncBinary() + _ = yym404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[1] { - yym394 := z.EncBinary() - _ = yym394 + if yyq401[1] { + yym406 := z.EncBinary() + _ = yym406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6475,70 +6739,70 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq389[1] { + if yyq401[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym395 := z.EncBinary() - _ = yym395 + yym407 := z.EncBinary() + _ = yym407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[2] { - yy397 := &x.ObjectMeta - yy397.CodecEncodeSelf(e) + if yyq401[2] { + yy409 := &x.ObjectMeta + yy409.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[2] { + if yyq401[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy398 := &x.ObjectMeta - yy398.CodecEncodeSelf(e) + yy410 := &x.ObjectMeta + yy410.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[3] { - yy400 := &x.Spec - yy400.CodecEncodeSelf(e) + if yyq401[3] { + yy412 := &x.Spec + yy412.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[3] { + if yyq401[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy401 := &x.Spec - yy401.CodecEncodeSelf(e) + yy413 := &x.Spec + yy413.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[4] { - yy403 := &x.Status - yy403.CodecEncodeSelf(e) + if yyq401[4] { + yy415 := &x.Status + yy415.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[4] { + if yyq401[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy404 := &x.Status - yy404.CodecEncodeSelf(e) + yy416 := &x.Status + yy416.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6551,25 +6815,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym405 := z.DecBinary() - _ = yym405 + yym417 := z.DecBinary() + _ = yym417 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct406 := r.ContainerType() - if yyct406 == codecSelferValueTypeMap1234 { - yyl406 := r.ReadMapStart() - if yyl406 == 0 { + yyct418 := r.ContainerType() + if yyct418 == codecSelferValueTypeMap1234 { + yyl418 := r.ReadMapStart() + if yyl418 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl406, d) + x.codecDecodeSelfFromMap(yyl418, d) } - } else if yyct406 == codecSelferValueTypeArray1234 { - yyl406 := r.ReadArrayStart() - if yyl406 == 0 { + } else if yyct418 == codecSelferValueTypeArray1234 { + yyl418 := r.ReadArrayStart() + if yyl418 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl406, d) + x.codecDecodeSelfFromArray(yyl418, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6581,12 +6845,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys407Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys407Slc - var yyhl407 bool = l >= 0 - for yyj407 := 0; ; yyj407++ { - if yyhl407 { - if yyj407 >= l { + var yys419Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys419Slc + var yyhl419 bool = l >= 0 + for yyj419 := 0; ; yyj419++ { + if yyhl419 { + if yyj419 >= l { break } } else { @@ -6595,10 +6859,10 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys407Slc = r.DecodeBytes(yys407Slc, true, true) - yys407 := string(yys407Slc) + yys419Slc = r.DecodeBytes(yys419Slc, true, true) + yys419 := string(yys419Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys407 { + switch yys419 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6615,27 +6879,27 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv410 := &x.ObjectMeta - yyv410.CodecDecodeSelf(d) + yyv422 := &x.ObjectMeta + yyv422.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv411 := &x.Spec - yyv411.CodecDecodeSelf(d) + yyv423 := &x.Spec + yyv423.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv412 := &x.Status - yyv412.CodecDecodeSelf(d) + yyv424 := &x.Status + yyv424.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys407) - } // end switch yys407 - } // end for yyj407 + z.DecStructFieldNotFound(-1, yys419) + } // end switch yys419 + } // end for yyj419 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6643,16 +6907,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj413 int - var yyb413 bool - var yyhl413 bool = l >= 0 - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + var yyj425 int + var yyb425 bool + var yyhl425 bool = l >= 0 + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6662,13 +6926,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6678,13 +6942,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6692,16 +6956,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv416 := &x.ObjectMeta - yyv416.CodecDecodeSelf(d) + yyv428 := &x.ObjectMeta + yyv428.CodecDecodeSelf(d) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6709,16 +6973,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv417 := &x.Spec - yyv417.CodecDecodeSelf(d) + yyv429 := &x.Spec + yyv429.CodecDecodeSelf(d) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6726,21 +6990,21 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv418 := &x.Status - yyv418.CodecDecodeSelf(d) + yyv430 := &x.Status + yyv430.CodecDecodeSelf(d) } for { - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj413-1, "") + z.DecStructFieldNotFound(yyj425-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6752,37 +7016,37 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym419 := z.EncBinary() - _ = yym419 + yym431 := z.EncBinary() + _ = yym431 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep420 := !z.EncBinary() - yy2arr420 := z.EncBasicHandle().StructToArray - var yyq420 [4]bool - _, _, _ = yysep420, yyq420, yy2arr420 - const yyr420 bool = false - yyq420[0] = x.Kind != "" - yyq420[1] = x.APIVersion != "" - yyq420[2] = true - var yynn420 int - if yyr420 || yy2arr420 { + yysep432 := !z.EncBinary() + yy2arr432 := z.EncBasicHandle().StructToArray + var yyq432 [4]bool + _, _, _ = yysep432, yyq432, yy2arr432 + const yyr432 bool = false + yyq432[0] = x.Kind != "" + yyq432[1] = x.APIVersion != "" + yyq432[2] = true + var yynn432 int + if yyr432 || yy2arr432 { r.EncodeArrayStart(4) } else { - yynn420 = 1 - for _, b := range yyq420 { + yynn432 = 1 + for _, b := range yyq432 { if b { - yynn420++ + yynn432++ } } - r.EncodeMapStart(yynn420) - yynn420 = 0 + r.EncodeMapStart(yynn432) + yynn432 = 0 } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[0] { - yym422 := z.EncBinary() - _ = yym422 + if yyq432[0] { + yym434 := z.EncBinary() + _ = yym434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6791,23 +7055,23 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq420[0] { + if yyq432[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym423 := z.EncBinary() - _ = yym423 + yym435 := z.EncBinary() + _ = yym435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[1] { - yym425 := z.EncBinary() - _ = yym425 + if yyq432[1] { + yym437 := z.EncBinary() + _ = yym437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6816,54 +7080,54 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq420[1] { + if yyq432[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym426 := z.EncBinary() - _ = yym426 + yym438 := z.EncBinary() + _ = yym438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[2] { - yy428 := &x.ListMeta - yym429 := z.EncBinary() - _ = yym429 + if yyq432[2] { + yy440 := &x.ListMeta + yym441 := z.EncBinary() + _ = yym441 if false { - } else if z.HasExtensions() && z.EncExt(yy428) { + } else if z.HasExtensions() && z.EncExt(yy440) { } else { - z.EncFallback(yy428) + z.EncFallback(yy440) } } else { r.EncodeNil() } } else { - if yyq420[2] { + if yyq432[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy430 := &x.ListMeta - yym431 := z.EncBinary() - _ = yym431 + yy442 := &x.ListMeta + yym443 := z.EncBinary() + _ = yym443 if false { - } else if z.HasExtensions() && z.EncExt(yy430) { + } else if z.HasExtensions() && z.EncExt(yy442) { } else { - z.EncFallback(yy430) + z.EncFallback(yy442) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym433 := z.EncBinary() - _ = yym433 + yym445 := z.EncBinary() + _ = yym445 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -6876,15 +7140,15 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym434 := z.EncBinary() - _ = yym434 + yym446 := z.EncBinary() + _ = yym446 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6897,25 +7161,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym435 := z.DecBinary() - _ = yym435 + yym447 := z.DecBinary() + _ = yym447 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct436 := r.ContainerType() - if yyct436 == codecSelferValueTypeMap1234 { - yyl436 := r.ReadMapStart() - if yyl436 == 0 { + yyct448 := r.ContainerType() + if yyct448 == codecSelferValueTypeMap1234 { + yyl448 := r.ReadMapStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl436, d) + x.codecDecodeSelfFromMap(yyl448, d) } - } else if yyct436 == codecSelferValueTypeArray1234 { - yyl436 := r.ReadArrayStart() - if yyl436 == 0 { + } else if yyct448 == codecSelferValueTypeArray1234 { + yyl448 := r.ReadArrayStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl436, d) + x.codecDecodeSelfFromArray(yyl448, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6927,12 +7191,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys437Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys437Slc - var yyhl437 bool = l >= 0 - for yyj437 := 0; ; yyj437++ { - if yyhl437 { - if yyj437 >= l { + var yys449Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys449Slc + var yyhl449 bool = l >= 0 + for yyj449 := 0; ; yyj449++ { + if yyhl449 { + if yyj449 >= l { break } } else { @@ -6941,10 +7205,10 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys437Slc = r.DecodeBytes(yys437Slc, true, true) - yys437 := string(yys437Slc) + yys449Slc = r.DecodeBytes(yys449Slc, true, true) + yys449 := string(yys449Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys437 { + switch yys449 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6961,31 +7225,31 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv440 := &x.ListMeta - yym441 := z.DecBinary() - _ = yym441 + yyv452 := &x.ListMeta + yym453 := z.DecBinary() + _ = yym453 if false { - } else if z.HasExtensions() && z.DecExt(yyv440) { + } else if z.HasExtensions() && z.DecExt(yyv452) { } else { - z.DecFallback(yyv440, false) + z.DecFallback(yyv452, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv442 := &x.Items - yym443 := z.DecBinary() - _ = yym443 + yyv454 := &x.Items + yym455 := z.DecBinary() + _ = yym455 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv442), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv454), d) } } default: - z.DecStructFieldNotFound(-1, yys437) - } // end switch yys437 - } // end for yyj437 + z.DecStructFieldNotFound(-1, yys449) + } // end switch yys449 + } // end for yyj449 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6993,16 +7257,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj444 int - var yyb444 bool - var yyhl444 bool = l >= 0 - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + var yyj456 int + var yyb456 bool + var yyhl456 bool = l >= 0 + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7012,13 +7276,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7028,13 +7292,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7042,22 +7306,22 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv447 := &x.ListMeta - yym448 := z.DecBinary() - _ = yym448 + yyv459 := &x.ListMeta + yym460 := z.DecBinary() + _ = yym460 if false { - } else if z.HasExtensions() && z.DecExt(yyv447) { + } else if z.HasExtensions() && z.DecExt(yyv459) { } else { - z.DecFallback(yyv447, false) + z.DecFallback(yyv459, false) } } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7065,26 +7329,26 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv449 := &x.Items - yym450 := z.DecBinary() - _ = yym450 + yyv461 := &x.Items + yym462 := z.DecBinary() + _ = yym462 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv449), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv461), d) } } for { - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj444-1, "") + z.DecStructFieldNotFound(yyj456-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7096,40 +7360,40 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym451 := z.EncBinary() - _ = yym451 + yym463 := z.EncBinary() + _ = yym463 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep452 := !z.EncBinary() - yy2arr452 := z.EncBasicHandle().StructToArray - var yyq452 [3]bool - _, _, _ = yysep452, yyq452, yy2arr452 - const yyr452 bool = false - yyq452[0] = len(x.AccessModes) != 0 - yyq452[1] = true - yyq452[2] = x.VolumeName != "" - var yynn452 int - if yyr452 || yy2arr452 { + 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 { r.EncodeArrayStart(3) } else { - yynn452 = 0 - for _, b := range yyq452 { + yynn464 = 0 + for _, b := range yyq464 { if b { - yynn452++ + yynn464++ } } - r.EncodeMapStart(yynn452) - yynn452 = 0 + r.EncodeMapStart(yynn464) + yynn464 = 0 } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[0] { + if yyq464[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym454 := z.EncBinary() - _ = yym454 + yym466 := z.EncBinary() + _ = yym466 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7139,15 +7403,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq452[0] { + if yyq464[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym455 := z.EncBinary() - _ = yym455 + yym467 := z.EncBinary() + _ = yym467 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7155,28 +7419,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[1] { - yy457 := &x.Resources - yy457.CodecEncodeSelf(e) + if yyq464[1] { + yy469 := &x.Resources + yy469.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq452[1] { + if yyq464[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy458 := &x.Resources - yy458.CodecEncodeSelf(e) + yy470 := &x.Resources + yy470.CodecEncodeSelf(e) } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[2] { - yym460 := z.EncBinary() - _ = yym460 + if yyq464[2] { + yym472 := z.EncBinary() + _ = yym472 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -7185,19 +7449,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq452[2] { + if yyq464[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym461 := z.EncBinary() - _ = yym461 + yym473 := z.EncBinary() + _ = yym473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7210,25 +7474,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym462 := z.DecBinary() - _ = yym462 + yym474 := z.DecBinary() + _ = yym474 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct463 := r.ContainerType() - if yyct463 == codecSelferValueTypeMap1234 { - yyl463 := r.ReadMapStart() - if yyl463 == 0 { + yyct475 := r.ContainerType() + if yyct475 == codecSelferValueTypeMap1234 { + yyl475 := r.ReadMapStart() + if yyl475 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl463, d) + x.codecDecodeSelfFromMap(yyl475, d) } - } else if yyct463 == codecSelferValueTypeArray1234 { - yyl463 := r.ReadArrayStart() - if yyl463 == 0 { + } else if yyct475 == codecSelferValueTypeArray1234 { + yyl475 := r.ReadArrayStart() + if yyl475 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl463, d) + x.codecDecodeSelfFromArray(yyl475, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7240,12 +7504,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys464Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys464Slc - var yyhl464 bool = l >= 0 - for yyj464 := 0; ; yyj464++ { - if yyhl464 { - if yyj464 >= l { + var yys476Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys476Slc + var yyhl476 bool = l >= 0 + for yyj476 := 0; ; yyj476++ { + if yyhl476 { + if yyj476 >= l { break } } else { @@ -7254,28 +7518,28 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys464Slc = r.DecodeBytes(yys464Slc, true, true) - yys464 := string(yys464Slc) + yys476Slc = r.DecodeBytes(yys476Slc, true, true) + yys476 := string(yys476Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys464 { + switch yys476 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv465 := &x.AccessModes - yym466 := z.DecBinary() - _ = yym466 + yyv477 := &x.AccessModes + yym478 := z.DecBinary() + _ = yym478 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv465), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv477), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv467 := &x.Resources - yyv467.CodecDecodeSelf(d) + yyv479 := &x.Resources + yyv479.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -7284,9 +7548,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys464) - } // end switch yys464 - } // end for yyj464 + z.DecStructFieldNotFound(-1, yys476) + } // end switch yys476 + } // end for yyj476 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7294,16 +7558,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj469 int - var yyb469 bool - var yyhl469 bool = l >= 0 - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + var yyj481 int + var yyb481 bool + var yyhl481 bool = l >= 0 + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7311,21 +7575,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv470 := &x.AccessModes - yym471 := z.DecBinary() - _ = yym471 + yyv482 := &x.AccessModes + yym483 := z.DecBinary() + _ = yym483 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv470), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv482), d) } } - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7333,16 +7597,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv472 := &x.Resources - yyv472.CodecDecodeSelf(d) + yyv484 := &x.Resources + yyv484.CodecDecodeSelf(d) } - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7353,17 +7617,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj469-1, "") + z.DecStructFieldNotFound(yyj481-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7375,55 +7639,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym474 := z.EncBinary() - _ = yym474 + yym486 := z.EncBinary() + _ = yym486 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep475 := !z.EncBinary() - yy2arr475 := z.EncBasicHandle().StructToArray - var yyq475 [3]bool - _, _, _ = yysep475, yyq475, yy2arr475 - const yyr475 bool = false - yyq475[0] = x.Phase != "" - yyq475[1] = len(x.AccessModes) != 0 - yyq475[2] = len(x.Capacity) != 0 - var yynn475 int - if yyr475 || yy2arr475 { + 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 { r.EncodeArrayStart(3) } else { - yynn475 = 0 - for _, b := range yyq475 { + yynn487 = 0 + for _, b := range yyq487 { if b { - yynn475++ + yynn487++ } } - r.EncodeMapStart(yynn475) - yynn475 = 0 + r.EncodeMapStart(yynn487) + yynn487 = 0 } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[0] { + if yyq487[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq475[0] { + if yyq487[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[1] { + if yyq487[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym478 := z.EncBinary() - _ = yym478 + yym490 := z.EncBinary() + _ = yym490 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7433,15 +7697,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq475[1] { + if yyq487[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym479 := z.EncBinary() - _ = yym479 + yym491 := z.EncBinary() + _ = yym491 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7449,9 +7713,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[2] { + if yyq487[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -7461,7 +7725,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq475[2] { + if yyq487[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7472,7 +7736,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7485,25 +7749,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym481 := z.DecBinary() - _ = yym481 + yym493 := z.DecBinary() + _ = yym493 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct482 := r.ContainerType() - if yyct482 == codecSelferValueTypeMap1234 { - yyl482 := r.ReadMapStart() - if yyl482 == 0 { + yyct494 := r.ContainerType() + if yyct494 == codecSelferValueTypeMap1234 { + yyl494 := r.ReadMapStart() + if yyl494 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl482, d) + x.codecDecodeSelfFromMap(yyl494, d) } - } else if yyct482 == codecSelferValueTypeArray1234 { - yyl482 := r.ReadArrayStart() - if yyl482 == 0 { + } else if yyct494 == codecSelferValueTypeArray1234 { + yyl494 := r.ReadArrayStart() + if yyl494 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl482, d) + x.codecDecodeSelfFromArray(yyl494, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7515,12 +7779,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys483Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys483Slc - var yyhl483 bool = l >= 0 - for yyj483 := 0; ; yyj483++ { - if yyhl483 { - if yyj483 >= l { + var yys495Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys495Slc + var yyhl495 bool = l >= 0 + for yyj495 := 0; ; yyj495++ { + if yyhl495 { + if yyj495 >= l { break } } else { @@ -7529,10 +7793,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys483Slc = r.DecodeBytes(yys483Slc, true, true) - yys483 := string(yys483Slc) + yys495Slc = r.DecodeBytes(yys495Slc, true, true) + yys495 := string(yys495Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys483 { + switch yys495 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7543,25 +7807,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv485 := &x.AccessModes - yym486 := z.DecBinary() - _ = yym486 + yyv497 := &x.AccessModes + yym498 := z.DecBinary() + _ = yym498 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv485), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv497), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv487 := &x.Capacity - yyv487.CodecDecodeSelf(d) + yyv499 := &x.Capacity + yyv499.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys483) - } // end switch yys483 - } // end for yyj483 + z.DecStructFieldNotFound(-1, yys495) + } // end switch yys495 + } // end for yyj495 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7569,16 +7833,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj488 int - var yyb488 bool - var yyhl488 bool = l >= 0 - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + var yyj500 int + var yyb500 bool + var yyhl500 bool = l >= 0 + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7588,13 +7852,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7602,21 +7866,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv490 := &x.AccessModes - yym491 := z.DecBinary() - _ = yym491 + yyv502 := &x.AccessModes + yym503 := z.DecBinary() + _ = yym503 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv490), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv502), d) } } - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7624,21 +7888,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv492 := &x.Capacity - yyv492.CodecDecodeSelf(d) + yyv504 := &x.Capacity + yyv504.CodecDecodeSelf(d) } for { - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj488-1, "") + z.DecStructFieldNotFound(yyj500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7647,8 +7911,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym493 := z.EncBinary() - _ = yym493 + yym505 := z.EncBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7660,8 +7924,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym494 := z.DecBinary() - _ = yym494 + yym506 := z.DecBinary() + _ = yym506 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7673,8 +7937,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym495 := z.EncBinary() - _ = yym495 + yym507 := z.EncBinary() + _ = yym507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7686,8 +7950,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym496 := z.DecBinary() - _ = yym496 + yym508 := z.DecBinary() + _ = yym508 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7699,8 +7963,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym497 := z.EncBinary() - _ = yym497 + yym509 := z.EncBinary() + _ = yym509 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7712,8 +7976,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym498 := z.DecBinary() - _ = yym498 + yym510 := z.DecBinary() + _ = yym510 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7728,33 +7992,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym499 := z.EncBinary() - _ = yym499 + yym511 := z.EncBinary() + _ = yym511 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep500 := !z.EncBinary() - yy2arr500 := z.EncBasicHandle().StructToArray - var yyq500 [1]bool - _, _, _ = yysep500, yyq500, yy2arr500 - const yyr500 bool = false - var yynn500 int - if yyr500 || yy2arr500 { + yysep512 := !z.EncBinary() + yy2arr512 := z.EncBasicHandle().StructToArray + var yyq512 [1]bool + _, _, _ = yysep512, yyq512, yy2arr512 + const yyr512 bool = false + var yynn512 int + if yyr512 || yy2arr512 { r.EncodeArrayStart(1) } else { - yynn500 = 1 - for _, b := range yyq500 { + yynn512 = 1 + for _, b := range yyq512 { if b { - yynn500++ + yynn512++ } } - r.EncodeMapStart(yynn500) - yynn500 = 0 + r.EncodeMapStart(yynn512) + yynn512 = 0 } - if yyr500 || yy2arr500 { + if yyr512 || yy2arr512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym502 := z.EncBinary() - _ = yym502 + yym514 := z.EncBinary() + _ = yym514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -7763,14 +8027,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym503 := z.EncBinary() - _ = yym503 + yym515 := z.EncBinary() + _ = yym515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr500 || yy2arr500 { + if yyr512 || yy2arr512 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7783,25 +8047,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym504 := z.DecBinary() - _ = yym504 + yym516 := z.DecBinary() + _ = yym516 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct505 := r.ContainerType() - if yyct505 == codecSelferValueTypeMap1234 { - yyl505 := r.ReadMapStart() - if yyl505 == 0 { + yyct517 := r.ContainerType() + if yyct517 == codecSelferValueTypeMap1234 { + yyl517 := r.ReadMapStart() + if yyl517 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl505, d) + x.codecDecodeSelfFromMap(yyl517, d) } - } else if yyct505 == codecSelferValueTypeArray1234 { - yyl505 := r.ReadArrayStart() - if yyl505 == 0 { + } else if yyct517 == codecSelferValueTypeArray1234 { + yyl517 := r.ReadArrayStart() + if yyl517 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl505, d) + x.codecDecodeSelfFromArray(yyl517, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7813,12 +8077,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys506Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys506Slc - var yyhl506 bool = l >= 0 - for yyj506 := 0; ; yyj506++ { - if yyhl506 { - if yyj506 >= l { + var yys518Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys518Slc + var yyhl518 bool = l >= 0 + for yyj518 := 0; ; yyj518++ { + if yyhl518 { + if yyj518 >= l { break } } else { @@ -7827,10 +8091,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys506Slc = r.DecodeBytes(yys506Slc, true, true) - yys506 := string(yys506Slc) + yys518Slc = r.DecodeBytes(yys518Slc, true, true) + yys518 := string(yys518Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys506 { + switch yys518 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -7838,9 +8102,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys506) - } // end switch yys506 - } // end for yyj506 + z.DecStructFieldNotFound(-1, yys518) + } // end switch yys518 + } // end for yyj518 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7848,16 +8112,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj508 int - var yyb508 bool - var yyhl508 bool = l >= 0 - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + var yyj520 int + var yyb520 bool + var yyhl520 bool = l >= 0 + yyj520++ + if yyhl520 { + yyb520 = yyj520 > l } else { - yyb508 = r.CheckBreak() + yyb520 = r.CheckBreak() } - if yyb508 { + if yyb520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7868,17 +8132,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + yyj520++ + if yyhl520 { + yyb520 = yyj520 > l } else { - yyb508 = r.CheckBreak() + yyb520 = r.CheckBreak() } - if yyb508 { + if yyb520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj508-1, "") + z.DecStructFieldNotFound(yyj520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7890,46 +8154,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym510 := z.EncBinary() - _ = yym510 + yym522 := z.EncBinary() + _ = yym522 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep511 := !z.EncBinary() - yy2arr511 := z.EncBasicHandle().StructToArray - var yyq511 [1]bool - _, _, _ = yysep511, yyq511, yy2arr511 - const yyr511 bool = false - yyq511[0] = x.Medium != "" - var yynn511 int - if yyr511 || yy2arr511 { + 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 { r.EncodeArrayStart(1) } else { - yynn511 = 0 - for _, b := range yyq511 { + yynn523 = 0 + for _, b := range yyq523 { if b { - yynn511++ + yynn523++ } } - r.EncodeMapStart(yynn511) - yynn511 = 0 + r.EncodeMapStart(yynn523) + yynn523 = 0 } - if yyr511 || yy2arr511 { + if yyr523 || yy2arr523 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq511[0] { + if yyq523[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq511[0] { + if yyq523[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr511 || yy2arr511 { + if yyr523 || yy2arr523 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7942,25 +8206,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym513 := z.DecBinary() - _ = yym513 + yym525 := z.DecBinary() + _ = yym525 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct514 := r.ContainerType() - if yyct514 == codecSelferValueTypeMap1234 { - yyl514 := r.ReadMapStart() - if yyl514 == 0 { + yyct526 := r.ContainerType() + if yyct526 == codecSelferValueTypeMap1234 { + yyl526 := r.ReadMapStart() + if yyl526 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl514, d) + x.codecDecodeSelfFromMap(yyl526, d) } - } else if yyct514 == codecSelferValueTypeArray1234 { - yyl514 := r.ReadArrayStart() - if yyl514 == 0 { + } else if yyct526 == codecSelferValueTypeArray1234 { + yyl526 := r.ReadArrayStart() + if yyl526 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl514, d) + x.codecDecodeSelfFromArray(yyl526, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7972,12 +8236,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys515Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys515Slc - var yyhl515 bool = l >= 0 - for yyj515 := 0; ; yyj515++ { - if yyhl515 { - if yyj515 >= l { + var yys527Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys527Slc + var yyhl527 bool = l >= 0 + for yyj527 := 0; ; yyj527++ { + if yyhl527 { + if yyj527 >= l { break } } else { @@ -7986,10 +8250,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys515Slc = r.DecodeBytes(yys515Slc, true, true) - yys515 := string(yys515Slc) + yys527Slc = r.DecodeBytes(yys527Slc, true, true) + yys527 := string(yys527Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys515 { + switch yys527 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -7997,9 +8261,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys515) - } // end switch yys515 - } // end for yyj515 + z.DecStructFieldNotFound(-1, yys527) + } // end switch yys527 + } // end for yyj527 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8007,16 +8271,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj517 int - var yyb517 bool - var yyhl517 bool = l >= 0 - yyj517++ - if yyhl517 { - yyb517 = yyj517 > l + var yyj529 int + var yyb529 bool + var yyhl529 bool = l >= 0 + yyj529++ + if yyhl529 { + yyb529 = yyj529 > l } else { - yyb517 = r.CheckBreak() + yyb529 = r.CheckBreak() } - if yyb517 { + if yyb529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8027,17 +8291,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj517++ - if yyhl517 { - yyb517 = yyj517 > l + yyj529++ + if yyhl529 { + yyb529 = yyj529 > l } else { - yyb517 = r.CheckBreak() + yyb529 = r.CheckBreak() } - if yyb517 { + if yyb529 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj517-1, "") + z.DecStructFieldNotFound(yyj529-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8046,8 +8310,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym519 := z.EncBinary() - _ = yym519 + yym531 := z.EncBinary() + _ = yym531 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8059,8 +8323,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym520 := z.DecBinary() - _ = yym520 + yym532 := z.DecBinary() + _ = yym532 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8072,8 +8336,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym521 := z.EncBinary() - _ = yym521 + yym533 := z.EncBinary() + _ = yym533 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8085,8 +8349,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym522 := z.DecBinary() - _ = yym522 + yym534 := z.DecBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8101,36 +8365,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym523 := z.EncBinary() - _ = yym523 + yym535 := z.EncBinary() + _ = yym535 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep524 := !z.EncBinary() - yy2arr524 := z.EncBasicHandle().StructToArray - var yyq524 [4]bool - _, _, _ = yysep524, yyq524, yy2arr524 - const yyr524 bool = false - yyq524[1] = x.FSType != "" - yyq524[2] = x.Partition != 0 - yyq524[3] = x.ReadOnly != false - var yynn524 int - if yyr524 || yy2arr524 { + 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 { r.EncodeArrayStart(4) } else { - yynn524 = 1 - for _, b := range yyq524 { + yynn536 = 1 + for _, b := range yyq536 { if b { - yynn524++ + yynn536++ } } - r.EncodeMapStart(yynn524) - yynn524 = 0 + r.EncodeMapStart(yynn536) + yynn536 = 0 } - if yyr524 || yy2arr524 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym526 := z.EncBinary() - _ = yym526 + yym538 := z.EncBinary() + _ = yym538 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -8139,18 +8403,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym527 := z.EncBinary() - _ = yym527 + yym539 := z.EncBinary() + _ = yym539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr524 || yy2arr524 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq524[1] { - yym529 := z.EncBinary() - _ = yym529 + if yyq536[1] { + yym541 := z.EncBinary() + _ = yym541 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8159,23 +8423,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq524[1] { + if yyq536[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym530 := z.EncBinary() - _ = yym530 + yym542 := z.EncBinary() + _ = yym542 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr524 || yy2arr524 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq524[2] { - yym532 := z.EncBinary() - _ = yym532 + if yyq536[2] { + yym544 := z.EncBinary() + _ = yym544 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -8184,23 +8448,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq524[2] { + if yyq536[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym533 := z.EncBinary() - _ = yym533 + yym545 := z.EncBinary() + _ = yym545 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr524 || yy2arr524 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq524[3] { - yym535 := z.EncBinary() - _ = yym535 + if yyq536[3] { + yym547 := z.EncBinary() + _ = yym547 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8209,19 +8473,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq524[3] { + if yyq536[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym536 := z.EncBinary() - _ = yym536 + yym548 := z.EncBinary() + _ = yym548 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr524 || yy2arr524 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8234,25 +8498,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym537 := z.DecBinary() - _ = yym537 + yym549 := z.DecBinary() + _ = yym549 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct538 := r.ContainerType() - if yyct538 == codecSelferValueTypeMap1234 { - yyl538 := r.ReadMapStart() - if yyl538 == 0 { + yyct550 := r.ContainerType() + if yyct550 == codecSelferValueTypeMap1234 { + yyl550 := r.ReadMapStart() + if yyl550 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl538, d) + x.codecDecodeSelfFromMap(yyl550, d) } - } else if yyct538 == codecSelferValueTypeArray1234 { - yyl538 := r.ReadArrayStart() - if yyl538 == 0 { + } else if yyct550 == codecSelferValueTypeArray1234 { + yyl550 := r.ReadArrayStart() + if yyl550 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl538, d) + x.codecDecodeSelfFromArray(yyl550, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8264,12 +8528,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys539Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys539Slc - var yyhl539 bool = l >= 0 - for yyj539 := 0; ; yyj539++ { - if yyhl539 { - if yyj539 >= l { + var yys551Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys551Slc + var yyhl551 bool = l >= 0 + for yyj551 := 0; ; yyj551++ { + if yyhl551 { + if yyj551 >= l { break } } else { @@ -8278,10 +8542,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys539Slc = r.DecodeBytes(yys539Slc, true, true) - yys539 := string(yys539Slc) + yys551Slc = r.DecodeBytes(yys551Slc, true, true) + yys551 := string(yys551Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys539 { + switch yys551 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -8307,9 +8571,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys539) - } // end switch yys539 - } // end for yyj539 + z.DecStructFieldNotFound(-1, yys551) + } // end switch yys551 + } // end for yyj551 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8317,16 +8581,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj544 int - var yyb544 bool - var yyhl544 bool = l >= 0 - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + var yyj556 int + var yyb556 bool + var yyhl556 bool = l >= 0 + yyj556++ + if yyhl556 { + yyb556 = yyj556 > l } else { - yyb544 = r.CheckBreak() + yyb556 = r.CheckBreak() } - if yyb544 { + if yyb556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8336,13 +8600,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj556++ + if yyhl556 { + yyb556 = yyj556 > l } else { - yyb544 = r.CheckBreak() + yyb556 = r.CheckBreak() } - if yyb544 { + if yyb556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8352,13 +8616,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj556++ + if yyhl556 { + yyb556 = yyj556 > l } else { - yyb544 = r.CheckBreak() + yyb556 = r.CheckBreak() } - if yyb544 { + if yyb556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8368,13 +8632,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj556++ + if yyhl556 { + yyb556 = yyj556 > l } else { - yyb544 = r.CheckBreak() + yyb556 = r.CheckBreak() } - if yyb544 { + if yyb556 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8385,17 +8649,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj544++ - if yyhl544 { - yyb544 = yyj544 > l + yyj556++ + if yyhl556 { + yyb556 = yyj556 > l } else { - yyb544 = r.CheckBreak() + yyb556 = r.CheckBreak() } - if yyb544 { + if yyb556 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj544-1, "") + z.DecStructFieldNotFound(yyj556-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8407,40 +8671,40 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym549 := z.EncBinary() - _ = yym549 + yym561 := z.EncBinary() + _ = yym561 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep550 := !z.EncBinary() - yy2arr550 := z.EncBasicHandle().StructToArray - var yyq550 [6]bool - _, _, _ = yysep550, yyq550, yy2arr550 - const yyr550 bool = false - yyq550[0] = x.TargetPortal != "" - yyq550[1] = x.IQN != "" - yyq550[2] = x.Lun != 0 - yyq550[3] = x.ISCSIInterface != "" - yyq550[4] = x.FSType != "" - yyq550[5] = x.ReadOnly != false - var yynn550 int - if yyr550 || yy2arr550 { + 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 { r.EncodeArrayStart(6) } else { - yynn550 = 0 - for _, b := range yyq550 { + yynn562 = 0 + for _, b := range yyq562 { if b { - yynn550++ + yynn562++ } } - r.EncodeMapStart(yynn550) - yynn550 = 0 + r.EncodeMapStart(yynn562) + yynn562 = 0 } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[0] { - yym552 := z.EncBinary() - _ = yym552 + if yyq562[0] { + yym564 := z.EncBinary() + _ = yym564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -8449,23 +8713,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq550[0] { + if yyq562[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym553 := z.EncBinary() - _ = yym553 + yym565 := z.EncBinary() + _ = yym565 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[1] { - yym555 := z.EncBinary() - _ = yym555 + if yyq562[1] { + yym567 := z.EncBinary() + _ = yym567 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -8474,23 +8738,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq550[1] { + if yyq562[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym556 := z.EncBinary() - _ = yym556 + yym568 := z.EncBinary() + _ = yym568 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[2] { - yym558 := z.EncBinary() - _ = yym558 + if yyq562[2] { + yym570 := z.EncBinary() + _ = yym570 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -8499,23 +8763,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq550[2] { + if yyq562[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym559 := z.EncBinary() - _ = yym559 + yym571 := z.EncBinary() + _ = yym571 if false { } else { r.EncodeInt(int64(x.Lun)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[3] { - yym561 := z.EncBinary() - _ = yym561 + if yyq562[3] { + yym573 := z.EncBinary() + _ = yym573 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -8524,23 +8788,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq550[3] { + if yyq562[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym562 := z.EncBinary() - _ = yym562 + yym574 := z.EncBinary() + _ = yym574 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[4] { - yym564 := z.EncBinary() - _ = yym564 + if yyq562[4] { + yym576 := z.EncBinary() + _ = yym576 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8549,23 +8813,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq550[4] { + if yyq562[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym565 := z.EncBinary() - _ = yym565 + yym577 := z.EncBinary() + _ = yym577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq550[5] { - yym567 := z.EncBinary() - _ = yym567 + if yyq562[5] { + yym579 := z.EncBinary() + _ = yym579 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8574,19 +8838,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq550[5] { + if yyq562[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym568 := z.EncBinary() - _ = yym568 + yym580 := z.EncBinary() + _ = yym580 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr550 || yy2arr550 { + if yyr562 || yy2arr562 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8599,25 +8863,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym569 := z.DecBinary() - _ = yym569 + yym581 := z.DecBinary() + _ = yym581 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct570 := r.ContainerType() - if yyct570 == codecSelferValueTypeMap1234 { - yyl570 := r.ReadMapStart() - if yyl570 == 0 { + yyct582 := r.ContainerType() + if yyct582 == codecSelferValueTypeMap1234 { + yyl582 := r.ReadMapStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl570, d) + x.codecDecodeSelfFromMap(yyl582, d) } - } else if yyct570 == codecSelferValueTypeArray1234 { - yyl570 := r.ReadArrayStart() - if yyl570 == 0 { + } else if yyct582 == codecSelferValueTypeArray1234 { + yyl582 := r.ReadArrayStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl570, d) + x.codecDecodeSelfFromArray(yyl582, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8629,12 +8893,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys571Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys571Slc - var yyhl571 bool = l >= 0 - for yyj571 := 0; ; yyj571++ { - if yyhl571 { - if yyj571 >= l { + var yys583Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys583Slc + var yyhl583 bool = l >= 0 + for yyj583 := 0; ; yyj583++ { + if yyhl583 { + if yyj583 >= l { break } } else { @@ -8643,10 +8907,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys571Slc = r.DecodeBytes(yys571Slc, true, true) - yys571 := string(yys571Slc) + yys583Slc = r.DecodeBytes(yys583Slc, true, true) + yys583 := string(yys583Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys571 { + switch yys583 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -8684,9 +8948,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys571) - } // end switch yys571 - } // end for yyj571 + z.DecStructFieldNotFound(-1, yys583) + } // end switch yys583 + } // end for yyj583 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8694,16 +8958,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj578 int - var yyb578 bool - var yyhl578 bool = l >= 0 - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + var yyj590 int + var yyb590 bool + var yyhl590 bool = l >= 0 + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8713,13 +8977,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8729,13 +8993,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8745,13 +9009,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8761,13 +9025,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8777,13 +9041,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8794,17 +9058,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj578++ - if yyhl578 { - yyb578 = yyj578 > l + yyj590++ + if yyhl590 { + yyb590 = yyj590 > l } else { - yyb578 = r.CheckBreak() + yyb590 = r.CheckBreak() } - if yyb578 { + if yyb590 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj578-1, "") + z.DecStructFieldNotFound(yyj590-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8816,37 +9080,37 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym585 := z.EncBinary() - _ = yym585 + yym597 := z.EncBinary() + _ = yym597 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep586 := !z.EncBinary() - yy2arr586 := z.EncBasicHandle().StructToArray - var yyq586 [4]bool - _, _, _ = yysep586, yyq586, yy2arr586 - const yyr586 bool = false - yyq586[3] = x.ReadOnly != false - var yynn586 int - if yyr586 || yy2arr586 { + 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 { r.EncodeArrayStart(4) } else { - yynn586 = 3 - for _, b := range yyq586 { + yynn598 = 3 + for _, b := range yyq598 { if b { - yynn586++ + yynn598++ } } - r.EncodeMapStart(yynn586) - yynn586 = 0 + r.EncodeMapStart(yynn598) + yynn598 = 0 } - if yyr586 || yy2arr586 { + if yyr598 || yy2arr598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym588 := z.EncBinary() - _ = yym588 + yym600 := z.EncBinary() + _ = yym600 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -8859,25 +9123,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym589 := z.EncBinary() - _ = yym589 + yym601 := z.EncBinary() + _ = yym601 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr586 || yy2arr586 { + if yyr598 || yy2arr598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy591 := *x.Lun - yym592 := z.EncBinary() - _ = yym592 + yy603 := *x.Lun + yym604 := z.EncBinary() + _ = yym604 if false { } else { - r.EncodeInt(int64(yy591)) + r.EncodeInt(int64(yy603)) } } } else { @@ -8887,19 +9151,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy593 := *x.Lun - yym594 := z.EncBinary() - _ = yym594 + yy605 := *x.Lun + yym606 := z.EncBinary() + _ = yym606 if false { } else { - r.EncodeInt(int64(yy593)) + r.EncodeInt(int64(yy605)) } } } - if yyr586 || yy2arr586 { + if yyr598 || yy2arr598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym596 := z.EncBinary() - _ = yym596 + yym608 := z.EncBinary() + _ = yym608 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8908,18 +9172,18 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym597 := z.EncBinary() - _ = yym597 + yym609 := z.EncBinary() + _ = yym609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr586 || yy2arr586 { + if yyr598 || yy2arr598 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq586[3] { - yym599 := z.EncBinary() - _ = yym599 + if yyq598[3] { + yym611 := z.EncBinary() + _ = yym611 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8928,19 +9192,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq586[3] { + if yyq598[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym600 := z.EncBinary() - _ = yym600 + yym612 := z.EncBinary() + _ = yym612 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr586 || yy2arr586 { + if yyr598 || yy2arr598 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8953,25 +9217,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym601 := z.DecBinary() - _ = yym601 + yym613 := z.DecBinary() + _ = yym613 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct602 := r.ContainerType() - if yyct602 == codecSelferValueTypeMap1234 { - yyl602 := r.ReadMapStart() - if yyl602 == 0 { + yyct614 := r.ContainerType() + if yyct614 == codecSelferValueTypeMap1234 { + yyl614 := r.ReadMapStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl602, d) + x.codecDecodeSelfFromMap(yyl614, d) } - } else if yyct602 == codecSelferValueTypeArray1234 { - yyl602 := r.ReadArrayStart() - if yyl602 == 0 { + } else if yyct614 == codecSelferValueTypeArray1234 { + yyl614 := r.ReadArrayStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl602, d) + x.codecDecodeSelfFromArray(yyl614, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8983,12 +9247,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys603Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys603Slc - var yyhl603 bool = l >= 0 - for yyj603 := 0; ; yyj603++ { - if yyhl603 { - if yyj603 >= l { + var yys615Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys615Slc + var yyhl615 bool = l >= 0 + for yyj615 := 0; ; yyj615++ { + if yyhl615 { + if yyj615 >= l { break } } else { @@ -8997,20 +9261,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys603Slc = r.DecodeBytes(yys603Slc, true, true) - yys603 := string(yys603Slc) + yys615Slc = r.DecodeBytes(yys615Slc, true, true) + yys615 := string(yys615Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys603 { + switch yys615 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv604 := &x.TargetWWNs - yym605 := z.DecBinary() - _ = yym605 + yyv616 := &x.TargetWWNs + yym617 := z.DecBinary() + _ = yym617 if false { } else { - z.F.DecSliceStringX(yyv604, false, d) + z.F.DecSliceStringX(yyv616, false, d) } } case "lun": @@ -9022,8 +9286,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int) } - yym607 := z.DecBinary() - _ = yym607 + yym619 := z.DecBinary() + _ = yym619 if false { } else { *((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) @@ -9042,9 +9306,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys603) - } // end switch yys603 - } // end for yyj603 + z.DecStructFieldNotFound(-1, yys615) + } // end switch yys615 + } // end for yyj615 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9052,16 +9316,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj610 int - var yyb610 bool - var yyhl610 bool = l >= 0 - yyj610++ - if yyhl610 { - yyb610 = yyj610 > l + var yyj622 int + var yyb622 bool + var yyhl622 bool = l >= 0 + yyj622++ + if yyhl622 { + yyb622 = yyj622 > l } else { - yyb610 = r.CheckBreak() + yyb622 = r.CheckBreak() } - if yyb610 { + if yyb622 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9069,21 +9333,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv611 := &x.TargetWWNs - yym612 := z.DecBinary() - _ = yym612 + yyv623 := &x.TargetWWNs + yym624 := z.DecBinary() + _ = yym624 if false { } else { - z.F.DecSliceStringX(yyv611, false, d) + z.F.DecSliceStringX(yyv623, false, d) } } - yyj610++ - if yyhl610 { - yyb610 = yyj610 > l + yyj622++ + if yyhl622 { + yyb622 = yyj622 > l } else { - yyb610 = r.CheckBreak() + yyb622 = r.CheckBreak() } - if yyb610 { + if yyb622 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9096,20 +9360,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int) } - yym614 := z.DecBinary() - _ = yym614 + yym626 := z.DecBinary() + _ = yym626 if false { } else { *((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) } } - yyj610++ - if yyhl610 { - yyb610 = yyj610 > l + yyj622++ + if yyhl622 { + yyb622 = yyj622 > l } else { - yyb610 = r.CheckBreak() + yyb622 = r.CheckBreak() } - if yyb610 { + if yyb622 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9119,13 +9383,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj610++ - if yyhl610 { - yyb610 = yyj610 > l + yyj622++ + if yyhl622 { + yyb622 = yyj622 > l } else { - yyb610 = r.CheckBreak() + yyb622 = r.CheckBreak() } - if yyb610 { + if yyb622 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9136,17 +9400,399 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj610++ - if yyhl610 { - yyb610 = yyj610 > l + yyj622++ + if yyhl622 { + yyb622 = yyj622 > l } else { - yyb610 = r.CheckBreak() + yyb622 = r.CheckBreak() } - if yyb610 { + if yyb622 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj610-1, "") + z.DecStructFieldNotFound(yyj622-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym629 := z.EncBinary() + _ = yym629 + 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 { + r.EncodeArrayStart(5) + } else { + yynn630 = 1 + for _, b := range yyq630 { + if b { + yynn630++ + } + } + r.EncodeMapStart(yynn630) + yynn630 = 0 + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym632 := z.EncBinary() + _ = yym632 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("driver")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym633 := z.EncBinary() + _ = yym633 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) + } + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq630[1] { + yym635 := z.EncBinary() + _ = yym635 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq630[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fsType")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym636 := z.EncBinary() + _ = yym636 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) + } + } + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq630[2] { + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq630[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq630[3] { + yym639 := z.EncBinary() + _ = yym639 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq630[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("readOnly")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym640 := z.EncBinary() + _ = yym640 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq630[4] { + if x.Options == nil { + r.EncodeNil() + } else { + yym642 := z.EncBinary() + _ = yym642 + if false { + } else { + z.F.EncMapStringStringV(x.Options, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq630[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 + if false { + } else { + z.F.EncMapStringStringV(x.Options, false, e) + } + } + } + } + if yyr630 || yy2arr630 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym644 := z.DecBinary() + _ = yym644 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct645 := r.ContainerType() + if yyct645 == codecSelferValueTypeMap1234 { + yyl645 := r.ReadMapStart() + if yyl645 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl645, d) + } + } else if yyct645 == codecSelferValueTypeArray1234 { + yyl645 := r.ReadArrayStart() + if yyl645 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl645, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys646Slc = r.DecodeBytes(yys646Slc, true, true) + yys646 := string(yys646Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys646 { + case "driver": + if r.TryDecodeAsNil() { + x.Driver = "" + } else { + x.Driver = string(r.DecodeString()) + } + case "fsType": + if r.TryDecodeAsNil() { + x.FSType = "" + } else { + x.FSType = string(r.DecodeString()) + } + case "secretRef": + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + case "readOnly": + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + case "options": + if r.TryDecodeAsNil() { + x.Options = nil + } else { + yyv651 := &x.Options + yym652 := z.DecBinary() + _ = yym652 + if false { + } else { + z.F.DecMapStringStringX(yyv651, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys646) + } // end switch yys646 + } // end for yyj646 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Driver = "" + } else { + x.Driver = string(r.DecodeString()) + } + yyj653++ + if yyhl653 { + yyb653 = yyj653 > l + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FSType = "" + } else { + x.FSType = string(r.DecodeString()) + } + yyj653++ + if yyhl653 { + yyb653 = yyj653 > l + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + yyj653++ + if yyhl653 { + yyb653 = yyj653 > l + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + yyj653++ + if yyhl653 { + yyb653 = yyj653 > l + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Options = nil + } else { + yyv658 := &x.Options + yym659 := z.DecBinary() + _ = yym659 + if false { + } else { + z.F.DecMapStringStringX(yyv658, false, d) + } + } + for { + yyj653++ + if yyhl653 { + yyb653 = yyj653 > l + } else { + yyb653 = r.CheckBreak() + } + if yyb653 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj653-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9158,36 +9804,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym617 := z.EncBinary() - _ = yym617 + yym660 := z.EncBinary() + _ = yym660 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep618 := !z.EncBinary() - yy2arr618 := z.EncBasicHandle().StructToArray - var yyq618 [4]bool - _, _, _ = yysep618, yyq618, yy2arr618 - const yyr618 bool = false - yyq618[1] = x.FSType != "" - yyq618[2] = x.Partition != 0 - yyq618[3] = x.ReadOnly != false - var yynn618 int - if yyr618 || yy2arr618 { + 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 { r.EncodeArrayStart(4) } else { - yynn618 = 1 - for _, b := range yyq618 { + yynn661 = 1 + for _, b := range yyq661 { if b { - yynn618++ + yynn661++ } } - r.EncodeMapStart(yynn618) - yynn618 = 0 + r.EncodeMapStart(yynn661) + yynn661 = 0 } - if yyr618 || yy2arr618 { + if yyr661 || yy2arr661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym620 := z.EncBinary() - _ = yym620 + yym663 := z.EncBinary() + _ = yym663 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -9196,18 +9842,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym621 := z.EncBinary() - _ = yym621 + yym664 := z.EncBinary() + _ = yym664 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr618 || yy2arr618 { + if yyr661 || yy2arr661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq618[1] { - yym623 := z.EncBinary() - _ = yym623 + if yyq661[1] { + yym666 := z.EncBinary() + _ = yym666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9216,23 +9862,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq618[1] { + if yyq661[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym624 := z.EncBinary() - _ = yym624 + yym667 := z.EncBinary() + _ = yym667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr618 || yy2arr618 { + if yyr661 || yy2arr661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq618[2] { - yym626 := z.EncBinary() - _ = yym626 + if yyq661[2] { + yym669 := z.EncBinary() + _ = yym669 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -9241,23 +9887,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq618[2] { + if yyq661[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym627 := z.EncBinary() - _ = yym627 + yym670 := z.EncBinary() + _ = yym670 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr618 || yy2arr618 { + if yyr661 || yy2arr661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq618[3] { - yym629 := z.EncBinary() - _ = yym629 + if yyq661[3] { + yym672 := z.EncBinary() + _ = yym672 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9266,19 +9912,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq618[3] { + if yyq661[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym630 := z.EncBinary() - _ = yym630 + yym673 := z.EncBinary() + _ = yym673 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr618 || yy2arr618 { + if yyr661 || yy2arr661 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9291,25 +9937,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym631 := z.DecBinary() - _ = yym631 + yym674 := z.DecBinary() + _ = yym674 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct632 := r.ContainerType() - if yyct632 == codecSelferValueTypeMap1234 { - yyl632 := r.ReadMapStart() - if yyl632 == 0 { + yyct675 := r.ContainerType() + if yyct675 == codecSelferValueTypeMap1234 { + yyl675 := r.ReadMapStart() + if yyl675 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl632, d) + x.codecDecodeSelfFromMap(yyl675, d) } - } else if yyct632 == codecSelferValueTypeArray1234 { - yyl632 := r.ReadArrayStart() - if yyl632 == 0 { + } else if yyct675 == codecSelferValueTypeArray1234 { + yyl675 := r.ReadArrayStart() + if yyl675 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl632, d) + x.codecDecodeSelfFromArray(yyl675, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9321,12 +9967,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys633Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys633Slc - var yyhl633 bool = l >= 0 - for yyj633 := 0; ; yyj633++ { - if yyhl633 { - if yyj633 >= l { + var yys676Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys676Slc + var yyhl676 bool = l >= 0 + for yyj676 := 0; ; yyj676++ { + if yyhl676 { + if yyj676 >= l { break } } else { @@ -9335,10 +9981,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys633Slc = r.DecodeBytes(yys633Slc, true, true) - yys633 := string(yys633Slc) + yys676Slc = r.DecodeBytes(yys676Slc, true, true) + yys676 := string(yys676Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys633 { + switch yys676 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -9364,9 +10010,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys633) - } // end switch yys633 - } // end for yyj633 + z.DecStructFieldNotFound(-1, yys676) + } // end switch yys676 + } // end for yyj676 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9374,16 +10020,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj638 int - var yyb638 bool - var yyhl638 bool = l >= 0 - yyj638++ - if yyhl638 { - yyb638 = yyj638 > l + var yyj681 int + var yyb681 bool + var yyhl681 bool = l >= 0 + yyj681++ + if yyhl681 { + yyb681 = yyj681 > l } else { - yyb638 = r.CheckBreak() + yyb681 = r.CheckBreak() } - if yyb638 { + if yyb681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9393,13 +10039,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj638++ - if yyhl638 { - yyb638 = yyj638 > l + yyj681++ + if yyhl681 { + yyb681 = yyj681 > l } else { - yyb638 = r.CheckBreak() + yyb681 = r.CheckBreak() } - if yyb638 { + if yyb681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9409,13 +10055,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj638++ - if yyhl638 { - yyb638 = yyj638 > l + yyj681++ + if yyhl681 { + yyb681 = yyj681 > l } else { - yyb638 = r.CheckBreak() + yyb681 = r.CheckBreak() } - if yyb638 { + if yyb681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9425,13 +10071,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj638++ - if yyhl638 { - yyb638 = yyj638 > l + yyj681++ + if yyhl681 { + yyb681 = yyj681 > l } else { - yyb638 = r.CheckBreak() + yyb681 = r.CheckBreak() } - if yyb638 { + if yyb681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9442,17 +10088,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj638++ - if yyhl638 { - yyb638 = yyj638 > l + yyj681++ + if yyhl681 { + yyb681 = yyj681 > l } else { - yyb638 = r.CheckBreak() + yyb681 = r.CheckBreak() } - if yyb638 { + if yyb681 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj638-1, "") + z.DecStructFieldNotFound(yyj681-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9464,35 +10110,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym686 := z.EncBinary() + _ = yym686 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep644 := !z.EncBinary() - yy2arr644 := z.EncBasicHandle().StructToArray - var yyq644 [3]bool - _, _, _ = yysep644, yyq644, yy2arr644 - const yyr644 bool = false - yyq644[1] = x.Revision != "" - yyq644[2] = x.Directory != "" - var yynn644 int - if yyr644 || yy2arr644 { + 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 { r.EncodeArrayStart(3) } else { - yynn644 = 1 - for _, b := range yyq644 { + yynn687 = 1 + for _, b := range yyq687 { if b { - yynn644++ + yynn687++ } } - r.EncodeMapStart(yynn644) - yynn644 = 0 + r.EncodeMapStart(yynn687) + yynn687 = 0 } - if yyr644 || yy2arr644 { + if yyr687 || yy2arr687 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym646 := z.EncBinary() - _ = yym646 + yym689 := z.EncBinary() + _ = yym689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -9501,18 +10147,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym647 := z.EncBinary() - _ = yym647 + yym690 := z.EncBinary() + _ = yym690 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr644 || yy2arr644 { + if yyr687 || yy2arr687 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[1] { - yym649 := z.EncBinary() - _ = yym649 + if yyq687[1] { + yym692 := z.EncBinary() + _ = yym692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -9521,23 +10167,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[1] { + if yyq687[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym650 := z.EncBinary() - _ = yym650 + yym693 := z.EncBinary() + _ = yym693 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr644 || yy2arr644 { + if yyr687 || yy2arr687 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[2] { - yym652 := z.EncBinary() - _ = yym652 + if yyq687[2] { + yym695 := z.EncBinary() + _ = yym695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -9546,19 +10192,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[2] { + if yyq687[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym653 := z.EncBinary() - _ = yym653 + yym696 := z.EncBinary() + _ = yym696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr644 || yy2arr644 { + if yyr687 || yy2arr687 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9571,25 +10217,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym654 := z.DecBinary() - _ = yym654 + yym697 := z.DecBinary() + _ = yym697 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct655 := r.ContainerType() - if yyct655 == codecSelferValueTypeMap1234 { - yyl655 := r.ReadMapStart() - if yyl655 == 0 { + yyct698 := r.ContainerType() + if yyct698 == codecSelferValueTypeMap1234 { + yyl698 := r.ReadMapStart() + if yyl698 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl655, d) + x.codecDecodeSelfFromMap(yyl698, d) } - } else if yyct655 == codecSelferValueTypeArray1234 { - yyl655 := r.ReadArrayStart() - if yyl655 == 0 { + } else if yyct698 == codecSelferValueTypeArray1234 { + yyl698 := r.ReadArrayStart() + if yyl698 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl655, d) + x.codecDecodeSelfFromArray(yyl698, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9601,12 +10247,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys656Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys656Slc - var yyhl656 bool = l >= 0 - for yyj656 := 0; ; yyj656++ { - if yyhl656 { - if yyj656 >= l { + var yys699Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys699Slc + var yyhl699 bool = l >= 0 + for yyj699 := 0; ; yyj699++ { + if yyhl699 { + if yyj699 >= l { break } } else { @@ -9615,10 +10261,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys656Slc = r.DecodeBytes(yys656Slc, true, true) - yys656 := string(yys656Slc) + yys699Slc = r.DecodeBytes(yys699Slc, true, true) + yys699 := string(yys699Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys656 { + switch yys699 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -9638,9 +10284,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys656) - } // end switch yys656 - } // end for yyj656 + z.DecStructFieldNotFound(-1, yys699) + } // end switch yys699 + } // end for yyj699 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9648,16 +10294,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj660 int - var yyb660 bool - var yyhl660 bool = l >= 0 - yyj660++ - if yyhl660 { - yyb660 = yyj660 > l + var yyj703 int + var yyb703 bool + var yyhl703 bool = l >= 0 + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb660 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb660 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9667,13 +10313,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj660++ - if yyhl660 { - yyb660 = yyj660 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb660 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb660 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9683,13 +10329,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj660++ - if yyhl660 { - yyb660 = yyj660 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb660 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb660 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9700,17 +10346,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj660++ - if yyhl660 { - yyb660 = yyj660 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb660 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb660 { + if yyb703 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj660-1, "") + z.DecStructFieldNotFound(yyj703-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9722,33 +10368,33 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym664 := z.EncBinary() - _ = yym664 + yym707 := z.EncBinary() + _ = yym707 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep665 := !z.EncBinary() - yy2arr665 := z.EncBasicHandle().StructToArray - var yyq665 [1]bool - _, _, _ = yysep665, yyq665, yy2arr665 - const yyr665 bool = false - var yynn665 int - if yyr665 || yy2arr665 { + yysep708 := !z.EncBinary() + yy2arr708 := z.EncBasicHandle().StructToArray + var yyq708 [1]bool + _, _, _ = yysep708, yyq708, yy2arr708 + const yyr708 bool = false + var yynn708 int + if yyr708 || yy2arr708 { r.EncodeArrayStart(1) } else { - yynn665 = 1 - for _, b := range yyq665 { + yynn708 = 1 + for _, b := range yyq708 { if b { - yynn665++ + yynn708++ } } - r.EncodeMapStart(yynn665) - yynn665 = 0 + r.EncodeMapStart(yynn708) + yynn708 = 0 } - if yyr665 || yy2arr665 { + if yyr708 || yy2arr708 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym667 := z.EncBinary() - _ = yym667 + yym710 := z.EncBinary() + _ = yym710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -9757,14 +10403,14 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym668 := z.EncBinary() - _ = yym668 + yym711 := z.EncBinary() + _ = yym711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr665 || yy2arr665 { + if yyr708 || yy2arr708 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9777,25 +10423,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym669 := z.DecBinary() - _ = yym669 + yym712 := z.DecBinary() + _ = yym712 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct670 := r.ContainerType() - if yyct670 == codecSelferValueTypeMap1234 { - yyl670 := r.ReadMapStart() - if yyl670 == 0 { + yyct713 := r.ContainerType() + if yyct713 == codecSelferValueTypeMap1234 { + yyl713 := r.ReadMapStart() + if yyl713 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl670, d) + x.codecDecodeSelfFromMap(yyl713, d) } - } else if yyct670 == codecSelferValueTypeArray1234 { - yyl670 := r.ReadArrayStart() - if yyl670 == 0 { + } else if yyct713 == codecSelferValueTypeArray1234 { + yyl713 := r.ReadArrayStart() + if yyl713 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl670, d) + x.codecDecodeSelfFromArray(yyl713, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9807,12 +10453,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys671Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys671Slc - var yyhl671 bool = l >= 0 - for yyj671 := 0; ; yyj671++ { - if yyhl671 { - if yyj671 >= l { + var yys714Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys714Slc + var yyhl714 bool = l >= 0 + for yyj714 := 0; ; yyj714++ { + if yyhl714 { + if yyj714 >= l { break } } else { @@ -9821,10 +10467,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys671Slc = r.DecodeBytes(yys671Slc, true, true) - yys671 := string(yys671Slc) + yys714Slc = r.DecodeBytes(yys714Slc, true, true) + yys714 := string(yys714Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys671 { + switch yys714 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -9832,9 +10478,9 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys671) - } // end switch yys671 - } // end for yyj671 + z.DecStructFieldNotFound(-1, yys714) + } // end switch yys714 + } // end for yyj714 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9842,16 +10488,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj673 int - var yyb673 bool - var yyhl673 bool = l >= 0 - yyj673++ - if yyhl673 { - yyb673 = yyj673 > l + var yyj716 int + var yyb716 bool + var yyhl716 bool = l >= 0 + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb673 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb673 { + if yyb716 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9862,17 +10508,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.SecretName = string(r.DecodeString()) } for { - yyj673++ - if yyhl673 { - yyb673 = yyj673 > l + yyj716++ + if yyhl716 { + yyb716 = yyj716 > l } else { - yyb673 = r.CheckBreak() + yyb716 = r.CheckBreak() } - if yyb673 { + if yyb716 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj673-1, "") + z.DecStructFieldNotFound(yyj716-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9884,34 +10530,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym675 := z.EncBinary() - _ = yym675 + yym718 := z.EncBinary() + _ = yym718 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep676 := !z.EncBinary() - yy2arr676 := z.EncBasicHandle().StructToArray - var yyq676 [3]bool - _, _, _ = yysep676, yyq676, yy2arr676 - const yyr676 bool = false - yyq676[2] = x.ReadOnly != false - var yynn676 int - if yyr676 || yy2arr676 { + 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 { r.EncodeArrayStart(3) } else { - yynn676 = 2 - for _, b := range yyq676 { + yynn719 = 2 + for _, b := range yyq719 { if b { - yynn676++ + yynn719++ } } - r.EncodeMapStart(yynn676) - yynn676 = 0 + r.EncodeMapStart(yynn719) + yynn719 = 0 } - if yyr676 || yy2arr676 { + if yyr719 || yy2arr719 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym678 := z.EncBinary() - _ = yym678 + yym721 := z.EncBinary() + _ = yym721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -9920,17 +10566,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym679 := z.EncBinary() - _ = yym679 + yym722 := z.EncBinary() + _ = yym722 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr676 || yy2arr676 { + if yyr719 || yy2arr719 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym681 := z.EncBinary() - _ = yym681 + yym724 := z.EncBinary() + _ = yym724 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9939,18 +10585,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym682 := z.EncBinary() - _ = yym682 + yym725 := z.EncBinary() + _ = yym725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr676 || yy2arr676 { + if yyr719 || yy2arr719 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[2] { - yym684 := z.EncBinary() - _ = yym684 + if yyq719[2] { + yym727 := z.EncBinary() + _ = yym727 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9959,19 +10605,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq676[2] { + if yyq719[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym685 := z.EncBinary() - _ = yym685 + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr676 || yy2arr676 { + if yyr719 || yy2arr719 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9984,25 +10630,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym686 := z.DecBinary() - _ = yym686 + yym729 := z.DecBinary() + _ = yym729 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct687 := r.ContainerType() - if yyct687 == codecSelferValueTypeMap1234 { - yyl687 := r.ReadMapStart() - if yyl687 == 0 { + yyct730 := r.ContainerType() + if yyct730 == codecSelferValueTypeMap1234 { + yyl730 := r.ReadMapStart() + if yyl730 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl687, d) + x.codecDecodeSelfFromMap(yyl730, d) } - } else if yyct687 == codecSelferValueTypeArray1234 { - yyl687 := r.ReadArrayStart() - if yyl687 == 0 { + } else if yyct730 == codecSelferValueTypeArray1234 { + yyl730 := r.ReadArrayStart() + if yyl730 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl687, d) + x.codecDecodeSelfFromArray(yyl730, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10014,12 +10660,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys688Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys688Slc - var yyhl688 bool = l >= 0 - for yyj688 := 0; ; yyj688++ { - if yyhl688 { - if yyj688 >= l { + var yys731Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys731Slc + var yyhl731 bool = l >= 0 + for yyj731 := 0; ; yyj731++ { + if yyhl731 { + if yyj731 >= l { break } } else { @@ -10028,10 +10674,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys688Slc = r.DecodeBytes(yys688Slc, true, true) - yys688 := string(yys688Slc) + yys731Slc = r.DecodeBytes(yys731Slc, true, true) + yys731 := string(yys731Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys688 { + switch yys731 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -10051,9 +10697,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys688) - } // end switch yys688 - } // end for yyj688 + z.DecStructFieldNotFound(-1, yys731) + } // end switch yys731 + } // end for yyj731 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10061,16 +10707,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj692 int - var yyb692 bool - var yyhl692 bool = l >= 0 - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l + var yyj735 int + var yyb735 bool + var yyhl735 bool = l >= 0 + yyj735++ + if yyhl735 { + yyb735 = yyj735 > l } else { - yyb692 = r.CheckBreak() + yyb735 = r.CheckBreak() } - if yyb692 { + if yyb735 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10080,13 +10726,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l + yyj735++ + if yyhl735 { + yyb735 = yyj735 > l } else { - yyb692 = r.CheckBreak() + yyb735 = r.CheckBreak() } - if yyb692 { + if yyb735 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10096,13 +10742,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l + yyj735++ + if yyhl735 { + yyb735 = yyj735 > l } else { - yyb692 = r.CheckBreak() + yyb735 = r.CheckBreak() } - if yyb692 { + if yyb735 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10113,17 +10759,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l + yyj735++ + if yyhl735 { + yyb735 = yyj735 > l } else { - yyb692 = r.CheckBreak() + yyb735 = r.CheckBreak() } - if yyb692 { + if yyb735 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj692-1, "") + z.DecStructFieldNotFound(yyj735-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10135,34 +10781,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym696 := z.EncBinary() - _ = yym696 + yym739 := z.EncBinary() + _ = yym739 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep697 := !z.EncBinary() - yy2arr697 := z.EncBasicHandle().StructToArray - var yyq697 [3]bool - _, _, _ = yysep697, yyq697, yy2arr697 - const yyr697 bool = false - yyq697[2] = x.ReadOnly != false - var yynn697 int - if yyr697 || yy2arr697 { + 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 { r.EncodeArrayStart(3) } else { - yynn697 = 2 - for _, b := range yyq697 { + yynn740 = 2 + for _, b := range yyq740 { if b { - yynn697++ + yynn740++ } } - r.EncodeMapStart(yynn697) - yynn697 = 0 + r.EncodeMapStart(yynn740) + yynn740 = 0 } - if yyr697 || yy2arr697 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym699 := z.EncBinary() - _ = yym699 + yym742 := z.EncBinary() + _ = yym742 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -10171,17 +10817,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym700 := z.EncBinary() - _ = yym700 + yym743 := z.EncBinary() + _ = yym743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr697 || yy2arr697 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym702 := z.EncBinary() - _ = yym702 + yym745 := z.EncBinary() + _ = yym745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10190,18 +10836,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym703 := z.EncBinary() - _ = yym703 + yym746 := z.EncBinary() + _ = yym746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr697 || yy2arr697 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq697[2] { - yym705 := z.EncBinary() - _ = yym705 + if yyq740[2] { + yym748 := z.EncBinary() + _ = yym748 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10210,19 +10856,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq697[2] { + if yyq740[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym706 := z.EncBinary() - _ = yym706 + yym749 := z.EncBinary() + _ = yym749 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr697 || yy2arr697 { + if yyr740 || yy2arr740 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10235,25 +10881,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym707 := z.DecBinary() - _ = yym707 + yym750 := z.DecBinary() + _ = yym750 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct708 := r.ContainerType() - if yyct708 == codecSelferValueTypeMap1234 { - yyl708 := r.ReadMapStart() - if yyl708 == 0 { + yyct751 := r.ContainerType() + if yyct751 == codecSelferValueTypeMap1234 { + yyl751 := r.ReadMapStart() + if yyl751 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl708, d) + x.codecDecodeSelfFromMap(yyl751, d) } - } else if yyct708 == codecSelferValueTypeArray1234 { - yyl708 := r.ReadArrayStart() - if yyl708 == 0 { + } else if yyct751 == codecSelferValueTypeArray1234 { + yyl751 := r.ReadArrayStart() + if yyl751 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl708, d) + x.codecDecodeSelfFromArray(yyl751, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10265,12 +10911,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys709Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys709Slc - var yyhl709 bool = l >= 0 - for yyj709 := 0; ; yyj709++ { - if yyhl709 { - if yyj709 >= l { + var yys752Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys752Slc + var yyhl752 bool = l >= 0 + for yyj752 := 0; ; yyj752++ { + if yyhl752 { + if yyj752 >= l { break } } else { @@ -10279,10 +10925,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys709Slc = r.DecodeBytes(yys709Slc, true, true) - yys709 := string(yys709Slc) + yys752Slc = r.DecodeBytes(yys752Slc, true, true) + yys752 := string(yys752Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys709 { + switch yys752 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -10302,9 +10948,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys709) - } // end switch yys709 - } // end for yyj709 + z.DecStructFieldNotFound(-1, yys752) + } // end switch yys752 + } // end for yyj752 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10312,16 +10958,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj713 int - var yyb713 bool - var yyhl713 bool = l >= 0 - yyj713++ - if yyhl713 { - yyb713 = yyj713 > l + var yyj756 int + var yyb756 bool + var yyhl756 bool = l >= 0 + yyj756++ + if yyhl756 { + yyb756 = yyj756 > l } else { - yyb713 = r.CheckBreak() + yyb756 = r.CheckBreak() } - if yyb713 { + if yyb756 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10331,13 +10977,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj713++ - if yyhl713 { - yyb713 = yyj713 > l + yyj756++ + if yyhl756 { + yyb756 = yyj756 > l } else { - yyb713 = r.CheckBreak() + yyb756 = r.CheckBreak() } - if yyb713 { + if yyb756 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10347,13 +10993,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj713++ - if yyhl713 { - yyb713 = yyj713 > l + yyj756++ + if yyhl756 { + yyb756 = yyj756 > l } else { - yyb713 = r.CheckBreak() + yyb756 = r.CheckBreak() } - if yyb713 { + if yyb756 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10364,17 +11010,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj713++ - if yyhl713 { - yyb713 = yyj713 > l + yyj756++ + if yyhl756 { + yyb756 = yyj756 > l } else { - yyb713 = r.CheckBreak() + yyb756 = r.CheckBreak() } - if yyb713 { + if yyb756 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj713-1, "") + z.DecStructFieldNotFound(yyj756-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10386,38 +11032,38 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym717 := z.EncBinary() - _ = yym717 + yym760 := z.EncBinary() + _ = yym760 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep718 := !z.EncBinary() - yy2arr718 := z.EncBasicHandle().StructToArray - var yyq718 [8]bool - _, _, _ = yysep718, yyq718, yy2arr718 - const yyr718 bool = false - yyq718[2] = x.FSType != "" - yyq718[7] = x.ReadOnly != false - var yynn718 int - if yyr718 || yy2arr718 { + 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 { r.EncodeArrayStart(8) } else { - yynn718 = 6 - for _, b := range yyq718 { + yynn761 = 6 + for _, b := range yyq761 { if b { - yynn718++ + yynn761++ } } - r.EncodeMapStart(yynn718) - yynn718 = 0 + r.EncodeMapStart(yynn761) + yynn761 = 0 } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym720 := z.EncBinary() - _ = yym720 + yym763 := z.EncBinary() + _ = yym763 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -10430,18 +11076,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym721 := z.EncBinary() - _ = yym721 + yym764 := z.EncBinary() + _ = yym764 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym723 := z.EncBinary() - _ = yym723 + yym766 := z.EncBinary() + _ = yym766 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -10450,18 +11096,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym724 := z.EncBinary() - _ = yym724 + yym767 := z.EncBinary() + _ = yym767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq718[2] { - yym726 := z.EncBinary() - _ = yym726 + if yyq761[2] { + yym769 := z.EncBinary() + _ = yym769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10470,22 +11116,22 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq718[2] { + if yyq761[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym727 := z.EncBinary() - _ = yym727 + yym770 := z.EncBinary() + _ = yym770 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym729 := z.EncBinary() - _ = yym729 + yym772 := z.EncBinary() + _ = yym772 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -10494,17 +11140,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym730 := z.EncBinary() - _ = yym730 + yym773 := z.EncBinary() + _ = yym773 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym732 := z.EncBinary() - _ = yym732 + yym775 := z.EncBinary() + _ = yym775 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -10513,17 +11159,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym733 := z.EncBinary() - _ = yym733 + yym776 := z.EncBinary() + _ = yym776 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym735 := z.EncBinary() - _ = yym735 + yym778 := z.EncBinary() + _ = yym778 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -10532,14 +11178,14 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym736 := z.EncBinary() - _ = yym736 + yym779 := z.EncBinary() + _ = yym779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SecretRef == nil { r.EncodeNil() @@ -10556,11 +11202,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { x.SecretRef.CodecEncodeSelf(e) } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq718[7] { - yym739 := z.EncBinary() - _ = yym739 + if yyq761[7] { + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10569,19 +11215,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq718[7] { + if yyq761[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym740 := z.EncBinary() - _ = yym740 + yym783 := z.EncBinary() + _ = yym783 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr718 || yy2arr718 { + if yyr761 || yy2arr761 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10594,25 +11240,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym741 := z.DecBinary() - _ = yym741 + yym784 := z.DecBinary() + _ = yym784 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct742 := r.ContainerType() - if yyct742 == codecSelferValueTypeMap1234 { - yyl742 := r.ReadMapStart() - if yyl742 == 0 { + yyct785 := r.ContainerType() + if yyct785 == codecSelferValueTypeMap1234 { + yyl785 := r.ReadMapStart() + if yyl785 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl742, d) + x.codecDecodeSelfFromMap(yyl785, d) } - } else if yyct742 == codecSelferValueTypeArray1234 { - yyl742 := r.ReadArrayStart() - if yyl742 == 0 { + } else if yyct785 == codecSelferValueTypeArray1234 { + yyl785 := r.ReadArrayStart() + if yyl785 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl742, d) + x.codecDecodeSelfFromArray(yyl785, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10624,12 +11270,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys786Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys786Slc + var yyhl786 bool = l >= 0 + for yyj786 := 0; ; yyj786++ { + if yyhl786 { + if yyj786 >= l { break } } else { @@ -10638,20 +11284,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys743Slc = r.DecodeBytes(yys743Slc, true, true) - yys743 := string(yys743Slc) + yys786Slc = r.DecodeBytes(yys786Slc, true, true) + yys786 := string(yys786Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys743 { + switch yys786 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv744 := &x.CephMonitors - yym745 := z.DecBinary() - _ = yym745 + yyv787 := &x.CephMonitors + yym788 := z.DecBinary() + _ = yym788 if false { } else { - z.F.DecSliceStringX(yyv744, false, d) + z.F.DecSliceStringX(yyv787, false, d) } } case "image": @@ -10702,9 +11348,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys743) - } // end switch yys743 - } // end for yyj743 + z.DecStructFieldNotFound(-1, yys786) + } // end switch yys786 + } // end for yyj786 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10712,16 +11358,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj753 int - var yyb753 bool - var yyhl753 bool = l >= 0 - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + var yyj796 int + var yyb796 bool + var yyhl796 bool = l >= 0 + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10729,21 +11375,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv754 := &x.CephMonitors - yym755 := z.DecBinary() - _ = yym755 + yyv797 := &x.CephMonitors + yym798 := z.DecBinary() + _ = yym798 if false { } else { - z.F.DecSliceStringX(yyv754, false, d) + z.F.DecSliceStringX(yyv797, false, d) } } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10753,13 +11399,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10769,13 +11415,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10785,13 +11431,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10801,13 +11447,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10817,13 +11463,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10838,13 +11484,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10855,17 +11501,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj753++ - if yyhl753 { - yyb753 = yyj753 > l + yyj796++ + if yyhl796 { + yyb796 = yyj796 > l } else { - yyb753 = r.CheckBreak() + yyb796 = r.CheckBreak() } - if yyb753 { + if yyb796 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj753-1, "") + z.DecStructFieldNotFound(yyj796-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10877,35 +11523,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym763 := z.EncBinary() - _ = yym763 + yym806 := z.EncBinary() + _ = yym806 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep764 := !z.EncBinary() - yy2arr764 := z.EncBasicHandle().StructToArray - var yyq764 [3]bool - _, _, _ = yysep764, yyq764, yy2arr764 - const yyr764 bool = false - yyq764[1] = x.FSType != "" - yyq764[2] = x.ReadOnly != false - var yynn764 int - if yyr764 || yy2arr764 { + 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 { r.EncodeArrayStart(3) } else { - yynn764 = 1 - for _, b := range yyq764 { + yynn807 = 1 + for _, b := range yyq807 { if b { - yynn764++ + yynn807++ } } - r.EncodeMapStart(yynn764) - yynn764 = 0 + r.EncodeMapStart(yynn807) + yynn807 = 0 } - if yyr764 || yy2arr764 { + if yyr807 || yy2arr807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym766 := z.EncBinary() - _ = yym766 + yym809 := z.EncBinary() + _ = yym809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -10914,18 +11560,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym767 := z.EncBinary() - _ = yym767 + yym810 := z.EncBinary() + _ = yym810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr764 || yy2arr764 { + if yyr807 || yy2arr807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq764[1] { - yym769 := z.EncBinary() - _ = yym769 + if yyq807[1] { + yym812 := z.EncBinary() + _ = yym812 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10934,23 +11580,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq764[1] { + if yyq807[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym770 := z.EncBinary() - _ = yym770 + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr764 || yy2arr764 { + if yyr807 || yy2arr807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq764[2] { - yym772 := z.EncBinary() - _ = yym772 + if yyq807[2] { + yym815 := z.EncBinary() + _ = yym815 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10959,19 +11605,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq764[2] { + if yyq807[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym773 := z.EncBinary() - _ = yym773 + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr764 || yy2arr764 { + if yyr807 || yy2arr807 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10984,25 +11630,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym774 := z.DecBinary() - _ = yym774 + yym817 := z.DecBinary() + _ = yym817 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct775 := r.ContainerType() - if yyct775 == codecSelferValueTypeMap1234 { - yyl775 := r.ReadMapStart() - if yyl775 == 0 { + yyct818 := r.ContainerType() + if yyct818 == codecSelferValueTypeMap1234 { + yyl818 := r.ReadMapStart() + if yyl818 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl775, d) + x.codecDecodeSelfFromMap(yyl818, d) } - } else if yyct775 == codecSelferValueTypeArray1234 { - yyl775 := r.ReadArrayStart() - if yyl775 == 0 { + } else if yyct818 == codecSelferValueTypeArray1234 { + yyl818 := r.ReadArrayStart() + if yyl818 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl775, d) + x.codecDecodeSelfFromArray(yyl818, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11014,12 +11660,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys776Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys776Slc - var yyhl776 bool = l >= 0 - for yyj776 := 0; ; yyj776++ { - if yyhl776 { - if yyj776 >= l { + var yys819Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys819Slc + var yyhl819 bool = l >= 0 + for yyj819 := 0; ; yyj819++ { + if yyhl819 { + if yyj819 >= l { break } } else { @@ -11028,10 +11674,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys776Slc = r.DecodeBytes(yys776Slc, true, true) - yys776 := string(yys776Slc) + yys819Slc = r.DecodeBytes(yys819Slc, true, true) + yys819 := string(yys819Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys776 { + switch yys819 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -11051,9 +11697,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys776) - } // end switch yys776 - } // end for yyj776 + z.DecStructFieldNotFound(-1, yys819) + } // end switch yys819 + } // end for yyj819 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11061,16 +11707,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj780 int - var yyb780 bool - var yyhl780 bool = l >= 0 - yyj780++ - if yyhl780 { - yyb780 = yyj780 > l + var yyj823 int + var yyb823 bool + var yyhl823 bool = l >= 0 + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l } else { - yyb780 = r.CheckBreak() + yyb823 = r.CheckBreak() } - if yyb780 { + if yyb823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11080,13 +11726,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj780++ - if yyhl780 { - yyb780 = yyj780 > l + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l } else { - yyb780 = r.CheckBreak() + yyb823 = r.CheckBreak() } - if yyb780 { + if yyb823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11096,13 +11742,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj780++ - if yyhl780 { - yyb780 = yyj780 > l + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l } else { - yyb780 = r.CheckBreak() + yyb823 = r.CheckBreak() } - if yyb780 { + if yyb823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11113,17 +11759,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj780++ - if yyhl780 { - yyb780 = yyj780 > l + yyj823++ + if yyhl823 { + yyb823 = yyj823 > l } else { - yyb780 = r.CheckBreak() + yyb823 = r.CheckBreak() } - if yyb780 { + if yyb823 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj780-1, "") + z.DecStructFieldNotFound(yyj823-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11135,40 +11781,40 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym784 := z.EncBinary() - _ = yym784 + yym827 := z.EncBinary() + _ = yym827 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep785 := !z.EncBinary() - yy2arr785 := z.EncBasicHandle().StructToArray - var yyq785 [5]bool - _, _, _ = yysep785, yyq785, yy2arr785 - const yyr785 bool = false - yyq785[1] = x.User != "" - yyq785[2] = x.SecretFile != "" - yyq785[3] = x.SecretRef != nil - yyq785[4] = x.ReadOnly != false - var yynn785 int - if yyr785 || yy2arr785 { + yysep828 := !z.EncBinary() + yy2arr828 := z.EncBasicHandle().StructToArray + var yyq828 [5]bool + _, _, _ = yysep828, yyq828, yy2arr828 + const yyr828 bool = false + yyq828[1] = x.User != "" + yyq828[2] = x.SecretFile != "" + yyq828[3] = x.SecretRef != nil + yyq828[4] = x.ReadOnly != false + var yynn828 int + if yyr828 || yy2arr828 { r.EncodeArrayStart(5) } else { - yynn785 = 1 - for _, b := range yyq785 { + yynn828 = 1 + for _, b := range yyq828 { if b { - yynn785++ + yynn828++ } } - r.EncodeMapStart(yynn785) - yynn785 = 0 + r.EncodeMapStart(yynn828) + yynn828 = 0 } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym787 := z.EncBinary() - _ = yym787 + yym830 := z.EncBinary() + _ = yym830 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -11181,19 +11827,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym788 := z.EncBinary() - _ = yym788 + yym831 := z.EncBinary() + _ = yym831 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq785[1] { - yym790 := z.EncBinary() - _ = yym790 + if yyq828[1] { + yym833 := z.EncBinary() + _ = yym833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -11202,23 +11848,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq785[1] { + if yyq828[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym791 := z.EncBinary() - _ = yym791 + yym834 := z.EncBinary() + _ = yym834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq785[2] { - yym793 := z.EncBinary() - _ = yym793 + if yyq828[2] { + yym836 := z.EncBinary() + _ = yym836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -11227,21 +11873,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq785[2] { + if yyq828[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym794 := z.EncBinary() - _ = yym794 + yym837 := z.EncBinary() + _ = yym837 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq785[3] { + if yyq828[3] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -11251,7 +11897,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq785[3] { + if yyq828[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -11262,11 +11908,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq785[4] { - yym797 := z.EncBinary() - _ = yym797 + if yyq828[4] { + yym840 := z.EncBinary() + _ = yym840 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11275,19 +11921,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq785[4] { + if yyq828[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym798 := z.EncBinary() - _ = yym798 + yym841 := z.EncBinary() + _ = yym841 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr785 || yy2arr785 { + if yyr828 || yy2arr828 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11300,25 +11946,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym799 := z.DecBinary() - _ = yym799 + yym842 := z.DecBinary() + _ = yym842 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct800 := r.ContainerType() - if yyct800 == codecSelferValueTypeMap1234 { - yyl800 := r.ReadMapStart() - if yyl800 == 0 { + yyct843 := r.ContainerType() + if yyct843 == codecSelferValueTypeMap1234 { + yyl843 := r.ReadMapStart() + if yyl843 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl800, d) + x.codecDecodeSelfFromMap(yyl843, d) } - } else if yyct800 == codecSelferValueTypeArray1234 { - yyl800 := r.ReadArrayStart() - if yyl800 == 0 { + } else if yyct843 == codecSelferValueTypeArray1234 { + yyl843 := r.ReadArrayStart() + if yyl843 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl800, d) + x.codecDecodeSelfFromArray(yyl843, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11330,12 +11976,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys801Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys801Slc - var yyhl801 bool = l >= 0 - for yyj801 := 0; ; yyj801++ { - if yyhl801 { - if yyj801 >= l { + var yys844Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys844Slc + var yyhl844 bool = l >= 0 + for yyj844 := 0; ; yyj844++ { + if yyhl844 { + if yyj844 >= l { break } } else { @@ -11344,20 +11990,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys801Slc = r.DecodeBytes(yys801Slc, true, true) - yys801 := string(yys801Slc) + yys844Slc = r.DecodeBytes(yys844Slc, true, true) + yys844 := string(yys844Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys801 { + switch yys844 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv802 := &x.Monitors - yym803 := z.DecBinary() - _ = yym803 + yyv845 := &x.Monitors + yym846 := z.DecBinary() + _ = yym846 if false { } else { - z.F.DecSliceStringX(yyv802, false, d) + z.F.DecSliceStringX(yyv845, false, d) } } case "user": @@ -11390,9 +12036,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys801) - } // end switch yys801 - } // end for yyj801 + z.DecStructFieldNotFound(-1, yys844) + } // end switch yys844 + } // end for yyj844 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11400,16 +12046,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj808 int - var yyb808 bool - var yyhl808 bool = l >= 0 - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + var yyj851 int + var yyb851 bool + var yyhl851 bool = l >= 0 + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11417,21 +12063,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv809 := &x.Monitors - yym810 := z.DecBinary() - _ = yym810 + yyv852 := &x.Monitors + yym853 := z.DecBinary() + _ = yym853 if false { } else { - z.F.DecSliceStringX(yyv809, false, d) + z.F.DecSliceStringX(yyv852, false, d) } } - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11441,13 +12087,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11457,13 +12103,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11478,13 +12124,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11495,17 +12141,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj808++ - if yyhl808 { - yyb808 = yyj808 > l + yyj851++ + if yyhl851 { + yyb851 = yyj851 > l } else { - yyb808 = r.CheckBreak() + yyb851 = r.CheckBreak() } - if yyb808 { + if yyb851 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj808-1, "") + z.DecStructFieldNotFound(yyj851-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11517,33 +12163,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym815 := z.EncBinary() - _ = yym815 + yym858 := z.EncBinary() + _ = yym858 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep816 := !z.EncBinary() - yy2arr816 := z.EncBasicHandle().StructToArray - var yyq816 [1]bool - _, _, _ = yysep816, yyq816, yy2arr816 - const yyr816 bool = false - var yynn816 int - if yyr816 || yy2arr816 { + yysep859 := !z.EncBinary() + yy2arr859 := z.EncBasicHandle().StructToArray + var yyq859 [1]bool + _, _, _ = yysep859, yyq859, yy2arr859 + const yyr859 bool = false + var yynn859 int + if yyr859 || yy2arr859 { r.EncodeArrayStart(1) } else { - yynn816 = 1 - for _, b := range yyq816 { + yynn859 = 1 + for _, b := range yyq859 { if b { - yynn816++ + yynn859++ } } - r.EncodeMapStart(yynn816) - yynn816 = 0 + r.EncodeMapStart(yynn859) + yynn859 = 0 } - if yyr816 || yy2arr816 { + if yyr859 || yy2arr859 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym818 := z.EncBinary() - _ = yym818 + yym861 := z.EncBinary() + _ = yym861 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -11552,14 +12198,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym819 := z.EncBinary() - _ = yym819 + yym862 := z.EncBinary() + _ = yym862 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr816 || yy2arr816 { + if yyr859 || yy2arr859 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11572,25 +12218,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym820 := z.DecBinary() - _ = yym820 + yym863 := z.DecBinary() + _ = yym863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct821 := r.ContainerType() - if yyct821 == codecSelferValueTypeMap1234 { - yyl821 := r.ReadMapStart() - if yyl821 == 0 { + yyct864 := r.ContainerType() + if yyct864 == codecSelferValueTypeMap1234 { + yyl864 := r.ReadMapStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl821, d) + x.codecDecodeSelfFromMap(yyl864, d) } - } else if yyct821 == codecSelferValueTypeArray1234 { - yyl821 := r.ReadArrayStart() - if yyl821 == 0 { + } else if yyct864 == codecSelferValueTypeArray1234 { + yyl864 := r.ReadArrayStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl821, d) + x.codecDecodeSelfFromArray(yyl864, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11602,12 +12248,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys822Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys822Slc - var yyhl822 bool = l >= 0 - for yyj822 := 0; ; yyj822++ { - if yyhl822 { - if yyj822 >= l { + var yys865Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys865Slc + var yyhl865 bool = l >= 0 + for yyj865 := 0; ; yyj865++ { + if yyhl865 { + if yyj865 >= l { break } } else { @@ -11616,10 +12262,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys822Slc = r.DecodeBytes(yys822Slc, true, true) - yys822 := string(yys822Slc) + yys865Slc = r.DecodeBytes(yys865Slc, true, true) + yys865 := string(yys865Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys822 { + switch yys865 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -11627,9 +12273,9 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys822) - } // end switch yys822 - } // end for yyj822 + z.DecStructFieldNotFound(-1, yys865) + } // end switch yys865 + } // end for yyj865 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11637,16 +12283,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj824 int - var yyb824 bool - var yyhl824 bool = l >= 0 - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l + var yyj867 int + var yyb867 bool + var yyhl867 bool = l >= 0 + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb824 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb824 { + if yyb867 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11657,17 +12303,17 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.DatasetName = string(r.DecodeString()) } for { - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l + yyj867++ + if yyhl867 { + yyb867 = yyj867 > l } else { - yyb824 = r.CheckBreak() + yyb867 = r.CheckBreak() } - if yyb824 { + if yyb867 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj824-1, "") + z.DecStructFieldNotFound(yyj867-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11679,38 +12325,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym826 := z.EncBinary() - _ = yym826 + yym869 := z.EncBinary() + _ = yym869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep827 := !z.EncBinary() - yy2arr827 := z.EncBasicHandle().StructToArray - var yyq827 [1]bool - _, _, _ = yysep827, yyq827, yy2arr827 - const yyr827 bool = false - yyq827[0] = len(x.Items) != 0 - var yynn827 int - if yyr827 || yy2arr827 { + yysep870 := !z.EncBinary() + yy2arr870 := z.EncBasicHandle().StructToArray + var yyq870 [1]bool + _, _, _ = yysep870, yyq870, yy2arr870 + const yyr870 bool = false + yyq870[0] = len(x.Items) != 0 + var yynn870 int + if yyr870 || yy2arr870 { r.EncodeArrayStart(1) } else { - yynn827 = 0 - for _, b := range yyq827 { + yynn870 = 0 + for _, b := range yyq870 { if b { - yynn827++ + yynn870++ } } - r.EncodeMapStart(yynn827) - yynn827 = 0 + r.EncodeMapStart(yynn870) + yynn870 = 0 } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq827[0] { + if yyq870[0] { if x.Items == nil { r.EncodeNil() } else { - yym829 := z.EncBinary() - _ = yym829 + yym872 := z.EncBinary() + _ = yym872 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -11720,15 +12366,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq827[0] { + if yyq870[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym830 := z.EncBinary() - _ = yym830 + yym873 := z.EncBinary() + _ = yym873 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -11736,7 +12382,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11749,25 +12395,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym831 := z.DecBinary() - _ = yym831 + yym874 := z.DecBinary() + _ = yym874 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct832 := r.ContainerType() - if yyct832 == codecSelferValueTypeMap1234 { - yyl832 := r.ReadMapStart() - if yyl832 == 0 { + yyct875 := r.ContainerType() + if yyct875 == codecSelferValueTypeMap1234 { + yyl875 := r.ReadMapStart() + if yyl875 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl832, d) + x.codecDecodeSelfFromMap(yyl875, d) } - } else if yyct832 == codecSelferValueTypeArray1234 { - yyl832 := r.ReadArrayStart() - if yyl832 == 0 { + } else if yyct875 == codecSelferValueTypeArray1234 { + yyl875 := r.ReadArrayStart() + if yyl875 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl832, d) + x.codecDecodeSelfFromArray(yyl875, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11779,12 +12425,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys833Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys833Slc - var yyhl833 bool = l >= 0 - for yyj833 := 0; ; yyj833++ { - if yyhl833 { - if yyj833 >= l { + var yys876Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys876Slc + var yyhl876 bool = l >= 0 + for yyj876 := 0; ; yyj876++ { + if yyhl876 { + if yyj876 >= l { break } } else { @@ -11793,26 +12439,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys833Slc = r.DecodeBytes(yys833Slc, true, true) - yys833 := string(yys833Slc) + yys876Slc = r.DecodeBytes(yys876Slc, true, true) + yys876 := string(yys876Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys833 { + switch yys876 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv834 := &x.Items - yym835 := z.DecBinary() - _ = yym835 + yyv877 := &x.Items + yym878 := z.DecBinary() + _ = yym878 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv834), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv877), d) } } default: - z.DecStructFieldNotFound(-1, yys833) - } // end switch yys833 - } // end for yyj833 + z.DecStructFieldNotFound(-1, yys876) + } // end switch yys876 + } // end for yyj876 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11820,16 +12466,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj836 int - var yyb836 bool - var yyhl836 bool = l >= 0 - yyj836++ - if yyhl836 { - yyb836 = yyj836 > l + var yyj879 int + var yyb879 bool + var yyhl879 bool = l >= 0 + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb836 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb836 { + if yyb879 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11837,26 +12483,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv837 := &x.Items - yym838 := z.DecBinary() - _ = yym838 + yyv880 := &x.Items + yym881 := z.DecBinary() + _ = yym881 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv837), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv880), d) } } for { - yyj836++ - if yyhl836 { - yyb836 = yyj836 > l + yyj879++ + if yyhl879 { + yyb879 = yyj879 > l } else { - yyb836 = r.CheckBreak() + yyb879 = r.CheckBreak() } - if yyb836 { + if yyb879 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj836-1, "") + z.DecStructFieldNotFound(yyj879-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11868,33 +12514,33 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym839 := z.EncBinary() - _ = yym839 + yym882 := z.EncBinary() + _ = yym882 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep840 := !z.EncBinary() - yy2arr840 := z.EncBasicHandle().StructToArray - var yyq840 [2]bool - _, _, _ = yysep840, yyq840, yy2arr840 - const yyr840 bool = false - var yynn840 int - if yyr840 || yy2arr840 { + yysep883 := !z.EncBinary() + yy2arr883 := z.EncBasicHandle().StructToArray + var yyq883 [2]bool + _, _, _ = yysep883, yyq883, yy2arr883 + const yyr883 bool = false + var yynn883 int + if yyr883 || yy2arr883 { r.EncodeArrayStart(2) } else { - yynn840 = 2 - for _, b := range yyq840 { + yynn883 = 2 + for _, b := range yyq883 { if b { - yynn840++ + yynn883++ } } - r.EncodeMapStart(yynn840) - yynn840 = 0 + r.EncodeMapStart(yynn883) + yynn883 = 0 } - if yyr840 || yy2arr840 { + if yyr883 || yy2arr883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym842 := z.EncBinary() - _ = yym842 + yym885 := z.EncBinary() + _ = yym885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11903,25 +12549,25 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym843 := z.EncBinary() - _ = yym843 + yym886 := z.EncBinary() + _ = yym886 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr840 || yy2arr840 { + if yyr883 || yy2arr883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy845 := &x.FieldRef - yy845.CodecEncodeSelf(e) + yy888 := &x.FieldRef + yy888.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy846 := &x.FieldRef - yy846.CodecEncodeSelf(e) + yy889 := &x.FieldRef + yy889.CodecEncodeSelf(e) } - if yyr840 || yy2arr840 { + if yyr883 || yy2arr883 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11934,25 +12580,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym847 := z.DecBinary() - _ = yym847 + yym890 := z.DecBinary() + _ = yym890 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct848 := r.ContainerType() - if yyct848 == codecSelferValueTypeMap1234 { - yyl848 := r.ReadMapStart() - if yyl848 == 0 { + yyct891 := r.ContainerType() + if yyct891 == codecSelferValueTypeMap1234 { + yyl891 := r.ReadMapStart() + if yyl891 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl848, d) + x.codecDecodeSelfFromMap(yyl891, d) } - } else if yyct848 == codecSelferValueTypeArray1234 { - yyl848 := r.ReadArrayStart() - if yyl848 == 0 { + } else if yyct891 == codecSelferValueTypeArray1234 { + yyl891 := r.ReadArrayStart() + if yyl891 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl848, d) + x.codecDecodeSelfFromArray(yyl891, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11964,12 +12610,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys849Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys849Slc - var yyhl849 bool = l >= 0 - for yyj849 := 0; ; yyj849++ { - if yyhl849 { - if yyj849 >= l { + var yys892Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys892Slc + var yyhl892 bool = l >= 0 + for yyj892 := 0; ; yyj892++ { + if yyhl892 { + if yyj892 >= l { break } } else { @@ -11978,10 +12624,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys849Slc = r.DecodeBytes(yys849Slc, true, true) - yys849 := string(yys849Slc) + yys892Slc = r.DecodeBytes(yys892Slc, true, true) + yys892 := string(yys892Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys849 { + switch yys892 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -11992,13 +12638,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv851 := &x.FieldRef - yyv851.CodecDecodeSelf(d) + yyv894 := &x.FieldRef + yyv894.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys849) - } // end switch yys849 - } // end for yyj849 + z.DecStructFieldNotFound(-1, yys892) + } // end switch yys892 + } // end for yyj892 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12006,16 +12652,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj852 int - var yyb852 bool - var yyhl852 bool = l >= 0 - yyj852++ - if yyhl852 { - yyb852 = yyj852 > l + var yyj895 int + var yyb895 bool + var yyhl895 bool = l >= 0 + yyj895++ + if yyhl895 { + yyb895 = yyj895 > l } else { - yyb852 = r.CheckBreak() + yyb895 = r.CheckBreak() } - if yyb852 { + if yyb895 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12025,13 +12671,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj852++ - if yyhl852 { - yyb852 = yyj852 > l + yyj895++ + if yyhl895 { + yyb895 = yyj895 > l } else { - yyb852 = r.CheckBreak() + yyb895 = r.CheckBreak() } - if yyb852 { + if yyb895 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12039,21 +12685,21 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv854 := &x.FieldRef - yyv854.CodecDecodeSelf(d) + yyv897 := &x.FieldRef + yyv897.CodecDecodeSelf(d) } for { - yyj852++ - if yyhl852 { - yyb852 = yyj852 > l + yyj895++ + if yyhl895 { + yyb895 = yyj895 > l } else { - yyb852 = r.CheckBreak() + yyb895 = r.CheckBreak() } - if yyb852 { + if yyb895 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj852-1, "") + z.DecStructFieldNotFound(yyj895-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12065,38 +12711,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym855 := z.EncBinary() - _ = yym855 + yym898 := z.EncBinary() + _ = yym898 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep856 := !z.EncBinary() - yy2arr856 := z.EncBasicHandle().StructToArray - var yyq856 [5]bool - _, _, _ = yysep856, yyq856, yy2arr856 - const yyr856 bool = false - yyq856[0] = x.Name != "" - yyq856[1] = x.HostPort != 0 - yyq856[3] = x.Protocol != "" - yyq856[4] = x.HostIP != "" - var yynn856 int - if yyr856 || yy2arr856 { + yysep899 := !z.EncBinary() + yy2arr899 := z.EncBasicHandle().StructToArray + var yyq899 [5]bool + _, _, _ = yysep899, yyq899, yy2arr899 + const yyr899 bool = false + yyq899[0] = x.Name != "" + yyq899[1] = x.HostPort != 0 + yyq899[3] = x.Protocol != "" + yyq899[4] = x.HostIP != "" + var yynn899 int + if yyr899 || yy2arr899 { r.EncodeArrayStart(5) } else { - yynn856 = 1 - for _, b := range yyq856 { + yynn899 = 1 + for _, b := range yyq899 { if b { - yynn856++ + yynn899++ } } - r.EncodeMapStart(yynn856) - yynn856 = 0 + r.EncodeMapStart(yynn899) + yynn899 = 0 } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[0] { - yym858 := z.EncBinary() - _ = yym858 + if yyq899[0] { + yym901 := z.EncBinary() + _ = yym901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12105,23 +12751,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq856[0] { + if yyq899[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym859 := z.EncBinary() - _ = yym859 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[1] { - yym861 := z.EncBinary() - _ = yym861 + if yyq899[1] { + yym904 := z.EncBinary() + _ = yym904 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -12130,22 +12776,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq856[1] { + if yyq899[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym862 := z.EncBinary() - _ = yym862 + yym905 := z.EncBinary() + _ = yym905 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym864 := z.EncBinary() - _ = yym864 + yym907 := z.EncBinary() + _ = yym907 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -12154,33 +12800,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym865 := z.EncBinary() - _ = yym865 + yym908 := z.EncBinary() + _ = yym908 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[3] { + if yyq899[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq856[3] { + if yyq899[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[4] { - yym868 := z.EncBinary() - _ = yym868 + if yyq899[4] { + yym911 := z.EncBinary() + _ = yym911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -12189,19 +12835,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq856[4] { + if yyq899[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym869 := z.EncBinary() - _ = yym869 + yym912 := z.EncBinary() + _ = yym912 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12214,25 +12860,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym870 := z.DecBinary() - _ = yym870 + yym913 := z.DecBinary() + _ = yym913 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct871 := r.ContainerType() - if yyct871 == codecSelferValueTypeMap1234 { - yyl871 := r.ReadMapStart() - if yyl871 == 0 { + yyct914 := r.ContainerType() + if yyct914 == codecSelferValueTypeMap1234 { + yyl914 := r.ReadMapStart() + if yyl914 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl871, d) + x.codecDecodeSelfFromMap(yyl914, d) } - } else if yyct871 == codecSelferValueTypeArray1234 { - yyl871 := r.ReadArrayStart() - if yyl871 == 0 { + } else if yyct914 == codecSelferValueTypeArray1234 { + yyl914 := r.ReadArrayStart() + if yyl914 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl871, d) + x.codecDecodeSelfFromArray(yyl914, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12244,12 +12890,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys872Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys872Slc - var yyhl872 bool = l >= 0 - for yyj872 := 0; ; yyj872++ { - if yyhl872 { - if yyj872 >= l { + var yys915Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys915Slc + var yyhl915 bool = l >= 0 + for yyj915 := 0; ; yyj915++ { + if yyhl915 { + if yyj915 >= l { break } } else { @@ -12258,10 +12904,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys872Slc = r.DecodeBytes(yys872Slc, true, true) - yys872 := string(yys872Slc) + yys915Slc = r.DecodeBytes(yys915Slc, true, true) + yys915 := string(yys915Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys872 { + switch yys915 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12293,9 +12939,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys872) - } // end switch yys872 - } // end for yyj872 + z.DecStructFieldNotFound(-1, yys915) + } // end switch yys915 + } // end for yyj915 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12303,16 +12949,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj878 int - var yyb878 bool - var yyhl878 bool = l >= 0 - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + var yyj921 int + var yyb921 bool + var yyhl921 bool = l >= 0 + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12322,13 +12968,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12338,13 +12984,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12354,13 +13000,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12370,13 +13016,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12387,17 +13033,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj878++ - if yyhl878 { - yyb878 = yyj878 > l + yyj921++ + if yyhl921 { + yyb921 = yyj921 > l } else { - yyb878 = r.CheckBreak() + yyb921 = r.CheckBreak() } - if yyb878 { + if yyb921 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj878-1, "") + z.DecStructFieldNotFound(yyj921-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12409,34 +13055,34 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym884 := z.EncBinary() - _ = yym884 + yym927 := z.EncBinary() + _ = yym927 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep885 := !z.EncBinary() - yy2arr885 := z.EncBasicHandle().StructToArray - var yyq885 [3]bool - _, _, _ = yysep885, yyq885, yy2arr885 - const yyr885 bool = false - yyq885[1] = x.ReadOnly != false - var yynn885 int - if yyr885 || yy2arr885 { + yysep928 := !z.EncBinary() + yy2arr928 := z.EncBasicHandle().StructToArray + var yyq928 [3]bool + _, _, _ = yysep928, yyq928, yy2arr928 + const yyr928 bool = false + yyq928[1] = x.ReadOnly != false + var yynn928 int + if yyr928 || yy2arr928 { r.EncodeArrayStart(3) } else { - yynn885 = 2 - for _, b := range yyq885 { + yynn928 = 2 + for _, b := range yyq928 { if b { - yynn885++ + yynn928++ } } - r.EncodeMapStart(yynn885) - yynn885 = 0 + r.EncodeMapStart(yynn928) + yynn928 = 0 } - if yyr885 || yy2arr885 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym887 := z.EncBinary() - _ = yym887 + yym930 := z.EncBinary() + _ = yym930 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12445,18 +13091,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym888 := z.EncBinary() - _ = yym888 + yym931 := z.EncBinary() + _ = yym931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr885 || yy2arr885 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq885[1] { - yym890 := z.EncBinary() - _ = yym890 + if yyq928[1] { + yym933 := z.EncBinary() + _ = yym933 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12465,22 +13111,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq885[1] { + if yyq928[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym891 := z.EncBinary() - _ = yym891 + yym934 := z.EncBinary() + _ = yym934 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr885 || yy2arr885 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym893 := z.EncBinary() - _ = yym893 + yym936 := z.EncBinary() + _ = yym936 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -12489,14 +13135,14 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym894 := z.EncBinary() - _ = yym894 + yym937 := z.EncBinary() + _ = yym937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr885 || yy2arr885 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12509,25 +13155,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym895 := z.DecBinary() - _ = yym895 + yym938 := z.DecBinary() + _ = yym938 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct896 := r.ContainerType() - if yyct896 == codecSelferValueTypeMap1234 { - yyl896 := r.ReadMapStart() - if yyl896 == 0 { + yyct939 := r.ContainerType() + if yyct939 == codecSelferValueTypeMap1234 { + yyl939 := r.ReadMapStart() + if yyl939 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl896, d) + x.codecDecodeSelfFromMap(yyl939, d) } - } else if yyct896 == codecSelferValueTypeArray1234 { - yyl896 := r.ReadArrayStart() - if yyl896 == 0 { + } else if yyct939 == codecSelferValueTypeArray1234 { + yyl939 := r.ReadArrayStart() + if yyl939 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl896, d) + x.codecDecodeSelfFromArray(yyl939, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12539,12 +13185,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys940Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys940Slc + var yyhl940 bool = l >= 0 + for yyj940 := 0; ; yyj940++ { + if yyhl940 { + if yyj940 >= l { break } } else { @@ -12553,10 +13199,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys897Slc = r.DecodeBytes(yys897Slc, true, true) - yys897 := string(yys897Slc) + yys940Slc = r.DecodeBytes(yys940Slc, true, true) + yys940 := string(yys940Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys897 { + switch yys940 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12576,9 +13222,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys897) - } // end switch yys897 - } // end for yyj897 + z.DecStructFieldNotFound(-1, yys940) + } // end switch yys940 + } // end for yyj940 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12586,16 +13232,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj901 int - var yyb901 bool - var yyhl901 bool = l >= 0 - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + var yyj944 int + var yyb944 bool + var yyhl944 bool = l >= 0 + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb901 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb901 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12605,13 +13251,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb901 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb901 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12621,13 +13267,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb901 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb901 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12638,17 +13284,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } for { - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb901 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb901 { + if yyb944 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj901-1, "") + z.DecStructFieldNotFound(yyj944-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12660,35 +13306,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym905 := z.EncBinary() - _ = yym905 + yym948 := z.EncBinary() + _ = yym948 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep906 := !z.EncBinary() - yy2arr906 := z.EncBasicHandle().StructToArray - var yyq906 [3]bool - _, _, _ = yysep906, yyq906, yy2arr906 - const yyr906 bool = false - yyq906[1] = x.Value != "" - yyq906[2] = x.ValueFrom != nil - var yynn906 int - if yyr906 || yy2arr906 { + yysep949 := !z.EncBinary() + yy2arr949 := z.EncBasicHandle().StructToArray + var yyq949 [3]bool + _, _, _ = yysep949, yyq949, yy2arr949 + const yyr949 bool = false + yyq949[1] = x.Value != "" + yyq949[2] = x.ValueFrom != nil + var yynn949 int + if yyr949 || yy2arr949 { r.EncodeArrayStart(3) } else { - yynn906 = 1 - for _, b := range yyq906 { + yynn949 = 1 + for _, b := range yyq949 { if b { - yynn906++ + yynn949++ } } - r.EncodeMapStart(yynn906) - yynn906 = 0 + r.EncodeMapStart(yynn949) + yynn949 = 0 } - if yyr906 || yy2arr906 { + if yyr949 || yy2arr949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym908 := z.EncBinary() - _ = yym908 + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12697,18 +13343,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym909 := z.EncBinary() - _ = yym909 + yym952 := z.EncBinary() + _ = yym952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr906 || yy2arr906 { + if yyr949 || yy2arr949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq906[1] { - yym911 := z.EncBinary() - _ = yym911 + if yyq949[1] { + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -12717,21 +13363,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq906[1] { + if yyq949[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym912 := z.EncBinary() - _ = yym912 + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr906 || yy2arr906 { + if yyr949 || yy2arr949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq906[2] { + if yyq949[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -12741,7 +13387,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq906[2] { + if yyq949[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12752,7 +13398,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr906 || yy2arr906 { + if yyr949 || yy2arr949 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12765,25 +13411,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym914 := z.DecBinary() - _ = yym914 + yym957 := z.DecBinary() + _ = yym957 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct915 := r.ContainerType() - if yyct915 == codecSelferValueTypeMap1234 { - yyl915 := r.ReadMapStart() - if yyl915 == 0 { + yyct958 := r.ContainerType() + if yyct958 == codecSelferValueTypeMap1234 { + yyl958 := r.ReadMapStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl915, d) + x.codecDecodeSelfFromMap(yyl958, d) } - } else if yyct915 == codecSelferValueTypeArray1234 { - yyl915 := r.ReadArrayStart() - if yyl915 == 0 { + } else if yyct958 == codecSelferValueTypeArray1234 { + yyl958 := r.ReadArrayStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl915, d) + x.codecDecodeSelfFromArray(yyl958, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12795,12 +13441,12 @@ func (x *EnvVar) 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 yys959Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys959Slc + var yyhl959 bool = l >= 0 + for yyj959 := 0; ; yyj959++ { + if yyhl959 { + if yyj959 >= l { break } } else { @@ -12809,10 +13455,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys916Slc = r.DecodeBytes(yys916Slc, true, true) - yys916 := string(yys916Slc) + yys959Slc = r.DecodeBytes(yys959Slc, true, true) + yys959 := string(yys959Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys916 { + switch yys959 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12837,9 +13483,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys916) - } // end switch yys916 - } // end for yyj916 + z.DecStructFieldNotFound(-1, yys959) + } // end switch yys959 + } // end for yyj959 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12847,16 +13493,16 @@ func (x *EnvVar) 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 yyj963 int + var yyb963 bool + var yyhl963 bool = l >= 0 + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb920 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb920 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12866,13 +13512,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb920 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb920 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12882,13 +13528,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb920 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb920 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12904,17 +13550,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb920 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb920 { + if yyb963 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj920-1, "") + z.DecStructFieldNotFound(yyj963-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12926,30 +13572,30 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym924 := z.EncBinary() - _ = yym924 + yym967 := z.EncBinary() + _ = yym967 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep925 := !z.EncBinary() - yy2arr925 := z.EncBasicHandle().StructToArray - var yyq925 [1]bool - _, _, _ = yysep925, yyq925, yy2arr925 - const yyr925 bool = false - var yynn925 int - if yyr925 || yy2arr925 { + yysep968 := !z.EncBinary() + yy2arr968 := z.EncBasicHandle().StructToArray + var yyq968 [1]bool + _, _, _ = yysep968, yyq968, yy2arr968 + const yyr968 bool = false + var yynn968 int + if yyr968 || yy2arr968 { r.EncodeArrayStart(1) } else { - yynn925 = 1 - for _, b := range yyq925 { + yynn968 = 1 + for _, b := range yyq968 { if b { - yynn925++ + yynn968++ } } - r.EncodeMapStart(yynn925) - yynn925 = 0 + r.EncodeMapStart(yynn968) + yynn968 = 0 } - if yyr925 || yy2arr925 { + if yyr968 || yy2arr968 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldRef == nil { r.EncodeNil() @@ -12966,7 +13612,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { x.FieldRef.CodecEncodeSelf(e) } } - if yyr925 || yy2arr925 { + if yyr968 || yy2arr968 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12979,25 +13625,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym927 := z.DecBinary() - _ = yym927 + yym970 := z.DecBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct928 := r.ContainerType() - if yyct928 == codecSelferValueTypeMap1234 { - yyl928 := r.ReadMapStart() - if yyl928 == 0 { + yyct971 := r.ContainerType() + if yyct971 == codecSelferValueTypeMap1234 { + yyl971 := r.ReadMapStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl928, d) + x.codecDecodeSelfFromMap(yyl971, d) } - } else if yyct928 == codecSelferValueTypeArray1234 { - yyl928 := r.ReadArrayStart() - if yyl928 == 0 { + } else if yyct971 == codecSelferValueTypeArray1234 { + yyl971 := r.ReadArrayStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl928, d) + x.codecDecodeSelfFromArray(yyl971, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13009,12 +13655,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys929Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys929Slc - var yyhl929 bool = l >= 0 - for yyj929 := 0; ; yyj929++ { - if yyhl929 { - if yyj929 >= l { + var yys972Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys972Slc + var yyhl972 bool = l >= 0 + for yyj972 := 0; ; yyj972++ { + if yyhl972 { + if yyj972 >= l { break } } else { @@ -13023,10 +13669,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys929Slc = r.DecodeBytes(yys929Slc, true, true) - yys929 := string(yys929Slc) + yys972Slc = r.DecodeBytes(yys972Slc, true, true) + yys972 := string(yys972Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys929 { + switch yys972 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -13039,9 +13685,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys929) - } // end switch yys929 - } // end for yyj929 + z.DecStructFieldNotFound(-1, yys972) + } // end switch yys972 + } // end for yyj972 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13049,16 +13695,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj931 int - var yyb931 bool - var yyhl931 bool = l >= 0 - yyj931++ - if yyhl931 { - yyb931 = yyj931 > l + var yyj974 int + var yyb974 bool + var yyhl974 bool = l >= 0 + yyj974++ + if yyhl974 { + yyb974 = yyj974 > l } else { - yyb931 = r.CheckBreak() + yyb974 = r.CheckBreak() } - if yyb931 { + if yyb974 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13074,17 +13720,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FieldRef.CodecDecodeSelf(d) } for { - yyj931++ - if yyhl931 { - yyb931 = yyj931 > l + yyj974++ + if yyhl974 { + yyb974 = yyj974 > l } else { - yyb931 = r.CheckBreak() + yyb974 = r.CheckBreak() } - if yyb931 { + if yyb974 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj931-1, "") + z.DecStructFieldNotFound(yyj974-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13096,33 +13742,33 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym933 := z.EncBinary() - _ = yym933 + yym976 := z.EncBinary() + _ = yym976 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep934 := !z.EncBinary() - yy2arr934 := z.EncBasicHandle().StructToArray - var yyq934 [2]bool - _, _, _ = yysep934, yyq934, yy2arr934 - const yyr934 bool = false - var yynn934 int - if yyr934 || yy2arr934 { + yysep977 := !z.EncBinary() + yy2arr977 := z.EncBasicHandle().StructToArray + var yyq977 [2]bool + _, _, _ = yysep977, yyq977, yy2arr977 + const yyr977 bool = false + var yynn977 int + if yyr977 || yy2arr977 { r.EncodeArrayStart(2) } else { - yynn934 = 2 - for _, b := range yyq934 { + yynn977 = 2 + for _, b := range yyq977 { if b { - yynn934++ + yynn977++ } } - r.EncodeMapStart(yynn934) - yynn934 = 0 + r.EncodeMapStart(yynn977) + yynn977 = 0 } - if yyr934 || yy2arr934 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym936 := z.EncBinary() - _ = yym936 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13131,17 +13777,17 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym937 := z.EncBinary() - _ = yym937 + yym980 := z.EncBinary() + _ = yym980 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr934 || yy2arr934 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym939 := z.EncBinary() - _ = yym939 + yym982 := z.EncBinary() + _ = yym982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -13150,14 +13796,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym940 := z.EncBinary() - _ = yym940 + yym983 := z.EncBinary() + _ = yym983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr934 || yy2arr934 { + if yyr977 || yy2arr977 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13170,25 +13816,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym941 := z.DecBinary() - _ = yym941 + yym984 := z.DecBinary() + _ = yym984 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct942 := r.ContainerType() - if yyct942 == codecSelferValueTypeMap1234 { - yyl942 := r.ReadMapStart() - if yyl942 == 0 { + yyct985 := r.ContainerType() + if yyct985 == codecSelferValueTypeMap1234 { + yyl985 := r.ReadMapStart() + if yyl985 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl942, d) + x.codecDecodeSelfFromMap(yyl985, d) } - } else if yyct942 == codecSelferValueTypeArray1234 { - yyl942 := r.ReadArrayStart() - if yyl942 == 0 { + } else if yyct985 == codecSelferValueTypeArray1234 { + yyl985 := r.ReadArrayStart() + if yyl985 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl942, d) + x.codecDecodeSelfFromArray(yyl985, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13200,12 +13846,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys943Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys943Slc - var yyhl943 bool = l >= 0 - for yyj943 := 0; ; yyj943++ { - if yyhl943 { - if yyj943 >= l { + var yys986Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys986Slc + var yyhl986 bool = l >= 0 + for yyj986 := 0; ; yyj986++ { + if yyhl986 { + if yyj986 >= l { break } } else { @@ -13214,10 +13860,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys943Slc = r.DecodeBytes(yys943Slc, true, true) - yys943 := string(yys943Slc) + yys986Slc = r.DecodeBytes(yys986Slc, true, true) + yys986 := string(yys986Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys943 { + switch yys986 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -13231,9 +13877,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys943) - } // end switch yys943 - } // end for yyj943 + z.DecStructFieldNotFound(-1, yys986) + } // end switch yys986 + } // end for yyj986 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13241,16 +13887,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj946 int - var yyb946 bool - var yyhl946 bool = l >= 0 - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + var yyj989 int + var yyb989 bool + var yyhl989 bool = l >= 0 + yyj989++ + if yyhl989 { + yyb989 = yyj989 > l } else { - yyb946 = r.CheckBreak() + yyb989 = r.CheckBreak() } - if yyb946 { + if yyb989 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13260,13 +13906,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj989++ + if yyhl989 { + yyb989 = yyj989 > l } else { - yyb946 = r.CheckBreak() + yyb989 = r.CheckBreak() } - if yyb946 { + if yyb989 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13277,17 +13923,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj989++ + if yyhl989 { + yyb989 = yyj989 > l } else { - yyb946 = r.CheckBreak() + yyb989 = r.CheckBreak() } - if yyb946 { + if yyb989 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj946-1, "") + z.DecStructFieldNotFound(yyj989-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13299,38 +13945,38 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym949 := z.EncBinary() - _ = yym949 + yym992 := z.EncBinary() + _ = yym992 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep950 := !z.EncBinary() - yy2arr950 := z.EncBasicHandle().StructToArray - var yyq950 [4]bool - _, _, _ = yysep950, yyq950, yy2arr950 - const yyr950 bool = false - yyq950[0] = x.Path != "" - yyq950[1] = true - yyq950[2] = x.Host != "" - yyq950[3] = x.Scheme != "" - var yynn950 int - if yyr950 || yy2arr950 { + yysep993 := !z.EncBinary() + yy2arr993 := z.EncBasicHandle().StructToArray + var yyq993 [4]bool + _, _, _ = yysep993, yyq993, yy2arr993 + const yyr993 bool = false + yyq993[0] = x.Path != "" + yyq993[1] = true + yyq993[2] = x.Host != "" + yyq993[3] = x.Scheme != "" + var yynn993 int + if yyr993 || yy2arr993 { r.EncodeArrayStart(4) } else { - yynn950 = 0 - for _, b := range yyq950 { + yynn993 = 0 + for _, b := range yyq993 { if b { - yynn950++ + yynn993++ } } - r.EncodeMapStart(yynn950) - yynn950 = 0 + r.EncodeMapStart(yynn993) + yynn993 = 0 } - if yyr950 || yy2arr950 { + if yyr993 || yy2arr993 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq950[0] { - yym952 := z.EncBinary() - _ = yym952 + if yyq993[0] { + yym995 := z.EncBinary() + _ = yym995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13339,56 +13985,56 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq950[0] { + if yyq993[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym953 := z.EncBinary() - _ = yym953 + yym996 := z.EncBinary() + _ = yym996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr950 || yy2arr950 { + if yyr993 || yy2arr993 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq950[1] { - yy955 := &x.Port - yym956 := z.EncBinary() - _ = yym956 + if yyq993[1] { + yy998 := &x.Port + yym999 := z.EncBinary() + _ = yym999 if false { - } else if z.HasExtensions() && z.EncExt(yy955) { - } else if !yym956 && z.IsJSONHandle() { - z.EncJSONMarshal(yy955) + } else if z.HasExtensions() && z.EncExt(yy998) { + } else if !yym999 && z.IsJSONHandle() { + z.EncJSONMarshal(yy998) } else { - z.EncFallback(yy955) + z.EncFallback(yy998) } } else { r.EncodeNil() } } else { - if yyq950[1] { + if yyq993[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy957 := &x.Port - yym958 := z.EncBinary() - _ = yym958 + yy1000 := &x.Port + yym1001 := z.EncBinary() + _ = yym1001 if false { - } else if z.HasExtensions() && z.EncExt(yy957) { - } else if !yym958 && z.IsJSONHandle() { - z.EncJSONMarshal(yy957) + } else if z.HasExtensions() && z.EncExt(yy1000) { + } else if !yym1001 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1000) } else { - z.EncFallback(yy957) + z.EncFallback(yy1000) } } } - if yyr950 || yy2arr950 { + if yyr993 || yy2arr993 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq950[2] { - yym960 := z.EncBinary() - _ = yym960 + if yyq993[2] { + yym1003 := z.EncBinary() + _ = yym1003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -13397,34 +14043,34 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq950[2] { + if yyq993[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym961 := z.EncBinary() - _ = yym961 + yym1004 := z.EncBinary() + _ = yym1004 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr950 || yy2arr950 { + if yyr993 || yy2arr993 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq950[3] { + if yyq993[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq950[3] { + if yyq993[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr950 || yy2arr950 { + if yyr993 || yy2arr993 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13437,25 +14083,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym963 := z.DecBinary() - _ = yym963 + yym1006 := z.DecBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct964 := r.ContainerType() - if yyct964 == codecSelferValueTypeMap1234 { - yyl964 := r.ReadMapStart() - if yyl964 == 0 { + yyct1007 := r.ContainerType() + if yyct1007 == codecSelferValueTypeMap1234 { + yyl1007 := r.ReadMapStart() + if yyl1007 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl964, d) + x.codecDecodeSelfFromMap(yyl1007, d) } - } else if yyct964 == codecSelferValueTypeArray1234 { - yyl964 := r.ReadArrayStart() - if yyl964 == 0 { + } else if yyct1007 == codecSelferValueTypeArray1234 { + yyl1007 := r.ReadArrayStart() + if yyl1007 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl964, d) + x.codecDecodeSelfFromArray(yyl1007, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13467,12 +14113,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys965Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys965Slc - var yyhl965 bool = l >= 0 - for yyj965 := 0; ; yyj965++ { - if yyhl965 { - if yyj965 >= l { + var yys1008Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1008Slc + var yyhl1008 bool = l >= 0 + for yyj1008 := 0; ; yyj1008++ { + if yyhl1008 { + if yyj1008 >= l { break } } else { @@ -13481,10 +14127,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys965Slc = r.DecodeBytes(yys965Slc, true, true) - yys965 := string(yys965Slc) + yys1008Slc = r.DecodeBytes(yys1008Slc, true, true) + yys1008 := string(yys1008Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys965 { + switch yys1008 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13495,15 +14141,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv967 := &x.Port - yym968 := z.DecBinary() - _ = yym968 + yyv1010 := &x.Port + yym1011 := z.DecBinary() + _ = yym1011 if false { - } else if z.HasExtensions() && z.DecExt(yyv967) { - } else if !yym968 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv967) + } else if z.HasExtensions() && z.DecExt(yyv1010) { + } else if !yym1011 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1010) } else { - z.DecFallback(yyv967, false) + z.DecFallback(yyv1010, false) } } case "host": @@ -13519,9 +14165,9 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Scheme = URIScheme(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys965) - } // end switch yys965 - } // end for yyj965 + z.DecStructFieldNotFound(-1, yys1008) + } // end switch yys1008 + } // end for yyj1008 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13529,16 +14175,16 @@ func (x *HTTPGetAction) 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 + var yyj1014 int + var yyb1014 bool + var yyhl1014 bool = l >= 0 + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb971 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb971 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13548,13 +14194,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb971 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb971 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13562,24 +14208,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv973 := &x.Port - yym974 := z.DecBinary() - _ = yym974 + yyv1016 := &x.Port + yym1017 := z.DecBinary() + _ = yym1017 if false { - } else if z.HasExtensions() && z.DecExt(yyv973) { - } else if !yym974 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv973) + } else if z.HasExtensions() && z.DecExt(yyv1016) { + } else if !yym1017 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1016) } else { - z.DecFallback(yyv973, false) + z.DecFallback(yyv1016, false) } } - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb971 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb971 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13589,13 +14235,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb971 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb971 { + if yyb1014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13606,17 +14252,17 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Scheme = URIScheme(r.DecodeString()) } for { - yyj971++ - if yyhl971 { - yyb971 = yyj971 > l + yyj1014++ + if yyhl1014 { + yyb1014 = yyj1014 > l } else { - yyb971 = r.CheckBreak() + yyb1014 = r.CheckBreak() } - if yyb971 { + if yyb1014 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj971-1, "") + z.DecStructFieldNotFound(yyj1014-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13625,8 +14271,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym977 := z.EncBinary() - _ = yym977 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13638,8 +14284,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym978 := z.DecBinary() - _ = yym978 + yym1021 := z.DecBinary() + _ = yym1021 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13654,64 +14300,64 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym979 := z.EncBinary() - _ = yym979 + yym1022 := z.EncBinary() + _ = yym1022 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep980 := !z.EncBinary() - yy2arr980 := z.EncBasicHandle().StructToArray - var yyq980 [1]bool - _, _, _ = yysep980, yyq980, yy2arr980 - const yyr980 bool = false - yyq980[0] = true - var yynn980 int - if yyr980 || yy2arr980 { + yysep1023 := !z.EncBinary() + yy2arr1023 := z.EncBasicHandle().StructToArray + var yyq1023 [1]bool + _, _, _ = yysep1023, yyq1023, yy2arr1023 + const yyr1023 bool = false + yyq1023[0] = true + var yynn1023 int + if yyr1023 || yy2arr1023 { r.EncodeArrayStart(1) } else { - yynn980 = 0 - for _, b := range yyq980 { + yynn1023 = 0 + for _, b := range yyq1023 { if b { - yynn980++ + yynn1023++ } } - r.EncodeMapStart(yynn980) - yynn980 = 0 + r.EncodeMapStart(yynn1023) + yynn1023 = 0 } - if yyr980 || yy2arr980 { + if yyr1023 || yy2arr1023 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq980[0] { - yy982 := &x.Port - yym983 := z.EncBinary() - _ = yym983 + if yyq1023[0] { + yy1025 := &x.Port + yym1026 := z.EncBinary() + _ = yym1026 if false { - } else if z.HasExtensions() && z.EncExt(yy982) { - } else if !yym983 && z.IsJSONHandle() { - z.EncJSONMarshal(yy982) + } else if z.HasExtensions() && z.EncExt(yy1025) { + } else if !yym1026 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1025) } else { - z.EncFallback(yy982) + z.EncFallback(yy1025) } } else { r.EncodeNil() } } else { - if yyq980[0] { + if yyq1023[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy984 := &x.Port - yym985 := z.EncBinary() - _ = yym985 + yy1027 := &x.Port + yym1028 := z.EncBinary() + _ = yym1028 if false { - } else if z.HasExtensions() && z.EncExt(yy984) { - } else if !yym985 && z.IsJSONHandle() { - z.EncJSONMarshal(yy984) + } else if z.HasExtensions() && z.EncExt(yy1027) { + } else if !yym1028 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1027) } else { - z.EncFallback(yy984) + z.EncFallback(yy1027) } } } - if yyr980 || yy2arr980 { + if yyr1023 || yy2arr1023 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13724,25 +14370,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym986 := z.DecBinary() - _ = yym986 + yym1029 := z.DecBinary() + _ = yym1029 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct987 := r.ContainerType() - if yyct987 == codecSelferValueTypeMap1234 { - yyl987 := r.ReadMapStart() - if yyl987 == 0 { + yyct1030 := r.ContainerType() + if yyct1030 == codecSelferValueTypeMap1234 { + yyl1030 := r.ReadMapStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl987, d) + x.codecDecodeSelfFromMap(yyl1030, d) } - } else if yyct987 == codecSelferValueTypeArray1234 { - yyl987 := r.ReadArrayStart() - if yyl987 == 0 { + } else if yyct1030 == codecSelferValueTypeArray1234 { + yyl1030 := r.ReadArrayStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl987, d) + x.codecDecodeSelfFromArray(yyl1030, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13754,12 +14400,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys988Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys988Slc - var yyhl988 bool = l >= 0 - for yyj988 := 0; ; yyj988++ { - if yyhl988 { - if yyj988 >= l { + var yys1031Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1031Slc + var yyhl1031 bool = l >= 0 + for yyj1031 := 0; ; yyj1031++ { + if yyhl1031 { + if yyj1031 >= l { break } } else { @@ -13768,29 +14414,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys988Slc = r.DecodeBytes(yys988Slc, true, true) - yys988 := string(yys988Slc) + yys1031Slc = r.DecodeBytes(yys1031Slc, true, true) + yys1031 := string(yys1031Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys988 { + switch yys1031 { case "port": if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv989 := &x.Port - yym990 := z.DecBinary() - _ = yym990 + yyv1032 := &x.Port + yym1033 := z.DecBinary() + _ = yym1033 if false { - } else if z.HasExtensions() && z.DecExt(yyv989) { - } else if !yym990 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv989) + } else if z.HasExtensions() && z.DecExt(yyv1032) { + } else if !yym1033 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1032) } else { - z.DecFallback(yyv989, false) + z.DecFallback(yyv1032, false) } } default: - z.DecStructFieldNotFound(-1, yys988) - } // end switch yys988 - } // end for yyj988 + z.DecStructFieldNotFound(-1, yys1031) + } // end switch yys1031 + } // end for yyj1031 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13798,16 +14444,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj991 int - var yyb991 bool - var yyhl991 bool = l >= 0 - yyj991++ - if yyhl991 { - yyb991 = yyj991 > l + var yyj1034 int + var yyb1034 bool + var yyhl1034 bool = l >= 0 + yyj1034++ + if yyhl1034 { + yyb1034 = yyj1034 > l } else { - yyb991 = r.CheckBreak() + yyb1034 = r.CheckBreak() } - if yyb991 { + if yyb1034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13815,29 +14461,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv992 := &x.Port - yym993 := z.DecBinary() - _ = yym993 + yyv1035 := &x.Port + yym1036 := z.DecBinary() + _ = yym1036 if false { - } else if z.HasExtensions() && z.DecExt(yyv992) { - } else if !yym993 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv992) + } else if z.HasExtensions() && z.DecExt(yyv1035) { + } else if !yym1036 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1035) } else { - z.DecFallback(yyv992, false) + z.DecFallback(yyv1035, false) } } for { - yyj991++ - if yyhl991 { - yyb991 = yyj991 > l + yyj1034++ + if yyhl1034 { + yyb1034 = yyj1034 > l } else { - yyb991 = r.CheckBreak() + yyb1034 = r.CheckBreak() } - if yyb991 { + if yyb1034 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj991-1, "") + z.DecStructFieldNotFound(yyj1034-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13849,38 +14495,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym994 := z.EncBinary() - _ = yym994 + yym1037 := z.EncBinary() + _ = yym1037 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep995 := !z.EncBinary() - yy2arr995 := z.EncBasicHandle().StructToArray - var yyq995 [1]bool - _, _, _ = yysep995, yyq995, yy2arr995 - const yyr995 bool = false - yyq995[0] = len(x.Command) != 0 - var yynn995 int - if yyr995 || yy2arr995 { + yysep1038 := !z.EncBinary() + yy2arr1038 := z.EncBasicHandle().StructToArray + var yyq1038 [1]bool + _, _, _ = yysep1038, yyq1038, yy2arr1038 + const yyr1038 bool = false + yyq1038[0] = len(x.Command) != 0 + var yynn1038 int + if yyr1038 || yy2arr1038 { r.EncodeArrayStart(1) } else { - yynn995 = 0 - for _, b := range yyq995 { + yynn1038 = 0 + for _, b := range yyq1038 { if b { - yynn995++ + yynn1038++ } } - r.EncodeMapStart(yynn995) - yynn995 = 0 + r.EncodeMapStart(yynn1038) + yynn1038 = 0 } - if yyr995 || yy2arr995 { + if yyr1038 || yy2arr1038 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq995[0] { + if yyq1038[0] { if x.Command == nil { r.EncodeNil() } else { - yym997 := z.EncBinary() - _ = yym997 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -13890,15 +14536,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq995[0] { + if yyq1038[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym998 := z.EncBinary() - _ = yym998 + yym1041 := z.EncBinary() + _ = yym1041 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -13906,7 +14552,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr995 || yy2arr995 { + if yyr1038 || yy2arr1038 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13919,25 +14565,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym999 := z.DecBinary() - _ = yym999 + yym1042 := z.DecBinary() + _ = yym1042 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1000 := r.ContainerType() - if yyct1000 == codecSelferValueTypeMap1234 { - yyl1000 := r.ReadMapStart() - if yyl1000 == 0 { + yyct1043 := r.ContainerType() + if yyct1043 == codecSelferValueTypeMap1234 { + yyl1043 := r.ReadMapStart() + if yyl1043 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1000, d) + x.codecDecodeSelfFromMap(yyl1043, d) } - } else if yyct1000 == codecSelferValueTypeArray1234 { - yyl1000 := r.ReadArrayStart() - if yyl1000 == 0 { + } else if yyct1043 == codecSelferValueTypeArray1234 { + yyl1043 := r.ReadArrayStart() + if yyl1043 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1000, d) + x.codecDecodeSelfFromArray(yyl1043, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13949,12 +14595,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1001Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1001Slc - var yyhl1001 bool = l >= 0 - for yyj1001 := 0; ; yyj1001++ { - if yyhl1001 { - if yyj1001 >= l { + var yys1044Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1044Slc + var yyhl1044 bool = l >= 0 + for yyj1044 := 0; ; yyj1044++ { + if yyhl1044 { + if yyj1044 >= l { break } } else { @@ -13963,26 +14609,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1001Slc = r.DecodeBytes(yys1001Slc, true, true) - yys1001 := string(yys1001Slc) + yys1044Slc = r.DecodeBytes(yys1044Slc, true, true) + yys1044 := string(yys1044Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1001 { + switch yys1044 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1002 := &x.Command - yym1003 := z.DecBinary() - _ = yym1003 + yyv1045 := &x.Command + yym1046 := z.DecBinary() + _ = yym1046 if false { } else { - z.F.DecSliceStringX(yyv1002, false, d) + z.F.DecSliceStringX(yyv1045, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1001) - } // end switch yys1001 - } // end for yyj1001 + z.DecStructFieldNotFound(-1, yys1044) + } // end switch yys1044 + } // end for yyj1044 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13990,16 +14636,16 @@ func (x *ExecAction) 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 + var yyj1047 int + var yyb1047 bool + var yyhl1047 bool = l >= 0 + yyj1047++ + if yyhl1047 { + yyb1047 = yyj1047 > l } else { - yyb1004 = r.CheckBreak() + yyb1047 = r.CheckBreak() } - if yyb1004 { + if yyb1047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14007,26 +14653,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1005 := &x.Command - yym1006 := z.DecBinary() - _ = yym1006 + yyv1048 := &x.Command + yym1049 := z.DecBinary() + _ = yym1049 if false { } else { - z.F.DecSliceStringX(yyv1005, false, d) + z.F.DecSliceStringX(yyv1048, false, d) } } for { - yyj1004++ - if yyhl1004 { - yyb1004 = yyj1004 > l + yyj1047++ + if yyhl1047 { + yyb1047 = yyj1047 > l } else { - yyb1004 = r.CheckBreak() + yyb1047 = r.CheckBreak() } - if yyb1004 { + if yyb1047 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1004-1, "") + z.DecStructFieldNotFound(yyj1047-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14038,49 +14684,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1007 := z.EncBinary() - _ = yym1007 + yym1050 := z.EncBinary() + _ = yym1050 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1008 := !z.EncBinary() - yy2arr1008 := z.EncBasicHandle().StructToArray - var yyq1008 [8]bool - _, _, _ = yysep1008, yyq1008, yy2arr1008 - const yyr1008 bool = false - yyq1008[0] = x.Handler.Exec != nil && x.Exec != nil - yyq1008[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1008[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - yyq1008[3] = x.InitialDelaySeconds != 0 - yyq1008[4] = x.TimeoutSeconds != 0 - yyq1008[5] = x.PeriodSeconds != 0 - yyq1008[6] = x.SuccessThreshold != 0 - yyq1008[7] = x.FailureThreshold != 0 - var yynn1008 int - if yyr1008 || yy2arr1008 { + yysep1051 := !z.EncBinary() + yy2arr1051 := z.EncBasicHandle().StructToArray + var yyq1051 [8]bool + _, _, _ = yysep1051, yyq1051, yy2arr1051 + const yyr1051 bool = false + yyq1051[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1051[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1051[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1051[3] = x.InitialDelaySeconds != 0 + yyq1051[4] = x.TimeoutSeconds != 0 + yyq1051[5] = x.PeriodSeconds != 0 + yyq1051[6] = x.SuccessThreshold != 0 + yyq1051[7] = x.FailureThreshold != 0 + var yynn1051 int + if yyr1051 || yy2arr1051 { r.EncodeArrayStart(8) } else { - yynn1008 = 0 - for _, b := range yyq1008 { + yynn1051 = 0 + for _, b := range yyq1051 { if b { - yynn1008++ + yynn1051++ } } - r.EncodeMapStart(yynn1008) - yynn1008 = 0 + r.EncodeMapStart(yynn1051) + yynn1051 = 0 } - var yyn1009 bool + var yyn1052 bool if x.Handler.Exec == nil { - yyn1009 = true - goto LABEL1009 + yyn1052 = true + goto LABEL1052 } - LABEL1009: - if yyr1008 || yy2arr1008 { - if yyn1009 { + LABEL1052: + if yyr1051 || yy2arr1051 { + if yyn1052 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[0] { + if yyq1051[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -14091,11 +14737,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1008[0] { + if yyq1051[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1009 { + if yyn1052 { r.EncodeNil() } else { if x.Exec == nil { @@ -14106,18 +14752,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1010 bool + var yyn1053 bool if x.Handler.HTTPGet == nil { - yyn1010 = true - goto LABEL1010 + yyn1053 = true + goto LABEL1053 } - LABEL1010: - if yyr1008 || yy2arr1008 { - if yyn1010 { + LABEL1053: + if yyr1051 || yy2arr1051 { + if yyn1053 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[1] { + if yyq1051[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -14128,11 +14774,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1008[1] { + if yyq1051[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1010 { + if yyn1053 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -14143,18 +14789,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1011 bool + var yyn1054 bool if x.Handler.TCPSocket == nil { - yyn1011 = true - goto LABEL1011 + yyn1054 = true + goto LABEL1054 } - LABEL1011: - if yyr1008 || yy2arr1008 { - if yyn1011 { + LABEL1054: + if yyr1051 || yy2arr1051 { + if yyn1054 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[2] { + if yyq1051[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -14165,11 +14811,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1008[2] { + if yyq1051[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1011 { + if yyn1054 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -14180,11 +14826,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[3] { - yym1013 := z.EncBinary() - _ = yym1013 + if yyq1051[3] { + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -14193,23 +14839,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1008[3] { + if yyq1051[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1014 := z.EncBinary() - _ = yym1014 + yym1057 := z.EncBinary() + _ = yym1057 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[4] { - yym1016 := z.EncBinary() - _ = yym1016 + if yyq1051[4] { + yym1059 := z.EncBinary() + _ = yym1059 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) @@ -14218,23 +14864,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1008[4] { + if yyq1051[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1017 := z.EncBinary() - _ = yym1017 + yym1060 := z.EncBinary() + _ = yym1060 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[5] { - yym1019 := z.EncBinary() - _ = yym1019 + if yyq1051[5] { + yym1062 := z.EncBinary() + _ = yym1062 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) @@ -14243,23 +14889,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1008[5] { + if yyq1051[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1020 := z.EncBinary() - _ = yym1020 + yym1063 := z.EncBinary() + _ = yym1063 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[6] { - yym1022 := z.EncBinary() - _ = yym1022 + if yyq1051[6] { + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) @@ -14268,23 +14914,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1008[6] { + if yyq1051[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1023 := z.EncBinary() - _ = yym1023 + yym1066 := z.EncBinary() + _ = yym1066 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1008[7] { - yym1025 := z.EncBinary() - _ = yym1025 + if yyq1051[7] { + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) @@ -14293,19 +14939,19 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1008[7] { + if yyq1051[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1026 := z.EncBinary() - _ = yym1026 + yym1069 := z.EncBinary() + _ = yym1069 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - if yyr1008 || yy2arr1008 { + if yyr1051 || yy2arr1051 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14318,25 +14964,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1027 := z.DecBinary() - _ = yym1027 + yym1070 := z.DecBinary() + _ = yym1070 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1028 := r.ContainerType() - if yyct1028 == codecSelferValueTypeMap1234 { - yyl1028 := r.ReadMapStart() - if yyl1028 == 0 { + yyct1071 := r.ContainerType() + if yyct1071 == codecSelferValueTypeMap1234 { + yyl1071 := r.ReadMapStart() + if yyl1071 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1028, d) + x.codecDecodeSelfFromMap(yyl1071, d) } - } else if yyct1028 == codecSelferValueTypeArray1234 { - yyl1028 := r.ReadArrayStart() - if yyl1028 == 0 { + } else if yyct1071 == codecSelferValueTypeArray1234 { + yyl1071 := r.ReadArrayStart() + if yyl1071 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1028, d) + x.codecDecodeSelfFromArray(yyl1071, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14348,12 +14994,12 @@ func (x *Probe) 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 yys1072Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1072Slc + var yyhl1072 bool = l >= 0 + for yyj1072 := 0; ; yyj1072++ { + if yyhl1072 { + if yyj1072 >= l { break } } else { @@ -14362,10 +15008,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1029Slc = r.DecodeBytes(yys1029Slc, true, true) - yys1029 := string(yys1029Slc) + yys1072Slc = r.DecodeBytes(yys1072Slc, true, true) + yys1072 := string(yys1072Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1029 { + switch yys1072 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -14439,9 +15085,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys1029) - } // end switch yys1029 - } // end for yyj1029 + z.DecStructFieldNotFound(-1, yys1072) + } // end switch yys1072 + } // end for yyj1072 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14449,19 +15095,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1038 int - var yyb1038 bool - var yyhl1038 bool = l >= 0 + var yyj1081 int + var yyb1081 bool + var yyhl1081 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14479,13 +15125,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14503,13 +15149,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14524,13 +15170,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14540,13 +15186,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14556,13 +15202,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14572,13 +15218,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14588,13 +15234,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14605,17 +15251,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj1038++ - if yyhl1038 { - yyb1038 = yyj1038 > l + yyj1081++ + if yyhl1081 { + yyb1081 = yyj1081 > l } else { - yyb1038 = r.CheckBreak() + yyb1081 = r.CheckBreak() } - if yyb1038 { + if yyb1081 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1038-1, "") + z.DecStructFieldNotFound(yyj1081-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14624,8 +15270,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1047 := z.EncBinary() - _ = yym1047 + yym1090 := z.EncBinary() + _ = yym1090 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14637,8 +15283,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1048 := z.DecBinary() - _ = yym1048 + yym1091 := z.DecBinary() + _ = yym1091 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14650,8 +15296,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1049 := z.EncBinary() - _ = yym1049 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14663,8 +15309,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1050 := z.DecBinary() - _ = yym1050 + yym1093 := z.DecBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14679,39 +15325,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1051 := z.EncBinary() - _ = yym1051 + yym1094 := z.EncBinary() + _ = yym1094 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1052 := !z.EncBinary() - yy2arr1052 := z.EncBasicHandle().StructToArray - var yyq1052 [2]bool - _, _, _ = yysep1052, yyq1052, yy2arr1052 - const yyr1052 bool = false - yyq1052[0] = len(x.Add) != 0 - yyq1052[1] = len(x.Drop) != 0 - var yynn1052 int - if yyr1052 || yy2arr1052 { + yysep1095 := !z.EncBinary() + yy2arr1095 := z.EncBasicHandle().StructToArray + var yyq1095 [2]bool + _, _, _ = yysep1095, yyq1095, yy2arr1095 + const yyr1095 bool = false + yyq1095[0] = len(x.Add) != 0 + yyq1095[1] = len(x.Drop) != 0 + var yynn1095 int + if yyr1095 || yy2arr1095 { r.EncodeArrayStart(2) } else { - yynn1052 = 0 - for _, b := range yyq1052 { + yynn1095 = 0 + for _, b := range yyq1095 { if b { - yynn1052++ + yynn1095++ } } - r.EncodeMapStart(yynn1052) - yynn1052 = 0 + r.EncodeMapStart(yynn1095) + yynn1095 = 0 } - if yyr1052 || yy2arr1052 { + if yyr1095 || yy2arr1095 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[0] { + if yyq1095[0] { if x.Add == nil { r.EncodeNil() } else { - yym1054 := z.EncBinary() - _ = yym1054 + yym1097 := z.EncBinary() + _ = yym1097 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -14721,15 +15367,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1052[0] { + if yyq1095[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1055 := z.EncBinary() - _ = yym1055 + yym1098 := z.EncBinary() + _ = yym1098 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -14737,14 +15383,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1052 || yy2arr1052 { + if yyr1095 || yy2arr1095 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1052[1] { + if yyq1095[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1057 := z.EncBinary() - _ = yym1057 + yym1100 := z.EncBinary() + _ = yym1100 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -14754,15 +15400,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1052[1] { + if yyq1095[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1058 := z.EncBinary() - _ = yym1058 + yym1101 := z.EncBinary() + _ = yym1101 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -14770,7 +15416,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1052 || yy2arr1052 { + if yyr1095 || yy2arr1095 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14783,25 +15429,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1059 := z.DecBinary() - _ = yym1059 + yym1102 := z.DecBinary() + _ = yym1102 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1060 := r.ContainerType() - if yyct1060 == codecSelferValueTypeMap1234 { - yyl1060 := r.ReadMapStart() - if yyl1060 == 0 { + yyct1103 := r.ContainerType() + if yyct1103 == codecSelferValueTypeMap1234 { + yyl1103 := r.ReadMapStart() + if yyl1103 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1060, d) + x.codecDecodeSelfFromMap(yyl1103, d) } - } else if yyct1060 == codecSelferValueTypeArray1234 { - yyl1060 := r.ReadArrayStart() - if yyl1060 == 0 { + } else if yyct1103 == codecSelferValueTypeArray1234 { + yyl1103 := r.ReadArrayStart() + if yyl1103 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1060, d) + x.codecDecodeSelfFromArray(yyl1103, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14813,12 +15459,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1061Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1061Slc - var yyhl1061 bool = l >= 0 - for yyj1061 := 0; ; yyj1061++ { - if yyhl1061 { - if yyj1061 >= l { + var yys1104Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1104Slc + var yyhl1104 bool = l >= 0 + for yyj1104 := 0; ; yyj1104++ { + if yyhl1104 { + if yyj1104 >= l { break } } else { @@ -14827,38 +15473,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1061Slc = r.DecodeBytes(yys1061Slc, true, true) - yys1061 := string(yys1061Slc) + yys1104Slc = r.DecodeBytes(yys1104Slc, true, true) + yys1104 := string(yys1104Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1061 { + switch yys1104 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1062 := &x.Add - yym1063 := z.DecBinary() - _ = yym1063 + yyv1105 := &x.Add + yym1106 := z.DecBinary() + _ = yym1106 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1062), d) + h.decSliceCapability((*[]Capability)(yyv1105), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1064 := &x.Drop - yym1065 := z.DecBinary() - _ = yym1065 + yyv1107 := &x.Drop + yym1108 := z.DecBinary() + _ = yym1108 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1064), d) + h.decSliceCapability((*[]Capability)(yyv1107), d) } } default: - z.DecStructFieldNotFound(-1, yys1061) - } // end switch yys1061 - } // end for yyj1061 + z.DecStructFieldNotFound(-1, yys1104) + } // end switch yys1104 + } // end for yyj1104 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14866,16 +15512,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1066 int - var yyb1066 bool - var yyhl1066 bool = l >= 0 - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + var yyj1109 int + var yyb1109 bool + var yyhl1109 bool = l >= 0 + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb1066 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb1066 { + if yyb1109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14883,21 +15529,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1067 := &x.Add - yym1068 := z.DecBinary() - _ = yym1068 + yyv1110 := &x.Add + yym1111 := z.DecBinary() + _ = yym1111 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1067), d) + h.decSliceCapability((*[]Capability)(yyv1110), d) } } - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb1066 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb1066 { + if yyb1109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14905,26 +15551,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1069 := &x.Drop - yym1070 := z.DecBinary() - _ = yym1070 + yyv1112 := &x.Drop + yym1113 := z.DecBinary() + _ = yym1113 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1069), d) + h.decSliceCapability((*[]Capability)(yyv1112), d) } } for { - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb1066 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb1066 { + if yyb1109 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1066-1, "") + z.DecStructFieldNotFound(yyj1109-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14936,34 +15582,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1071 := z.EncBinary() - _ = yym1071 + yym1114 := z.EncBinary() + _ = yym1114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1072 := !z.EncBinary() - yy2arr1072 := z.EncBasicHandle().StructToArray - var yyq1072 [2]bool - _, _, _ = yysep1072, yyq1072, yy2arr1072 - const yyr1072 bool = false - yyq1072[0] = len(x.Limits) != 0 - yyq1072[1] = len(x.Requests) != 0 - var yynn1072 int - if yyr1072 || yy2arr1072 { + yysep1115 := !z.EncBinary() + yy2arr1115 := z.EncBasicHandle().StructToArray + var yyq1115 [2]bool + _, _, _ = yysep1115, yyq1115, yy2arr1115 + const yyr1115 bool = false + yyq1115[0] = len(x.Limits) != 0 + yyq1115[1] = len(x.Requests) != 0 + var yynn1115 int + if yyr1115 || yy2arr1115 { r.EncodeArrayStart(2) } else { - yynn1072 = 0 - for _, b := range yyq1072 { + yynn1115 = 0 + for _, b := range yyq1115 { if b { - yynn1072++ + yynn1115++ } } - r.EncodeMapStart(yynn1072) - yynn1072 = 0 + r.EncodeMapStart(yynn1115) + yynn1115 = 0 } - if yyr1072 || yy2arr1072 { + if yyr1115 || yy2arr1115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1072[0] { + if yyq1115[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -14973,7 +15619,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1072[0] { + if yyq1115[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14984,9 +15630,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1072 || yy2arr1072 { + if yyr1115 || yy2arr1115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1072[1] { + if yyq1115[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -14996,7 +15642,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1072[1] { + if yyq1115[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15007,7 +15653,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1072 || yy2arr1072 { + if yyr1115 || yy2arr1115 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15020,25 +15666,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1075 := z.DecBinary() - _ = yym1075 + yym1118 := z.DecBinary() + _ = yym1118 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1076 := r.ContainerType() - if yyct1076 == codecSelferValueTypeMap1234 { - yyl1076 := r.ReadMapStart() - if yyl1076 == 0 { + yyct1119 := r.ContainerType() + if yyct1119 == codecSelferValueTypeMap1234 { + yyl1119 := r.ReadMapStart() + if yyl1119 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1076, d) + x.codecDecodeSelfFromMap(yyl1119, d) } - } else if yyct1076 == codecSelferValueTypeArray1234 { - yyl1076 := r.ReadArrayStart() - if yyl1076 == 0 { + } else if yyct1119 == codecSelferValueTypeArray1234 { + yyl1119 := r.ReadArrayStart() + if yyl1119 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1076, d) + x.codecDecodeSelfFromArray(yyl1119, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15050,12 +15696,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1077Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1077Slc - var yyhl1077 bool = l >= 0 - for yyj1077 := 0; ; yyj1077++ { - if yyhl1077 { - if yyj1077 >= l { + var yys1120Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1120Slc + var yyhl1120 bool = l >= 0 + for yyj1120 := 0; ; yyj1120++ { + if yyhl1120 { + if yyj1120 >= l { break } } else { @@ -15064,28 +15710,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1077Slc = r.DecodeBytes(yys1077Slc, true, true) - yys1077 := string(yys1077Slc) + yys1120Slc = r.DecodeBytes(yys1120Slc, true, true) + yys1120 := string(yys1120Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1077 { + switch yys1120 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1078 := &x.Limits - yyv1078.CodecDecodeSelf(d) + yyv1121 := &x.Limits + yyv1121.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1079 := &x.Requests - yyv1079.CodecDecodeSelf(d) + yyv1122 := &x.Requests + yyv1122.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1077) - } // end switch yys1077 - } // end for yyj1077 + z.DecStructFieldNotFound(-1, yys1120) + } // end switch yys1120 + } // end for yyj1120 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15093,16 +15739,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1080 int - var yyb1080 bool - var yyhl1080 bool = l >= 0 - yyj1080++ - if yyhl1080 { - yyb1080 = yyj1080 > l + var yyj1123 int + var yyb1123 bool + var yyhl1123 bool = l >= 0 + yyj1123++ + if yyhl1123 { + yyb1123 = yyj1123 > l } else { - yyb1080 = r.CheckBreak() + yyb1123 = r.CheckBreak() } - if yyb1080 { + if yyb1123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15110,16 +15756,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1081 := &x.Limits - yyv1081.CodecDecodeSelf(d) + yyv1124 := &x.Limits + yyv1124.CodecDecodeSelf(d) } - yyj1080++ - if yyhl1080 { - yyb1080 = yyj1080 > l + yyj1123++ + if yyhl1123 { + yyb1123 = yyj1123 > l } else { - yyb1080 = r.CheckBreak() + yyb1123 = r.CheckBreak() } - if yyb1080 { + if yyb1123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15127,21 +15773,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1082 := &x.Requests - yyv1082.CodecDecodeSelf(d) + yyv1125 := &x.Requests + yyv1125.CodecDecodeSelf(d) } for { - yyj1080++ - if yyhl1080 { - yyb1080 = yyj1080 > l + yyj1123++ + if yyhl1123 { + yyb1123 = yyj1123 > l } else { - yyb1080 = r.CheckBreak() + yyb1123 = r.CheckBreak() } - if yyb1080 { + if yyb1123 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1080-1, "") + z.DecStructFieldNotFound(yyj1123-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15153,48 +15799,48 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1083 := z.EncBinary() - _ = yym1083 + yym1126 := z.EncBinary() + _ = yym1126 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1084 := !z.EncBinary() - yy2arr1084 := z.EncBasicHandle().StructToArray - var yyq1084 [18]bool - _, _, _ = yysep1084, yyq1084, yy2arr1084 - const yyr1084 bool = false - yyq1084[2] = len(x.Command) != 0 - yyq1084[3] = len(x.Args) != 0 - yyq1084[4] = x.WorkingDir != "" - yyq1084[5] = len(x.Ports) != 0 - yyq1084[6] = len(x.Env) != 0 - yyq1084[7] = true - yyq1084[8] = len(x.VolumeMounts) != 0 - yyq1084[9] = x.LivenessProbe != nil - yyq1084[10] = x.ReadinessProbe != nil - yyq1084[11] = x.Lifecycle != nil - yyq1084[12] = x.TerminationMessagePath != "" - yyq1084[14] = x.SecurityContext != nil - yyq1084[15] = x.Stdin != false - yyq1084[16] = x.StdinOnce != false - yyq1084[17] = x.TTY != false - var yynn1084 int - if yyr1084 || yy2arr1084 { + yysep1127 := !z.EncBinary() + yy2arr1127 := z.EncBasicHandle().StructToArray + var yyq1127 [18]bool + _, _, _ = yysep1127, yyq1127, yy2arr1127 + const yyr1127 bool = false + yyq1127[2] = len(x.Command) != 0 + yyq1127[3] = len(x.Args) != 0 + yyq1127[4] = x.WorkingDir != "" + yyq1127[5] = len(x.Ports) != 0 + yyq1127[6] = len(x.Env) != 0 + yyq1127[7] = true + yyq1127[8] = len(x.VolumeMounts) != 0 + yyq1127[9] = x.LivenessProbe != nil + yyq1127[10] = x.ReadinessProbe != nil + yyq1127[11] = x.Lifecycle != nil + yyq1127[12] = x.TerminationMessagePath != "" + yyq1127[14] = x.SecurityContext != nil + yyq1127[15] = x.Stdin != false + yyq1127[16] = x.StdinOnce != false + yyq1127[17] = x.TTY != false + var yynn1127 int + if yyr1127 || yy2arr1127 { r.EncodeArrayStart(18) } else { - yynn1084 = 3 - for _, b := range yyq1084 { + yynn1127 = 3 + for _, b := range yyq1127 { if b { - yynn1084++ + yynn1127++ } } - r.EncodeMapStart(yynn1084) - yynn1084 = 0 + r.EncodeMapStart(yynn1127) + yynn1127 = 0 } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1086 := z.EncBinary() - _ = yym1086 + yym1129 := z.EncBinary() + _ = yym1129 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15203,17 +15849,17 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1087 := z.EncBinary() - _ = yym1087 + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1089 := z.EncBinary() - _ = yym1089 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -15222,21 +15868,21 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1090 := z.EncBinary() - _ = yym1090 + yym1133 := z.EncBinary() + _ = yym1133 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[2] { + if yyq1127[2] { if x.Command == nil { r.EncodeNil() } else { - yym1092 := z.EncBinary() - _ = yym1092 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -15246,15 +15892,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[2] { + if yyq1127[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1093 := z.EncBinary() - _ = yym1093 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -15262,14 +15908,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[3] { + if yyq1127[3] { if x.Args == nil { r.EncodeNil() } else { - yym1095 := z.EncBinary() - _ = yym1095 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -15279,15 +15925,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[3] { + if yyq1127[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1096 := z.EncBinary() - _ = yym1096 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -15295,11 +15941,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[4] { - yym1098 := z.EncBinary() - _ = yym1098 + if yyq1127[4] { + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -15308,26 +15954,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1084[4] { + if yyq1127[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1099 := z.EncBinary() - _ = yym1099 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[5] { + if yyq1127[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1101 := z.EncBinary() - _ = yym1101 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -15337,15 +15983,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[5] { + if yyq1127[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1102 := z.EncBinary() - _ = yym1102 + yym1145 := z.EncBinary() + _ = yym1145 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -15353,14 +15999,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[6] { + if yyq1127[6] { if x.Env == nil { r.EncodeNil() } else { - yym1104 := z.EncBinary() - _ = yym1104 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -15370,15 +16016,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[6] { + if yyq1127[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1105 := z.EncBinary() - _ = yym1105 + yym1148 := z.EncBinary() + _ = yym1148 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -15386,31 +16032,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[7] { - yy1107 := &x.Resources - yy1107.CodecEncodeSelf(e) + if yyq1127[7] { + yy1150 := &x.Resources + yy1150.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1084[7] { + if yyq1127[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1108 := &x.Resources - yy1108.CodecEncodeSelf(e) + yy1151 := &x.Resources + yy1151.CodecEncodeSelf(e) } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[8] { + if yyq1127[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1110 := z.EncBinary() - _ = yym1110 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -15420,15 +16066,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[8] { + if yyq1127[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1111 := z.EncBinary() - _ = yym1111 + yym1154 := z.EncBinary() + _ = yym1154 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -15436,9 +16082,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[9] { + if yyq1127[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -15448,7 +16094,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[9] { + if yyq1127[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15459,9 +16105,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[10] { + if yyq1127[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -15471,7 +16117,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[10] { + if yyq1127[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15482,9 +16128,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[11] { + if yyq1127[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -15494,7 +16140,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[11] { + if yyq1127[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15505,11 +16151,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[12] { - yym1116 := z.EncBinary() - _ = yym1116 + if yyq1127[12] { + yym1159 := z.EncBinary() + _ = yym1159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -15518,19 +16164,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1084[12] { + if yyq1127[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1117 := z.EncBinary() - _ = yym1117 + yym1160 := z.EncBinary() + _ = yym1160 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.ImagePullPolicy.CodecEncodeSelf(e) } else { @@ -15539,9 +16185,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[14] { + if yyq1127[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -15551,7 +16197,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1084[14] { + if yyq1127[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15562,11 +16208,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[15] { - yym1121 := z.EncBinary() - _ = yym1121 + if yyq1127[15] { + yym1164 := z.EncBinary() + _ = yym1164 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -15575,23 +16221,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1084[15] { + if yyq1127[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1122 := z.EncBinary() - _ = yym1122 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[16] { - yym1124 := z.EncBinary() - _ = yym1124 + if yyq1127[16] { + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -15600,23 +16246,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1084[16] { + if yyq1127[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1125 := z.EncBinary() - _ = yym1125 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1084[17] { - yym1127 := z.EncBinary() - _ = yym1127 + if yyq1127[17] { + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -15625,19 +16271,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1084[17] { + if yyq1127[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1128 := z.EncBinary() - _ = yym1128 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1084 || yy2arr1084 { + if yyr1127 || yy2arr1127 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15650,25 +16296,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1129 := z.DecBinary() - _ = yym1129 + yym1172 := z.DecBinary() + _ = yym1172 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1130 := r.ContainerType() - if yyct1130 == codecSelferValueTypeMap1234 { - yyl1130 := r.ReadMapStart() - if yyl1130 == 0 { + yyct1173 := r.ContainerType() + if yyct1173 == codecSelferValueTypeMap1234 { + yyl1173 := r.ReadMapStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1130, d) + x.codecDecodeSelfFromMap(yyl1173, d) } - } else if yyct1130 == codecSelferValueTypeArray1234 { - yyl1130 := r.ReadArrayStart() - if yyl1130 == 0 { + } else if yyct1173 == codecSelferValueTypeArray1234 { + yyl1173 := r.ReadArrayStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1130, d) + x.codecDecodeSelfFromArray(yyl1173, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15680,12 +16326,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1131Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1131Slc - var yyhl1131 bool = l >= 0 - for yyj1131 := 0; ; yyj1131++ { - if yyhl1131 { - if yyj1131 >= 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 { @@ -15694,10 +16340,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1131Slc = r.DecodeBytes(yys1131Slc, true, true) - yys1131 := string(yys1131Slc) + yys1174Slc = r.DecodeBytes(yys1174Slc, true, true) + yys1174 := string(yys1174Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1131 { + switch yys1174 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15714,24 +16360,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1134 := &x.Command - yym1135 := z.DecBinary() - _ = yym1135 + yyv1177 := &x.Command + yym1178 := z.DecBinary() + _ = yym1178 if false { } else { - z.F.DecSliceStringX(yyv1134, false, d) + z.F.DecSliceStringX(yyv1177, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1136 := &x.Args - yym1137 := z.DecBinary() - _ = yym1137 + yyv1179 := &x.Args + yym1180 := z.DecBinary() + _ = yym1180 if false { } else { - z.F.DecSliceStringX(yyv1136, false, d) + z.F.DecSliceStringX(yyv1179, false, d) } } case "workingDir": @@ -15744,43 +16390,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1139 := &x.Ports - yym1140 := z.DecBinary() - _ = yym1140 + yyv1182 := &x.Ports + yym1183 := z.DecBinary() + _ = yym1183 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1139), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1182), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1141 := &x.Env - yym1142 := z.DecBinary() - _ = yym1142 + yyv1184 := &x.Env + yym1185 := z.DecBinary() + _ = yym1185 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1141), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1184), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1143 := &x.Resources - yyv1143.CodecDecodeSelf(d) + yyv1186 := &x.Resources + yyv1186.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1144 := &x.VolumeMounts - yym1145 := z.DecBinary() - _ = yym1145 + yyv1187 := &x.VolumeMounts + yym1188 := z.DecBinary() + _ = yym1188 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1144), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1187), d) } } case "livenessProbe": @@ -15858,9 +16504,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1131) - } // end switch yys1131 - } // end for yyj1131 + z.DecStructFieldNotFound(-1, yys1174) + } // end switch yys1174 + } // end for yyj1174 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15868,16 +16514,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1155 int - var yyb1155 bool - var yyhl1155 bool = l >= 0 - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + var yyj1198 int + var yyb1198 bool + var yyhl1198 bool = l >= 0 + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15887,13 +16533,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15903,13 +16549,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15917,21 +16563,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1158 := &x.Command - yym1159 := z.DecBinary() - _ = yym1159 + yyv1201 := &x.Command + yym1202 := z.DecBinary() + _ = yym1202 if false { } else { - z.F.DecSliceStringX(yyv1158, false, d) + z.F.DecSliceStringX(yyv1201, false, d) } } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15939,21 +16585,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1160 := &x.Args - yym1161 := z.DecBinary() - _ = yym1161 + yyv1203 := &x.Args + yym1204 := z.DecBinary() + _ = yym1204 if false { } else { - z.F.DecSliceStringX(yyv1160, false, d) + z.F.DecSliceStringX(yyv1203, false, d) } } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15963,13 +16609,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15977,21 +16623,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1163 := &x.Ports - yym1164 := z.DecBinary() - _ = yym1164 + yyv1206 := &x.Ports + yym1207 := z.DecBinary() + _ = yym1207 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1163), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1206), d) } } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15999,21 +16645,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1165 := &x.Env - yym1166 := z.DecBinary() - _ = yym1166 + yyv1208 := &x.Env + yym1209 := z.DecBinary() + _ = yym1209 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1165), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1208), d) } } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16021,16 +16667,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1167 := &x.Resources - yyv1167.CodecDecodeSelf(d) + yyv1210 := &x.Resources + yyv1210.CodecDecodeSelf(d) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16038,21 +16684,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1168 := &x.VolumeMounts - yym1169 := z.DecBinary() - _ = yym1169 + yyv1211 := &x.VolumeMounts + yym1212 := z.DecBinary() + _ = yym1212 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1168), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1211), d) } } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16067,13 +16713,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16088,13 +16734,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16109,13 +16755,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16125,13 +16771,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16141,13 +16787,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16162,13 +16808,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16178,13 +16824,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16194,13 +16840,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16211,17 +16857,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1198++ + if yyhl1198 { + yyb1198 = yyj1198 > l } else { - yyb1155 = r.CheckBreak() + yyb1198 = r.CheckBreak() } - if yyb1155 { + if yyb1198 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1155-1, "") + z.DecStructFieldNotFound(yyj1198-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16233,35 +16879,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1179 := z.EncBinary() - _ = yym1179 + yym1222 := z.EncBinary() + _ = yym1222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1180 := !z.EncBinary() - yy2arr1180 := z.EncBasicHandle().StructToArray - var yyq1180 [3]bool - _, _, _ = yysep1180, yyq1180, yy2arr1180 - const yyr1180 bool = false - yyq1180[0] = x.Exec != nil - yyq1180[1] = x.HTTPGet != nil - yyq1180[2] = x.TCPSocket != nil - var yynn1180 int - if yyr1180 || yy2arr1180 { + yysep1223 := !z.EncBinary() + yy2arr1223 := z.EncBasicHandle().StructToArray + var yyq1223 [3]bool + _, _, _ = yysep1223, yyq1223, yy2arr1223 + const yyr1223 bool = false + yyq1223[0] = x.Exec != nil + yyq1223[1] = x.HTTPGet != nil + yyq1223[2] = x.TCPSocket != nil + var yynn1223 int + if yyr1223 || yy2arr1223 { r.EncodeArrayStart(3) } else { - yynn1180 = 0 - for _, b := range yyq1180 { + yynn1223 = 0 + for _, b := range yyq1223 { if b { - yynn1180++ + yynn1223++ } } - r.EncodeMapStart(yynn1180) - yynn1180 = 0 + r.EncodeMapStart(yynn1223) + yynn1223 = 0 } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[0] { + if yyq1223[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -16271,7 +16917,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1180[0] { + if yyq1223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16282,9 +16928,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[1] { + if yyq1223[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -16294,7 +16940,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1180[1] { + if yyq1223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16305,9 +16951,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[2] { + if yyq1223[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -16317,7 +16963,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1180[2] { + if yyq1223[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16328,7 +16974,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16341,25 +16987,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1184 := z.DecBinary() - _ = yym1184 + yym1227 := z.DecBinary() + _ = yym1227 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1185 := r.ContainerType() - if yyct1185 == codecSelferValueTypeMap1234 { - yyl1185 := r.ReadMapStart() - if yyl1185 == 0 { + yyct1228 := r.ContainerType() + if yyct1228 == codecSelferValueTypeMap1234 { + yyl1228 := r.ReadMapStart() + if yyl1228 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1185, d) + x.codecDecodeSelfFromMap(yyl1228, d) } - } else if yyct1185 == codecSelferValueTypeArray1234 { - yyl1185 := r.ReadArrayStart() - if yyl1185 == 0 { + } else if yyct1228 == codecSelferValueTypeArray1234 { + yyl1228 := r.ReadArrayStart() + if yyl1228 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1185, d) + x.codecDecodeSelfFromArray(yyl1228, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16371,12 +17017,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys1229Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1229Slc + var yyhl1229 bool = l >= 0 + for yyj1229 := 0; ; yyj1229++ { + if yyhl1229 { + if yyj1229 >= l { break } } else { @@ -16385,10 +17031,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1186Slc = r.DecodeBytes(yys1186Slc, true, true) - yys1186 := string(yys1186Slc) + yys1229Slc = r.DecodeBytes(yys1229Slc, true, true) + yys1229 := string(yys1229Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1186 { + switch yys1229 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -16423,9 +17069,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1186) - } // end switch yys1186 - } // end for yyj1186 + z.DecStructFieldNotFound(-1, yys1229) + } // end switch yys1229 + } // end for yyj1229 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16433,16 +17079,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1190 int - var yyb1190 bool - var yyhl1190 bool = l >= 0 - yyj1190++ - if yyhl1190 { - yyb1190 = yyj1190 > l + var yyj1233 int + var yyb1233 bool + var yyhl1233 bool = l >= 0 + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb1190 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb1190 { + if yyb1233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16457,13 +17103,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1190++ - if yyhl1190 { - yyb1190 = yyj1190 > l + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb1190 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb1190 { + if yyb1233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16478,13 +17124,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1190++ - if yyhl1190 { - yyb1190 = yyj1190 > l + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb1190 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb1190 { + if yyb1233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16500,17 +17146,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1190++ - if yyhl1190 { - yyb1190 = yyj1190 > l + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb1190 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb1190 { + if yyb1233 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1190-1, "") + z.DecStructFieldNotFound(yyj1233-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16522,34 +17168,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1194 := z.EncBinary() - _ = yym1194 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1195 := !z.EncBinary() - yy2arr1195 := z.EncBasicHandle().StructToArray - var yyq1195 [2]bool - _, _, _ = yysep1195, yyq1195, yy2arr1195 - const yyr1195 bool = false - yyq1195[0] = x.PostStart != nil - yyq1195[1] = x.PreStop != nil - var yynn1195 int - if yyr1195 || yy2arr1195 { + yysep1238 := !z.EncBinary() + yy2arr1238 := z.EncBasicHandle().StructToArray + var yyq1238 [2]bool + _, _, _ = yysep1238, yyq1238, yy2arr1238 + const yyr1238 bool = false + yyq1238[0] = x.PostStart != nil + yyq1238[1] = x.PreStop != nil + var yynn1238 int + if yyr1238 || yy2arr1238 { r.EncodeArrayStart(2) } else { - yynn1195 = 0 - for _, b := range yyq1195 { + yynn1238 = 0 + for _, b := range yyq1238 { if b { - yynn1195++ + yynn1238++ } } - r.EncodeMapStart(yynn1195) - yynn1195 = 0 + r.EncodeMapStart(yynn1238) + yynn1238 = 0 } - if yyr1195 || yy2arr1195 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1195[0] { + if yyq1238[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -16559,7 +17205,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1195[0] { + if yyq1238[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16570,9 +17216,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1195 || yy2arr1195 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1195[1] { + if yyq1238[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -16582,7 +17228,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1195[1] { + if yyq1238[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16593,7 +17239,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1195 || yy2arr1195 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16606,25 +17252,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1198 := z.DecBinary() - _ = yym1198 + yym1241 := z.DecBinary() + _ = yym1241 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1199 := r.ContainerType() - if yyct1199 == codecSelferValueTypeMap1234 { - yyl1199 := r.ReadMapStart() - if yyl1199 == 0 { + yyct1242 := r.ContainerType() + if yyct1242 == codecSelferValueTypeMap1234 { + yyl1242 := r.ReadMapStart() + if yyl1242 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1199, d) + x.codecDecodeSelfFromMap(yyl1242, d) } - } else if yyct1199 == codecSelferValueTypeArray1234 { - yyl1199 := r.ReadArrayStart() - if yyl1199 == 0 { + } else if yyct1242 == codecSelferValueTypeArray1234 { + yyl1242 := r.ReadArrayStart() + if yyl1242 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1199, d) + x.codecDecodeSelfFromArray(yyl1242, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16636,12 +17282,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1200Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1200Slc - var yyhl1200 bool = l >= 0 - for yyj1200 := 0; ; yyj1200++ { - if yyhl1200 { - if yyj1200 >= l { + var yys1243Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1243Slc + var yyhl1243 bool = l >= 0 + for yyj1243 := 0; ; yyj1243++ { + if yyhl1243 { + if yyj1243 >= l { break } } else { @@ -16650,10 +17296,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) - yys1200 := string(yys1200Slc) + yys1243Slc = r.DecodeBytes(yys1243Slc, true, true) + yys1243 := string(yys1243Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1200 { + switch yys1243 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -16677,9 +17323,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1200) - } // end switch yys1200 - } // end for yyj1200 + z.DecStructFieldNotFound(-1, yys1243) + } // end switch yys1243 + } // end for yyj1243 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16687,16 +17333,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1203 int - var yyb1203 bool - var yyhl1203 bool = l >= 0 - yyj1203++ - if yyhl1203 { - yyb1203 = yyj1203 > l + var yyj1246 int + var yyb1246 bool + var yyhl1246 bool = l >= 0 + yyj1246++ + if yyhl1246 { + yyb1246 = yyj1246 > l } else { - yyb1203 = r.CheckBreak() + yyb1246 = r.CheckBreak() } - if yyb1203 { + if yyb1246 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16711,13 +17357,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj1203++ - if yyhl1203 { - yyb1203 = yyj1203 > l + yyj1246++ + if yyhl1246 { + yyb1246 = yyj1246 > l } else { - yyb1203 = r.CheckBreak() + yyb1246 = r.CheckBreak() } - if yyb1203 { + if yyb1246 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16733,17 +17379,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj1203++ - if yyhl1203 { - yyb1203 = yyj1203 > l + yyj1246++ + if yyhl1246 { + yyb1246 = yyj1246 > l } else { - yyb1203 = r.CheckBreak() + yyb1246 = r.CheckBreak() } - if yyb1203 { + if yyb1246 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1203-1, "") + z.DecStructFieldNotFound(yyj1246-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16752,8 +17398,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1206 := z.EncBinary() - _ = yym1206 + yym1249 := z.EncBinary() + _ = yym1249 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16765,8 +17411,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1207 := z.DecBinary() - _ = yym1207 + yym1250 := z.DecBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16781,36 +17427,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1208 := z.EncBinary() - _ = yym1208 + yym1251 := z.EncBinary() + _ = yym1251 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1209 := !z.EncBinary() - yy2arr1209 := z.EncBasicHandle().StructToArray - var yyq1209 [2]bool - _, _, _ = yysep1209, yyq1209, yy2arr1209 - const yyr1209 bool = false - yyq1209[0] = x.Reason != "" - yyq1209[1] = x.Message != "" - var yynn1209 int - if yyr1209 || yy2arr1209 { + yysep1252 := !z.EncBinary() + yy2arr1252 := z.EncBasicHandle().StructToArray + var yyq1252 [2]bool + _, _, _ = yysep1252, yyq1252, yy2arr1252 + const yyr1252 bool = false + yyq1252[0] = x.Reason != "" + yyq1252[1] = x.Message != "" + var yynn1252 int + if yyr1252 || yy2arr1252 { r.EncodeArrayStart(2) } else { - yynn1209 = 0 - for _, b := range yyq1209 { + yynn1252 = 0 + for _, b := range yyq1252 { if b { - yynn1209++ + yynn1252++ } } - r.EncodeMapStart(yynn1209) - yynn1209 = 0 + r.EncodeMapStart(yynn1252) + yynn1252 = 0 } - if yyr1209 || yy2arr1209 { + if yyr1252 || yy2arr1252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1209[0] { - yym1211 := z.EncBinary() - _ = yym1211 + if yyq1252[0] { + yym1254 := z.EncBinary() + _ = yym1254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -16819,23 +17465,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1209[0] { + if yyq1252[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1212 := z.EncBinary() - _ = yym1212 + yym1255 := z.EncBinary() + _ = yym1255 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1209 || yy2arr1209 { + if yyr1252 || yy2arr1252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1209[1] { - yym1214 := z.EncBinary() - _ = yym1214 + if yyq1252[1] { + yym1257 := z.EncBinary() + _ = yym1257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -16844,19 +17490,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1209[1] { + if yyq1252[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1215 := z.EncBinary() - _ = yym1215 + yym1258 := z.EncBinary() + _ = yym1258 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1209 || yy2arr1209 { + if yyr1252 || yy2arr1252 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16869,25 +17515,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1216 := z.DecBinary() - _ = yym1216 + yym1259 := z.DecBinary() + _ = yym1259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1217 := r.ContainerType() - if yyct1217 == codecSelferValueTypeMap1234 { - yyl1217 := r.ReadMapStart() - if yyl1217 == 0 { + yyct1260 := r.ContainerType() + if yyct1260 == codecSelferValueTypeMap1234 { + yyl1260 := r.ReadMapStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1217, d) + x.codecDecodeSelfFromMap(yyl1260, d) } - } else if yyct1217 == codecSelferValueTypeArray1234 { - yyl1217 := r.ReadArrayStart() - if yyl1217 == 0 { + } else if yyct1260 == codecSelferValueTypeArray1234 { + yyl1260 := r.ReadArrayStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1217, d) + x.codecDecodeSelfFromArray(yyl1260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16899,12 +17545,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1218Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1218Slc - var yyhl1218 bool = l >= 0 - for yyj1218 := 0; ; yyj1218++ { - if yyhl1218 { - if yyj1218 >= l { + var yys1261Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1261Slc + var yyhl1261 bool = l >= 0 + for yyj1261 := 0; ; yyj1261++ { + if yyhl1261 { + if yyj1261 >= l { break } } else { @@ -16913,10 +17559,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1218Slc = r.DecodeBytes(yys1218Slc, true, true) - yys1218 := string(yys1218Slc) + yys1261Slc = r.DecodeBytes(yys1261Slc, true, true) + yys1261 := string(yys1261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1218 { + switch yys1261 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -16930,9 +17576,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1218) - } // end switch yys1218 - } // end for yyj1218 + z.DecStructFieldNotFound(-1, yys1261) + } // end switch yys1261 + } // end for yyj1261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16940,16 +17586,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1221 int - var yyb1221 bool - var yyhl1221 bool = l >= 0 - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l + var yyj1264 int + var yyb1264 bool + var yyhl1264 bool = l >= 0 + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1221 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1221 { + if yyb1264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16959,13 +17605,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1221 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1221 { + if yyb1264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16976,17 +17622,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1221 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1221 { + if yyb1264 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1221-1, "") + z.DecStructFieldNotFound(yyj1264-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16998,68 +17644,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1224 := z.EncBinary() - _ = yym1224 + yym1267 := z.EncBinary() + _ = yym1267 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1225 := !z.EncBinary() - yy2arr1225 := z.EncBasicHandle().StructToArray - var yyq1225 [1]bool - _, _, _ = yysep1225, yyq1225, yy2arr1225 - const yyr1225 bool = false - yyq1225[0] = true - var yynn1225 int - if yyr1225 || yy2arr1225 { + yysep1268 := !z.EncBinary() + yy2arr1268 := z.EncBasicHandle().StructToArray + var yyq1268 [1]bool + _, _, _ = yysep1268, yyq1268, yy2arr1268 + const yyr1268 bool = false + yyq1268[0] = true + var yynn1268 int + if yyr1268 || yy2arr1268 { r.EncodeArrayStart(1) } else { - yynn1225 = 0 - for _, b := range yyq1225 { + yynn1268 = 0 + for _, b := range yyq1268 { if b { - yynn1225++ + yynn1268++ } } - r.EncodeMapStart(yynn1225) - yynn1225 = 0 + r.EncodeMapStart(yynn1268) + yynn1268 = 0 } - if yyr1225 || yy2arr1225 { + if yyr1268 || yy2arr1268 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1225[0] { - yy1227 := &x.StartedAt - yym1228 := z.EncBinary() - _ = yym1228 + if yyq1268[0] { + yy1270 := &x.StartedAt + yym1271 := z.EncBinary() + _ = yym1271 if false { - } else if z.HasExtensions() && z.EncExt(yy1227) { - } else if yym1228 { - z.EncBinaryMarshal(yy1227) - } else if !yym1228 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1227) + } else if z.HasExtensions() && z.EncExt(yy1270) { + } else if yym1271 { + z.EncBinaryMarshal(yy1270) + } else if !yym1271 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1270) } else { - z.EncFallback(yy1227) + z.EncFallback(yy1270) } } else { r.EncodeNil() } } else { - if yyq1225[0] { + if yyq1268[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1229 := &x.StartedAt - yym1230 := z.EncBinary() - _ = yym1230 + yy1272 := &x.StartedAt + yym1273 := z.EncBinary() + _ = yym1273 if false { - } else if z.HasExtensions() && z.EncExt(yy1229) { - } else if yym1230 { - z.EncBinaryMarshal(yy1229) - } else if !yym1230 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1229) + } else if z.HasExtensions() && z.EncExt(yy1272) { + } else if yym1273 { + z.EncBinaryMarshal(yy1272) + } else if !yym1273 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1272) } else { - z.EncFallback(yy1229) + z.EncFallback(yy1272) } } } - if yyr1225 || yy2arr1225 { + if yyr1268 || yy2arr1268 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17072,25 +17718,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1231 := z.DecBinary() - _ = yym1231 + yym1274 := z.DecBinary() + _ = yym1274 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1232 := r.ContainerType() - if yyct1232 == codecSelferValueTypeMap1234 { - yyl1232 := r.ReadMapStart() - if yyl1232 == 0 { + yyct1275 := r.ContainerType() + if yyct1275 == codecSelferValueTypeMap1234 { + yyl1275 := r.ReadMapStart() + if yyl1275 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1232, d) + x.codecDecodeSelfFromMap(yyl1275, d) } - } else if yyct1232 == codecSelferValueTypeArray1234 { - yyl1232 := r.ReadArrayStart() - if yyl1232 == 0 { + } else if yyct1275 == codecSelferValueTypeArray1234 { + yyl1275 := r.ReadArrayStart() + if yyl1275 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1232, d) + x.codecDecodeSelfFromArray(yyl1275, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17102,12 +17748,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1233Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1233Slc - var yyhl1233 bool = l >= 0 - for yyj1233 := 0; ; yyj1233++ { - if yyhl1233 { - if yyj1233 >= l { + var yys1276Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1276Slc + var yyhl1276 bool = l >= 0 + for yyj1276 := 0; ; yyj1276++ { + if yyhl1276 { + if yyj1276 >= l { break } } else { @@ -17116,31 +17762,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1233Slc = r.DecodeBytes(yys1233Slc, true, true) - yys1233 := string(yys1233Slc) + yys1276Slc = r.DecodeBytes(yys1276Slc, true, true) + yys1276 := string(yys1276Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1233 { + switch yys1276 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1234 := &x.StartedAt - yym1235 := z.DecBinary() - _ = yym1235 + yyv1277 := &x.StartedAt + yym1278 := z.DecBinary() + _ = yym1278 if false { - } else if z.HasExtensions() && z.DecExt(yyv1234) { - } else if yym1235 { - z.DecBinaryUnmarshal(yyv1234) - } else if !yym1235 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1234) + } else if z.HasExtensions() && z.DecExt(yyv1277) { + } else if yym1278 { + z.DecBinaryUnmarshal(yyv1277) + } else if !yym1278 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1277) } else { - z.DecFallback(yyv1234, false) + z.DecFallback(yyv1277, false) } } default: - z.DecStructFieldNotFound(-1, yys1233) - } // end switch yys1233 - } // end for yyj1233 + z.DecStructFieldNotFound(-1, yys1276) + } // end switch yys1276 + } // end for yyj1276 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17148,16 +17794,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1236 int - var yyb1236 bool - var yyhl1236 bool = l >= 0 - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + var yyj1279 int + var yyb1279 bool + var yyhl1279 bool = l >= 0 + yyj1279++ + if yyhl1279 { + yyb1279 = yyj1279 > l } else { - yyb1236 = r.CheckBreak() + yyb1279 = r.CheckBreak() } - if yyb1236 { + if yyb1279 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17165,31 +17811,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1237 := &x.StartedAt - yym1238 := z.DecBinary() - _ = yym1238 + yyv1280 := &x.StartedAt + yym1281 := z.DecBinary() + _ = yym1281 if false { - } else if z.HasExtensions() && z.DecExt(yyv1237) { - } else if yym1238 { - z.DecBinaryUnmarshal(yyv1237) - } else if !yym1238 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1237) + } else if z.HasExtensions() && z.DecExt(yyv1280) { + } else if yym1281 { + z.DecBinaryUnmarshal(yyv1280) + } else if !yym1281 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1280) } else { - z.DecFallback(yyv1237, false) + z.DecFallback(yyv1280, false) } } for { - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + yyj1279++ + if yyhl1279 { + yyb1279 = yyj1279 > l } else { - yyb1236 = r.CheckBreak() + yyb1279 = r.CheckBreak() } - if yyb1236 { + if yyb1279 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1236-1, "") + z.DecStructFieldNotFound(yyj1279-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17201,39 +17847,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1239 := z.EncBinary() - _ = yym1239 + yym1282 := z.EncBinary() + _ = yym1282 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1240 := !z.EncBinary() - yy2arr1240 := z.EncBasicHandle().StructToArray - var yyq1240 [7]bool - _, _, _ = yysep1240, yyq1240, yy2arr1240 - const yyr1240 bool = false - yyq1240[1] = x.Signal != 0 - yyq1240[2] = x.Reason != "" - yyq1240[3] = x.Message != "" - yyq1240[4] = true - yyq1240[5] = true - yyq1240[6] = x.ContainerID != "" - var yynn1240 int - if yyr1240 || yy2arr1240 { + yysep1283 := !z.EncBinary() + yy2arr1283 := z.EncBasicHandle().StructToArray + var yyq1283 [7]bool + _, _, _ = yysep1283, yyq1283, yy2arr1283 + const yyr1283 bool = false + yyq1283[1] = x.Signal != 0 + yyq1283[2] = x.Reason != "" + yyq1283[3] = x.Message != "" + yyq1283[4] = true + yyq1283[5] = true + yyq1283[6] = x.ContainerID != "" + var yynn1283 int + if yyr1283 || yy2arr1283 { r.EncodeArrayStart(7) } else { - yynn1240 = 1 - for _, b := range yyq1240 { + yynn1283 = 1 + for _, b := range yyq1283 { if b { - yynn1240++ + yynn1283++ } } - r.EncodeMapStart(yynn1240) - yynn1240 = 0 + r.EncodeMapStart(yynn1283) + yynn1283 = 0 } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1242 := z.EncBinary() - _ = yym1242 + yym1285 := z.EncBinary() + _ = yym1285 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -17242,18 +17888,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1243 := z.EncBinary() - _ = yym1243 + yym1286 := z.EncBinary() + _ = yym1286 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[1] { - yym1245 := z.EncBinary() - _ = yym1245 + if yyq1283[1] { + yym1288 := z.EncBinary() + _ = yym1288 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -17262,23 +17908,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1240[1] { + if yyq1283[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1246 := z.EncBinary() - _ = yym1246 + yym1289 := z.EncBinary() + _ = yym1289 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[2] { - yym1248 := z.EncBinary() - _ = yym1248 + if yyq1283[2] { + yym1291 := z.EncBinary() + _ = yym1291 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -17287,23 +17933,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1240[2] { + if yyq1283[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1249 := z.EncBinary() - _ = yym1249 + yym1292 := z.EncBinary() + _ = yym1292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[3] { - yym1251 := z.EncBinary() - _ = yym1251 + if yyq1283[3] { + yym1294 := z.EncBinary() + _ = yym1294 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -17312,97 +17958,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1240[3] { + if yyq1283[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1252 := z.EncBinary() - _ = yym1252 + yym1295 := z.EncBinary() + _ = yym1295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[4] { - yy1254 := &x.StartedAt - yym1255 := z.EncBinary() - _ = yym1255 + if yyq1283[4] { + yy1297 := &x.StartedAt + yym1298 := z.EncBinary() + _ = yym1298 if false { - } else if z.HasExtensions() && z.EncExt(yy1254) { - } else if yym1255 { - z.EncBinaryMarshal(yy1254) - } else if !yym1255 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1254) + } else if z.HasExtensions() && z.EncExt(yy1297) { + } else if yym1298 { + z.EncBinaryMarshal(yy1297) + } else if !yym1298 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1297) } else { - z.EncFallback(yy1254) + z.EncFallback(yy1297) } } else { r.EncodeNil() } } else { - if yyq1240[4] { + if yyq1283[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1256 := &x.StartedAt - yym1257 := z.EncBinary() - _ = yym1257 + yy1299 := &x.StartedAt + yym1300 := z.EncBinary() + _ = yym1300 if false { - } else if z.HasExtensions() && z.EncExt(yy1256) { - } else if yym1257 { - z.EncBinaryMarshal(yy1256) - } else if !yym1257 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1256) + } else if z.HasExtensions() && z.EncExt(yy1299) { + } else if yym1300 { + z.EncBinaryMarshal(yy1299) + } else if !yym1300 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1299) } else { - z.EncFallback(yy1256) + z.EncFallback(yy1299) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[5] { - yy1259 := &x.FinishedAt - yym1260 := z.EncBinary() - _ = yym1260 + if yyq1283[5] { + yy1302 := &x.FinishedAt + yym1303 := z.EncBinary() + _ = yym1303 if false { - } else if z.HasExtensions() && z.EncExt(yy1259) { - } else if yym1260 { - z.EncBinaryMarshal(yy1259) - } else if !yym1260 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1259) + } else if z.HasExtensions() && z.EncExt(yy1302) { + } else if yym1303 { + z.EncBinaryMarshal(yy1302) + } else if !yym1303 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1302) } else { - z.EncFallback(yy1259) + z.EncFallback(yy1302) } } else { r.EncodeNil() } } else { - if yyq1240[5] { + if yyq1283[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1261 := &x.FinishedAt - yym1262 := z.EncBinary() - _ = yym1262 + yy1304 := &x.FinishedAt + yym1305 := z.EncBinary() + _ = yym1305 if false { - } else if z.HasExtensions() && z.EncExt(yy1261) { - } else if yym1262 { - z.EncBinaryMarshal(yy1261) - } else if !yym1262 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1261) + } else if z.HasExtensions() && z.EncExt(yy1304) { + } else if yym1305 { + z.EncBinaryMarshal(yy1304) + } else if !yym1305 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1304) } else { - z.EncFallback(yy1261) + z.EncFallback(yy1304) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[6] { - yym1264 := z.EncBinary() - _ = yym1264 + if yyq1283[6] { + yym1307 := z.EncBinary() + _ = yym1307 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -17411,19 +18057,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1240[6] { + if yyq1283[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1265 := z.EncBinary() - _ = yym1265 + yym1308 := z.EncBinary() + _ = yym1308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1240 || yy2arr1240 { + if yyr1283 || yy2arr1283 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17436,25 +18082,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1266 := z.DecBinary() - _ = yym1266 + yym1309 := z.DecBinary() + _ = yym1309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1267 := r.ContainerType() - if yyct1267 == codecSelferValueTypeMap1234 { - yyl1267 := r.ReadMapStart() - if yyl1267 == 0 { + yyct1310 := r.ContainerType() + if yyct1310 == codecSelferValueTypeMap1234 { + yyl1310 := r.ReadMapStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1267, d) + x.codecDecodeSelfFromMap(yyl1310, d) } - } else if yyct1267 == codecSelferValueTypeArray1234 { - yyl1267 := r.ReadArrayStart() - if yyl1267 == 0 { + } else if yyct1310 == codecSelferValueTypeArray1234 { + yyl1310 := r.ReadArrayStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1267, d) + x.codecDecodeSelfFromArray(yyl1310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17466,12 +18112,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1268Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1268Slc - var yyhl1268 bool = l >= 0 - for yyj1268 := 0; ; yyj1268++ { - if yyhl1268 { - if yyj1268 >= l { + var yys1311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1311Slc + var yyhl1311 bool = l >= 0 + for yyj1311 := 0; ; yyj1311++ { + if yyhl1311 { + if yyj1311 >= l { break } } else { @@ -17480,10 +18126,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1268Slc = r.DecodeBytes(yys1268Slc, true, true) - yys1268 := string(yys1268Slc) + yys1311Slc = r.DecodeBytes(yys1311Slc, true, true) + yys1311 := string(yys1311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1268 { + switch yys1311 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -17512,34 +18158,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1273 := &x.StartedAt - yym1274 := z.DecBinary() - _ = yym1274 + yyv1316 := &x.StartedAt + yym1317 := z.DecBinary() + _ = yym1317 if false { - } else if z.HasExtensions() && z.DecExt(yyv1273) { - } else if yym1274 { - z.DecBinaryUnmarshal(yyv1273) - } else if !yym1274 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1273) + } else if z.HasExtensions() && z.DecExt(yyv1316) { + } else if yym1317 { + z.DecBinaryUnmarshal(yyv1316) + } else if !yym1317 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1316) } else { - z.DecFallback(yyv1273, false) + z.DecFallback(yyv1316, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1275 := &x.FinishedAt - yym1276 := z.DecBinary() - _ = yym1276 + yyv1318 := &x.FinishedAt + yym1319 := z.DecBinary() + _ = yym1319 if false { - } else if z.HasExtensions() && z.DecExt(yyv1275) { - } else if yym1276 { - z.DecBinaryUnmarshal(yyv1275) - } else if !yym1276 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1275) + } else if z.HasExtensions() && z.DecExt(yyv1318) { + } else if yym1319 { + z.DecBinaryUnmarshal(yyv1318) + } else if !yym1319 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1318) } else { - z.DecFallback(yyv1275, false) + z.DecFallback(yyv1318, false) } } case "containerID": @@ -17549,9 +18195,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1268) - } // end switch yys1268 - } // end for yyj1268 + z.DecStructFieldNotFound(-1, yys1311) + } // end switch yys1311 + } // end for yyj1311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17559,16 +18205,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1278 int - var yyb1278 bool - var yyhl1278 bool = l >= 0 - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + var yyj1321 int + var yyb1321 bool + var yyhl1321 bool = l >= 0 + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17578,13 +18224,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17594,13 +18240,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17610,13 +18256,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17626,13 +18272,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17640,26 +18286,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1283 := &x.StartedAt - yym1284 := z.DecBinary() - _ = yym1284 + yyv1326 := &x.StartedAt + yym1327 := z.DecBinary() + _ = yym1327 if false { - } else if z.HasExtensions() && z.DecExt(yyv1283) { - } else if yym1284 { - z.DecBinaryUnmarshal(yyv1283) - } else if !yym1284 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1283) + } else if z.HasExtensions() && z.DecExt(yyv1326) { + } else if yym1327 { + z.DecBinaryUnmarshal(yyv1326) + } else if !yym1327 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1326) } else { - z.DecFallback(yyv1283, false) + z.DecFallback(yyv1326, false) } } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17667,26 +18313,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1285 := &x.FinishedAt - yym1286 := z.DecBinary() - _ = yym1286 + yyv1328 := &x.FinishedAt + yym1329 := z.DecBinary() + _ = yym1329 if false { - } else if z.HasExtensions() && z.DecExt(yyv1285) { - } else if yym1286 { - z.DecBinaryUnmarshal(yyv1285) - } else if !yym1286 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1285) + } else if z.HasExtensions() && z.DecExt(yyv1328) { + } else if yym1329 { + z.DecBinaryUnmarshal(yyv1328) + } else if !yym1329 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1328) } else { - z.DecFallback(yyv1285, false) + z.DecFallback(yyv1328, false) } } - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17697,17 +18343,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1278++ - if yyhl1278 { - yyb1278 = yyj1278 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1278 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1278 { + if yyb1321 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1278-1, "") + z.DecStructFieldNotFound(yyj1321-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17719,35 +18365,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1288 := z.EncBinary() - _ = yym1288 + yym1331 := z.EncBinary() + _ = yym1331 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.Waiting != nil - yyq1289[1] = x.Running != nil - yyq1289[2] = x.Terminated != nil - var yynn1289 int - if yyr1289 || yy2arr1289 { + yysep1332 := !z.EncBinary() + yy2arr1332 := z.EncBasicHandle().StructToArray + var yyq1332 [3]bool + _, _, _ = yysep1332, yyq1332, yy2arr1332 + const yyr1332 bool = false + yyq1332[0] = x.Waiting != nil + yyq1332[1] = x.Running != nil + yyq1332[2] = x.Terminated != nil + var yynn1332 int + if yyr1332 || yy2arr1332 { r.EncodeArrayStart(3) } else { - yynn1289 = 0 - for _, b := range yyq1289 { + yynn1332 = 0 + for _, b := range yyq1332 { if b { - yynn1289++ + yynn1332++ } } - r.EncodeMapStart(yynn1289) - yynn1289 = 0 + r.EncodeMapStart(yynn1332) + yynn1332 = 0 } - if yyr1289 || yy2arr1289 { + if yyr1332 || yy2arr1332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[0] { + if yyq1332[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -17757,7 +18403,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[0] { + if yyq1332[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17768,9 +18414,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1332 || yy2arr1332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[1] { + if yyq1332[1] { if x.Running == nil { r.EncodeNil() } else { @@ -17780,7 +18426,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[1] { + if yyq1332[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17791,9 +18437,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1332 || yy2arr1332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1289[2] { + if yyq1332[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -17803,7 +18449,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1289[2] { + if yyq1332[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17814,7 +18460,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1289 || yy2arr1289 { + if yyr1332 || yy2arr1332 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17827,25 +18473,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1293 := z.DecBinary() - _ = yym1293 + yym1336 := z.DecBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1294 := r.ContainerType() - if yyct1294 == codecSelferValueTypeMap1234 { - yyl1294 := r.ReadMapStart() - if yyl1294 == 0 { + yyct1337 := r.ContainerType() + if yyct1337 == codecSelferValueTypeMap1234 { + yyl1337 := r.ReadMapStart() + if yyl1337 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1294, d) + x.codecDecodeSelfFromMap(yyl1337, d) } - } else if yyct1294 == codecSelferValueTypeArray1234 { - yyl1294 := r.ReadArrayStart() - if yyl1294 == 0 { + } else if yyct1337 == codecSelferValueTypeArray1234 { + yyl1337 := r.ReadArrayStart() + if yyl1337 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1294, d) + x.codecDecodeSelfFromArray(yyl1337, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17857,12 +18503,12 @@ func (x *ContainerState) 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 yys1338Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1338Slc + var yyhl1338 bool = l >= 0 + for yyj1338 := 0; ; yyj1338++ { + if yyhl1338 { + if yyj1338 >= l { break } } else { @@ -17871,10 +18517,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1295Slc = r.DecodeBytes(yys1295Slc, true, true) - yys1295 := string(yys1295Slc) + yys1338Slc = r.DecodeBytes(yys1338Slc, true, true) + yys1338 := string(yys1338Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1295 { + switch yys1338 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -17909,9 +18555,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1295) - } // end switch yys1295 - } // end for yyj1295 + z.DecStructFieldNotFound(-1, yys1338) + } // end switch yys1338 + } // end for yyj1338 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17919,16 +18565,16 @@ func (x *ContainerState) 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 yyj1342 int + var yyb1342 bool + var yyhl1342 bool = l >= 0 + yyj1342++ + if yyhl1342 { + yyb1342 = yyj1342 > l } else { - yyb1299 = r.CheckBreak() + yyb1342 = r.CheckBreak() } - if yyb1299 { + if yyb1342 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17943,13 +18589,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1342++ + if yyhl1342 { + yyb1342 = yyj1342 > l } else { - yyb1299 = r.CheckBreak() + yyb1342 = r.CheckBreak() } - if yyb1299 { + if yyb1342 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17964,13 +18610,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1342++ + if yyhl1342 { + yyb1342 = yyj1342 > l } else { - yyb1299 = r.CheckBreak() + yyb1342 = r.CheckBreak() } - if yyb1299 { + if yyb1342 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17986,17 +18632,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1299++ - if yyhl1299 { - yyb1299 = yyj1299 > l + yyj1342++ + if yyhl1342 { + yyb1342 = yyj1342 > l } else { - yyb1299 = r.CheckBreak() + yyb1342 = r.CheckBreak() } - if yyb1299 { + if yyb1342 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1299-1, "") + z.DecStructFieldNotFound(yyj1342-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18008,36 +18654,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1303 := z.EncBinary() - _ = yym1303 + yym1346 := z.EncBinary() + _ = yym1346 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1304 := !z.EncBinary() - yy2arr1304 := z.EncBasicHandle().StructToArray - var yyq1304 [8]bool - _, _, _ = yysep1304, yyq1304, yy2arr1304 - const yyr1304 bool = false - yyq1304[1] = true - yyq1304[2] = true - yyq1304[7] = x.ContainerID != "" - var yynn1304 int - if yyr1304 || yy2arr1304 { + yysep1347 := !z.EncBinary() + yy2arr1347 := z.EncBasicHandle().StructToArray + var yyq1347 [8]bool + _, _, _ = yysep1347, yyq1347, yy2arr1347 + const yyr1347 bool = false + yyq1347[1] = true + yyq1347[2] = true + yyq1347[7] = x.ContainerID != "" + var yynn1347 int + if yyr1347 || yy2arr1347 { r.EncodeArrayStart(8) } else { - yynn1304 = 5 - for _, b := range yyq1304 { + yynn1347 = 5 + for _, b := range yyq1347 { if b { - yynn1304++ + yynn1347++ } } - r.EncodeMapStart(yynn1304) - yynn1304 = 0 + r.EncodeMapStart(yynn1347) + yynn1347 = 0 } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1306 := z.EncBinary() - _ = yym1306 + yym1349 := z.EncBinary() + _ = yym1349 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18046,51 +18692,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1307 := z.EncBinary() - _ = yym1307 + yym1350 := z.EncBinary() + _ = yym1350 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1304[1] { - yy1309 := &x.State - yy1309.CodecEncodeSelf(e) + if yyq1347[1] { + yy1352 := &x.State + yy1352.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1304[1] { + if yyq1347[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1310 := &x.State - yy1310.CodecEncodeSelf(e) + yy1353 := &x.State + yy1353.CodecEncodeSelf(e) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1304[2] { - yy1312 := &x.LastTerminationState - yy1312.CodecEncodeSelf(e) + if yyq1347[2] { + yy1355 := &x.LastTerminationState + yy1355.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1304[2] { + if yyq1347[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1313 := &x.LastTerminationState - yy1313.CodecEncodeSelf(e) + yy1356 := &x.LastTerminationState + yy1356.CodecEncodeSelf(e) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1315 := z.EncBinary() - _ = yym1315 + yym1358 := z.EncBinary() + _ = yym1358 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -18099,17 +18745,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1316 := z.EncBinary() - _ = yym1316 + yym1359 := z.EncBinary() + _ = yym1359 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1318 := z.EncBinary() - _ = yym1318 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -18118,17 +18764,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1319 := z.EncBinary() - _ = yym1319 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1321 := z.EncBinary() - _ = yym1321 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -18137,17 +18783,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1322 := z.EncBinary() - _ = yym1322 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1324 := z.EncBinary() - _ = yym1324 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -18156,18 +18802,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1325 := z.EncBinary() - _ = yym1325 + yym1368 := z.EncBinary() + _ = yym1368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1304[7] { - yym1327 := z.EncBinary() - _ = yym1327 + if yyq1347[7] { + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -18176,19 +18822,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1304[7] { + if yyq1347[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1328 := z.EncBinary() - _ = yym1328 + yym1371 := z.EncBinary() + _ = yym1371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1304 || yy2arr1304 { + if yyr1347 || yy2arr1347 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18201,25 +18847,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1329 := z.DecBinary() - _ = yym1329 + yym1372 := z.DecBinary() + _ = yym1372 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1330 := r.ContainerType() - if yyct1330 == codecSelferValueTypeMap1234 { - yyl1330 := r.ReadMapStart() - if yyl1330 == 0 { + yyct1373 := r.ContainerType() + if yyct1373 == codecSelferValueTypeMap1234 { + yyl1373 := r.ReadMapStart() + if yyl1373 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1330, d) + x.codecDecodeSelfFromMap(yyl1373, d) } - } else if yyct1330 == codecSelferValueTypeArray1234 { - yyl1330 := r.ReadArrayStart() - if yyl1330 == 0 { + } else if yyct1373 == codecSelferValueTypeArray1234 { + yyl1373 := r.ReadArrayStart() + if yyl1373 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1330, d) + x.codecDecodeSelfFromArray(yyl1373, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18231,12 +18877,12 @@ func (x *ContainerStatus) 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 { + var yys1374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1374Slc + var yyhl1374 bool = l >= 0 + for yyj1374 := 0; ; yyj1374++ { + if yyhl1374 { + if yyj1374 >= l { break } } else { @@ -18245,10 +18891,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1331Slc = r.DecodeBytes(yys1331Slc, true, true) - yys1331 := string(yys1331Slc) + yys1374Slc = r.DecodeBytes(yys1374Slc, true, true) + yys1374 := string(yys1374Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1331 { + switch yys1374 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -18259,15 +18905,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1333 := &x.State - yyv1333.CodecDecodeSelf(d) + yyv1376 := &x.State + yyv1376.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1334 := &x.LastTerminationState - yyv1334.CodecDecodeSelf(d) + yyv1377 := &x.LastTerminationState + yyv1377.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -18300,9 +18946,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1331) - } // end switch yys1331 - } // end for yyj1331 + z.DecStructFieldNotFound(-1, yys1374) + } // end switch yys1374 + } // end for yyj1374 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18310,16 +18956,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1340 int - var yyb1340 bool - var yyhl1340 bool = l >= 0 - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + var yyj1383 int + var yyb1383 bool + var yyhl1383 bool = l >= 0 + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18329,13 +18975,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18343,16 +18989,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1342 := &x.State - yyv1342.CodecDecodeSelf(d) + yyv1385 := &x.State + yyv1385.CodecDecodeSelf(d) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18360,16 +19006,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1343 := &x.LastTerminationState - yyv1343.CodecDecodeSelf(d) + yyv1386 := &x.LastTerminationState + yyv1386.CodecDecodeSelf(d) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18379,13 +19025,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18395,13 +19041,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18411,13 +19057,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18427,13 +19073,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18444,17 +19090,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj1383++ + if yyhl1383 { + yyb1383 = yyj1383 > l } else { - yyb1340 = r.CheckBreak() + yyb1383 = r.CheckBreak() } - if yyb1340 { + if yyb1383 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1340-1, "") + z.DecStructFieldNotFound(yyj1383-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18463,8 +19109,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1349 := z.EncBinary() - _ = yym1349 + yym1392 := z.EncBinary() + _ = yym1392 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18476,8 +19122,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1350 := z.DecBinary() - _ = yym1350 + yym1393 := z.DecBinary() + _ = yym1393 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18489,8 +19135,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1351 := z.EncBinary() - _ = yym1351 + yym1394 := z.EncBinary() + _ = yym1394 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18502,8 +19148,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1352 := z.DecBinary() - _ = yym1352 + yym1395 := z.DecBinary() + _ = yym1395 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18518,34 +19164,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1353 := z.EncBinary() - _ = yym1353 + yym1396 := z.EncBinary() + _ = yym1396 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1354 := !z.EncBinary() - yy2arr1354 := z.EncBasicHandle().StructToArray - var yyq1354 [6]bool - _, _, _ = yysep1354, yyq1354, yy2arr1354 - const yyr1354 bool = false - yyq1354[2] = true - yyq1354[3] = true - yyq1354[4] = x.Reason != "" - yyq1354[5] = x.Message != "" - var yynn1354 int - if yyr1354 || yy2arr1354 { + yysep1397 := !z.EncBinary() + yy2arr1397 := z.EncBasicHandle().StructToArray + var yyq1397 [6]bool + _, _, _ = yysep1397, yyq1397, yy2arr1397 + const yyr1397 bool = false + yyq1397[2] = true + yyq1397[3] = true + yyq1397[4] = x.Reason != "" + yyq1397[5] = x.Message != "" + var yynn1397 int + if yyr1397 || yy2arr1397 { r.EncodeArrayStart(6) } else { - yynn1354 = 2 - for _, b := range yyq1354 { + yynn1397 = 2 + for _, b := range yyq1397 { if b { - yynn1354++ + yynn1397++ } } - r.EncodeMapStart(yynn1354) - yynn1354 = 0 + r.EncodeMapStart(yynn1397) + yynn1397 = 0 } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -18554,7 +19200,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -18563,85 +19209,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1354[2] { - yy1358 := &x.LastProbeTime - yym1359 := z.EncBinary() - _ = yym1359 + if yyq1397[2] { + yy1401 := &x.LastProbeTime + yym1402 := z.EncBinary() + _ = yym1402 if false { - } else if z.HasExtensions() && z.EncExt(yy1358) { - } else if yym1359 { - z.EncBinaryMarshal(yy1358) - } else if !yym1359 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1358) + } else if z.HasExtensions() && z.EncExt(yy1401) { + } else if yym1402 { + z.EncBinaryMarshal(yy1401) + } else if !yym1402 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1401) } else { - z.EncFallback(yy1358) + z.EncFallback(yy1401) } } else { r.EncodeNil() } } else { - if yyq1354[2] { + if yyq1397[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1360 := &x.LastProbeTime - yym1361 := z.EncBinary() - _ = yym1361 + yy1403 := &x.LastProbeTime + yym1404 := z.EncBinary() + _ = yym1404 if false { - } else if z.HasExtensions() && z.EncExt(yy1360) { - } else if yym1361 { - z.EncBinaryMarshal(yy1360) - } else if !yym1361 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1360) + } else if z.HasExtensions() && z.EncExt(yy1403) { + } else if yym1404 { + z.EncBinaryMarshal(yy1403) + } else if !yym1404 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1403) } else { - z.EncFallback(yy1360) + z.EncFallback(yy1403) } } } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1354[3] { - yy1363 := &x.LastTransitionTime - yym1364 := z.EncBinary() - _ = yym1364 + if yyq1397[3] { + yy1406 := &x.LastTransitionTime + yym1407 := z.EncBinary() + _ = yym1407 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(yy1406) { + } else if yym1407 { + z.EncBinaryMarshal(yy1406) + } else if !yym1407 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1406) } else { - z.EncFallback(yy1363) + z.EncFallback(yy1406) } } else { r.EncodeNil() } } else { - if yyq1354[3] { + if yyq1397[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1365 := &x.LastTransitionTime - yym1366 := z.EncBinary() - _ = yym1366 + yy1408 := &x.LastTransitionTime + yym1409 := z.EncBinary() + _ = yym1409 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(yy1408) { + } else if yym1409 { + z.EncBinaryMarshal(yy1408) + } else if !yym1409 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1408) } else { - z.EncFallback(yy1365) + z.EncFallback(yy1408) } } } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1354[4] { - yym1368 := z.EncBinary() - _ = yym1368 + if yyq1397[4] { + yym1411 := z.EncBinary() + _ = yym1411 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -18650,23 +19296,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1354[4] { + if yyq1397[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1369 := z.EncBinary() - _ = yym1369 + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1354[5] { - yym1371 := z.EncBinary() - _ = yym1371 + if yyq1397[5] { + yym1414 := z.EncBinary() + _ = yym1414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -18675,19 +19321,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1354[5] { + if yyq1397[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1372 := z.EncBinary() - _ = yym1372 + yym1415 := z.EncBinary() + _ = yym1415 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1354 || yy2arr1354 { + if yyr1397 || yy2arr1397 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18700,25 +19346,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1373 := z.DecBinary() - _ = yym1373 + yym1416 := z.DecBinary() + _ = yym1416 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1374 := r.ContainerType() - if yyct1374 == codecSelferValueTypeMap1234 { - yyl1374 := r.ReadMapStart() - if yyl1374 == 0 { + yyct1417 := r.ContainerType() + if yyct1417 == codecSelferValueTypeMap1234 { + yyl1417 := r.ReadMapStart() + if yyl1417 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1374, d) + x.codecDecodeSelfFromMap(yyl1417, d) } - } else if yyct1374 == codecSelferValueTypeArray1234 { - yyl1374 := r.ReadArrayStart() - if yyl1374 == 0 { + } else if yyct1417 == codecSelferValueTypeArray1234 { + yyl1417 := r.ReadArrayStart() + if yyl1417 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1374, d) + x.codecDecodeSelfFromArray(yyl1417, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18730,12 +19376,12 @@ func (x *PodCondition) 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 yys1418Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1418Slc + var yyhl1418 bool = l >= 0 + for yyj1418 := 0; ; yyj1418++ { + if yyhl1418 { + if yyj1418 >= l { break } } else { @@ -18744,10 +19390,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1375Slc = r.DecodeBytes(yys1375Slc, true, true) - yys1375 := string(yys1375Slc) + yys1418Slc = r.DecodeBytes(yys1418Slc, true, true) + yys1418 := string(yys1418Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1375 { + switch yys1418 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -18764,34 +19410,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1378 := &x.LastProbeTime - yym1379 := z.DecBinary() - _ = yym1379 + yyv1421 := &x.LastProbeTime + yym1422 := z.DecBinary() + _ = yym1422 if false { - } else if z.HasExtensions() && z.DecExt(yyv1378) { - } else if yym1379 { - z.DecBinaryUnmarshal(yyv1378) - } else if !yym1379 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1378) + } else if z.HasExtensions() && z.DecExt(yyv1421) { + } else if yym1422 { + z.DecBinaryUnmarshal(yyv1421) + } else if !yym1422 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1421) } else { - z.DecFallback(yyv1378, false) + z.DecFallback(yyv1421, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1380 := &x.LastTransitionTime - yym1381 := z.DecBinary() - _ = yym1381 + yyv1423 := &x.LastTransitionTime + yym1424 := z.DecBinary() + _ = yym1424 if false { - } else if z.HasExtensions() && z.DecExt(yyv1380) { - } else if yym1381 { - z.DecBinaryUnmarshal(yyv1380) - } else if !yym1381 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1380) + } else if z.HasExtensions() && z.DecExt(yyv1423) { + } else if yym1424 { + z.DecBinaryUnmarshal(yyv1423) + } else if !yym1424 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1423) } else { - z.DecFallback(yyv1380, false) + z.DecFallback(yyv1423, false) } } case "reason": @@ -18807,9 +19453,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1375) - } // end switch yys1375 - } // end for yyj1375 + z.DecStructFieldNotFound(-1, yys1418) + } // end switch yys1418 + } // end for yyj1418 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18817,16 +19463,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1384 int - var yyb1384 bool - var yyhl1384 bool = l >= 0 - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + var yyj1427 int + var yyb1427 bool + var yyhl1427 bool = l >= 0 + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18836,13 +19482,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18852,13 +19498,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18866,26 +19512,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1387 := &x.LastProbeTime - yym1388 := z.DecBinary() - _ = yym1388 + yyv1430 := &x.LastProbeTime + yym1431 := z.DecBinary() + _ = yym1431 if false { - } else if z.HasExtensions() && z.DecExt(yyv1387) { - } else if yym1388 { - z.DecBinaryUnmarshal(yyv1387) - } else if !yym1388 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1387) + } else if z.HasExtensions() && z.DecExt(yyv1430) { + } else if yym1431 { + z.DecBinaryUnmarshal(yyv1430) + } else if !yym1431 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1430) } else { - z.DecFallback(yyv1387, false) + z.DecFallback(yyv1430, false) } } - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18893,26 +19539,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1389 := &x.LastTransitionTime - yym1390 := z.DecBinary() - _ = yym1390 + yyv1432 := &x.LastTransitionTime + yym1433 := z.DecBinary() + _ = yym1433 if false { - } else if z.HasExtensions() && z.DecExt(yyv1389) { - } else if yym1390 { - z.DecBinaryUnmarshal(yyv1389) - } else if !yym1390 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1389) + } else if z.HasExtensions() && z.DecExt(yyv1432) { + } else if yym1433 { + z.DecBinaryUnmarshal(yyv1432) + } else if !yym1433 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1432) } else { - z.DecFallback(yyv1389, false) + z.DecFallback(yyv1432, false) } } - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18922,13 +19568,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18939,17 +19585,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1384++ - if yyhl1384 { - yyb1384 = yyj1384 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1384 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1384 { + if yyb1427 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1384-1, "") + z.DecStructFieldNotFound(yyj1427-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18958,8 +19604,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1393 := z.EncBinary() - _ = yym1393 + yym1436 := z.EncBinary() + _ = yym1436 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18971,8 +19617,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1394 := z.DecBinary() - _ = yym1394 + yym1437 := z.DecBinary() + _ = yym1437 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18987,37 +19633,37 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1395 := z.EncBinary() - _ = yym1395 + yym1438 := z.EncBinary() + _ = yym1438 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1396 := !z.EncBinary() - yy2arr1396 := z.EncBasicHandle().StructToArray - var yyq1396 [4]bool - _, _, _ = yysep1396, yyq1396, yy2arr1396 - const yyr1396 bool = false - yyq1396[0] = x.Kind != "" - yyq1396[1] = x.APIVersion != "" - yyq1396[2] = true - var yynn1396 int - if yyr1396 || yy2arr1396 { + yysep1439 := !z.EncBinary() + yy2arr1439 := z.EncBasicHandle().StructToArray + var yyq1439 [4]bool + _, _, _ = yysep1439, yyq1439, yy2arr1439 + const yyr1439 bool = false + yyq1439[0] = x.Kind != "" + yyq1439[1] = x.APIVersion != "" + yyq1439[2] = true + var yynn1439 int + if yyr1439 || yy2arr1439 { r.EncodeArrayStart(4) } else { - yynn1396 = 1 - for _, b := range yyq1396 { + yynn1439 = 1 + for _, b := range yyq1439 { if b { - yynn1396++ + yynn1439++ } } - r.EncodeMapStart(yynn1396) - yynn1396 = 0 + r.EncodeMapStart(yynn1439) + yynn1439 = 0 } - if yyr1396 || yy2arr1396 { + if yyr1439 || yy2arr1439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1396[0] { - yym1398 := z.EncBinary() - _ = yym1398 + if yyq1439[0] { + yym1441 := z.EncBinary() + _ = yym1441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19026,23 +19672,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1396[0] { + if yyq1439[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1399 := z.EncBinary() - _ = yym1399 + yym1442 := z.EncBinary() + _ = yym1442 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1396 || yy2arr1396 { + if yyr1439 || yy2arr1439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1396[1] { - yym1401 := z.EncBinary() - _ = yym1401 + if yyq1439[1] { + yym1444 := z.EncBinary() + _ = yym1444 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19051,54 +19697,54 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1396[1] { + if yyq1439[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1402 := z.EncBinary() - _ = yym1402 + yym1445 := z.EncBinary() + _ = yym1445 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1396 || yy2arr1396 { + if yyr1439 || yy2arr1439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1396[2] { - yy1404 := &x.ListMeta - yym1405 := z.EncBinary() - _ = yym1405 + if yyq1439[2] { + yy1447 := &x.ListMeta + yym1448 := z.EncBinary() + _ = yym1448 if false { - } else if z.HasExtensions() && z.EncExt(yy1404) { + } else if z.HasExtensions() && z.EncExt(yy1447) { } else { - z.EncFallback(yy1404) + z.EncFallback(yy1447) } } else { r.EncodeNil() } } else { - if yyq1396[2] { + if yyq1439[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1406 := &x.ListMeta - yym1407 := z.EncBinary() - _ = yym1407 + yy1449 := &x.ListMeta + yym1450 := z.EncBinary() + _ = yym1450 if false { - } else if z.HasExtensions() && z.EncExt(yy1406) { + } else if z.HasExtensions() && z.EncExt(yy1449) { } else { - z.EncFallback(yy1406) + z.EncFallback(yy1449) } } } - if yyr1396 || yy2arr1396 { + if yyr1439 || yy2arr1439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1409 := z.EncBinary() - _ = yym1409 + yym1452 := z.EncBinary() + _ = yym1452 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -19111,15 +19757,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1410 := z.EncBinary() - _ = yym1410 + yym1453 := z.EncBinary() + _ = yym1453 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr1396 || yy2arr1396 { + if yyr1439 || yy2arr1439 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19132,25 +19778,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1411 := z.DecBinary() - _ = yym1411 + yym1454 := z.DecBinary() + _ = yym1454 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1412 := r.ContainerType() - if yyct1412 == codecSelferValueTypeMap1234 { - yyl1412 := r.ReadMapStart() - if yyl1412 == 0 { + yyct1455 := r.ContainerType() + if yyct1455 == codecSelferValueTypeMap1234 { + yyl1455 := r.ReadMapStart() + if yyl1455 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1412, d) + x.codecDecodeSelfFromMap(yyl1455, d) } - } else if yyct1412 == codecSelferValueTypeArray1234 { - yyl1412 := r.ReadArrayStart() - if yyl1412 == 0 { + } else if yyct1455 == codecSelferValueTypeArray1234 { + yyl1455 := r.ReadArrayStart() + if yyl1455 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1412, d) + x.codecDecodeSelfFromArray(yyl1455, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19162,12 +19808,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1413Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1413Slc - var yyhl1413 bool = l >= 0 - for yyj1413 := 0; ; yyj1413++ { - if yyhl1413 { - if yyj1413 >= l { + var yys1456Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1456Slc + var yyhl1456 bool = l >= 0 + for yyj1456 := 0; ; yyj1456++ { + if yyhl1456 { + if yyj1456 >= l { break } } else { @@ -19176,10 +19822,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1413Slc = r.DecodeBytes(yys1413Slc, true, true) - yys1413 := string(yys1413Slc) + yys1456Slc = r.DecodeBytes(yys1456Slc, true, true) + yys1456 := string(yys1456Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1413 { + switch yys1456 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19196,31 +19842,31 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1416 := &x.ListMeta - yym1417 := z.DecBinary() - _ = yym1417 + yyv1459 := &x.ListMeta + yym1460 := z.DecBinary() + _ = yym1460 if false { - } else if z.HasExtensions() && z.DecExt(yyv1416) { + } else if z.HasExtensions() && z.DecExt(yyv1459) { } else { - z.DecFallback(yyv1416, false) + z.DecFallback(yyv1459, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1418 := &x.Items - yym1419 := z.DecBinary() - _ = yym1419 + yyv1461 := &x.Items + yym1462 := z.DecBinary() + _ = yym1462 if false { } else { - h.decSlicePod((*[]Pod)(yyv1418), d) + h.decSlicePod((*[]Pod)(yyv1461), d) } } default: - z.DecStructFieldNotFound(-1, yys1413) - } // end switch yys1413 - } // end for yyj1413 + z.DecStructFieldNotFound(-1, yys1456) + } // end switch yys1456 + } // end for yyj1456 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19228,16 +19874,16 @@ func (x *PodList) 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 yyj1463 int + var yyb1463 bool + var yyhl1463 bool = l >= 0 + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb1420 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb1420 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19247,13 +19893,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb1420 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb1420 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19263,13 +19909,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb1420 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb1420 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19277,22 +19923,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1423 := &x.ListMeta - yym1424 := z.DecBinary() - _ = yym1424 + yyv1466 := &x.ListMeta + yym1467 := z.DecBinary() + _ = yym1467 if false { - } else if z.HasExtensions() && z.DecExt(yyv1423) { + } else if z.HasExtensions() && z.DecExt(yyv1466) { } else { - z.DecFallback(yyv1423, false) + z.DecFallback(yyv1466, false) } } - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb1420 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb1420 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19300,26 +19946,26 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1425 := &x.Items - yym1426 := z.DecBinary() - _ = yym1426 + yyv1468 := &x.Items + yym1469 := z.DecBinary() + _ = yym1469 if false { } else { - h.decSlicePod((*[]Pod)(yyv1425), d) + h.decSlicePod((*[]Pod)(yyv1468), d) } } for { - yyj1420++ - if yyhl1420 { - yyb1420 = yyj1420 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb1420 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb1420 { + if yyb1463 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1420-1, "") + z.DecStructFieldNotFound(yyj1463-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19328,8 +19974,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1427 := z.EncBinary() - _ = yym1427 + yym1470 := z.EncBinary() + _ = yym1470 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19341,8 +19987,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1428 := z.DecBinary() - _ = yym1428 + yym1471 := z.DecBinary() + _ = yym1471 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19357,44 +20003,44 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1429 := z.EncBinary() - _ = yym1429 + yym1472 := z.EncBinary() + _ = yym1472 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1430 := !z.EncBinary() - yy2arr1430 := z.EncBasicHandle().StructToArray - var yyq1430 [11]bool - _, _, _ = yysep1430, yyq1430, yy2arr1430 - const yyr1430 bool = false - yyq1430[2] = x.RestartPolicy != "" - yyq1430[3] = x.TerminationGracePeriodSeconds != nil - yyq1430[4] = x.ActiveDeadlineSeconds != nil - yyq1430[5] = x.DNSPolicy != "" - yyq1430[6] = len(x.NodeSelector) != 0 - yyq1430[8] = x.NodeName != "" - yyq1430[9] = x.SecurityContext != nil - yyq1430[10] = len(x.ImagePullSecrets) != 0 - var yynn1430 int - if yyr1430 || yy2arr1430 { + yysep1473 := !z.EncBinary() + yy2arr1473 := z.EncBasicHandle().StructToArray + var yyq1473 [11]bool + _, _, _ = yysep1473, yyq1473, yy2arr1473 + const yyr1473 bool = false + yyq1473[2] = x.RestartPolicy != "" + yyq1473[3] = x.TerminationGracePeriodSeconds != nil + yyq1473[4] = x.ActiveDeadlineSeconds != nil + yyq1473[5] = x.DNSPolicy != "" + yyq1473[6] = len(x.NodeSelector) != 0 + yyq1473[8] = x.NodeName != "" + yyq1473[9] = x.SecurityContext != nil + yyq1473[10] = len(x.ImagePullSecrets) != 0 + var yynn1473 int + if yyr1473 || yy2arr1473 { r.EncodeArrayStart(11) } else { - yynn1430 = 3 - for _, b := range yyq1430 { + yynn1473 = 3 + for _, b := range yyq1473 { if b { - yynn1430++ + yynn1473++ } } - r.EncodeMapStart(yynn1430) - yynn1430 = 0 + r.EncodeMapStart(yynn1473) + yynn1473 = 0 } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1432 := z.EncBinary() - _ = yym1432 + yym1475 := z.EncBinary() + _ = yym1475 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -19407,21 +20053,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Volumes == nil { r.EncodeNil() } else { - yym1433 := z.EncBinary() - _ = yym1433 + yym1476 := z.EncBinary() + _ = yym1476 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym1435 := z.EncBinary() - _ = yym1435 + yym1478 := z.EncBinary() + _ = yym1478 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -19434,122 +20080,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym1436 := z.EncBinary() - _ = yym1436 + yym1479 := z.EncBinary() + _ = yym1479 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[2] { + if yyq1473[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1430[2] { + if yyq1473[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[3] { + if yyq1473[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1439 := *x.TerminationGracePeriodSeconds - yym1440 := z.EncBinary() - _ = yym1440 + yy1482 := *x.TerminationGracePeriodSeconds + yym1483 := z.EncBinary() + _ = yym1483 if false { } else { - r.EncodeInt(int64(yy1439)) + r.EncodeInt(int64(yy1482)) } } } else { r.EncodeNil() } } else { - if yyq1430[3] { + if yyq1473[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1441 := *x.TerminationGracePeriodSeconds - yym1442 := z.EncBinary() - _ = yym1442 + yy1484 := *x.TerminationGracePeriodSeconds + yym1485 := z.EncBinary() + _ = yym1485 if false { } else { - r.EncodeInt(int64(yy1441)) + r.EncodeInt(int64(yy1484)) } } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[4] { + if yyq1473[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1444 := *x.ActiveDeadlineSeconds - yym1445 := z.EncBinary() - _ = yym1445 + yy1487 := *x.ActiveDeadlineSeconds + yym1488 := z.EncBinary() + _ = yym1488 if false { } else { - r.EncodeInt(int64(yy1444)) + r.EncodeInt(int64(yy1487)) } } } else { r.EncodeNil() } } else { - if yyq1430[4] { + if yyq1473[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1446 := *x.ActiveDeadlineSeconds - yym1447 := z.EncBinary() - _ = yym1447 + yy1489 := *x.ActiveDeadlineSeconds + yym1490 := z.EncBinary() + _ = yym1490 if false { } else { - r.EncodeInt(int64(yy1446)) + r.EncodeInt(int64(yy1489)) } } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[5] { + if yyq1473[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1430[5] { + if yyq1473[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[6] { + if yyq1473[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym1450 := z.EncBinary() - _ = yym1450 + yym1493 := z.EncBinary() + _ = yym1493 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -19559,15 +20205,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1430[6] { + if yyq1473[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym1451 := z.EncBinary() - _ = yym1451 + yym1494 := z.EncBinary() + _ = yym1494 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -19575,10 +20221,10 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1453 := z.EncBinary() - _ = yym1453 + yym1496 := z.EncBinary() + _ = yym1496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -19587,18 +20233,18 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1454 := z.EncBinary() - _ = yym1454 + yym1497 := z.EncBinary() + _ = yym1497 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[8] { - yym1456 := z.EncBinary() - _ = yym1456 + if yyq1473[8] { + yym1499 := z.EncBinary() + _ = yym1499 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -19607,21 +20253,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1430[8] { + if yyq1473[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1457 := z.EncBinary() - _ = yym1457 + yym1500 := z.EncBinary() + _ = yym1500 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[9] { + if yyq1473[9] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -19631,7 +20277,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1430[9] { + if yyq1473[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19642,14 +20288,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1430[10] { + if yyq1473[10] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1460 := z.EncBinary() - _ = yym1460 + yym1503 := z.EncBinary() + _ = yym1503 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -19659,15 +20305,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1430[10] { + if yyq1473[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1461 := z.EncBinary() - _ = yym1461 + yym1504 := z.EncBinary() + _ = yym1504 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -19675,7 +20321,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1430 || yy2arr1430 { + if yyr1473 || yy2arr1473 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19688,25 +20334,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1462 := z.DecBinary() - _ = yym1462 + yym1505 := z.DecBinary() + _ = yym1505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1463 := r.ContainerType() - if yyct1463 == codecSelferValueTypeMap1234 { - yyl1463 := r.ReadMapStart() - if yyl1463 == 0 { + yyct1506 := r.ContainerType() + if yyct1506 == codecSelferValueTypeMap1234 { + yyl1506 := r.ReadMapStart() + if yyl1506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1463, d) + x.codecDecodeSelfFromMap(yyl1506, d) } - } else if yyct1463 == codecSelferValueTypeArray1234 { - yyl1463 := r.ReadArrayStart() - if yyl1463 == 0 { + } else if yyct1506 == codecSelferValueTypeArray1234 { + yyl1506 := r.ReadArrayStart() + if yyl1506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1463, d) + x.codecDecodeSelfFromArray(yyl1506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19718,12 +20364,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1464Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1464Slc - var yyhl1464 bool = l >= 0 - for yyj1464 := 0; ; yyj1464++ { - if yyhl1464 { - if yyj1464 >= l { + var yys1507Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1507Slc + var yyhl1507 bool = l >= 0 + for yyj1507 := 0; ; yyj1507++ { + if yyhl1507 { + if yyj1507 >= l { break } } else { @@ -19732,32 +20378,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1464Slc = r.DecodeBytes(yys1464Slc, true, true) - yys1464 := string(yys1464Slc) + yys1507Slc = r.DecodeBytes(yys1507Slc, true, true) + yys1507 := string(yys1507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1464 { + switch yys1507 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1465 := &x.Volumes - yym1466 := z.DecBinary() - _ = yym1466 + yyv1508 := &x.Volumes + yym1509 := z.DecBinary() + _ = yym1509 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1465), d) + h.decSliceVolume((*[]Volume)(yyv1508), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1467 := &x.Containers - yym1468 := z.DecBinary() - _ = yym1468 + yyv1510 := &x.Containers + yym1511 := z.DecBinary() + _ = yym1511 if false { } else { - h.decSliceContainer((*[]Container)(yyv1467), d) + h.decSliceContainer((*[]Container)(yyv1510), d) } } case "restartPolicy": @@ -19775,8 +20421,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1471 := z.DecBinary() - _ = yym1471 + yym1514 := z.DecBinary() + _ = yym1514 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -19791,8 +20437,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1473 := z.DecBinary() - _ = yym1473 + yym1516 := z.DecBinary() + _ = yym1516 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -19808,12 +20454,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1475 := &x.NodeSelector - yym1476 := z.DecBinary() - _ = yym1476 + yyv1518 := &x.NodeSelector + yym1519 := z.DecBinary() + _ = yym1519 if false { } else { - z.F.DecMapStringStringX(yyv1475, false, d) + z.F.DecMapStringStringX(yyv1518, false, d) } } case "serviceAccountName": @@ -19843,18 +20489,18 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1480 := &x.ImagePullSecrets - yym1481 := z.DecBinary() - _ = yym1481 + yyv1523 := &x.ImagePullSecrets + yym1524 := z.DecBinary() + _ = yym1524 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1480), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1523), d) } } default: - z.DecStructFieldNotFound(-1, yys1464) - } // end switch yys1464 - } // end for yyj1464 + z.DecStructFieldNotFound(-1, yys1507) + } // end switch yys1507 + } // end for yyj1507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19862,16 +20508,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1482 int - var yyb1482 bool - var yyhl1482 bool = l >= 0 - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + var yyj1525 int + var yyb1525 bool + var yyhl1525 bool = l >= 0 + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19879,21 +20525,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1483 := &x.Volumes - yym1484 := z.DecBinary() - _ = yym1484 + yyv1526 := &x.Volumes + yym1527 := z.DecBinary() + _ = yym1527 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1483), d) + h.decSliceVolume((*[]Volume)(yyv1526), d) } } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19901,21 +20547,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1485 := &x.Containers - yym1486 := z.DecBinary() - _ = yym1486 + yyv1528 := &x.Containers + yym1529 := z.DecBinary() + _ = yym1529 if false { } else { - h.decSliceContainer((*[]Container)(yyv1485), d) + h.decSliceContainer((*[]Container)(yyv1528), d) } } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19925,13 +20571,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19944,20 +20590,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1489 := z.DecBinary() - _ = yym1489 + yym1532 := z.DecBinary() + _ = yym1532 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19970,20 +20616,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1491 := z.DecBinary() - _ = yym1491 + yym1534 := z.DecBinary() + _ = yym1534 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19993,13 +20639,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20007,21 +20653,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1493 := &x.NodeSelector - yym1494 := z.DecBinary() - _ = yym1494 + yyv1536 := &x.NodeSelector + yym1537 := z.DecBinary() + _ = yym1537 if false { } else { - z.F.DecMapStringStringX(yyv1493, false, d) + z.F.DecMapStringStringX(yyv1536, false, d) } } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20031,13 +20677,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20047,13 +20693,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20068,13 +20714,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20082,26 +20728,26 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1498 := &x.ImagePullSecrets - yym1499 := z.DecBinary() - _ = yym1499 + yyv1541 := &x.ImagePullSecrets + yym1542 := z.DecBinary() + _ = yym1542 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1498), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1541), d) } } for { - yyj1482++ - if yyhl1482 { - yyb1482 = yyj1482 > l + yyj1525++ + if yyhl1525 { + yyb1525 = yyj1525 > l } else { - yyb1482 = r.CheckBreak() + yyb1525 = r.CheckBreak() } - if yyb1482 { + if yyb1525 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1482-1, "") + z.DecStructFieldNotFound(yyj1525-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20113,42 +20759,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1500 := z.EncBinary() - _ = yym1500 + yym1543 := z.EncBinary() + _ = yym1543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1501 := !z.EncBinary() - yy2arr1501 := z.EncBasicHandle().StructToArray - var yyq1501 [8]bool - _, _, _ = yysep1501, yyq1501, yy2arr1501 - const yyr1501 bool = false - yyq1501[0] = x.HostNetwork != false - yyq1501[1] = x.HostPID != false - yyq1501[2] = x.HostIPC != false - yyq1501[3] = x.SELinuxOptions != nil - yyq1501[4] = x.RunAsUser != nil - yyq1501[5] = x.RunAsNonRoot != nil - yyq1501[6] = len(x.SupplementalGroups) != 0 - yyq1501[7] = x.FSGroup != nil - var yynn1501 int - if yyr1501 || yy2arr1501 { + yysep1544 := !z.EncBinary() + yy2arr1544 := z.EncBasicHandle().StructToArray + var yyq1544 [8]bool + _, _, _ = yysep1544, yyq1544, yy2arr1544 + const yyr1544 bool = false + yyq1544[0] = x.HostNetwork != false + yyq1544[1] = x.HostPID != false + yyq1544[2] = x.HostIPC != false + yyq1544[3] = x.SELinuxOptions != nil + yyq1544[4] = x.RunAsUser != nil + yyq1544[5] = x.RunAsNonRoot != nil + yyq1544[6] = len(x.SupplementalGroups) != 0 + yyq1544[7] = x.FSGroup != nil + var yynn1544 int + if yyr1544 || yy2arr1544 { r.EncodeArrayStart(8) } else { - yynn1501 = 0 - for _, b := range yyq1501 { + yynn1544 = 0 + for _, b := range yyq1544 { if b { - yynn1501++ + yynn1544++ } } - r.EncodeMapStart(yynn1501) - yynn1501 = 0 + r.EncodeMapStart(yynn1544) + yynn1544 = 0 } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[0] { - yym1503 := z.EncBinary() - _ = yym1503 + if yyq1544[0] { + yym1546 := z.EncBinary() + _ = yym1546 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -20157,23 +20803,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1501[0] { + if yyq1544[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1504 := z.EncBinary() - _ = yym1504 + yym1547 := z.EncBinary() + _ = yym1547 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[1] { - yym1506 := z.EncBinary() - _ = yym1506 + if yyq1544[1] { + yym1549 := z.EncBinary() + _ = yym1549 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -20182,23 +20828,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1501[1] { + if yyq1544[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1507 := z.EncBinary() - _ = yym1507 + yym1550 := z.EncBinary() + _ = yym1550 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[2] { - yym1509 := z.EncBinary() - _ = yym1509 + if yyq1544[2] { + yym1552 := z.EncBinary() + _ = yym1552 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -20207,21 +20853,21 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1501[2] { + if yyq1544[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1510 := z.EncBinary() - _ = yym1510 + yym1553 := z.EncBinary() + _ = yym1553 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[3] { + if yyq1544[3] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -20231,7 +20877,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1501[3] { + if yyq1544[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20242,84 +20888,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[4] { + if yyq1544[4] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy1513 := *x.RunAsUser - yym1514 := z.EncBinary() - _ = yym1514 + yy1556 := *x.RunAsUser + yym1557 := z.EncBinary() + _ = yym1557 if false { } else { - r.EncodeInt(int64(yy1513)) + r.EncodeInt(int64(yy1556)) } } } else { r.EncodeNil() } } else { - if yyq1501[4] { + if yyq1544[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy1515 := *x.RunAsUser - yym1516 := z.EncBinary() - _ = yym1516 + yy1558 := *x.RunAsUser + yym1559 := z.EncBinary() + _ = yym1559 if false { } else { - r.EncodeInt(int64(yy1515)) + r.EncodeInt(int64(yy1558)) } } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[5] { + if yyq1544[5] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1518 := *x.RunAsNonRoot - yym1519 := z.EncBinary() - _ = yym1519 + yy1561 := *x.RunAsNonRoot + yym1562 := z.EncBinary() + _ = yym1562 if false { } else { - r.EncodeBool(bool(yy1518)) + r.EncodeBool(bool(yy1561)) } } } else { r.EncodeNil() } } else { - if yyq1501[5] { + if yyq1544[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1520 := *x.RunAsNonRoot - yym1521 := z.EncBinary() - _ = yym1521 + yy1563 := *x.RunAsNonRoot + yym1564 := z.EncBinary() + _ = yym1564 if false { } else { - r.EncodeBool(bool(yy1520)) + r.EncodeBool(bool(yy1563)) } } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[6] { + if yyq1544[6] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1523 := z.EncBinary() - _ = yym1523 + yym1566 := z.EncBinary() + _ = yym1566 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -20329,15 +20975,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1501[6] { + if yyq1544[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1524 := z.EncBinary() - _ = yym1524 + yym1567 := z.EncBinary() + _ = yym1567 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -20345,42 +20991,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[7] { + if yyq1544[7] { if x.FSGroup == nil { r.EncodeNil() } else { - yy1526 := *x.FSGroup - yym1527 := z.EncBinary() - _ = yym1527 + yy1569 := *x.FSGroup + yym1570 := z.EncBinary() + _ = yym1570 if false { } else { - r.EncodeInt(int64(yy1526)) + r.EncodeInt(int64(yy1569)) } } } else { r.EncodeNil() } } else { - if yyq1501[7] { + if yyq1544[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy1528 := *x.FSGroup - yym1529 := z.EncBinary() - _ = yym1529 + yy1571 := *x.FSGroup + yym1572 := z.EncBinary() + _ = yym1572 if false { } else { - r.EncodeInt(int64(yy1528)) + r.EncodeInt(int64(yy1571)) } } } } - if yyr1501 || yy2arr1501 { + if yyr1544 || yy2arr1544 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20393,25 +21039,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1530 := z.DecBinary() - _ = yym1530 + yym1573 := z.DecBinary() + _ = yym1573 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1531 := r.ContainerType() - if yyct1531 == codecSelferValueTypeMap1234 { - yyl1531 := r.ReadMapStart() - if yyl1531 == 0 { + yyct1574 := r.ContainerType() + if yyct1574 == codecSelferValueTypeMap1234 { + yyl1574 := r.ReadMapStart() + if yyl1574 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1531, d) + x.codecDecodeSelfFromMap(yyl1574, d) } - } else if yyct1531 == codecSelferValueTypeArray1234 { - yyl1531 := r.ReadArrayStart() - if yyl1531 == 0 { + } else if yyct1574 == codecSelferValueTypeArray1234 { + yyl1574 := r.ReadArrayStart() + if yyl1574 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1531, d) + x.codecDecodeSelfFromArray(yyl1574, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20423,12 +21069,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1532Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1532Slc - var yyhl1532 bool = l >= 0 - for yyj1532 := 0; ; yyj1532++ { - if yyhl1532 { - if yyj1532 >= l { + 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 { @@ -20437,10 +21083,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1532Slc = r.DecodeBytes(yys1532Slc, true, true) - yys1532 := string(yys1532Slc) + yys1575Slc = r.DecodeBytes(yys1575Slc, true, true) + yys1575 := string(yys1575Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1532 { + switch yys1575 { case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false @@ -20479,8 +21125,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1538 := z.DecBinary() - _ = yym1538 + yym1581 := z.DecBinary() + _ = yym1581 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -20495,8 +21141,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1540 := z.DecBinary() - _ = yym1540 + yym1583 := z.DecBinary() + _ = yym1583 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -20506,12 +21152,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1541 := &x.SupplementalGroups - yym1542 := z.DecBinary() - _ = yym1542 + yyv1584 := &x.SupplementalGroups + yym1585 := z.DecBinary() + _ = yym1585 if false { } else { - z.F.DecSliceInt64X(yyv1541, false, d) + z.F.DecSliceInt64X(yyv1584, false, d) } } case "fsGroup": @@ -20523,17 +21169,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1544 := z.DecBinary() - _ = yym1544 + yym1587 := z.DecBinary() + _ = yym1587 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1532) - } // end switch yys1532 - } // end for yyj1532 + z.DecStructFieldNotFound(-1, yys1575) + } // end switch yys1575 + } // end for yyj1575 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20541,16 +21187,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1545 int - var yyb1545 bool - var yyhl1545 bool = l >= 0 - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + var yyj1588 int + var yyb1588 bool + var yyhl1588 bool = l >= 0 + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20560,13 +21206,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20576,13 +21222,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostPID = bool(r.DecodeBool()) } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20592,13 +21238,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20613,13 +21259,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20632,20 +21278,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1551 := z.DecBinary() - _ = yym1551 + yym1594 := z.DecBinary() + _ = yym1594 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20658,20 +21304,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1553 := z.DecBinary() - _ = yym1553 + yym1596 := z.DecBinary() + _ = yym1596 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20679,21 +21325,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1554 := &x.SupplementalGroups - yym1555 := z.DecBinary() - _ = yym1555 + yyv1597 := &x.SupplementalGroups + yym1598 := z.DecBinary() + _ = yym1598 if false { } else { - z.F.DecSliceInt64X(yyv1554, false, d) + z.F.DecSliceInt64X(yyv1597, false, d) } } - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20706,25 +21352,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1557 := z.DecBinary() - _ = yym1557 + yym1600 := z.DecBinary() + _ = yym1600 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj1545++ - if yyhl1545 { - yyb1545 = yyj1545 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb1545 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb1545 { + if yyb1588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1545-1, "") + z.DecStructFieldNotFound(yyj1588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20736,60 +21382,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1558 := z.EncBinary() - _ = yym1558 + yym1601 := z.EncBinary() + _ = yym1601 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1559 := !z.EncBinary() - yy2arr1559 := z.EncBasicHandle().StructToArray - var yyq1559 [8]bool - _, _, _ = yysep1559, yyq1559, yy2arr1559 - const yyr1559 bool = false - yyq1559[0] = x.Phase != "" - yyq1559[1] = len(x.Conditions) != 0 - yyq1559[2] = x.Message != "" - yyq1559[3] = x.Reason != "" - yyq1559[4] = x.HostIP != "" - yyq1559[5] = x.PodIP != "" - yyq1559[6] = x.StartTime != nil - yyq1559[7] = len(x.ContainerStatuses) != 0 - var yynn1559 int - if yyr1559 || yy2arr1559 { + yysep1602 := !z.EncBinary() + yy2arr1602 := z.EncBasicHandle().StructToArray + var yyq1602 [8]bool + _, _, _ = yysep1602, yyq1602, yy2arr1602 + const yyr1602 bool = false + yyq1602[0] = x.Phase != "" + yyq1602[1] = len(x.Conditions) != 0 + yyq1602[2] = x.Message != "" + yyq1602[3] = x.Reason != "" + yyq1602[4] = x.HostIP != "" + yyq1602[5] = x.PodIP != "" + yyq1602[6] = x.StartTime != nil + yyq1602[7] = len(x.ContainerStatuses) != 0 + var yynn1602 int + if yyr1602 || yy2arr1602 { r.EncodeArrayStart(8) } else { - yynn1559 = 0 - for _, b := range yyq1559 { + yynn1602 = 0 + for _, b := range yyq1602 { if b { - yynn1559++ + yynn1602++ } } - r.EncodeMapStart(yynn1559) - yynn1559 = 0 + r.EncodeMapStart(yynn1602) + yynn1602 = 0 } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[0] { + if yyq1602[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1559[0] { + if yyq1602[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[1] { + if yyq1602[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym1562 := z.EncBinary() - _ = yym1562 + yym1605 := z.EncBinary() + _ = yym1605 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -20799,15 +21445,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1559[1] { + if yyq1602[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1563 := z.EncBinary() - _ = yym1563 + yym1606 := z.EncBinary() + _ = yym1606 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -20815,11 +21461,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[2] { - yym1565 := z.EncBinary() - _ = yym1565 + if yyq1602[2] { + yym1608 := z.EncBinary() + _ = yym1608 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20828,23 +21474,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1559[2] { + if yyq1602[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1566 := z.EncBinary() - _ = yym1566 + yym1609 := z.EncBinary() + _ = yym1609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[3] { - yym1568 := z.EncBinary() - _ = yym1568 + if yyq1602[3] { + yym1611 := z.EncBinary() + _ = yym1611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20853,23 +21499,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1559[3] { + if yyq1602[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1569 := z.EncBinary() - _ = yym1569 + yym1612 := z.EncBinary() + _ = yym1612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[4] { - yym1571 := z.EncBinary() - _ = yym1571 + if yyq1602[4] { + yym1614 := z.EncBinary() + _ = yym1614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -20878,23 +21524,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1559[4] { + if yyq1602[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1572 := z.EncBinary() - _ = yym1572 + yym1615 := z.EncBinary() + _ = yym1615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[5] { - yym1574 := z.EncBinary() - _ = yym1574 + if yyq1602[5] { + yym1617 := z.EncBinary() + _ = yym1617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -20903,31 +21549,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1559[5] { + if yyq1602[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1575 := z.EncBinary() - _ = yym1575 + yym1618 := z.EncBinary() + _ = yym1618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[6] { + if yyq1602[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym1577 := z.EncBinary() - _ = yym1577 + yym1620 := z.EncBinary() + _ = yym1620 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1577 { + } else if yym1620 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1577 && z.IsJSONHandle() { + } else if !yym1620 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -20937,20 +21583,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1559[6] { + if yyq1602[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym1578 := z.EncBinary() - _ = yym1578 + yym1621 := z.EncBinary() + _ = yym1621 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1578 { + } else if yym1621 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1578 && z.IsJSONHandle() { + } else if !yym1621 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -20958,14 +21604,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1559[7] { + if yyq1602[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1580 := z.EncBinary() - _ = yym1580 + yym1623 := z.EncBinary() + _ = yym1623 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -20975,15 +21621,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1559[7] { + if yyq1602[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1581 := z.EncBinary() - _ = yym1581 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -20991,7 +21637,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1559 || yy2arr1559 { + if yyr1602 || yy2arr1602 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21004,25 +21650,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1582 := z.DecBinary() - _ = yym1582 + yym1625 := z.DecBinary() + _ = yym1625 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1583 := r.ContainerType() - if yyct1583 == codecSelferValueTypeMap1234 { - yyl1583 := r.ReadMapStart() - if yyl1583 == 0 { + yyct1626 := r.ContainerType() + if yyct1626 == codecSelferValueTypeMap1234 { + yyl1626 := r.ReadMapStart() + if yyl1626 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1583, d) + x.codecDecodeSelfFromMap(yyl1626, d) } - } else if yyct1583 == codecSelferValueTypeArray1234 { - yyl1583 := r.ReadArrayStart() - if yyl1583 == 0 { + } else if yyct1626 == codecSelferValueTypeArray1234 { + yyl1626 := r.ReadArrayStart() + if yyl1626 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1583, d) + x.codecDecodeSelfFromArray(yyl1626, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21034,12 +21680,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1584Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1584Slc - var yyhl1584 bool = l >= 0 - for yyj1584 := 0; ; yyj1584++ { - if yyhl1584 { - if yyj1584 >= l { + var yys1627Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1627Slc + var yyhl1627 bool = l >= 0 + for yyj1627 := 0; ; yyj1627++ { + if yyhl1627 { + if yyj1627 >= l { break } } else { @@ -21048,10 +21694,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1584Slc = r.DecodeBytes(yys1584Slc, true, true) - yys1584 := string(yys1584Slc) + yys1627Slc = r.DecodeBytes(yys1627Slc, true, true) + yys1627 := string(yys1627Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1584 { + switch yys1627 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -21062,12 +21708,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1586 := &x.Conditions - yym1587 := z.DecBinary() - _ = yym1587 + yyv1629 := &x.Conditions + yym1630 := z.DecBinary() + _ = yym1630 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1586), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1629), d) } } case "message": @@ -21103,13 +21749,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1593 := z.DecBinary() - _ = yym1593 + yym1636 := z.DecBinary() + _ = yym1636 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1593 { + } else if yym1636 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1593 && z.IsJSONHandle() { + } else if !yym1636 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -21119,18 +21765,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1594 := &x.ContainerStatuses - yym1595 := z.DecBinary() - _ = yym1595 + yyv1637 := &x.ContainerStatuses + yym1638 := z.DecBinary() + _ = yym1638 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1594), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1637), d) } } default: - z.DecStructFieldNotFound(-1, yys1584) - } // end switch yys1584 - } // end for yyj1584 + z.DecStructFieldNotFound(-1, yys1627) + } // end switch yys1627 + } // end for yyj1627 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21138,16 +21784,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1596 int - var yyb1596 bool - var yyhl1596 bool = l >= 0 - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + var yyj1639 int + var yyb1639 bool + var yyhl1639 bool = l >= 0 + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21157,13 +21803,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21171,21 +21817,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1598 := &x.Conditions - yym1599 := z.DecBinary() - _ = yym1599 + yyv1641 := &x.Conditions + yym1642 := z.DecBinary() + _ = yym1642 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1598), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1641), d) } } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21195,13 +21841,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21211,13 +21857,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21227,13 +21873,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21243,13 +21889,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21262,25 +21908,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1605 := z.DecBinary() - _ = yym1605 + yym1648 := z.DecBinary() + _ = yym1648 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1605 { + } else if yym1648 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1605 && z.IsJSONHandle() { + } else if !yym1648 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21288,26 +21934,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1606 := &x.ContainerStatuses - yym1607 := z.DecBinary() - _ = yym1607 + yyv1649 := &x.ContainerStatuses + yym1650 := z.DecBinary() + _ = yym1650 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1606), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1649), d) } } for { - yyj1596++ - if yyhl1596 { - yyb1596 = yyj1596 > l + yyj1639++ + if yyhl1639 { + yyb1639 = yyj1639 > l } else { - yyb1596 = r.CheckBreak() + yyb1639 = r.CheckBreak() } - if yyb1596 { + if yyb1639 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1596-1, "") + z.DecStructFieldNotFound(yyj1639-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21319,38 +21965,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1608 := z.EncBinary() - _ = yym1608 + yym1651 := z.EncBinary() + _ = yym1651 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1609 := !z.EncBinary() - yy2arr1609 := z.EncBasicHandle().StructToArray - var yyq1609 [4]bool - _, _, _ = yysep1609, yyq1609, yy2arr1609 - const yyr1609 bool = false - yyq1609[0] = x.Kind != "" - yyq1609[1] = x.APIVersion != "" - yyq1609[2] = true - yyq1609[3] = true - var yynn1609 int - if yyr1609 || yy2arr1609 { + yysep1652 := !z.EncBinary() + yy2arr1652 := z.EncBasicHandle().StructToArray + var yyq1652 [4]bool + _, _, _ = yysep1652, yyq1652, yy2arr1652 + const yyr1652 bool = false + yyq1652[0] = x.Kind != "" + yyq1652[1] = x.APIVersion != "" + yyq1652[2] = true + yyq1652[3] = true + var yynn1652 int + if yyr1652 || yy2arr1652 { r.EncodeArrayStart(4) } else { - yynn1609 = 0 - for _, b := range yyq1609 { + yynn1652 = 0 + for _, b := range yyq1652 { if b { - yynn1609++ + yynn1652++ } } - r.EncodeMapStart(yynn1609) - yynn1609 = 0 + r.EncodeMapStart(yynn1652) + yynn1652 = 0 } - if yyr1609 || yy2arr1609 { + if yyr1652 || yy2arr1652 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1609[0] { - yym1611 := z.EncBinary() - _ = yym1611 + if yyq1652[0] { + yym1654 := z.EncBinary() + _ = yym1654 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -21359,23 +22005,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1609[0] { + if yyq1652[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1612 := z.EncBinary() - _ = yym1612 + yym1655 := z.EncBinary() + _ = yym1655 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1609 || yy2arr1609 { + if yyr1652 || yy2arr1652 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1609[1] { - yym1614 := z.EncBinary() - _ = yym1614 + if yyq1652[1] { + yym1657 := z.EncBinary() + _ = yym1657 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -21384,53 +22030,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1609[1] { + if yyq1652[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1615 := z.EncBinary() - _ = yym1615 + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1609 || yy2arr1609 { + if yyr1652 || yy2arr1652 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1609[2] { - yy1617 := &x.ObjectMeta - yy1617.CodecEncodeSelf(e) + if yyq1652[2] { + yy1660 := &x.ObjectMeta + yy1660.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1609[2] { + if yyq1652[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1618 := &x.ObjectMeta - yy1618.CodecEncodeSelf(e) + yy1661 := &x.ObjectMeta + yy1661.CodecEncodeSelf(e) } } - if yyr1609 || yy2arr1609 { + if yyr1652 || yy2arr1652 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1609[3] { - yy1620 := &x.Status - yy1620.CodecEncodeSelf(e) + if yyq1652[3] { + yy1663 := &x.Status + yy1663.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1609[3] { + if yyq1652[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1621 := &x.Status - yy1621.CodecEncodeSelf(e) + yy1664 := &x.Status + yy1664.CodecEncodeSelf(e) } } - if yyr1609 || yy2arr1609 { + if yyr1652 || yy2arr1652 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21443,25 +22089,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1622 := z.DecBinary() - _ = yym1622 + yym1665 := z.DecBinary() + _ = yym1665 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1623 := r.ContainerType() - if yyct1623 == codecSelferValueTypeMap1234 { - yyl1623 := r.ReadMapStart() - if yyl1623 == 0 { + yyct1666 := r.ContainerType() + if yyct1666 == codecSelferValueTypeMap1234 { + yyl1666 := r.ReadMapStart() + if yyl1666 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1623, d) + x.codecDecodeSelfFromMap(yyl1666, d) } - } else if yyct1623 == codecSelferValueTypeArray1234 { - yyl1623 := r.ReadArrayStart() - if yyl1623 == 0 { + } else if yyct1666 == codecSelferValueTypeArray1234 { + yyl1666 := r.ReadArrayStart() + if yyl1666 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1623, d) + x.codecDecodeSelfFromArray(yyl1666, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21473,12 +22119,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1624Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1624Slc - var yyhl1624 bool = l >= 0 - for yyj1624 := 0; ; yyj1624++ { - if yyhl1624 { - if yyj1624 >= l { + var yys1667Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1667Slc + var yyhl1667 bool = l >= 0 + for yyj1667 := 0; ; yyj1667++ { + if yyhl1667 { + if yyj1667 >= l { break } } else { @@ -21487,10 +22133,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1624Slc = r.DecodeBytes(yys1624Slc, true, true) - yys1624 := string(yys1624Slc) + yys1667Slc = r.DecodeBytes(yys1667Slc, true, true) + yys1667 := string(yys1667Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1624 { + switch yys1667 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21507,20 +22153,20 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1627 := &x.ObjectMeta - yyv1627.CodecDecodeSelf(d) + yyv1670 := &x.ObjectMeta + yyv1670.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1628 := &x.Status - yyv1628.CodecDecodeSelf(d) + yyv1671 := &x.Status + yyv1671.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1624) - } // end switch yys1624 - } // end for yyj1624 + z.DecStructFieldNotFound(-1, yys1667) + } // end switch yys1667 + } // end for yyj1667 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21528,16 +22174,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1629 int - var yyb1629 bool - var yyhl1629 bool = l >= 0 - yyj1629++ - if yyhl1629 { - yyb1629 = yyj1629 > l + var yyj1672 int + var yyb1672 bool + var yyhl1672 bool = l >= 0 + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1629 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1629 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21547,13 +22193,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj1629++ - if yyhl1629 { - yyb1629 = yyj1629 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1629 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1629 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21563,13 +22209,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj1629++ - if yyhl1629 { - yyb1629 = yyj1629 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1629 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1629 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21577,16 +22223,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1632 := &x.ObjectMeta - yyv1632.CodecDecodeSelf(d) + yyv1675 := &x.ObjectMeta + yyv1675.CodecDecodeSelf(d) } - yyj1629++ - if yyhl1629 { - yyb1629 = yyj1629 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1629 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1629 { + if yyb1672 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21594,21 +22240,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1633 := &x.Status - yyv1633.CodecDecodeSelf(d) + yyv1676 := &x.Status + yyv1676.CodecDecodeSelf(d) } for { - yyj1629++ - if yyhl1629 { - yyb1629 = yyj1629 > l + yyj1672++ + if yyhl1672 { + yyb1672 = yyj1672 > l } else { - yyb1629 = r.CheckBreak() + yyb1672 = r.CheckBreak() } - if yyb1629 { + if yyb1672 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1629-1, "") + z.DecStructFieldNotFound(yyj1672-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21620,39 +22266,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1634 := z.EncBinary() - _ = yym1634 + yym1677 := z.EncBinary() + _ = yym1677 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1635 := !z.EncBinary() - yy2arr1635 := z.EncBasicHandle().StructToArray - var yyq1635 [5]bool - _, _, _ = yysep1635, yyq1635, yy2arr1635 - const yyr1635 bool = false - yyq1635[0] = x.Kind != "" - yyq1635[1] = x.APIVersion != "" - yyq1635[2] = true - yyq1635[3] = true - yyq1635[4] = true - var yynn1635 int - if yyr1635 || yy2arr1635 { + yysep1678 := !z.EncBinary() + yy2arr1678 := z.EncBasicHandle().StructToArray + var yyq1678 [5]bool + _, _, _ = yysep1678, yyq1678, yy2arr1678 + const yyr1678 bool = false + yyq1678[0] = x.Kind != "" + yyq1678[1] = x.APIVersion != "" + yyq1678[2] = true + yyq1678[3] = true + yyq1678[4] = true + var yynn1678 int + if yyr1678 || yy2arr1678 { r.EncodeArrayStart(5) } else { - yynn1635 = 0 - for _, b := range yyq1635 { + yynn1678 = 0 + for _, b := range yyq1678 { if b { - yynn1635++ + yynn1678++ } } - r.EncodeMapStart(yynn1635) - yynn1635 = 0 + r.EncodeMapStart(yynn1678) + yynn1678 = 0 } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1635[0] { - yym1637 := z.EncBinary() - _ = yym1637 + if yyq1678[0] { + yym1680 := z.EncBinary() + _ = yym1680 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -21661,23 +22307,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1635[0] { + if yyq1678[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1638 := z.EncBinary() - _ = yym1638 + yym1681 := z.EncBinary() + _ = yym1681 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1635[1] { - yym1640 := z.EncBinary() - _ = yym1640 + if yyq1678[1] { + yym1683 := z.EncBinary() + _ = yym1683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -21686,70 +22332,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1635[1] { + if yyq1678[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1641 := z.EncBinary() - _ = yym1641 + yym1684 := z.EncBinary() + _ = yym1684 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1635[2] { - yy1643 := &x.ObjectMeta - yy1643.CodecEncodeSelf(e) + if yyq1678[2] { + yy1686 := &x.ObjectMeta + yy1686.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1635[2] { + if yyq1678[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1644 := &x.ObjectMeta - yy1644.CodecEncodeSelf(e) + yy1687 := &x.ObjectMeta + yy1687.CodecEncodeSelf(e) } } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1635[3] { - yy1646 := &x.Spec - yy1646.CodecEncodeSelf(e) + if yyq1678[3] { + yy1689 := &x.Spec + yy1689.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1635[3] { + if yyq1678[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1647 := &x.Spec - yy1647.CodecEncodeSelf(e) + yy1690 := &x.Spec + yy1690.CodecEncodeSelf(e) } } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1635[4] { - yy1649 := &x.Status - yy1649.CodecEncodeSelf(e) + if yyq1678[4] { + yy1692 := &x.Status + yy1692.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1635[4] { + if yyq1678[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1650 := &x.Status - yy1650.CodecEncodeSelf(e) + yy1693 := &x.Status + yy1693.CodecEncodeSelf(e) } } - if yyr1635 || yy2arr1635 { + if yyr1678 || yy2arr1678 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21762,25 +22408,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1651 := z.DecBinary() - _ = yym1651 + yym1694 := z.DecBinary() + _ = yym1694 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1652 := r.ContainerType() - if yyct1652 == codecSelferValueTypeMap1234 { - yyl1652 := r.ReadMapStart() - if yyl1652 == 0 { + yyct1695 := r.ContainerType() + if yyct1695 == codecSelferValueTypeMap1234 { + yyl1695 := r.ReadMapStart() + if yyl1695 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1652, d) + x.codecDecodeSelfFromMap(yyl1695, d) } - } else if yyct1652 == codecSelferValueTypeArray1234 { - yyl1652 := r.ReadArrayStart() - if yyl1652 == 0 { + } else if yyct1695 == codecSelferValueTypeArray1234 { + yyl1695 := r.ReadArrayStart() + if yyl1695 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1652, d) + x.codecDecodeSelfFromArray(yyl1695, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21792,12 +22438,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1653Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1653Slc - var yyhl1653 bool = l >= 0 - for yyj1653 := 0; ; yyj1653++ { - if yyhl1653 { - if yyj1653 >= l { + var yys1696Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1696Slc + var yyhl1696 bool = l >= 0 + for yyj1696 := 0; ; yyj1696++ { + if yyhl1696 { + if yyj1696 >= l { break } } else { @@ -21806,10 +22452,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1653Slc = r.DecodeBytes(yys1653Slc, true, true) - yys1653 := string(yys1653Slc) + yys1696Slc = r.DecodeBytes(yys1696Slc, true, true) + yys1696 := string(yys1696Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1653 { + switch yys1696 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21826,554 +22472,31 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1656 := &x.ObjectMeta - yyv1656.CodecDecodeSelf(d) + yyv1699 := &x.ObjectMeta + yyv1699.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1657 := &x.Spec - yyv1657.CodecDecodeSelf(d) + yyv1700 := &x.Spec + yyv1700.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1658 := &x.Status - yyv1658.CodecDecodeSelf(d) + yyv1701 := &x.Status + yyv1701.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1653) - } // end switch yys1653 - } // end for yyj1653 + z.DecStructFieldNotFound(-1, yys1696) + } // end switch yys1696 + } // end for yyj1696 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1659 int - var yyb1659 bool - var yyhl1659 bool = l >= 0 - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1662 := &x.ObjectMeta - yyv1662.CodecDecodeSelf(d) - } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv1663 := &x.Spec - yyv1663.CodecDecodeSelf(d) - } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv1664 := &x.Status - yyv1664.CodecDecodeSelf(d) - } - for { - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1659-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1665 := z.EncBinary() - _ = yym1665 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1666 := !z.EncBinary() - yy2arr1666 := z.EncBasicHandle().StructToArray - var yyq1666 [2]bool - _, _, _ = yysep1666, yyq1666, yy2arr1666 - const yyr1666 bool = false - yyq1666[0] = true - yyq1666[1] = true - var yynn1666 int - if yyr1666 || yy2arr1666 { - r.EncodeArrayStart(2) - } else { - yynn1666 = 0 - for _, b := range yyq1666 { - if b { - yynn1666++ - } - } - r.EncodeMapStart(yynn1666) - yynn1666 = 0 - } - if yyr1666 || yy2arr1666 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1666[0] { - yy1668 := &x.ObjectMeta - yy1668.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1666[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1669 := &x.ObjectMeta - yy1669.CodecEncodeSelf(e) - } - } - if yyr1666 || yy2arr1666 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1666[1] { - yy1671 := &x.Spec - yy1671.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1666[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1672 := &x.Spec - yy1672.CodecEncodeSelf(e) - } - } - if yyr1666 || yy2arr1666 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1673 := z.DecBinary() - _ = yym1673 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1674 := r.ContainerType() - if yyct1674 == codecSelferValueTypeMap1234 { - yyl1674 := r.ReadMapStart() - if yyl1674 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1674, d) - } - } else if yyct1674 == codecSelferValueTypeArray1234 { - yyl1674 := r.ReadArrayStart() - if yyl1674 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1674, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1675Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1675Slc - var yyhl1675 bool = l >= 0 - for yyj1675 := 0; ; yyj1675++ { - if yyhl1675 { - if yyj1675 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1675Slc = r.DecodeBytes(yys1675Slc, true, true) - yys1675 := string(yys1675Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1675 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1676 := &x.ObjectMeta - yyv1676.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv1677 := &x.Spec - yyv1677.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1675) - } // end switch yys1675 - } // end for yyj1675 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1678 int - var yyb1678 bool - var yyhl1678 bool = l >= 0 - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l - } else { - yyb1678 = r.CheckBreak() - } - if yyb1678 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1679 := &x.ObjectMeta - yyv1679.CodecDecodeSelf(d) - } - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l - } else { - yyb1678 = r.CheckBreak() - } - if yyb1678 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv1680 := &x.Spec - yyv1680.CodecDecodeSelf(d) - } - for { - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l - } else { - yyb1678 = r.CheckBreak() - } - if yyb1678 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1678-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1681 := z.EncBinary() - _ = yym1681 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1682 := !z.EncBinary() - yy2arr1682 := z.EncBasicHandle().StructToArray - var yyq1682 [4]bool - _, _, _ = yysep1682, yyq1682, yy2arr1682 - const yyr1682 bool = false - yyq1682[0] = x.Kind != "" - yyq1682[1] = x.APIVersion != "" - yyq1682[2] = true - yyq1682[3] = true - var yynn1682 int - if yyr1682 || yy2arr1682 { - r.EncodeArrayStart(4) - } else { - yynn1682 = 0 - for _, b := range yyq1682 { - if b { - yynn1682++ - } - } - r.EncodeMapStart(yynn1682) - yynn1682 = 0 - } - if yyr1682 || yy2arr1682 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1682[0] { - yym1684 := z.EncBinary() - _ = yym1684 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1682[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1685 := z.EncBinary() - _ = yym1685 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1682 || yy2arr1682 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1682[1] { - yym1687 := z.EncBinary() - _ = yym1687 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1682[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1688 := z.EncBinary() - _ = yym1688 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1682 || yy2arr1682 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1682[2] { - yy1690 := &x.ObjectMeta - yy1690.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1682[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1691 := &x.ObjectMeta - yy1691.CodecEncodeSelf(e) - } - } - if yyr1682 || yy2arr1682 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1682[3] { - yy1693 := &x.Template - yy1693.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1682[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1694 := &x.Template - yy1694.CodecEncodeSelf(e) - } - } - if yyr1682 || yy2arr1682 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1695 := z.DecBinary() - _ = yym1695 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1696 := r.ContainerType() - if yyct1696 == codecSelferValueTypeMap1234 { - yyl1696 := r.ReadMapStart() - if yyl1696 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1696, d) - } - } else if yyct1696 == codecSelferValueTypeArray1234 { - yyl1696 := r.ReadArrayStart() - if yyl1696 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1696, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1697Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1697Slc - var yyhl1697 bool = l >= 0 - for yyj1697 := 0; ; yyj1697++ { - if yyhl1697 { - if yyj1697 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1697Slc = r.DecodeBytes(yys1697Slc, true, true) - yys1697 := string(yys1697Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1697 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv1700 := &x.ObjectMeta - yyv1700.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} - } else { - yyv1701 := &x.Template - yyv1701.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1697) - } // end switch yys1697 - } // end for yyj1697 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22441,11 +22564,28 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} + x.Spec = PodSpec{} } else { - yyv1706 := &x.Template + yyv1706 := &x.Spec yyv1706.CodecDecodeSelf(d) } + yyj1702++ + if yyhl1702 { + yyb1702 = yyj1702 > l + } else { + yyb1702 = r.CheckBreak() + } + if yyb1702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv1707 := &x.Status + yyv1707.CodecDecodeSelf(d) + } for { yyj1702++ if yyhl1702 { @@ -22462,976 +22602,73 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1707 := z.EncBinary() - _ = yym1707 + yym1708 := z.EncBinary() + _ = yym1708 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1708 := !z.EncBinary() - yy2arr1708 := z.EncBasicHandle().StructToArray - var yyq1708 [4]bool - _, _, _ = yysep1708, yyq1708, yy2arr1708 - const yyr1708 bool = false - yyq1708[0] = x.Kind != "" - yyq1708[1] = x.APIVersion != "" - yyq1708[2] = true - var yynn1708 int - if yyr1708 || yy2arr1708 { - r.EncodeArrayStart(4) - } else { - yynn1708 = 1 - for _, b := range yyq1708 { - if b { - yynn1708++ - } - } - r.EncodeMapStart(yynn1708) - yynn1708 = 0 - } - if yyr1708 || yy2arr1708 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1708[0] { - yym1710 := z.EncBinary() - _ = yym1710 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1708[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1711 := z.EncBinary() - _ = yym1711 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1708 || yy2arr1708 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1708[1] { - yym1713 := z.EncBinary() - _ = yym1713 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1708[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1714 := z.EncBinary() - _ = yym1714 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1708 || yy2arr1708 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1708[2] { - yy1716 := &x.ListMeta - yym1717 := z.EncBinary() - _ = yym1717 - if false { - } else if z.HasExtensions() && z.EncExt(yy1716) { - } else { - z.EncFallback(yy1716) - } - } else { - r.EncodeNil() - } - } else { - if yyq1708[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1718 := &x.ListMeta - yym1719 := z.EncBinary() - _ = yym1719 - if false { - } else if z.HasExtensions() && z.EncExt(yy1718) { - } else { - z.EncFallback(yy1718) - } - } - } - if yyr1708 || yy2arr1708 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1721 := z.EncBinary() - _ = yym1721 - if false { - } else { - h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1722 := z.EncBinary() - _ = yym1722 - if false { - } else { - h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) - } - } - } - if yyr1708 || yy2arr1708 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1723 := z.DecBinary() - _ = yym1723 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1724 := r.ContainerType() - if yyct1724 == codecSelferValueTypeMap1234 { - yyl1724 := r.ReadMapStart() - if yyl1724 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1724, d) - } - } else if yyct1724 == codecSelferValueTypeArray1234 { - yyl1724 := r.ReadArrayStart() - if yyl1724 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1724, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1725Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1725Slc - var yyhl1725 bool = l >= 0 - for yyj1725 := 0; ; yyj1725++ { - if yyhl1725 { - if yyj1725 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1725Slc = r.DecodeBytes(yys1725Slc, true, true) - yys1725 := string(yys1725Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1725 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv1728 := &x.ListMeta - yym1729 := z.DecBinary() - _ = yym1729 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1728) { - } else { - z.DecFallback(yyv1728, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1730 := &x.Items - yym1731 := z.DecBinary() - _ = yym1731 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1730), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1725) - } // end switch yys1725 - } // end for yyj1725 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1732 int - var yyb1732 bool - var yyhl1732 bool = l >= 0 - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l - } else { - yyb1732 = r.CheckBreak() - } - if yyb1732 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l - } else { - yyb1732 = r.CheckBreak() - } - if yyb1732 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l - } else { - yyb1732 = r.CheckBreak() - } - if yyb1732 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv1735 := &x.ListMeta - yym1736 := z.DecBinary() - _ = yym1736 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1735) { - } else { - z.DecFallback(yyv1735, false) - } - } - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l - } else { - yyb1732 = r.CheckBreak() - } - if yyb1732 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1737 := &x.Items - yym1738 := z.DecBinary() - _ = yym1738 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1737), d) - } - } - for { - yyj1732++ - if yyhl1732 { - yyb1732 = yyj1732 > l - } else { - yyb1732 = r.CheckBreak() - } - if yyb1732 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1732-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1739 := z.EncBinary() - _ = yym1739 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1740 := !z.EncBinary() - yy2arr1740 := z.EncBasicHandle().StructToArray - var yyq1740 [3]bool - _, _, _ = yysep1740, yyq1740, yy2arr1740 - const yyr1740 bool = false - yyq1740[2] = x.Template != nil - var yynn1740 int - if yyr1740 || yy2arr1740 { - r.EncodeArrayStart(3) - } else { - yynn1740 = 2 - for _, b := range yyq1740 { - if b { - yynn1740++ - } - } - r.EncodeMapStart(yynn1740) - yynn1740 = 0 - } - if yyr1740 || yy2arr1740 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1742 := z.EncBinary() - _ = yym1742 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1743 := z.EncBinary() - _ = yym1743 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - if yyr1740 || yy2arr1740 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym1745 := z.EncBinary() - _ = yym1745 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym1746 := z.EncBinary() - _ = yym1746 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } - if yyr1740 || yy2arr1740 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1740[2] { - if x.Template == nil { - r.EncodeNil() - } else { - x.Template.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq1740[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Template == nil { - r.EncodeNil() - } else { - x.Template.CodecEncodeSelf(e) - } - } - } - if yyr1740 || yy2arr1740 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1748 := z.DecBinary() - _ = yym1748 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1749 := r.ContainerType() - if yyct1749 == codecSelferValueTypeMap1234 { - yyl1749 := r.ReadMapStart() - if yyl1749 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1749, d) - } - } else if yyct1749 == codecSelferValueTypeArray1234 { - yyl1749 := r.ReadArrayStart() - if yyl1749 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1749, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1750Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1750Slc - var yyhl1750 bool = l >= 0 - for yyj1750 := 0; ; yyj1750++ { - if yyhl1750 { - if yyj1750 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1750Slc = r.DecodeBytes(yys1750Slc, true, true) - yys1750 := string(yys1750Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1750 { - case "replicas": - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "selector": - if r.TryDecodeAsNil() { - x.Selector = nil - } else { - yyv1752 := &x.Selector - yym1753 := z.DecBinary() - _ = yym1753 - if false { - } else { - z.F.DecMapStringStringX(yyv1752, false, d) - } - } - case "template": - if r.TryDecodeAsNil() { - if x.Template != nil { - x.Template = nil - } - } else { - if x.Template == nil { - x.Template = new(PodTemplateSpec) - } - x.Template.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1750) - } // end switch yys1750 - } // end for yyj1750 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1755 int - var yyb1755 bool - var yyhl1755 bool = l >= 0 - yyj1755++ - if yyhl1755 { - yyb1755 = yyj1755 > l - } else { - yyb1755 = r.CheckBreak() - } - if yyb1755 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj1755++ - if yyhl1755 { - yyb1755 = yyj1755 > l - } else { - yyb1755 = r.CheckBreak() - } - if yyb1755 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Selector = nil - } else { - yyv1757 := &x.Selector - yym1758 := z.DecBinary() - _ = yym1758 - if false { - } else { - z.F.DecMapStringStringX(yyv1757, false, d) - } - } - yyj1755++ - if yyhl1755 { - yyb1755 = yyj1755 > l - } else { - yyb1755 = r.CheckBreak() - } - if yyb1755 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Template != nil { - x.Template = nil - } - } else { - if x.Template == nil { - x.Template = new(PodTemplateSpec) - } - x.Template.CodecDecodeSelf(d) - } - for { - yyj1755++ - if yyhl1755 { - yyb1755 = yyj1755 > l - } else { - yyb1755 = r.CheckBreak() - } - if yyb1755 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1755-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1760 := z.EncBinary() - _ = yym1760 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1761 := !z.EncBinary() - yy2arr1761 := z.EncBasicHandle().StructToArray - var yyq1761 [2]bool - _, _, _ = yysep1761, yyq1761, yy2arr1761 - const yyr1761 bool = false - yyq1761[1] = x.ObservedGeneration != 0 - var yynn1761 int - if yyr1761 || yy2arr1761 { + yysep1709 := !z.EncBinary() + yy2arr1709 := z.EncBasicHandle().StructToArray + var yyq1709 [2]bool + _, _, _ = yysep1709, yyq1709, yy2arr1709 + const yyr1709 bool = false + yyq1709[0] = true + yyq1709[1] = true + var yynn1709 int + if yyr1709 || yy2arr1709 { r.EncodeArrayStart(2) } else { - yynn1761 = 1 - for _, b := range yyq1761 { + yynn1709 = 0 + for _, b := range yyq1709 { if b { - yynn1761++ + yynn1709++ } } - r.EncodeMapStart(yynn1761) - yynn1761 = 0 + r.EncodeMapStart(yynn1709) + yynn1709 = 0 } - if yyr1761 || yy2arr1761 { + if yyr1709 || yy2arr1709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1763 := z.EncBinary() - _ = yym1763 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1764 := z.EncBinary() - _ = yym1764 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - if yyr1761 || yy2arr1761 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1761[1] { - yym1766 := z.EncBinary() - _ = yym1766 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq1761[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1767 := z.EncBinary() - _ = yym1767 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr1761 || yy2arr1761 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicationControllerStatus) 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 *ReplicationControllerStatus) 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 "replicas": - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "observedGeneration": - if r.TryDecodeAsNil() { - x.ObservedGeneration = 0 - } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) - } - default: - z.DecStructFieldNotFound(-1, yys1770) - } // end switch yys1770 - } // end for yyj1770 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1773 int - var yyb1773 bool - var yyhl1773 bool = l >= 0 - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l - } else { - yyb1773 = r.CheckBreak() - } - if yyb1773 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l - } else { - yyb1773 = r.CheckBreak() - } - if yyb1773 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObservedGeneration = 0 - } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) - } - for { - yyj1773++ - if yyhl1773 { - yyb1773 = yyj1773 > l - } else { - yyb1773 = r.CheckBreak() - } - if yyb1773 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1773-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1776 := z.EncBinary() - _ = yym1776 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1777 := !z.EncBinary() - yy2arr1777 := z.EncBasicHandle().StructToArray - var yyq1777 [5]bool - _, _, _ = yysep1777, yyq1777, yy2arr1777 - const yyr1777 bool = false - yyq1777[0] = x.Kind != "" - yyq1777[1] = x.APIVersion != "" - yyq1777[2] = true - yyq1777[3] = true - yyq1777[4] = true - var yynn1777 int - if yyr1777 || yy2arr1777 { - r.EncodeArrayStart(5) - } else { - yynn1777 = 0 - for _, b := range yyq1777 { - if b { - yynn1777++ - } - } - r.EncodeMapStart(yynn1777) - yynn1777 = 0 - } - if yyr1777 || yy2arr1777 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1777[0] { - yym1779 := z.EncBinary() - _ = yym1779 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1777[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1780 := z.EncBinary() - _ = yym1780 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1777 || yy2arr1777 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1777[1] { - yym1782 := z.EncBinary() - _ = yym1782 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1777[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1783 := z.EncBinary() - _ = yym1783 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1777 || yy2arr1777 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1777[2] { - yy1785 := &x.ObjectMeta - yy1785.CodecEncodeSelf(e) + if yyq1709[0] { + yy1711 := &x.ObjectMeta + yy1711.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1777[2] { + if yyq1709[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1786 := &x.ObjectMeta - yy1786.CodecEncodeSelf(e) + yy1712 := &x.ObjectMeta + yy1712.CodecEncodeSelf(e) } } - if yyr1777 || yy2arr1777 { + if yyr1709 || yy2arr1709 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1777[3] { - yy1788 := &x.Spec - yy1788.CodecEncodeSelf(e) + if yyq1709[1] { + yy1714 := &x.Spec + yy1714.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1777[3] { + if yyq1709[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1789 := &x.Spec - yy1789.CodecEncodeSelf(e) + yy1715 := &x.Spec + yy1715.CodecEncodeSelf(e) } } - if yyr1777 || yy2arr1777 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1777[4] { - yy1791 := &x.Status - yy1791.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1777[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1792 := &x.Status - yy1792.CodecEncodeSelf(e) - } - } - if yyr1777 || yy2arr1777 { + if yyr1709 || yy2arr1709 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23440,29 +22677,29 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1793 := z.DecBinary() - _ = yym1793 + yym1716 := z.DecBinary() + _ = yym1716 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1794 := r.ContainerType() - if yyct1794 == codecSelferValueTypeMap1234 { - yyl1794 := r.ReadMapStart() - if yyl1794 == 0 { + yyct1717 := r.ContainerType() + if yyct1717 == codecSelferValueTypeMap1234 { + yyl1717 := r.ReadMapStart() + if yyl1717 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1794, d) + x.codecDecodeSelfFromMap(yyl1717, d) } - } else if yyct1794 == codecSelferValueTypeArray1234 { - yyl1794 := r.ReadArrayStart() - if yyl1794 == 0 { + } else if yyct1717 == codecSelferValueTypeArray1234 { + yyl1717 := r.ReadArrayStart() + if yyl1717 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1794, d) + x.codecDecodeSelfFromArray(yyl1717, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23470,16 +22707,16 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1795Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1795Slc - var yyhl1795 bool = l >= 0 - for yyj1795 := 0; ; yyj1795++ { - if yyhl1795 { - if yyj1795 >= l { + var yys1718Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1718Slc + var yyhl1718 bool = l >= 0 + for yyj1718 := 0; ; yyj1718++ { + if yyhl1718 { + if yyj1718 >= l { break } } else { @@ -23488,10 +22725,267 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1795Slc = r.DecodeBytes(yys1795Slc, true, true) - yys1795 := string(yys1795Slc) + yys1718Slc = r.DecodeBytes(yys1718Slc, true, true) + yys1718 := string(yys1718Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1795 { + switch yys1718 { + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1719 := &x.ObjectMeta + yyv1719.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv1720 := &x.Spec + yyv1720.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1718) + } // end switch yys1718 + } // end for yyj1718 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1721 int + var yyb1721 bool + var yyhl1721 bool = l >= 0 + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l + } else { + yyb1721 = r.CheckBreak() + } + if yyb1721 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1722 := &x.ObjectMeta + yyv1722.CodecDecodeSelf(d) + } + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l + } else { + yyb1721 = r.CheckBreak() + } + if yyb1721 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv1723 := &x.Spec + yyv1723.CodecDecodeSelf(d) + } + for { + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l + } else { + yyb1721 = r.CheckBreak() + } + if yyb1721 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1721-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1724 := z.EncBinary() + _ = yym1724 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1725 := !z.EncBinary() + yy2arr1725 := z.EncBasicHandle().StructToArray + var yyq1725 [4]bool + _, _, _ = yysep1725, yyq1725, yy2arr1725 + const yyr1725 bool = false + yyq1725[0] = x.Kind != "" + yyq1725[1] = x.APIVersion != "" + yyq1725[2] = true + yyq1725[3] = true + var yynn1725 int + if yyr1725 || yy2arr1725 { + r.EncodeArrayStart(4) + } else { + yynn1725 = 0 + for _, b := range yyq1725 { + if b { + yynn1725++ + } + } + r.EncodeMapStart(yynn1725) + yynn1725 = 0 + } + if yyr1725 || yy2arr1725 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1725[0] { + yym1727 := z.EncBinary() + _ = yym1727 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1725[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1728 := z.EncBinary() + _ = yym1728 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1725 || yy2arr1725 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1725[1] { + yym1730 := z.EncBinary() + _ = yym1730 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1725[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1731 := z.EncBinary() + _ = yym1731 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1725 || yy2arr1725 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1725[2] { + yy1733 := &x.ObjectMeta + yy1733.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1725[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1734 := &x.ObjectMeta + yy1734.CodecEncodeSelf(e) + } + } + if yyr1725 || yy2arr1725 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1725[3] { + yy1736 := &x.Template + yy1736.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1725[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1737 := &x.Template + yy1737.CodecEncodeSelf(e) + } + } + if yyr1725 || yy2arr1725 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1738 := z.DecBinary() + _ = yym1738 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1739 := r.ContainerType() + if yyct1739 == codecSelferValueTypeMap1234 { + yyl1739 := r.ReadMapStart() + if yyl1739 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1739, d) + } + } else if yyct1739 == codecSelferValueTypeArray1234 { + yyl1739 := r.ReadArrayStart() + if yyl1739 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1739, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1740Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1740Slc + var yyhl1740 bool = l >= 0 + for yyj1740 := 0; ; yyj1740++ { + if yyhl1740 { + if yyj1740 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1740Slc = r.DecodeBytes(yys1740Slc, true, true) + yys1740 := string(yys1740Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1740 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -23508,44 +23002,37 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1798 := &x.ObjectMeta - yyv1798.CodecDecodeSelf(d) + yyv1743 := &x.ObjectMeta + yyv1743.CodecDecodeSelf(d) } - case "spec": + case "template": if r.TryDecodeAsNil() { - x.Spec = ReplicationControllerSpec{} + x.Template = PodTemplateSpec{} } else { - yyv1799 := &x.Spec - yyv1799.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicationControllerStatus{} - } else { - yyv1800 := &x.Status - yyv1800.CodecDecodeSelf(d) + yyv1744 := &x.Template + yyv1744.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1795) - } // end switch yys1795 - } // end for yyj1795 + z.DecStructFieldNotFound(-1, yys1740) + } // end switch yys1740 + } // end for yyj1740 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1801 int - var yyb1801 bool - var yyhl1801 bool = l >= 0 - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + var yyj1745 int + var yyb1745 bool + var yyhl1745 bool = l >= 0 + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1801 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1801 { + if yyb1745 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23555,13 +23042,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1801 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1801 { + if yyb1745 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23571,13 +23058,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1801 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1801 { + if yyb1745 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23585,16 +23072,1175 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1804 := &x.ObjectMeta - yyv1804.CodecDecodeSelf(d) + yyv1748 := &x.ObjectMeta + yyv1748.CodecDecodeSelf(d) } - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1801 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1801 { + if yyb1745 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = PodTemplateSpec{} + } else { + yyv1749 := &x.Template + yyv1749.CodecDecodeSelf(d) + } + for { + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l + } else { + yyb1745 = r.CheckBreak() + } + if yyb1745 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1745-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1750 := z.EncBinary() + _ = yym1750 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1751 := !z.EncBinary() + yy2arr1751 := z.EncBasicHandle().StructToArray + var yyq1751 [4]bool + _, _, _ = yysep1751, yyq1751, yy2arr1751 + const yyr1751 bool = false + yyq1751[0] = x.Kind != "" + yyq1751[1] = x.APIVersion != "" + yyq1751[2] = true + var yynn1751 int + if yyr1751 || yy2arr1751 { + r.EncodeArrayStart(4) + } else { + yynn1751 = 1 + for _, b := range yyq1751 { + if b { + yynn1751++ + } + } + r.EncodeMapStart(yynn1751) + yynn1751 = 0 + } + if yyr1751 || yy2arr1751 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1751[0] { + yym1753 := z.EncBinary() + _ = yym1753 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1751[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1754 := z.EncBinary() + _ = yym1754 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1751 || yy2arr1751 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1751[1] { + yym1756 := z.EncBinary() + _ = yym1756 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1751[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1757 := z.EncBinary() + _ = yym1757 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1751 || yy2arr1751 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1751[2] { + yy1759 := &x.ListMeta + yym1760 := z.EncBinary() + _ = yym1760 + if false { + } else if z.HasExtensions() && z.EncExt(yy1759) { + } else { + z.EncFallback(yy1759) + } + } else { + r.EncodeNil() + } + } else { + if yyq1751[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1761 := &x.ListMeta + yym1762 := z.EncBinary() + _ = yym1762 + if false { + } else if z.HasExtensions() && z.EncExt(yy1761) { + } else { + z.EncFallback(yy1761) + } + } + } + if yyr1751 || yy2arr1751 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1764 := z.EncBinary() + _ = yym1764 + if false { + } else { + h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1765 := z.EncBinary() + _ = yym1765 + if false { + } else { + h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) + } + } + } + if yyr1751 || yy2arr1751 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1766 := z.DecBinary() + _ = yym1766 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1767 := r.ContainerType() + if yyct1767 == codecSelferValueTypeMap1234 { + yyl1767 := r.ReadMapStart() + if yyl1767 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1767, d) + } + } else if yyct1767 == codecSelferValueTypeArray1234 { + yyl1767 := r.ReadArrayStart() + if yyl1767 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1767, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1768Slc + var yyhl1768 bool = l >= 0 + for yyj1768 := 0; ; yyj1768++ { + if yyhl1768 { + if yyj1768 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1768Slc = r.DecodeBytes(yys1768Slc, true, true) + yys1768 := string(yys1768Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1768 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv1771 := &x.ListMeta + yym1772 := z.DecBinary() + _ = yym1772 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1771) { + } else { + z.DecFallback(yyv1771, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1773 := &x.Items + yym1774 := z.DecBinary() + _ = yym1774 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv1773), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1768) + } // end switch yys1768 + } // end for yyj1768 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1775 int + var yyb1775 bool + var yyhl1775 bool = l >= 0 + 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.Kind = "" + } else { + x.Kind = 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.APIVersion = "" + } else { + x.APIVersion = 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.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv1778 := &x.ListMeta + yym1779 := z.DecBinary() + _ = yym1779 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1778) { + } else { + z.DecFallback(yyv1778, 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.Items = nil + } else { + yyv1780 := &x.Items + yym1781 := z.DecBinary() + _ = yym1781 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv1780), d) + } + } + for { + yyj1775++ + if yyhl1775 { + yyb1775 = yyj1775 > l + } else { + yyb1775 = r.CheckBreak() + } + if yyb1775 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1775-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1782 := z.EncBinary() + _ = yym1782 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1783 := !z.EncBinary() + yy2arr1783 := z.EncBasicHandle().StructToArray + var yyq1783 [3]bool + _, _, _ = yysep1783, yyq1783, yy2arr1783 + const yyr1783 bool = false + yyq1783[2] = x.Template != nil + var yynn1783 int + if yyr1783 || yy2arr1783 { + r.EncodeArrayStart(3) + } else { + yynn1783 = 2 + for _, b := range yyq1783 { + if b { + yynn1783++ + } + } + r.EncodeMapStart(yynn1783) + yynn1783 = 0 + } + if yyr1783 || yy2arr1783 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1785 := z.EncBinary() + _ = yym1785 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1786 := z.EncBinary() + _ = yym1786 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + if yyr1783 || yy2arr1783 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym1788 := z.EncBinary() + _ = yym1788 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym1789 := z.EncBinary() + _ = yym1789 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } + if yyr1783 || yy2arr1783 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1783[2] { + if x.Template == nil { + r.EncodeNil() + } else { + x.Template.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1783[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Template == nil { + r.EncodeNil() + } else { + x.Template.CodecEncodeSelf(e) + } + } + } + if yyr1783 || yy2arr1783 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1791 := z.DecBinary() + _ = yym1791 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1792 := r.ContainerType() + if yyct1792 == codecSelferValueTypeMap1234 { + yyl1792 := r.ReadMapStart() + if yyl1792 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1792, d) + } + } else if yyct1792 == codecSelferValueTypeArray1234 { + yyl1792 := r.ReadArrayStart() + if yyl1792 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1792, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1793Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1793Slc + var yyhl1793 bool = l >= 0 + for yyj1793 := 0; ; yyj1793++ { + if yyhl1793 { + if yyj1793 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1793Slc = r.DecodeBytes(yys1793Slc, true, true) + yys1793 := string(yys1793Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1793 { + case "replicas": + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "selector": + if r.TryDecodeAsNil() { + x.Selector = nil + } else { + yyv1795 := &x.Selector + yym1796 := z.DecBinary() + _ = yym1796 + if false { + } else { + z.F.DecMapStringStringX(yyv1795, false, d) + } + } + case "template": + if r.TryDecodeAsNil() { + if x.Template != nil { + x.Template = nil + } + } else { + if x.Template == nil { + x.Template = new(PodTemplateSpec) + } + x.Template.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1793) + } // end switch yys1793 + } // end for yyj1793 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicationControllerSpec) 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.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + 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.Selector = nil + } else { + yyv1800 := &x.Selector + yym1801 := z.DecBinary() + _ = yym1801 + if false { + } else { + z.F.DecMapStringStringX(yyv1800, false, 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() { + if x.Template != nil { + x.Template = nil + } + } else { + if x.Template == nil { + x.Template = new(PodTemplateSpec) + } + x.Template.CodecDecodeSelf(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 *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1803 := z.EncBinary() + _ = yym1803 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1804 := !z.EncBinary() + yy2arr1804 := z.EncBasicHandle().StructToArray + var yyq1804 [2]bool + _, _, _ = yysep1804, yyq1804, yy2arr1804 + const yyr1804 bool = false + yyq1804[1] = x.ObservedGeneration != 0 + var yynn1804 int + if yyr1804 || yy2arr1804 { + r.EncodeArrayStart(2) + } else { + yynn1804 = 1 + for _, b := range yyq1804 { + if b { + yynn1804++ + } + } + r.EncodeMapStart(yynn1804) + yynn1804 = 0 + } + if yyr1804 || yy2arr1804 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1806 := z.EncBinary() + _ = yym1806 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1807 := z.EncBinary() + _ = yym1807 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + if yyr1804 || yy2arr1804 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1804[1] { + yym1809 := z.EncBinary() + _ = yym1809 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1804[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1810 := z.EncBinary() + _ = yym1810 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr1804 || yy2arr1804 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1811 := z.DecBinary() + _ = yym1811 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1812 := r.ContainerType() + if yyct1812 == codecSelferValueTypeMap1234 { + yyl1812 := r.ReadMapStart() + if yyl1812 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1812, d) + } + } else if yyct1812 == codecSelferValueTypeArray1234 { + yyl1812 := r.ReadArrayStart() + if yyl1812 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1812, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1813Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1813Slc + var yyhl1813 bool = l >= 0 + for yyj1813 := 0; ; yyj1813++ { + if yyhl1813 { + if yyj1813 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1813Slc = r.DecodeBytes(yys1813Slc, true, true) + yys1813 := string(yys1813Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1813 { + case "replicas": + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "observedGeneration": + if r.TryDecodeAsNil() { + x.ObservedGeneration = 0 + } else { + x.ObservedGeneration = int64(r.DecodeInt(64)) + } + default: + z.DecStructFieldNotFound(-1, yys1813) + } // end switch yys1813 + } // end for yyj1813 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1816 int + var yyb1816 bool + var yyhl1816 bool = l >= 0 + yyj1816++ + if yyhl1816 { + yyb1816 = yyj1816 > l + } else { + yyb1816 = r.CheckBreak() + } + if yyb1816 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj1816++ + if yyhl1816 { + yyb1816 = yyj1816 > l + } else { + yyb1816 = r.CheckBreak() + } + if yyb1816 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObservedGeneration = 0 + } else { + x.ObservedGeneration = int64(r.DecodeInt(64)) + } + for { + yyj1816++ + if yyhl1816 { + yyb1816 = yyj1816 > l + } else { + yyb1816 = r.CheckBreak() + } + if yyb1816 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1816-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1819 := z.EncBinary() + _ = yym1819 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1820 := !z.EncBinary() + yy2arr1820 := z.EncBasicHandle().StructToArray + var yyq1820 [5]bool + _, _, _ = yysep1820, yyq1820, yy2arr1820 + const yyr1820 bool = false + yyq1820[0] = x.Kind != "" + yyq1820[1] = x.APIVersion != "" + yyq1820[2] = true + yyq1820[3] = true + yyq1820[4] = true + var yynn1820 int + if yyr1820 || yy2arr1820 { + r.EncodeArrayStart(5) + } else { + yynn1820 = 0 + for _, b := range yyq1820 { + if b { + yynn1820++ + } + } + r.EncodeMapStart(yynn1820) + yynn1820 = 0 + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1820[0] { + yym1822 := z.EncBinary() + _ = yym1822 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1820[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1823 := z.EncBinary() + _ = yym1823 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1820[1] { + yym1825 := z.EncBinary() + _ = yym1825 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1820[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1826 := z.EncBinary() + _ = yym1826 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1820[2] { + yy1828 := &x.ObjectMeta + yy1828.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1820[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1829 := &x.ObjectMeta + yy1829.CodecEncodeSelf(e) + } + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1820[3] { + yy1831 := &x.Spec + yy1831.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1820[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1832 := &x.Spec + yy1832.CodecEncodeSelf(e) + } + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1820[4] { + yy1834 := &x.Status + yy1834.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1820[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1835 := &x.Status + yy1835.CodecEncodeSelf(e) + } + } + if yyr1820 || yy2arr1820 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1836 := z.DecBinary() + _ = yym1836 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1837 := r.ContainerType() + if yyct1837 == codecSelferValueTypeMap1234 { + yyl1837 := r.ReadMapStart() + if yyl1837 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1837, d) + } + } else if yyct1837 == codecSelferValueTypeArray1234 { + yyl1837 := r.ReadArrayStart() + if yyl1837 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1837, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1838Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1838Slc + var yyhl1838 bool = l >= 0 + for yyj1838 := 0; ; yyj1838++ { + if yyhl1838 { + if yyj1838 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1838Slc = r.DecodeBytes(yys1838Slc, true, true) + yys1838 := string(yys1838Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1838 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1841 := &x.ObjectMeta + yyv1841.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicationControllerSpec{} + } else { + yyv1842 := &x.Spec + yyv1842.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicationControllerStatus{} + } else { + yyv1843 := &x.Status + yyv1843.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1838) + } // end switch yys1838 + } // end for yyj1838 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1844 int + var yyb1844 bool + var yyhl1844 bool = l >= 0 + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l + } else { + yyb1844 = r.CheckBreak() + } + if yyb1844 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l + } else { + yyb1844 = r.CheckBreak() + } + if yyb1844 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l + } else { + yyb1844 = r.CheckBreak() + } + if yyb1844 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv1847 := &x.ObjectMeta + yyv1847.CodecDecodeSelf(d) + } + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l + } else { + yyb1844 = r.CheckBreak() + } + if yyb1844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23602,16 +24248,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1805 := &x.Spec - yyv1805.CodecDecodeSelf(d) + yyv1848 := &x.Spec + yyv1848.CodecDecodeSelf(d) } - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l } else { - yyb1801 = r.CheckBreak() + yyb1844 = r.CheckBreak() } - if yyb1801 { + if yyb1844 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23619,21 +24265,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv1806 := &x.Status - yyv1806.CodecDecodeSelf(d) + yyv1849 := &x.Status + yyv1849.CodecDecodeSelf(d) } for { - yyj1801++ - if yyhl1801 { - yyb1801 = yyj1801 > l + yyj1844++ + if yyhl1844 { + yyb1844 = yyj1844 > l } else { - yyb1801 = r.CheckBreak() + yyb1844 = r.CheckBreak() } - if yyb1801 { + if yyb1844 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1801-1, "") + z.DecStructFieldNotFound(yyj1844-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23645,37 +24291,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1807 := z.EncBinary() - _ = yym1807 + yym1850 := z.EncBinary() + _ = yym1850 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1808 := !z.EncBinary() - yy2arr1808 := z.EncBasicHandle().StructToArray - var yyq1808 [4]bool - _, _, _ = yysep1808, yyq1808, yy2arr1808 - const yyr1808 bool = false - yyq1808[0] = x.Kind != "" - yyq1808[1] = x.APIVersion != "" - yyq1808[2] = true - var yynn1808 int - if yyr1808 || yy2arr1808 { + yysep1851 := !z.EncBinary() + yy2arr1851 := z.EncBasicHandle().StructToArray + var yyq1851 [4]bool + _, _, _ = yysep1851, yyq1851, yy2arr1851 + const yyr1851 bool = false + yyq1851[0] = x.Kind != "" + yyq1851[1] = x.APIVersion != "" + yyq1851[2] = true + var yynn1851 int + if yyr1851 || yy2arr1851 { r.EncodeArrayStart(4) } else { - yynn1808 = 1 - for _, b := range yyq1808 { + yynn1851 = 1 + for _, b := range yyq1851 { if b { - yynn1808++ + yynn1851++ } } - r.EncodeMapStart(yynn1808) - yynn1808 = 0 + r.EncodeMapStart(yynn1851) + yynn1851 = 0 } - if yyr1808 || yy2arr1808 { + if yyr1851 || yy2arr1851 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1808[0] { - yym1810 := z.EncBinary() - _ = yym1810 + if yyq1851[0] { + yym1853 := z.EncBinary() + _ = yym1853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -23684,23 +24330,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1808[0] { + if yyq1851[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1811 := z.EncBinary() - _ = yym1811 + yym1854 := z.EncBinary() + _ = yym1854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1808 || yy2arr1808 { + if yyr1851 || yy2arr1851 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1808[1] { - yym1813 := z.EncBinary() - _ = yym1813 + if yyq1851[1] { + yym1856 := z.EncBinary() + _ = yym1856 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -23709,54 +24355,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1808[1] { + if yyq1851[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1814 := z.EncBinary() - _ = yym1814 + yym1857 := z.EncBinary() + _ = yym1857 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1808 || yy2arr1808 { + if yyr1851 || yy2arr1851 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1808[2] { - yy1816 := &x.ListMeta - yym1817 := z.EncBinary() - _ = yym1817 + if yyq1851[2] { + yy1859 := &x.ListMeta + yym1860 := z.EncBinary() + _ = yym1860 if false { - } else if z.HasExtensions() && z.EncExt(yy1816) { + } else if z.HasExtensions() && z.EncExt(yy1859) { } else { - z.EncFallback(yy1816) + z.EncFallback(yy1859) } } else { r.EncodeNil() } } else { - if yyq1808[2] { + if yyq1851[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1818 := &x.ListMeta - yym1819 := z.EncBinary() - _ = yym1819 + yy1861 := &x.ListMeta + yym1862 := z.EncBinary() + _ = yym1862 if false { - } else if z.HasExtensions() && z.EncExt(yy1818) { + } else if z.HasExtensions() && z.EncExt(yy1861) { } else { - z.EncFallback(yy1818) + z.EncFallback(yy1861) } } } - if yyr1808 || yy2arr1808 { + if yyr1851 || yy2arr1851 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1821 := z.EncBinary() - _ = yym1821 + yym1864 := z.EncBinary() + _ = yym1864 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -23769,15 +24415,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1822 := z.EncBinary() - _ = yym1822 + yym1865 := z.EncBinary() + _ = yym1865 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr1808 || yy2arr1808 { + if yyr1851 || yy2arr1851 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23790,25 +24436,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1823 := z.DecBinary() - _ = yym1823 + yym1866 := z.DecBinary() + _ = yym1866 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1824 := r.ContainerType() - if yyct1824 == codecSelferValueTypeMap1234 { - yyl1824 := r.ReadMapStart() - if yyl1824 == 0 { + yyct1867 := r.ContainerType() + if yyct1867 == codecSelferValueTypeMap1234 { + yyl1867 := r.ReadMapStart() + if yyl1867 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1824, d) + x.codecDecodeSelfFromMap(yyl1867, d) } - } else if yyct1824 == codecSelferValueTypeArray1234 { - yyl1824 := r.ReadArrayStart() - if yyl1824 == 0 { + } else if yyct1867 == codecSelferValueTypeArray1234 { + yyl1867 := r.ReadArrayStart() + if yyl1867 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1824, d) + x.codecDecodeSelfFromArray(yyl1867, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23820,12 +24466,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1825Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1825Slc - var yyhl1825 bool = l >= 0 - for yyj1825 := 0; ; yyj1825++ { - if yyhl1825 { - if yyj1825 >= l { + var yys1868Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1868Slc + var yyhl1868 bool = l >= 0 + for yyj1868 := 0; ; yyj1868++ { + if yyhl1868 { + if yyj1868 >= l { break } } else { @@ -23834,10 +24480,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1825Slc = r.DecodeBytes(yys1825Slc, true, true) - yys1825 := string(yys1825Slc) + yys1868Slc = r.DecodeBytes(yys1868Slc, true, true) + yys1868 := string(yys1868Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1825 { + switch yys1868 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -23854,31 +24500,31 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1828 := &x.ListMeta - yym1829 := z.DecBinary() - _ = yym1829 + yyv1871 := &x.ListMeta + yym1872 := z.DecBinary() + _ = yym1872 if false { - } else if z.HasExtensions() && z.DecExt(yyv1828) { + } else if z.HasExtensions() && z.DecExt(yyv1871) { } else { - z.DecFallback(yyv1828, false) + z.DecFallback(yyv1871, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1830 := &x.Items - yym1831 := z.DecBinary() - _ = yym1831 + yyv1873 := &x.Items + yym1874 := z.DecBinary() + _ = yym1874 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv1830), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv1873), d) } } default: - z.DecStructFieldNotFound(-1, yys1825) - } // end switch yys1825 - } // end for yyj1825 + z.DecStructFieldNotFound(-1, yys1868) + } // end switch yys1868 + } // end for yyj1868 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23886,16 +24532,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1832 int - var yyb1832 bool - var yyhl1832 bool = l >= 0 - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + var yyj1875 int + var yyb1875 bool + var yyhl1875 bool = l >= 0 + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23905,13 +24551,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23921,13 +24567,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23935,22 +24581,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1835 := &x.ListMeta - yym1836 := z.DecBinary() - _ = yym1836 + yyv1878 := &x.ListMeta + yym1879 := z.DecBinary() + _ = yym1879 if false { - } else if z.HasExtensions() && z.DecExt(yyv1835) { + } else if z.HasExtensions() && z.DecExt(yyv1878) { } else { - z.DecFallback(yyv1835, false) + z.DecFallback(yyv1878, false) } } - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23958,26 +24604,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1837 := &x.Items - yym1838 := z.DecBinary() - _ = yym1838 + yyv1880 := &x.Items + yym1881 := z.DecBinary() + _ = yym1881 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv1837), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv1880), d) } } for { - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1832-1, "") + z.DecStructFieldNotFound(yyj1875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23989,37 +24635,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1839 := z.EncBinary() - _ = yym1839 + yym1882 := z.EncBinary() + _ = yym1882 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1840 := !z.EncBinary() - yy2arr1840 := z.EncBasicHandle().StructToArray - var yyq1840 [4]bool - _, _, _ = yysep1840, yyq1840, yy2arr1840 - const yyr1840 bool = false - yyq1840[0] = x.Kind != "" - yyq1840[1] = x.APIVersion != "" - yyq1840[2] = true - var yynn1840 int - if yyr1840 || yy2arr1840 { + yysep1883 := !z.EncBinary() + yy2arr1883 := z.EncBasicHandle().StructToArray + var yyq1883 [4]bool + _, _, _ = yysep1883, yyq1883, yy2arr1883 + const yyr1883 bool = false + yyq1883[0] = x.Kind != "" + yyq1883[1] = x.APIVersion != "" + yyq1883[2] = true + var yynn1883 int + if yyr1883 || yy2arr1883 { r.EncodeArrayStart(4) } else { - yynn1840 = 1 - for _, b := range yyq1840 { + yynn1883 = 1 + for _, b := range yyq1883 { if b { - yynn1840++ + yynn1883++ } } - r.EncodeMapStart(yynn1840) - yynn1840 = 0 + r.EncodeMapStart(yynn1883) + yynn1883 = 0 } - if yyr1840 || yy2arr1840 { + if yyr1883 || yy2arr1883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1840[0] { - yym1842 := z.EncBinary() - _ = yym1842 + if yyq1883[0] { + yym1885 := z.EncBinary() + _ = yym1885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -24028,23 +24674,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1840[0] { + if yyq1883[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1843 := z.EncBinary() - _ = yym1843 + yym1886 := z.EncBinary() + _ = yym1886 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1840 || yy2arr1840 { + if yyr1883 || yy2arr1883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1840[1] { - yym1845 := z.EncBinary() - _ = yym1845 + if yyq1883[1] { + yym1888 := z.EncBinary() + _ = yym1888 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -24053,54 +24699,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1840[1] { + if yyq1883[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1846 := z.EncBinary() - _ = yym1846 + yym1889 := z.EncBinary() + _ = yym1889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1840 || yy2arr1840 { + if yyr1883 || yy2arr1883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1840[2] { - yy1848 := &x.ListMeta - yym1849 := z.EncBinary() - _ = yym1849 + if yyq1883[2] { + yy1891 := &x.ListMeta + yym1892 := z.EncBinary() + _ = yym1892 if false { - } else if z.HasExtensions() && z.EncExt(yy1848) { + } else if z.HasExtensions() && z.EncExt(yy1891) { } else { - z.EncFallback(yy1848) + z.EncFallback(yy1891) } } else { r.EncodeNil() } } else { - if yyq1840[2] { + if yyq1883[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1850 := &x.ListMeta - yym1851 := z.EncBinary() - _ = yym1851 + yy1893 := &x.ListMeta + yym1894 := z.EncBinary() + _ = yym1894 if false { - } else if z.HasExtensions() && z.EncExt(yy1850) { + } else if z.HasExtensions() && z.EncExt(yy1893) { } else { - z.EncFallback(yy1850) + z.EncFallback(yy1893) } } } - if yyr1840 || yy2arr1840 { + if yyr1883 || yy2arr1883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1853 := z.EncBinary() - _ = yym1853 + yym1896 := z.EncBinary() + _ = yym1896 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -24113,15 +24759,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1854 := z.EncBinary() - _ = yym1854 + yym1897 := z.EncBinary() + _ = yym1897 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr1840 || yy2arr1840 { + if yyr1883 || yy2arr1883 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24134,25 +24780,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1855 := z.DecBinary() - _ = yym1855 + yym1898 := z.DecBinary() + _ = yym1898 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1856 := r.ContainerType() - if yyct1856 == codecSelferValueTypeMap1234 { - yyl1856 := r.ReadMapStart() - if yyl1856 == 0 { + yyct1899 := r.ContainerType() + if yyct1899 == codecSelferValueTypeMap1234 { + yyl1899 := r.ReadMapStart() + if yyl1899 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1856, d) + x.codecDecodeSelfFromMap(yyl1899, d) } - } else if yyct1856 == codecSelferValueTypeArray1234 { - yyl1856 := r.ReadArrayStart() - if yyl1856 == 0 { + } else if yyct1899 == codecSelferValueTypeArray1234 { + yyl1899 := r.ReadArrayStart() + if yyl1899 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1856, d) + x.codecDecodeSelfFromArray(yyl1899, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24164,12 +24810,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1857Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1857Slc - var yyhl1857 bool = l >= 0 - for yyj1857 := 0; ; yyj1857++ { - if yyhl1857 { - if yyj1857 >= l { + var yys1900Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1900Slc + var yyhl1900 bool = l >= 0 + for yyj1900 := 0; ; yyj1900++ { + if yyhl1900 { + if yyj1900 >= l { break } } else { @@ -24178,10 +24824,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1857Slc = r.DecodeBytes(yys1857Slc, true, true) - yys1857 := string(yys1857Slc) + yys1900Slc = r.DecodeBytes(yys1900Slc, true, true) + yys1900 := string(yys1900Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1857 { + switch yys1900 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -24198,31 +24844,31 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1860 := &x.ListMeta - yym1861 := z.DecBinary() - _ = yym1861 + yyv1903 := &x.ListMeta + yym1904 := z.DecBinary() + _ = yym1904 if false { - } else if z.HasExtensions() && z.DecExt(yyv1860) { + } else if z.HasExtensions() && z.DecExt(yyv1903) { } else { - z.DecFallback(yyv1860, false) + z.DecFallback(yyv1903, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1862 := &x.Items - yym1863 := z.DecBinary() - _ = yym1863 + yyv1905 := &x.Items + yym1906 := z.DecBinary() + _ = yym1906 if false { } else { - h.decSliceService((*[]Service)(yyv1862), d) + h.decSliceService((*[]Service)(yyv1905), d) } } default: - z.DecStructFieldNotFound(-1, yys1857) - } // end switch yys1857 - } // end for yyj1857 + z.DecStructFieldNotFound(-1, yys1900) + } // end switch yys1900 + } // end for yyj1900 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24230,16 +24876,16 @@ func (x *ServiceList) 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 + var yyj1907 int + var yyb1907 bool + var yyhl1907 bool = l >= 0 + yyj1907++ + if yyhl1907 { + yyb1907 = yyj1907 > l } else { - yyb1864 = r.CheckBreak() + yyb1907 = r.CheckBreak() } - if yyb1864 { + if yyb1907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24249,13 +24895,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1864++ - if yyhl1864 { - yyb1864 = yyj1864 > l + yyj1907++ + if yyhl1907 { + yyb1907 = yyj1907 > l } else { - yyb1864 = r.CheckBreak() + yyb1907 = r.CheckBreak() } - if yyb1864 { + if yyb1907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24265,13 +24911,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1864++ - if yyhl1864 { - yyb1864 = yyj1864 > l + yyj1907++ + if yyhl1907 { + yyb1907 = yyj1907 > l } else { - yyb1864 = r.CheckBreak() + yyb1907 = r.CheckBreak() } - if yyb1864 { + if yyb1907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24279,22 +24925,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1867 := &x.ListMeta - yym1868 := z.DecBinary() - _ = yym1868 + yyv1910 := &x.ListMeta + yym1911 := z.DecBinary() + _ = yym1911 if false { - } else if z.HasExtensions() && z.DecExt(yyv1867) { + } else if z.HasExtensions() && z.DecExt(yyv1910) { } else { - z.DecFallback(yyv1867, false) + z.DecFallback(yyv1910, false) } } - yyj1864++ - if yyhl1864 { - yyb1864 = yyj1864 > l + yyj1907++ + if yyhl1907 { + yyb1907 = yyj1907 > l } else { - yyb1864 = r.CheckBreak() + yyb1907 = r.CheckBreak() } - if yyb1864 { + if yyb1907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24302,26 +24948,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1869 := &x.Items - yym1870 := z.DecBinary() - _ = yym1870 + yyv1912 := &x.Items + yym1913 := z.DecBinary() + _ = yym1913 if false { } else { - h.decSliceService((*[]Service)(yyv1869), d) + h.decSliceService((*[]Service)(yyv1912), d) } } for { - yyj1864++ - if yyhl1864 { - yyb1864 = yyj1864 > l + yyj1907++ + if yyhl1907 { + yyb1907 = yyj1907 > l } else { - yyb1864 = r.CheckBreak() + yyb1907 = r.CheckBreak() } - if yyb1864 { + if yyb1907 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1864-1, "") + z.DecStructFieldNotFound(yyj1907-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24330,8 +24976,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1871 := z.EncBinary() - _ = yym1871 + yym1914 := z.EncBinary() + _ = yym1914 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24343,8 +24989,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1872 := z.DecBinary() - _ = yym1872 + yym1915 := z.DecBinary() + _ = yym1915 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24356,8 +25002,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1873 := z.EncBinary() - _ = yym1873 + yym1916 := z.EncBinary() + _ = yym1916 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24369,8 +25015,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1874 := z.DecBinary() - _ = yym1874 + yym1917 := z.DecBinary() + _ = yym1917 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24385,48 +25031,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1875 := z.EncBinary() - _ = yym1875 + yym1918 := z.EncBinary() + _ = yym1918 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1876 := !z.EncBinary() - yy2arr1876 := z.EncBasicHandle().StructToArray - var yyq1876 [1]bool - _, _, _ = yysep1876, yyq1876, yy2arr1876 - const yyr1876 bool = false - yyq1876[0] = true - var yynn1876 int - if yyr1876 || yy2arr1876 { + yysep1919 := !z.EncBinary() + yy2arr1919 := z.EncBasicHandle().StructToArray + var yyq1919 [1]bool + _, _, _ = yysep1919, yyq1919, yy2arr1919 + const yyr1919 bool = false + yyq1919[0] = true + var yynn1919 int + if yyr1919 || yy2arr1919 { r.EncodeArrayStart(1) } else { - yynn1876 = 0 - for _, b := range yyq1876 { + yynn1919 = 0 + for _, b := range yyq1919 { if b { - yynn1876++ + yynn1919++ } } - r.EncodeMapStart(yynn1876) - yynn1876 = 0 + r.EncodeMapStart(yynn1919) + yynn1919 = 0 } - if yyr1876 || yy2arr1876 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1876[0] { - yy1878 := &x.LoadBalancer - yy1878.CodecEncodeSelf(e) + if yyq1919[0] { + yy1921 := &x.LoadBalancer + yy1921.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1876[0] { + if yyq1919[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1879 := &x.LoadBalancer - yy1879.CodecEncodeSelf(e) + yy1922 := &x.LoadBalancer + yy1922.CodecEncodeSelf(e) } } - if yyr1876 || yy2arr1876 { + if yyr1919 || yy2arr1919 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24439,25 +25085,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1880 := z.DecBinary() - _ = yym1880 + yym1923 := z.DecBinary() + _ = yym1923 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1881 := r.ContainerType() - if yyct1881 == codecSelferValueTypeMap1234 { - yyl1881 := r.ReadMapStart() - if yyl1881 == 0 { + yyct1924 := r.ContainerType() + if yyct1924 == codecSelferValueTypeMap1234 { + yyl1924 := r.ReadMapStart() + if yyl1924 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1881, d) + x.codecDecodeSelfFromMap(yyl1924, d) } - } else if yyct1881 == codecSelferValueTypeArray1234 { - yyl1881 := r.ReadArrayStart() - if yyl1881 == 0 { + } else if yyct1924 == codecSelferValueTypeArray1234 { + yyl1924 := r.ReadArrayStart() + if yyl1924 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1881, d) + x.codecDecodeSelfFromArray(yyl1924, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24469,12 +25115,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1882Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1882Slc - var yyhl1882 bool = l >= 0 - for yyj1882 := 0; ; yyj1882++ { - if yyhl1882 { - if yyj1882 >= l { + var yys1925Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1925Slc + var yyhl1925 bool = l >= 0 + for yyj1925 := 0; ; yyj1925++ { + if yyhl1925 { + if yyj1925 >= l { break } } else { @@ -24483,21 +25129,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1882Slc = r.DecodeBytes(yys1882Slc, true, true) - yys1882 := string(yys1882Slc) + yys1925Slc = r.DecodeBytes(yys1925Slc, true, true) + yys1925 := string(yys1925Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1882 { + switch yys1925 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv1883 := &x.LoadBalancer - yyv1883.CodecDecodeSelf(d) + yyv1926 := &x.LoadBalancer + yyv1926.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1882) - } // end switch yys1882 - } // end for yyj1882 + z.DecStructFieldNotFound(-1, yys1925) + } // end switch yys1925 + } // end for yyj1925 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24505,16 +25151,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1884 int - var yyb1884 bool - var yyhl1884 bool = l >= 0 - yyj1884++ - if yyhl1884 { - yyb1884 = yyj1884 > l + var yyj1927 int + var yyb1927 bool + var yyhl1927 bool = l >= 0 + yyj1927++ + if yyhl1927 { + yyb1927 = yyj1927 > l } else { - yyb1884 = r.CheckBreak() + yyb1927 = r.CheckBreak() } - if yyb1884 { + if yyb1927 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24522,21 +25168,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv1885 := &x.LoadBalancer - yyv1885.CodecDecodeSelf(d) + yyv1928 := &x.LoadBalancer + yyv1928.CodecDecodeSelf(d) } for { - yyj1884++ - if yyhl1884 { - yyb1884 = yyj1884 > l + yyj1927++ + if yyhl1927 { + yyb1927 = yyj1927 > l } else { - yyb1884 = r.CheckBreak() + yyb1927 = r.CheckBreak() } - if yyb1884 { + if yyb1927 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1884-1, "") + z.DecStructFieldNotFound(yyj1927-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24548,38 +25194,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1886 := z.EncBinary() - _ = yym1886 + yym1929 := z.EncBinary() + _ = yym1929 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1887 := !z.EncBinary() - yy2arr1887 := z.EncBasicHandle().StructToArray - var yyq1887 [1]bool - _, _, _ = yysep1887, yyq1887, yy2arr1887 - const yyr1887 bool = false - yyq1887[0] = len(x.Ingress) != 0 - var yynn1887 int - if yyr1887 || yy2arr1887 { + yysep1930 := !z.EncBinary() + yy2arr1930 := z.EncBasicHandle().StructToArray + var yyq1930 [1]bool + _, _, _ = yysep1930, yyq1930, yy2arr1930 + const yyr1930 bool = false + yyq1930[0] = len(x.Ingress) != 0 + var yynn1930 int + if yyr1930 || yy2arr1930 { r.EncodeArrayStart(1) } else { - yynn1887 = 0 - for _, b := range yyq1887 { + yynn1930 = 0 + for _, b := range yyq1930 { if b { - yynn1887++ + yynn1930++ } } - r.EncodeMapStart(yynn1887) - yynn1887 = 0 + r.EncodeMapStart(yynn1930) + yynn1930 = 0 } - if yyr1887 || yy2arr1887 { + if yyr1930 || yy2arr1930 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1887[0] { + if yyq1930[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym1889 := z.EncBinary() - _ = yym1889 + yym1932 := z.EncBinary() + _ = yym1932 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -24589,15 +25235,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1887[0] { + if yyq1930[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1890 := z.EncBinary() - _ = yym1890 + yym1933 := z.EncBinary() + _ = yym1933 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -24605,7 +25251,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1887 || yy2arr1887 { + if yyr1930 || yy2arr1930 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24615,550 +25261,6 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1891 := z.DecBinary() - _ = yym1891 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1892 := r.ContainerType() - if yyct1892 == codecSelferValueTypeMap1234 { - yyl1892 := r.ReadMapStart() - if yyl1892 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1892, d) - } - } else if yyct1892 == codecSelferValueTypeArray1234 { - yyl1892 := r.ReadArrayStart() - if yyl1892 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1892, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1893Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1893Slc - var yyhl1893 bool = l >= 0 - for yyj1893 := 0; ; yyj1893++ { - if yyhl1893 { - if yyj1893 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1893Slc = r.DecodeBytes(yys1893Slc, true, true) - yys1893 := string(yys1893Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1893 { - case "ingress": - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1894 := &x.Ingress - yym1895 := z.DecBinary() - _ = yym1895 - if false { - } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1894), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1893) - } // end switch yys1893 - } // end for yyj1893 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1896 int - var yyb1896 bool - var yyhl1896 bool = l >= 0 - yyj1896++ - if yyhl1896 { - yyb1896 = yyj1896 > l - } else { - yyb1896 = r.CheckBreak() - } - if yyb1896 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1897 := &x.Ingress - yym1898 := z.DecBinary() - _ = yym1898 - if false { - } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1897), d) - } - } - for { - yyj1896++ - if yyhl1896 { - yyb1896 = yyj1896 > l - } else { - yyb1896 = r.CheckBreak() - } - if yyb1896 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1896-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1899 := z.EncBinary() - _ = yym1899 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1900 := !z.EncBinary() - yy2arr1900 := z.EncBasicHandle().StructToArray - var yyq1900 [2]bool - _, _, _ = yysep1900, yyq1900, yy2arr1900 - const yyr1900 bool = false - yyq1900[0] = x.IP != "" - yyq1900[1] = x.Hostname != "" - var yynn1900 int - if yyr1900 || yy2arr1900 { - r.EncodeArrayStart(2) - } else { - yynn1900 = 0 - for _, b := range yyq1900 { - if b { - yynn1900++ - } - } - r.EncodeMapStart(yynn1900) - yynn1900 = 0 - } - if yyr1900 || yy2arr1900 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1900[0] { - yym1902 := z.EncBinary() - _ = yym1902 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.IP)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1900[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ip")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1903 := z.EncBinary() - _ = yym1903 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.IP)) - } - } - } - if yyr1900 || yy2arr1900 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1900[1] { - yym1905 := z.EncBinary() - _ = yym1905 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1900[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostname")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1906 := z.EncBinary() - _ = yym1906 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) - } - } - } - if yyr1900 || yy2arr1900 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1907 := z.DecBinary() - _ = yym1907 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1908 := r.ContainerType() - if yyct1908 == codecSelferValueTypeMap1234 { - yyl1908 := r.ReadMapStart() - if yyl1908 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1908, d) - } - } else if yyct1908 == codecSelferValueTypeArray1234 { - yyl1908 := r.ReadArrayStart() - if yyl1908 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1908, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1909Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1909Slc - var yyhl1909 bool = l >= 0 - for yyj1909 := 0; ; yyj1909++ { - if yyhl1909 { - if yyj1909 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1909Slc = r.DecodeBytes(yys1909Slc, true, true) - yys1909 := string(yys1909Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1909 { - case "ip": - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - case "hostname": - if r.TryDecodeAsNil() { - x.Hostname = "" - } else { - x.Hostname = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1909) - } // end switch yys1909 - } // end for yyj1909 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1912 int - var yyb1912 bool - var yyhl1912 bool = l >= 0 - yyj1912++ - if yyhl1912 { - yyb1912 = yyj1912 > l - } else { - yyb1912 = r.CheckBreak() - } - if yyb1912 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - yyj1912++ - if yyhl1912 { - yyb1912 = yyj1912 > l - } else { - yyb1912 = r.CheckBreak() - } - if yyb1912 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hostname = "" - } else { - x.Hostname = string(r.DecodeString()) - } - for { - yyj1912++ - if yyhl1912 { - yyb1912 = yyj1912 > l - } else { - yyb1912 = r.CheckBreak() - } - if yyb1912 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1912-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1915 := z.EncBinary() - _ = yym1915 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1916 := !z.EncBinary() - yy2arr1916 := z.EncBasicHandle().StructToArray - var yyq1916 [7]bool - _, _, _ = yysep1916, yyq1916, yy2arr1916 - const yyr1916 bool = false - yyq1916[0] = x.Type != "" - yyq1916[3] = x.ClusterIP != "" - yyq1916[4] = len(x.ExternalIPs) != 0 - yyq1916[5] = x.LoadBalancerIP != "" - yyq1916[6] = x.SessionAffinity != "" - var yynn1916 int - if yyr1916 || yy2arr1916 { - r.EncodeArrayStart(7) - } else { - yynn1916 = 2 - for _, b := range yyq1916 { - if b { - yynn1916++ - } - } - r.EncodeMapStart(yynn1916) - yynn1916 = 0 - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1916[0] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1916[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Ports == nil { - r.EncodeNil() - } else { - yym1919 := z.EncBinary() - _ = yym1919 - if false { - } else { - h.encSliceServicePort(([]ServicePort)(x.Ports), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ports")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ports == nil { - r.EncodeNil() - } else { - yym1920 := z.EncBinary() - _ = yym1920 - if false { - } else { - h.encSliceServicePort(([]ServicePort)(x.Ports), e) - } - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym1922 := z.EncBinary() - _ = yym1922 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym1923 := z.EncBinary() - _ = yym1923 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1916[3] { - yym1925 := z.EncBinary() - _ = yym1925 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1916[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1926 := z.EncBinary() - _ = yym1926 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) - } - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1916[4] { - if x.ExternalIPs == nil { - r.EncodeNil() - } else { - yym1928 := z.EncBinary() - _ = yym1928 - if false { - } else { - z.F.EncSliceStringV(x.ExternalIPs, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1916[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ExternalIPs == nil { - r.EncodeNil() - } else { - yym1929 := z.EncBinary() - _ = yym1929 - if false { - } else { - z.F.EncSliceStringV(x.ExternalIPs, false, e) - } - } - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1916[5] { - yym1931 := z.EncBinary() - _ = yym1931 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1916[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1932 := z.EncBinary() - _ = yym1932 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) - } - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1916[6] { - x.SessionAffinity.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1916[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.SessionAffinity.CodecEncodeSelf(e) - } - } - if yyr1916 || yy2arr1916 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -25188,7 +25290,7 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -25210,6 +25312,550 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys1936 := string(yys1936Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1936 { + case "ingress": + if r.TryDecodeAsNil() { + x.Ingress = nil + } else { + yyv1937 := &x.Ingress + yym1938 := z.DecBinary() + _ = yym1938 + if false { + } else { + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1937), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1936) + } // end switch yys1936 + } // end for yyj1936 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1939 int + var yyb1939 bool + var yyhl1939 bool = l >= 0 + yyj1939++ + if yyhl1939 { + yyb1939 = yyj1939 > l + } else { + yyb1939 = r.CheckBreak() + } + if yyb1939 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ingress = nil + } else { + yyv1940 := &x.Ingress + yym1941 := z.DecBinary() + _ = yym1941 + if false { + } else { + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1940), d) + } + } + for { + yyj1939++ + if yyhl1939 { + yyb1939 = yyj1939 > l + } else { + yyb1939 = r.CheckBreak() + } + if yyb1939 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1939-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1942 := z.EncBinary() + _ = yym1942 + 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[0] = x.IP != "" + yyq1943[1] = x.Hostname != "" + var yynn1943 int + if yyr1943 || yy2arr1943 { + r.EncodeArrayStart(2) + } else { + yynn1943 = 0 + for _, b := range yyq1943 { + if b { + yynn1943++ + } + } + r.EncodeMapStart(yynn1943) + yynn1943 = 0 + } + if yyr1943 || yy2arr1943 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1943[0] { + yym1945 := z.EncBinary() + _ = yym1945 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.IP)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1943[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("ip")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1946 := z.EncBinary() + _ = yym1946 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.IP)) + } + } + } + if yyr1943 || yy2arr1943 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1943[1] { + yym1948 := z.EncBinary() + _ = yym1948 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1943[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostname")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1949 := z.EncBinary() + _ = yym1949 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) + } + } + } + if yyr1943 || yy2arr1943 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1950 := z.DecBinary() + _ = yym1950 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1951 := r.ContainerType() + if yyct1951 == codecSelferValueTypeMap1234 { + yyl1951 := r.ReadMapStart() + if yyl1951 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1951, d) + } + } else if yyct1951 == codecSelferValueTypeArray1234 { + yyl1951 := r.ReadArrayStart() + if yyl1951 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1951, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1952Slc = r.DecodeBytes(yys1952Slc, true, true) + yys1952 := string(yys1952Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1952 { + case "ip": + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + case "hostname": + if r.TryDecodeAsNil() { + x.Hostname = "" + } else { + x.Hostname = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1952) + } // end switch yys1952 + } // end for yyj1952 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb1955 = r.CheckBreak() + } + if yyb1955 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + yyj1955++ + if yyhl1955 { + yyb1955 = yyj1955 > l + } else { + yyb1955 = r.CheckBreak() + } + if yyb1955 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hostname = "" + } else { + x.Hostname = string(r.DecodeString()) + } + for { + yyj1955++ + if yyhl1955 { + yyb1955 = yyj1955 > l + } else { + yyb1955 = r.CheckBreak() + } + if yyb1955 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1955-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1958 := z.EncBinary() + _ = yym1958 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1959 := !z.EncBinary() + yy2arr1959 := z.EncBasicHandle().StructToArray + var yyq1959 [7]bool + _, _, _ = yysep1959, yyq1959, yy2arr1959 + const yyr1959 bool = false + yyq1959[0] = x.Type != "" + yyq1959[3] = x.ClusterIP != "" + yyq1959[4] = len(x.ExternalIPs) != 0 + yyq1959[5] = x.LoadBalancerIP != "" + yyq1959[6] = x.SessionAffinity != "" + var yynn1959 int + if yyr1959 || yy2arr1959 { + r.EncodeArrayStart(7) + } else { + yynn1959 = 2 + for _, b := range yyq1959 { + if b { + yynn1959++ + } + } + r.EncodeMapStart(yynn1959) + yynn1959 = 0 + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1959[0] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1959[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Ports == nil { + r.EncodeNil() + } else { + yym1962 := z.EncBinary() + _ = yym1962 + if false { + } else { + h.encSliceServicePort(([]ServicePort)(x.Ports), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("ports")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Ports == nil { + r.EncodeNil() + } else { + yym1963 := z.EncBinary() + _ = yym1963 + if false { + } else { + h.encSliceServicePort(([]ServicePort)(x.Ports), e) + } + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym1965 := z.EncBinary() + _ = yym1965 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym1966 := z.EncBinary() + _ = yym1966 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1959[3] { + yym1968 := z.EncBinary() + _ = yym1968 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1959[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1969 := z.EncBinary() + _ = yym1969 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) + } + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1959[4] { + if x.ExternalIPs == nil { + r.EncodeNil() + } else { + yym1971 := z.EncBinary() + _ = yym1971 + if false { + } else { + z.F.EncSliceStringV(x.ExternalIPs, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1959[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ExternalIPs == nil { + r.EncodeNil() + } else { + yym1972 := z.EncBinary() + _ = yym1972 + if false { + } else { + z.F.EncSliceStringV(x.ExternalIPs, false, e) + } + } + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1959[5] { + yym1974 := z.EncBinary() + _ = yym1974 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1959[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1975 := z.EncBinary() + _ = yym1975 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) + } + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1959[6] { + x.SessionAffinity.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1959[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.SessionAffinity.CodecEncodeSelf(e) + } + } + if yyr1959 || yy2arr1959 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1977 := z.DecBinary() + _ = yym1977 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1978 := r.ContainerType() + if yyct1978 == codecSelferValueTypeMap1234 { + yyl1978 := r.ReadMapStart() + if yyl1978 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1978, d) + } + } else if yyct1978 == codecSelferValueTypeArray1234 { + yyl1978 := r.ReadArrayStart() + if yyl1978 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1978, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1979Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1979Slc + var yyhl1979 bool = l >= 0 + for yyj1979 := 0; ; yyj1979++ { + if yyhl1979 { + if yyj1979 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1979Slc = r.DecodeBytes(yys1979Slc, true, true) + yys1979 := string(yys1979Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1979 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -25220,24 +25866,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1938 := &x.Ports - yym1939 := z.DecBinary() - _ = yym1939 + yyv1981 := &x.Ports + yym1982 := z.DecBinary() + _ = yym1982 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv1938), d) + h.decSliceServicePort((*[]ServicePort)(yyv1981), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1940 := &x.Selector - yym1941 := z.DecBinary() - _ = yym1941 + yyv1983 := &x.Selector + yym1984 := z.DecBinary() + _ = yym1984 if false { } else { - z.F.DecMapStringStringX(yyv1940, false, d) + z.F.DecMapStringStringX(yyv1983, false, d) } } case "clusterIP": @@ -25250,12 +25896,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv1943 := &x.ExternalIPs - yym1944 := z.DecBinary() - _ = yym1944 + yyv1986 := &x.ExternalIPs + yym1987 := z.DecBinary() + _ = yym1987 if false { } else { - z.F.DecSliceStringX(yyv1943, false, d) + z.F.DecSliceStringX(yyv1986, false, d) } } case "loadBalancerIP": @@ -25271,9 +25917,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1936) - } // end switch yys1936 - } // end for yyj1936 + z.DecStructFieldNotFound(-1, yys1979) + } // end switch yys1979 + } // end for yyj1979 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25281,16 +25927,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1947 int - var yyb1947 bool - var yyhl1947 bool = l >= 0 - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + var yyj1990 int + var yyb1990 bool + var yyhl1990 bool = l >= 0 + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25300,13 +25946,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25314,21 +25960,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1949 := &x.Ports - yym1950 := z.DecBinary() - _ = yym1950 + yyv1992 := &x.Ports + yym1993 := z.DecBinary() + _ = yym1993 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv1949), d) + h.decSliceServicePort((*[]ServicePort)(yyv1992), d) } } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25336,21 +25982,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1951 := &x.Selector - yym1952 := z.DecBinary() - _ = yym1952 + yyv1994 := &x.Selector + yym1995 := z.DecBinary() + _ = yym1995 if false { } else { - z.F.DecMapStringStringX(yyv1951, false, d) + z.F.DecMapStringStringX(yyv1994, false, d) } } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25360,13 +26006,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25374,21 +26020,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv1954 := &x.ExternalIPs - yym1955 := z.DecBinary() - _ = yym1955 + yyv1997 := &x.ExternalIPs + yym1998 := z.DecBinary() + _ = yym1998 if false { } else { - z.F.DecSliceStringX(yyv1954, false, d) + z.F.DecSliceStringX(yyv1997, false, d) } } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25398,13 +26044,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25415,17 +26061,17 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } for { - yyj1947++ - if yyhl1947 { - yyb1947 = yyj1947 > l + yyj1990++ + if yyhl1990 { + yyb1990 = yyj1990 > l } else { - yyb1947 = r.CheckBreak() + yyb1990 = r.CheckBreak() } - if yyb1947 { + if yyb1990 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1947-1, "") + z.DecStructFieldNotFound(yyj1990-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25437,33 +26083,33 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1958 := z.EncBinary() - _ = yym1958 + yym2001 := z.EncBinary() + _ = yym2001 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 - var yynn1959 int - if yyr1959 || yy2arr1959 { + yysep2002 := !z.EncBinary() + yy2arr2002 := z.EncBasicHandle().StructToArray + var yyq2002 [5]bool + _, _, _ = yysep2002, yyq2002, yy2arr2002 + const yyr2002 bool = false + var yynn2002 int + if yyr2002 || yy2arr2002 { r.EncodeArrayStart(5) } else { - yynn1959 = 5 - for _, b := range yyq1959 { + yynn2002 = 5 + for _, b := range yyq2002 { if b { - yynn1959++ + yynn2002++ } } - r.EncodeMapStart(yynn1959) - yynn1959 = 0 + r.EncodeMapStart(yynn2002) + yynn2002 = 0 } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1961 := z.EncBinary() - _ = yym1961 + yym2004 := z.EncBinary() + _ = yym2004 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -25472,14 +26118,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1962 := z.EncBinary() - _ = yym1962 + yym2005 := z.EncBinary() + _ = yym2005 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -25488,10 +26134,10 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1965 := z.EncBinary() - _ = yym1965 + yym2008 := z.EncBinary() + _ = yym2008 if false { } else { r.EncodeInt(int64(x.Port)) @@ -25500,44 +26146,44 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1966 := z.EncBinary() - _ = yym1966 + yym2009 := z.EncBinary() + _ = yym2009 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1968 := &x.TargetPort - yym1969 := z.EncBinary() - _ = yym1969 + yy2011 := &x.TargetPort + yym2012 := z.EncBinary() + _ = yym2012 if false { - } else if z.HasExtensions() && z.EncExt(yy1968) { - } else if !yym1969 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1968) + } else if z.HasExtensions() && z.EncExt(yy2011) { + } else if !yym2012 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2011) } else { - z.EncFallback(yy1968) + z.EncFallback(yy2011) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1970 := &x.TargetPort - yym1971 := z.EncBinary() - _ = yym1971 + yy2013 := &x.TargetPort + yym2014 := z.EncBinary() + _ = yym2014 if false { - } else if z.HasExtensions() && z.EncExt(yy1970) { - } else if !yym1971 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1970) + } else if z.HasExtensions() && z.EncExt(yy2013) { + } else if !yym2014 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2013) } else { - z.EncFallback(yy1970) + z.EncFallback(yy2013) } } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1973 := z.EncBinary() - _ = yym1973 + yym2016 := z.EncBinary() + _ = yym2016 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -25546,14 +26192,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1974 := z.EncBinary() - _ = yym1974 + yym2017 := z.EncBinary() + _ = yym2017 if false { } else { r.EncodeInt(int64(x.NodePort)) } } - if yyr1959 || yy2arr1959 { + if yyr2002 || yy2arr2002 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25566,25 +26212,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1975 := z.DecBinary() - _ = yym1975 + yym2018 := z.DecBinary() + _ = yym2018 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1976 := r.ContainerType() - if yyct1976 == codecSelferValueTypeMap1234 { - yyl1976 := r.ReadMapStart() - if yyl1976 == 0 { + yyct2019 := r.ContainerType() + if yyct2019 == codecSelferValueTypeMap1234 { + yyl2019 := r.ReadMapStart() + if yyl2019 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1976, d) + x.codecDecodeSelfFromMap(yyl2019, d) } - } else if yyct1976 == codecSelferValueTypeArray1234 { - yyl1976 := r.ReadArrayStart() - if yyl1976 == 0 { + } else if yyct2019 == codecSelferValueTypeArray1234 { + yyl2019 := r.ReadArrayStart() + if yyl2019 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1976, d) + x.codecDecodeSelfFromArray(yyl2019, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25596,12 +26242,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys2020Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2020Slc + var yyhl2020 bool = l >= 0 + for yyj2020 := 0; ; yyj2020++ { + if yyhl2020 { + if yyj2020 >= l { break } } else { @@ -25610,10 +26256,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1977Slc = r.DecodeBytes(yys1977Slc, true, true) - yys1977 := string(yys1977Slc) + yys2020Slc = r.DecodeBytes(yys2020Slc, true, true) + yys2020 := string(yys2020Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1977 { + switch yys2020 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -25636,15 +26282,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg5_intstr.IntOrString{} } else { - yyv1981 := &x.TargetPort - yym1982 := z.DecBinary() - _ = yym1982 + yyv2024 := &x.TargetPort + yym2025 := z.DecBinary() + _ = yym2025 if false { - } else if z.HasExtensions() && z.DecExt(yyv1981) { - } else if !yym1982 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1981) + } else if z.HasExtensions() && z.DecExt(yyv2024) { + } else if !yym2025 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2024) } else { - z.DecFallback(yyv1981, false) + z.DecFallback(yyv2024, false) } } case "nodePort": @@ -25654,9 +26300,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys1977) - } // end switch yys1977 - } // end for yyj1977 + z.DecStructFieldNotFound(-1, yys2020) + } // end switch yys2020 + } // end for yyj2020 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25664,16 +26310,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1984 int - var yyb1984 bool - var yyhl1984 bool = l >= 0 - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + var yyj2027 int + var yyb2027 bool + var yyhl2027 bool = l >= 0 + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25683,13 +26329,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25699,13 +26345,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25715,13 +26361,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25729,24 +26375,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg5_intstr.IntOrString{} } else { - yyv1988 := &x.TargetPort - yym1989 := z.DecBinary() - _ = yym1989 + yyv2031 := &x.TargetPort + yym2032 := z.DecBinary() + _ = yym2032 if false { - } else if z.HasExtensions() && z.DecExt(yyv1988) { - } else if !yym1989 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1988) + } else if z.HasExtensions() && z.DecExt(yyv2031) { + } else if !yym2032 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2031) } else { - z.DecFallback(yyv1988, false) + z.DecFallback(yyv2031, false) } } - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25757,17 +26403,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj1984++ - if yyhl1984 { - yyb1984 = yyj1984 > l + yyj2027++ + if yyhl2027 { + yyb2027 = yyj2027 > l } else { - yyb1984 = r.CheckBreak() + yyb2027 = r.CheckBreak() } - if yyb1984 { + if yyb2027 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1984-1, "") + z.DecStructFieldNotFound(yyj2027-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25779,39 +26425,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1991 := z.EncBinary() - _ = yym1991 + yym2034 := z.EncBinary() + _ = yym2034 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1992 := !z.EncBinary() - yy2arr1992 := z.EncBasicHandle().StructToArray - var yyq1992 [5]bool - _, _, _ = yysep1992, yyq1992, yy2arr1992 - const yyr1992 bool = false - yyq1992[0] = x.Kind != "" - yyq1992[1] = x.APIVersion != "" - yyq1992[2] = true - yyq1992[3] = true - yyq1992[4] = true - var yynn1992 int - if yyr1992 || yy2arr1992 { + yysep2035 := !z.EncBinary() + yy2arr2035 := z.EncBasicHandle().StructToArray + var yyq2035 [5]bool + _, _, _ = yysep2035, yyq2035, yy2arr2035 + const yyr2035 bool = false + yyq2035[0] = x.Kind != "" + yyq2035[1] = x.APIVersion != "" + yyq2035[2] = true + yyq2035[3] = true + yyq2035[4] = true + var yynn2035 int + if yyr2035 || yy2arr2035 { r.EncodeArrayStart(5) } else { - yynn1992 = 0 - for _, b := range yyq1992 { + yynn2035 = 0 + for _, b := range yyq2035 { if b { - yynn1992++ + yynn2035++ } } - r.EncodeMapStart(yynn1992) - yynn1992 = 0 + r.EncodeMapStart(yynn2035) + yynn2035 = 0 } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1992[0] { - yym1994 := z.EncBinary() - _ = yym1994 + if yyq2035[0] { + yym2037 := z.EncBinary() + _ = yym2037 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25820,23 +26466,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1992[0] { + if yyq2035[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1995 := z.EncBinary() - _ = yym1995 + yym2038 := z.EncBinary() + _ = yym2038 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1992[1] { - yym1997 := z.EncBinary() - _ = yym1997 + if yyq2035[1] { + yym2040 := z.EncBinary() + _ = yym2040 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25845,70 +26491,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1992[1] { + if yyq2035[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1998 := z.EncBinary() - _ = yym1998 + yym2041 := z.EncBinary() + _ = yym2041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1992[2] { - yy2000 := &x.ObjectMeta - yy2000.CodecEncodeSelf(e) + if yyq2035[2] { + yy2043 := &x.ObjectMeta + yy2043.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1992[2] { + if yyq2035[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2001 := &x.ObjectMeta - yy2001.CodecEncodeSelf(e) + yy2044 := &x.ObjectMeta + yy2044.CodecEncodeSelf(e) } } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1992[3] { - yy2003 := &x.Spec - yy2003.CodecEncodeSelf(e) + if yyq2035[3] { + yy2046 := &x.Spec + yy2046.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1992[3] { + if yyq2035[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2004 := &x.Spec - yy2004.CodecEncodeSelf(e) + yy2047 := &x.Spec + yy2047.CodecEncodeSelf(e) } } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1992[4] { - yy2006 := &x.Status - yy2006.CodecEncodeSelf(e) + if yyq2035[4] { + yy2049 := &x.Status + yy2049.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1992[4] { + if yyq2035[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2007 := &x.Status - yy2007.CodecEncodeSelf(e) + yy2050 := &x.Status + yy2050.CodecEncodeSelf(e) } } - if yyr1992 || yy2arr1992 { + if yyr2035 || yy2arr2035 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25921,25 +26567,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2008 := z.DecBinary() - _ = yym2008 + yym2051 := z.DecBinary() + _ = yym2051 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2009 := r.ContainerType() - if yyct2009 == codecSelferValueTypeMap1234 { - yyl2009 := r.ReadMapStart() - if yyl2009 == 0 { + yyct2052 := r.ContainerType() + if yyct2052 == codecSelferValueTypeMap1234 { + yyl2052 := r.ReadMapStart() + if yyl2052 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2009, d) + x.codecDecodeSelfFromMap(yyl2052, d) } - } else if yyct2009 == codecSelferValueTypeArray1234 { - yyl2009 := r.ReadArrayStart() - if yyl2009 == 0 { + } else if yyct2052 == codecSelferValueTypeArray1234 { + yyl2052 := r.ReadArrayStart() + if yyl2052 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2009, d) + x.codecDecodeSelfFromArray(yyl2052, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25951,12 +26597,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2010Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2010Slc - var yyhl2010 bool = l >= 0 - for yyj2010 := 0; ; yyj2010++ { - if yyhl2010 { - if yyj2010 >= l { + var yys2053Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2053Slc + var yyhl2053 bool = l >= 0 + for yyj2053 := 0; ; yyj2053++ { + if yyhl2053 { + if yyj2053 >= l { break } } else { @@ -25965,10 +26611,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2010Slc = r.DecodeBytes(yys2010Slc, true, true) - yys2010 := string(yys2010Slc) + yys2053Slc = r.DecodeBytes(yys2053Slc, true, true) + yys2053 := string(yys2053Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2010 { + switch yys2053 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -25985,27 +26631,27 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2013 := &x.ObjectMeta - yyv2013.CodecDecodeSelf(d) + yyv2056 := &x.ObjectMeta + yyv2056.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2014 := &x.Spec - yyv2014.CodecDecodeSelf(d) + yyv2057 := &x.Spec + yyv2057.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2015 := &x.Status - yyv2015.CodecDecodeSelf(d) + yyv2058 := &x.Status + yyv2058.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2010) - } // end switch yys2010 - } // end for yyj2010 + z.DecStructFieldNotFound(-1, yys2053) + } // end switch yys2053 + } // end for yyj2053 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26013,16 +26659,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2016 int - var yyb2016 bool - var yyhl2016 bool = l >= 0 - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + var yyj2059 int + var yyb2059 bool + var yyhl2059 bool = l >= 0 + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26032,13 +26678,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26048,13 +26694,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26062,16 +26708,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2019 := &x.ObjectMeta - yyv2019.CodecDecodeSelf(d) + yyv2062 := &x.ObjectMeta + yyv2062.CodecDecodeSelf(d) } - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26079,16 +26725,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2020 := &x.Spec - yyv2020.CodecDecodeSelf(d) + yyv2063 := &x.Spec + yyv2063.CodecDecodeSelf(d) } - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26096,21 +26742,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2021 := &x.Status - yyv2021.CodecDecodeSelf(d) + yyv2064 := &x.Status + yyv2064.CodecDecodeSelf(d) } for { - yyj2016++ - if yyhl2016 { - yyb2016 = yyj2016 > l + yyj2059++ + if yyhl2059 { + yyb2059 = yyj2059 > l } else { - yyb2016 = r.CheckBreak() + yyb2059 = r.CheckBreak() } - if yyb2016 { + if yyb2059 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2016-1, "") + z.DecStructFieldNotFound(yyj2059-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26122,38 +26768,38 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2022 := z.EncBinary() - _ = yym2022 + yym2065 := z.EncBinary() + _ = yym2065 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2023 := !z.EncBinary() - yy2arr2023 := z.EncBasicHandle().StructToArray - var yyq2023 [5]bool - _, _, _ = yysep2023, yyq2023, yy2arr2023 - const yyr2023 bool = false - yyq2023[0] = x.Kind != "" - yyq2023[1] = x.APIVersion != "" - yyq2023[2] = true - yyq2023[4] = len(x.ImagePullSecrets) != 0 - var yynn2023 int - if yyr2023 || yy2arr2023 { + yysep2066 := !z.EncBinary() + yy2arr2066 := z.EncBasicHandle().StructToArray + var yyq2066 [5]bool + _, _, _ = yysep2066, yyq2066, yy2arr2066 + const yyr2066 bool = false + yyq2066[0] = x.Kind != "" + yyq2066[1] = x.APIVersion != "" + yyq2066[2] = true + yyq2066[4] = len(x.ImagePullSecrets) != 0 + var yynn2066 int + if yyr2066 || yy2arr2066 { r.EncodeArrayStart(5) } else { - yynn2023 = 1 - for _, b := range yyq2023 { + yynn2066 = 1 + for _, b := range yyq2066 { if b { - yynn2023++ + yynn2066++ } } - r.EncodeMapStart(yynn2023) - yynn2023 = 0 + r.EncodeMapStart(yynn2066) + yynn2066 = 0 } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[0] { - yym2025 := z.EncBinary() - _ = yym2025 + if yyq2066[0] { + yym2068 := z.EncBinary() + _ = yym2068 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26162,23 +26808,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[0] { + if yyq2066[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2026 := z.EncBinary() - _ = yym2026 + yym2069 := z.EncBinary() + _ = yym2069 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[1] { - yym2028 := z.EncBinary() - _ = yym2028 + if yyq2066[1] { + yym2071 := z.EncBinary() + _ = yym2071 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26187,42 +26833,42 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[1] { + if yyq2066[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2029 := z.EncBinary() - _ = yym2029 + yym2072 := z.EncBinary() + _ = yym2072 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[2] { - yy2031 := &x.ObjectMeta - yy2031.CodecEncodeSelf(e) + if yyq2066[2] { + yy2074 := &x.ObjectMeta + yy2074.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2023[2] { + if yyq2066[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2032 := &x.ObjectMeta - yy2032.CodecEncodeSelf(e) + yy2075 := &x.ObjectMeta + yy2075.CodecEncodeSelf(e) } } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2034 := z.EncBinary() - _ = yym2034 + yym2077 := z.EncBinary() + _ = yym2077 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -26235,22 +26881,22 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x.Secrets == nil { r.EncodeNil() } else { - yym2035 := z.EncBinary() - _ = yym2035 + yym2078 := z.EncBinary() + _ = yym2078 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[4] { + if yyq2066[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2037 := z.EncBinary() - _ = yym2037 + yym2080 := z.EncBinary() + _ = yym2080 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26260,15 +26906,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[4] { + if yyq2066[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2038 := z.EncBinary() - _ = yym2038 + yym2081 := z.EncBinary() + _ = yym2081 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26276,7 +26922,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2066 || yy2arr2066 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26289,25 +26935,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2039 := z.DecBinary() - _ = yym2039 + yym2082 := z.DecBinary() + _ = yym2082 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2040 := r.ContainerType() - if yyct2040 == codecSelferValueTypeMap1234 { - yyl2040 := r.ReadMapStart() - if yyl2040 == 0 { + yyct2083 := r.ContainerType() + if yyct2083 == codecSelferValueTypeMap1234 { + yyl2083 := r.ReadMapStart() + if yyl2083 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2040, d) + x.codecDecodeSelfFromMap(yyl2083, d) } - } else if yyct2040 == codecSelferValueTypeArray1234 { - yyl2040 := r.ReadArrayStart() - if yyl2040 == 0 { + } else if yyct2083 == codecSelferValueTypeArray1234 { + yyl2083 := r.ReadArrayStart() + if yyl2083 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2040, d) + x.codecDecodeSelfFromArray(yyl2083, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26319,12 +26965,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2041Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2041Slc - var yyhl2041 bool = l >= 0 - for yyj2041 := 0; ; yyj2041++ { - if yyhl2041 { - if yyj2041 >= l { + var yys2084Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2084Slc + var yyhl2084 bool = l >= 0 + for yyj2084 := 0; ; yyj2084++ { + if yyhl2084 { + if yyj2084 >= l { break } } else { @@ -26333,10 +26979,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2041Slc = r.DecodeBytes(yys2041Slc, true, true) - yys2041 := string(yys2041Slc) + yys2084Slc = r.DecodeBytes(yys2084Slc, true, true) + yys2084 := string(yys2084Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2041 { + switch yys2084 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -26353,37 +26999,37 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2044 := &x.ObjectMeta - yyv2044.CodecDecodeSelf(d) + yyv2087 := &x.ObjectMeta + yyv2087.CodecDecodeSelf(d) } case "secrets": if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2045 := &x.Secrets - yym2046 := z.DecBinary() - _ = yym2046 + yyv2088 := &x.Secrets + yym2089 := z.DecBinary() + _ = yym2089 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2045), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2088), d) } } case "imagePullSecrets": if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2047 := &x.ImagePullSecrets - yym2048 := z.DecBinary() - _ = yym2048 + yyv2090 := &x.ImagePullSecrets + yym2091 := z.DecBinary() + _ = yym2091 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2047), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2090), d) } } default: - z.DecStructFieldNotFound(-1, yys2041) - } // end switch yys2041 - } // end for yyj2041 + z.DecStructFieldNotFound(-1, yys2084) + } // end switch yys2084 + } // end for yyj2084 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26391,16 +27037,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2049 int - var yyb2049 bool - var yyhl2049 bool = l >= 0 - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + var yyj2092 int + var yyb2092 bool + var yyhl2092 bool = l >= 0 + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26410,13 +27056,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26426,13 +27072,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26440,16 +27086,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2052 := &x.ObjectMeta - yyv2052.CodecDecodeSelf(d) + yyv2095 := &x.ObjectMeta + yyv2095.CodecDecodeSelf(d) } - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26457,21 +27103,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2053 := &x.Secrets - yym2054 := z.DecBinary() - _ = yym2054 + yyv2096 := &x.Secrets + yym2097 := z.DecBinary() + _ = yym2097 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2053), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2096), d) } } - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26479,26 +27125,26 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2055 := &x.ImagePullSecrets - yym2056 := z.DecBinary() - _ = yym2056 + yyv2098 := &x.ImagePullSecrets + yym2099 := z.DecBinary() + _ = yym2099 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2055), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2098), d) } } for { - yyj2049++ - if yyhl2049 { - yyb2049 = yyj2049 > l + yyj2092++ + if yyhl2092 { + yyb2092 = yyj2092 > l } else { - yyb2049 = r.CheckBreak() + yyb2092 = r.CheckBreak() } - if yyb2049 { + if yyb2092 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2049-1, "") + z.DecStructFieldNotFound(yyj2092-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26510,37 +27156,37 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2057 := z.EncBinary() - _ = yym2057 + yym2100 := z.EncBinary() + _ = yym2100 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2058 := !z.EncBinary() - yy2arr2058 := z.EncBasicHandle().StructToArray - var yyq2058 [4]bool - _, _, _ = yysep2058, yyq2058, yy2arr2058 - const yyr2058 bool = false - yyq2058[0] = x.Kind != "" - yyq2058[1] = x.APIVersion != "" - yyq2058[2] = true - var yynn2058 int - if yyr2058 || yy2arr2058 { + yysep2101 := !z.EncBinary() + yy2arr2101 := z.EncBasicHandle().StructToArray + var yyq2101 [4]bool + _, _, _ = yysep2101, yyq2101, yy2arr2101 + const yyr2101 bool = false + yyq2101[0] = x.Kind != "" + yyq2101[1] = x.APIVersion != "" + yyq2101[2] = true + var yynn2101 int + if yyr2101 || yy2arr2101 { r.EncodeArrayStart(4) } else { - yynn2058 = 1 - for _, b := range yyq2058 { + yynn2101 = 1 + for _, b := range yyq2101 { if b { - yynn2058++ + yynn2101++ } } - r.EncodeMapStart(yynn2058) - yynn2058 = 0 + r.EncodeMapStart(yynn2101) + yynn2101 = 0 } - if yyr2058 || yy2arr2058 { + if yyr2101 || yy2arr2101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2058[0] { - yym2060 := z.EncBinary() - _ = yym2060 + if yyq2101[0] { + yym2103 := z.EncBinary() + _ = yym2103 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26549,23 +27195,23 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2058[0] { + if yyq2101[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2061 := z.EncBinary() - _ = yym2061 + yym2104 := z.EncBinary() + _ = yym2104 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2058 || yy2arr2058 { + if yyr2101 || yy2arr2101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2058[1] { - yym2063 := z.EncBinary() - _ = yym2063 + if yyq2101[1] { + yym2106 := z.EncBinary() + _ = yym2106 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26574,54 +27220,54 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2058[1] { + if yyq2101[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2064 := z.EncBinary() - _ = yym2064 + yym2107 := z.EncBinary() + _ = yym2107 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2058 || yy2arr2058 { + if yyr2101 || yy2arr2101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2058[2] { - yy2066 := &x.ListMeta - yym2067 := z.EncBinary() - _ = yym2067 + if yyq2101[2] { + yy2109 := &x.ListMeta + yym2110 := z.EncBinary() + _ = yym2110 if false { - } else if z.HasExtensions() && z.EncExt(yy2066) { + } else if z.HasExtensions() && z.EncExt(yy2109) { } else { - z.EncFallback(yy2066) + z.EncFallback(yy2109) } } else { r.EncodeNil() } } else { - if yyq2058[2] { + if yyq2101[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2068 := &x.ListMeta - yym2069 := z.EncBinary() - _ = yym2069 + yy2111 := &x.ListMeta + yym2112 := z.EncBinary() + _ = yym2112 if false { - } else if z.HasExtensions() && z.EncExt(yy2068) { + } else if z.HasExtensions() && z.EncExt(yy2111) { } else { - z.EncFallback(yy2068) + z.EncFallback(yy2111) } } } - if yyr2058 || yy2arr2058 { + if yyr2101 || yy2arr2101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2071 := z.EncBinary() - _ = yym2071 + yym2114 := z.EncBinary() + _ = yym2114 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -26634,15 +27280,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2072 := z.EncBinary() - _ = yym2072 + yym2115 := z.EncBinary() + _ = yym2115 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2058 || yy2arr2058 { + if yyr2101 || yy2arr2101 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26655,25 +27301,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2073 := z.DecBinary() - _ = yym2073 + yym2116 := z.DecBinary() + _ = yym2116 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2074 := r.ContainerType() - if yyct2074 == codecSelferValueTypeMap1234 { - yyl2074 := r.ReadMapStart() - if yyl2074 == 0 { + yyct2117 := r.ContainerType() + if yyct2117 == codecSelferValueTypeMap1234 { + yyl2117 := r.ReadMapStart() + if yyl2117 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2074, d) + x.codecDecodeSelfFromMap(yyl2117, d) } - } else if yyct2074 == codecSelferValueTypeArray1234 { - yyl2074 := r.ReadArrayStart() - if yyl2074 == 0 { + } else if yyct2117 == codecSelferValueTypeArray1234 { + yyl2117 := r.ReadArrayStart() + if yyl2117 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2074, d) + x.codecDecodeSelfFromArray(yyl2117, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26685,12 +27331,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2075Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2075Slc - var yyhl2075 bool = l >= 0 - for yyj2075 := 0; ; yyj2075++ { - if yyhl2075 { - if yyj2075 >= l { + var yys2118Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2118Slc + var yyhl2118 bool = l >= 0 + for yyj2118 := 0; ; yyj2118++ { + if yyhl2118 { + if yyj2118 >= l { break } } else { @@ -26699,10 +27345,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2075Slc = r.DecodeBytes(yys2075Slc, true, true) - yys2075 := string(yys2075Slc) + yys2118Slc = r.DecodeBytes(yys2118Slc, true, true) + yys2118 := string(yys2118Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2075 { + switch yys2118 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -26719,31 +27365,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2078 := &x.ListMeta - yym2079 := z.DecBinary() - _ = yym2079 + yyv2121 := &x.ListMeta + yym2122 := z.DecBinary() + _ = yym2122 if false { - } else if z.HasExtensions() && z.DecExt(yyv2078) { + } else if z.HasExtensions() && z.DecExt(yyv2121) { } else { - z.DecFallback(yyv2078, false) + z.DecFallback(yyv2121, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2080 := &x.Items - yym2081 := z.DecBinary() - _ = yym2081 + yyv2123 := &x.Items + yym2124 := z.DecBinary() + _ = yym2124 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2080), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2123), d) } } default: - z.DecStructFieldNotFound(-1, yys2075) - } // end switch yys2075 - } // end for yyj2075 + z.DecStructFieldNotFound(-1, yys2118) + } // end switch yys2118 + } // end for yyj2118 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26751,16 +27397,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2082 int - var yyb2082 bool - var yyhl2082 bool = l >= 0 - yyj2082++ - if yyhl2082 { - yyb2082 = yyj2082 > l + var yyj2125 int + var yyb2125 bool + var yyhl2125 bool = l >= 0 + yyj2125++ + if yyhl2125 { + yyb2125 = yyj2125 > l } else { - yyb2082 = r.CheckBreak() + yyb2125 = r.CheckBreak() } - if yyb2082 { + if yyb2125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26770,13 +27416,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj2082++ - if yyhl2082 { - yyb2082 = yyj2082 > l + yyj2125++ + if yyhl2125 { + yyb2125 = yyj2125 > l } else { - yyb2082 = r.CheckBreak() + yyb2125 = r.CheckBreak() } - if yyb2082 { + if yyb2125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26786,13 +27432,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj2082++ - if yyhl2082 { - yyb2082 = yyj2082 > l + yyj2125++ + if yyhl2125 { + yyb2125 = yyj2125 > l } else { - yyb2082 = r.CheckBreak() + yyb2125 = r.CheckBreak() } - if yyb2082 { + if yyb2125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26800,22 +27446,22 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2085 := &x.ListMeta - yym2086 := z.DecBinary() - _ = yym2086 + yyv2128 := &x.ListMeta + yym2129 := z.DecBinary() + _ = yym2129 if false { - } else if z.HasExtensions() && z.DecExt(yyv2085) { + } else if z.HasExtensions() && z.DecExt(yyv2128) { } else { - z.DecFallback(yyv2085, false) + z.DecFallback(yyv2128, false) } } - yyj2082++ - if yyhl2082 { - yyb2082 = yyj2082 > l + yyj2125++ + if yyhl2125 { + yyb2125 = yyj2125 > l } else { - yyb2082 = r.CheckBreak() + yyb2125 = r.CheckBreak() } - if yyb2082 { + if yyb2125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26823,26 +27469,26 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2087 := &x.Items - yym2088 := z.DecBinary() - _ = yym2088 + yyv2130 := &x.Items + yym2131 := z.DecBinary() + _ = yym2131 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2087), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2130), d) } } for { - yyj2082++ - if yyhl2082 { - yyb2082 = yyj2082 > l + yyj2125++ + if yyhl2125 { + yyb2125 = yyj2125 > l } else { - yyb2082 = r.CheckBreak() + yyb2125 = r.CheckBreak() } - if yyb2082 { + if yyb2125 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2082-1, "") + z.DecStructFieldNotFound(yyj2125-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26854,37 +27500,37 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2089 := z.EncBinary() - _ = yym2089 + yym2132 := z.EncBinary() + _ = yym2132 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2090 := !z.EncBinary() - yy2arr2090 := z.EncBasicHandle().StructToArray - var yyq2090 [4]bool - _, _, _ = yysep2090, yyq2090, yy2arr2090 - const yyr2090 bool = false - yyq2090[0] = x.Kind != "" - yyq2090[1] = x.APIVersion != "" - yyq2090[2] = true - var yynn2090 int - if yyr2090 || yy2arr2090 { + yysep2133 := !z.EncBinary() + yy2arr2133 := z.EncBasicHandle().StructToArray + var yyq2133 [4]bool + _, _, _ = yysep2133, yyq2133, yy2arr2133 + const yyr2133 bool = false + yyq2133[0] = x.Kind != "" + yyq2133[1] = x.APIVersion != "" + yyq2133[2] = true + var yynn2133 int + if yyr2133 || yy2arr2133 { r.EncodeArrayStart(4) } else { - yynn2090 = 1 - for _, b := range yyq2090 { + yynn2133 = 1 + for _, b := range yyq2133 { if b { - yynn2090++ + yynn2133++ } } - r.EncodeMapStart(yynn2090) - yynn2090 = 0 + r.EncodeMapStart(yynn2133) + yynn2133 = 0 } - if yyr2090 || yy2arr2090 { + if yyr2133 || yy2arr2133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2090[0] { - yym2092 := z.EncBinary() - _ = yym2092 + if yyq2133[0] { + yym2135 := z.EncBinary() + _ = yym2135 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26893,23 +27539,23 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2090[0] { + if yyq2133[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2093 := z.EncBinary() - _ = yym2093 + yym2136 := z.EncBinary() + _ = yym2136 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2090 || yy2arr2090 { + if yyr2133 || yy2arr2133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2090[1] { - yym2095 := z.EncBinary() - _ = yym2095 + if yyq2133[1] { + yym2138 := z.EncBinary() + _ = yym2138 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26918,42 +27564,42 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2090[1] { + if yyq2133[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2096 := z.EncBinary() - _ = yym2096 + yym2139 := z.EncBinary() + _ = yym2139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2090 || yy2arr2090 { + if yyr2133 || yy2arr2133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2090[2] { - yy2098 := &x.ObjectMeta - yy2098.CodecEncodeSelf(e) + if yyq2133[2] { + yy2141 := &x.ObjectMeta + yy2141.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2090[2] { + if yyq2133[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2099 := &x.ObjectMeta - yy2099.CodecEncodeSelf(e) + yy2142 := &x.ObjectMeta + yy2142.CodecEncodeSelf(e) } } - if yyr2090 || yy2arr2090 { + if yyr2133 || yy2arr2133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym2101 := z.EncBinary() - _ = yym2101 + yym2144 := z.EncBinary() + _ = yym2144 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -26966,15 +27612,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym2102 := z.EncBinary() - _ = yym2102 + yym2145 := z.EncBinary() + _ = yym2145 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2090 || yy2arr2090 { + if yyr2133 || yy2arr2133 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26987,25 +27633,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2103 := z.DecBinary() - _ = yym2103 + yym2146 := z.DecBinary() + _ = yym2146 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2104 := r.ContainerType() - if yyct2104 == codecSelferValueTypeMap1234 { - yyl2104 := r.ReadMapStart() - if yyl2104 == 0 { + yyct2147 := r.ContainerType() + if yyct2147 == codecSelferValueTypeMap1234 { + yyl2147 := r.ReadMapStart() + if yyl2147 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2104, d) + x.codecDecodeSelfFromMap(yyl2147, d) } - } else if yyct2104 == codecSelferValueTypeArray1234 { - yyl2104 := r.ReadArrayStart() - if yyl2104 == 0 { + } else if yyct2147 == codecSelferValueTypeArray1234 { + yyl2147 := r.ReadArrayStart() + if yyl2147 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2104, d) + x.codecDecodeSelfFromArray(yyl2147, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27017,12 +27663,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2105Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2105Slc - var yyhl2105 bool = l >= 0 - for yyj2105 := 0; ; yyj2105++ { - if yyhl2105 { - if yyj2105 >= l { + var yys2148Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2148Slc + var yyhl2148 bool = l >= 0 + for yyj2148 := 0; ; yyj2148++ { + if yyhl2148 { + if yyj2148 >= l { break } } else { @@ -27031,10 +27677,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2105Slc = r.DecodeBytes(yys2105Slc, true, true) - yys2105 := string(yys2105Slc) + yys2148Slc = r.DecodeBytes(yys2148Slc, true, true) + yys2148 := string(yys2148Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2105 { + switch yys2148 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -27051,25 +27697,25 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2108 := &x.ObjectMeta - yyv2108.CodecDecodeSelf(d) + yyv2151 := &x.ObjectMeta + yyv2151.CodecDecodeSelf(d) } case "Subsets": if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2109 := &x.Subsets - yym2110 := z.DecBinary() - _ = yym2110 + yyv2152 := &x.Subsets + yym2153 := z.DecBinary() + _ = yym2153 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2109), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2152), d) } } default: - z.DecStructFieldNotFound(-1, yys2105) - } // end switch yys2105 - } // end for yyj2105 + z.DecStructFieldNotFound(-1, yys2148) + } // end switch yys2148 + } // end for yyj2148 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27077,16 +27723,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2111 int - var yyb2111 bool - var yyhl2111 bool = l >= 0 - yyj2111++ - if yyhl2111 { - yyb2111 = yyj2111 > l + var yyj2154 int + var yyb2154 bool + var yyhl2154 bool = l >= 0 + yyj2154++ + if yyhl2154 { + yyb2154 = yyj2154 > l } else { - yyb2111 = r.CheckBreak() + yyb2154 = r.CheckBreak() } - if yyb2111 { + if yyb2154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27096,13 +27742,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2111++ - if yyhl2111 { - yyb2111 = yyj2111 > l + yyj2154++ + if yyhl2154 { + yyb2154 = yyj2154 > l } else { - yyb2111 = r.CheckBreak() + yyb2154 = r.CheckBreak() } - if yyb2111 { + if yyb2154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27112,13 +27758,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2111++ - if yyhl2111 { - yyb2111 = yyj2111 > l + yyj2154++ + if yyhl2154 { + yyb2154 = yyj2154 > l } else { - yyb2111 = r.CheckBreak() + yyb2154 = r.CheckBreak() } - if yyb2111 { + if yyb2154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27126,16 +27772,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2114 := &x.ObjectMeta - yyv2114.CodecDecodeSelf(d) + yyv2157 := &x.ObjectMeta + yyv2157.CodecDecodeSelf(d) } - yyj2111++ - if yyhl2111 { - yyb2111 = yyj2111 > l + yyj2154++ + if yyhl2154 { + yyb2154 = yyj2154 > l } else { - yyb2111 = r.CheckBreak() + yyb2154 = r.CheckBreak() } - if yyb2111 { + if yyb2154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27143,26 +27789,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2115 := &x.Subsets - yym2116 := z.DecBinary() - _ = yym2116 + yyv2158 := &x.Subsets + yym2159 := z.DecBinary() + _ = yym2159 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2115), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2158), d) } } for { - yyj2111++ - if yyhl2111 { - yyb2111 = yyj2111 > l + yyj2154++ + if yyhl2154 { + yyb2154 = yyj2154 > l } else { - yyb2111 = r.CheckBreak() + yyb2154 = r.CheckBreak() } - if yyb2111 { + if yyb2154 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2111-1, "") + z.DecStructFieldNotFound(yyj2154-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27174,36 +27820,36 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2117 := z.EncBinary() - _ = yym2117 + yym2160 := z.EncBinary() + _ = yym2160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2118 := !z.EncBinary() - yy2arr2118 := z.EncBasicHandle().StructToArray - var yyq2118 [3]bool - _, _, _ = yysep2118, yyq2118, yy2arr2118 - const yyr2118 bool = false - var yynn2118 int - if yyr2118 || yy2arr2118 { + yysep2161 := !z.EncBinary() + yy2arr2161 := z.EncBasicHandle().StructToArray + var yyq2161 [3]bool + _, _, _ = yysep2161, yyq2161, yy2arr2161 + const yyr2161 bool = false + var yynn2161 int + if yyr2161 || yy2arr2161 { r.EncodeArrayStart(3) } else { - yynn2118 = 3 - for _, b := range yyq2118 { + yynn2161 = 3 + for _, b := range yyq2161 { if b { - yynn2118++ + yynn2161++ } } - r.EncodeMapStart(yynn2118) - yynn2118 = 0 + r.EncodeMapStart(yynn2161) + yynn2161 = 0 } - if yyr2118 || yy2arr2118 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2120 := z.EncBinary() - _ = yym2120 + yym2163 := z.EncBinary() + _ = yym2163 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -27216,21 +27862,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Addresses == nil { r.EncodeNil() } else { - yym2121 := z.EncBinary() - _ = yym2121 + yym2164 := z.EncBinary() + _ = yym2164 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) } } } - if yyr2118 || yy2arr2118 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2123 := z.EncBinary() - _ = yym2123 + yym2166 := z.EncBinary() + _ = yym2166 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -27243,21 +27889,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2124 := z.EncBinary() - _ = yym2124 + yym2167 := z.EncBinary() + _ = yym2167 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) } } } - if yyr2118 || yy2arr2118 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2126 := z.EncBinary() - _ = yym2126 + yym2169 := z.EncBinary() + _ = yym2169 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -27270,15 +27916,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2127 := z.EncBinary() - _ = yym2127 + yym2170 := z.EncBinary() + _ = yym2170 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) } } } - if yyr2118 || yy2arr2118 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27291,25 +27937,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2128 := z.DecBinary() - _ = yym2128 + yym2171 := z.DecBinary() + _ = yym2171 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2129 := r.ContainerType() - if yyct2129 == codecSelferValueTypeMap1234 { - yyl2129 := r.ReadMapStart() - if yyl2129 == 0 { + yyct2172 := r.ContainerType() + if yyct2172 == codecSelferValueTypeMap1234 { + yyl2172 := r.ReadMapStart() + if yyl2172 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2129, d) + x.codecDecodeSelfFromMap(yyl2172, d) } - } else if yyct2129 == codecSelferValueTypeArray1234 { - yyl2129 := r.ReadArrayStart() - if yyl2129 == 0 { + } else if yyct2172 == codecSelferValueTypeArray1234 { + yyl2172 := r.ReadArrayStart() + if yyl2172 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2129, d) + x.codecDecodeSelfFromArray(yyl2172, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27321,12 +27967,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2130Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2130Slc - var yyhl2130 bool = l >= 0 - for yyj2130 := 0; ; yyj2130++ { - if yyhl2130 { - if yyj2130 >= l { + var yys2173Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2173Slc + var yyhl2173 bool = l >= 0 + for yyj2173 := 0; ; yyj2173++ { + if yyhl2173 { + if yyj2173 >= l { break } } else { @@ -27335,50 +27981,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2130Slc = r.DecodeBytes(yys2130Slc, true, true) - yys2130 := string(yys2130Slc) + yys2173Slc = r.DecodeBytes(yys2173Slc, true, true) + yys2173 := string(yys2173Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2130 { + switch yys2173 { case "Addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2131 := &x.Addresses - yym2132 := z.DecBinary() - _ = yym2132 + yyv2174 := &x.Addresses + yym2175 := z.DecBinary() + _ = yym2175 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2131), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2174), d) } } case "NotReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2133 := &x.NotReadyAddresses - yym2134 := z.DecBinary() - _ = yym2134 + yyv2176 := &x.NotReadyAddresses + yym2177 := z.DecBinary() + _ = yym2177 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2133), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2176), d) } } case "Ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2135 := &x.Ports - yym2136 := z.DecBinary() - _ = yym2136 + yyv2178 := &x.Ports + yym2179 := z.DecBinary() + _ = yym2179 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2135), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2178), d) } } default: - z.DecStructFieldNotFound(-1, yys2130) - } // end switch yys2130 - } // end for yyj2130 + z.DecStructFieldNotFound(-1, yys2173) + } // end switch yys2173 + } // end for yyj2173 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27386,16 +28032,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2137 int - var yyb2137 bool - var yyhl2137 bool = l >= 0 - yyj2137++ - if yyhl2137 { - yyb2137 = yyj2137 > l + var yyj2180 int + var yyb2180 bool + var yyhl2180 bool = l >= 0 + yyj2180++ + if yyhl2180 { + yyb2180 = yyj2180 > l } else { - yyb2137 = r.CheckBreak() + yyb2180 = r.CheckBreak() } - if yyb2137 { + if yyb2180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27403,21 +28049,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2138 := &x.Addresses - yym2139 := z.DecBinary() - _ = yym2139 + yyv2181 := &x.Addresses + yym2182 := z.DecBinary() + _ = yym2182 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2138), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2181), d) } } - yyj2137++ - if yyhl2137 { - yyb2137 = yyj2137 > l + yyj2180++ + if yyhl2180 { + yyb2180 = yyj2180 > l } else { - yyb2137 = r.CheckBreak() + yyb2180 = r.CheckBreak() } - if yyb2137 { + if yyb2180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27425,21 +28071,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2140 := &x.NotReadyAddresses - yym2141 := z.DecBinary() - _ = yym2141 + yyv2183 := &x.NotReadyAddresses + yym2184 := z.DecBinary() + _ = yym2184 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2140), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2183), d) } } - yyj2137++ - if yyhl2137 { - yyb2137 = yyj2137 > l + yyj2180++ + if yyhl2180 { + yyb2180 = yyj2180 > l } else { - yyb2137 = r.CheckBreak() + yyb2180 = r.CheckBreak() } - if yyb2137 { + if yyb2180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27447,26 +28093,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2142 := &x.Ports - yym2143 := z.DecBinary() - _ = yym2143 + yyv2185 := &x.Ports + yym2186 := z.DecBinary() + _ = yym2186 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2142), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2185), d) } } for { - yyj2137++ - if yyhl2137 { - yyb2137 = yyj2137 > l + yyj2180++ + if yyhl2180 { + yyb2180 = yyj2180 > l } else { - yyb2137 = r.CheckBreak() + yyb2180 = r.CheckBreak() } - if yyb2137 { + if yyb2180 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2137-1, "") + z.DecStructFieldNotFound(yyj2180-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27478,33 +28124,33 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2144 := z.EncBinary() - _ = yym2144 + yym2187 := z.EncBinary() + _ = yym2187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2145 := !z.EncBinary() - yy2arr2145 := z.EncBasicHandle().StructToArray - var yyq2145 [2]bool - _, _, _ = yysep2145, yyq2145, yy2arr2145 - const yyr2145 bool = false - var yynn2145 int - if yyr2145 || yy2arr2145 { + yysep2188 := !z.EncBinary() + yy2arr2188 := z.EncBasicHandle().StructToArray + var yyq2188 [2]bool + _, _, _ = yysep2188, yyq2188, yy2arr2188 + const yyr2188 bool = false + var yynn2188 int + if yyr2188 || yy2arr2188 { r.EncodeArrayStart(2) } else { - yynn2145 = 2 - for _, b := range yyq2145 { + yynn2188 = 2 + for _, b := range yyq2188 { if b { - yynn2145++ + yynn2188++ } } - r.EncodeMapStart(yynn2145) - yynn2145 = 0 + r.EncodeMapStart(yynn2188) + yynn2188 = 0 } - if yyr2145 || yy2arr2145 { + if yyr2188 || yy2arr2188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2147 := z.EncBinary() - _ = yym2147 + yym2190 := z.EncBinary() + _ = yym2190 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -27513,14 +28159,14 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("IP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2148 := z.EncBinary() - _ = yym2148 + yym2191 := z.EncBinary() + _ = yym2191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2145 || yy2arr2145 { + if yyr2188 || yy2arr2188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetRef == nil { r.EncodeNil() @@ -27537,7 +28183,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { x.TargetRef.CodecEncodeSelf(e) } } - if yyr2145 || yy2arr2145 { + if yyr2188 || yy2arr2188 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27547,524 +28193,6 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2150 := z.DecBinary() - _ = yym2150 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2151 := r.ContainerType() - if yyct2151 == codecSelferValueTypeMap1234 { - yyl2151 := r.ReadMapStart() - if yyl2151 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2151, d) - } - } else if yyct2151 == codecSelferValueTypeArray1234 { - yyl2151 := r.ReadArrayStart() - if yyl2151 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2151, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2152Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2152Slc - var yyhl2152 bool = l >= 0 - for yyj2152 := 0; ; yyj2152++ { - if yyhl2152 { - if yyj2152 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2152Slc = r.DecodeBytes(yys2152Slc, true, true) - yys2152 := string(yys2152Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2152 { - case "IP": - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - case "TargetRef": - if r.TryDecodeAsNil() { - if x.TargetRef != nil { - x.TargetRef = nil - } - } else { - if x.TargetRef == nil { - x.TargetRef = new(ObjectReference) - } - x.TargetRef.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2152) - } // end switch yys2152 - } // end for yyj2152 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2155 int - var yyb2155 bool - var yyhl2155 bool = l >= 0 - yyj2155++ - if yyhl2155 { - yyb2155 = yyj2155 > l - } else { - yyb2155 = r.CheckBreak() - } - if yyb2155 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - yyj2155++ - if yyhl2155 { - yyb2155 = yyj2155 > l - } else { - yyb2155 = r.CheckBreak() - } - if yyb2155 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TargetRef != nil { - x.TargetRef = nil - } - } else { - if x.TargetRef == nil { - x.TargetRef = new(ObjectReference) - } - x.TargetRef.CodecDecodeSelf(d) - } - for { - yyj2155++ - if yyhl2155 { - yyb2155 = yyj2155 > l - } else { - yyb2155 = r.CheckBreak() - } - if yyb2155 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2155-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2158 := z.EncBinary() - _ = yym2158 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2159 := !z.EncBinary() - yy2arr2159 := z.EncBasicHandle().StructToArray - var yyq2159 [3]bool - _, _, _ = yysep2159, yyq2159, yy2arr2159 - const yyr2159 bool = false - var yynn2159 int - if yyr2159 || yy2arr2159 { - r.EncodeArrayStart(3) - } else { - yynn2159 = 3 - for _, b := range yyq2159 { - if b { - yynn2159++ - } - } - r.EncodeMapStart(yynn2159) - yynn2159 = 0 - } - if yyr2159 || yy2arr2159 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2161 := z.EncBinary() - _ = yym2161 - 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) - yym2162 := z.EncBinary() - _ = yym2162 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - if yyr2159 || yy2arr2159 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2164 := z.EncBinary() - _ = yym2164 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2165 := z.EncBinary() - _ = yym2165 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr2159 || yy2arr2159 { - 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 yyr2159 || yy2arr2159 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2167 := z.DecBinary() - _ = yym2167 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2168 := r.ContainerType() - if yyct2168 == codecSelferValueTypeMap1234 { - yyl2168 := r.ReadMapStart() - if yyl2168 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2168, d) - } - } else if yyct2168 == codecSelferValueTypeArray1234 { - yyl2168 := r.ReadArrayStart() - if yyl2168 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2168, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2169Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2169Slc - var yyhl2169 bool = l >= 0 - for yyj2169 := 0; ; yyj2169++ { - if yyhl2169 { - if yyj2169 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2169Slc = r.DecodeBytes(yys2169Slc, true, true) - yys2169 := string(yys2169Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2169 { - case "Name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "Port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "Protocol": - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys2169) - } // end switch yys2169 - } // end for yyj2169 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *EndpointPort) 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 - } else { - yyb2173 = r.CheckBreak() - } - if yyb2173 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l - } else { - yyb2173 = r.CheckBreak() - } - if yyb2173 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l - } else { - yyb2173 = r.CheckBreak() - } - if yyb2173 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - for { - yyj2173++ - if yyhl2173 { - yyb2173 = yyj2173 > l - } else { - yyb2173 = r.CheckBreak() - } - if yyb2173 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2173-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2177 := z.EncBinary() - _ = yym2177 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2178 := !z.EncBinary() - yy2arr2178 := z.EncBasicHandle().StructToArray - var yyq2178 [4]bool - _, _, _ = yysep2178, yyq2178, yy2arr2178 - const yyr2178 bool = false - yyq2178[0] = x.Kind != "" - yyq2178[1] = x.APIVersion != "" - yyq2178[2] = true - var yynn2178 int - if yyr2178 || yy2arr2178 { - r.EncodeArrayStart(4) - } else { - yynn2178 = 1 - for _, b := range yyq2178 { - if b { - yynn2178++ - } - } - r.EncodeMapStart(yynn2178) - yynn2178 = 0 - } - if yyr2178 || yy2arr2178 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2178[0] { - yym2180 := z.EncBinary() - _ = yym2180 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2178[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2181 := z.EncBinary() - _ = yym2181 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2178 || yy2arr2178 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2178[1] { - yym2183 := z.EncBinary() - _ = yym2183 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2178[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2184 := z.EncBinary() - _ = yym2184 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2178 || yy2arr2178 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2178[2] { - yy2186 := &x.ListMeta - yym2187 := z.EncBinary() - _ = yym2187 - if false { - } else if z.HasExtensions() && z.EncExt(yy2186) { - } else { - z.EncFallback(yy2186) - } - } else { - r.EncodeNil() - } - } else { - if yyq2178[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2188 := &x.ListMeta - yym2189 := z.EncBinary() - _ = yym2189 - if false { - } else if z.HasExtensions() && z.EncExt(yy2188) { - } else { - z.EncFallback(yy2188) - } - } - } - if yyr2178 || yy2arr2178 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2191 := z.EncBinary() - _ = yym2191 - if false { - } else { - h.encSliceEndpoints(([]Endpoints)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2192 := z.EncBinary() - _ = yym2192 - if false { - } else { - h.encSliceEndpoints(([]Endpoints)(x.Items), e) - } - } - } - if yyr2178 || yy2arr2178 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28094,7 +28222,7 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28116,6 +28244,524 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2195 := string(yys2195Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2195 { + case "IP": + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + case "TargetRef": + if r.TryDecodeAsNil() { + if x.TargetRef != nil { + x.TargetRef = nil + } + } else { + if x.TargetRef == nil { + x.TargetRef = new(ObjectReference) + } + x.TargetRef.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys2195) + } // end switch yys2195 + } // end for yyj2195 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2198 int + var yyb2198 bool + var yyhl2198 bool = l >= 0 + yyj2198++ + if yyhl2198 { + yyb2198 = yyj2198 > l + } else { + yyb2198 = r.CheckBreak() + } + if yyb2198 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + yyj2198++ + if yyhl2198 { + yyb2198 = yyj2198 > l + } else { + yyb2198 = r.CheckBreak() + } + if yyb2198 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.TargetRef != nil { + x.TargetRef = nil + } + } else { + if x.TargetRef == nil { + x.TargetRef = new(ObjectReference) + } + x.TargetRef.CodecDecodeSelf(d) + } + for { + yyj2198++ + if yyhl2198 { + yyb2198 = yyj2198 > l + } else { + yyb2198 = r.CheckBreak() + } + if yyb2198 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2198-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2201 := z.EncBinary() + _ = yym2201 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2202 := !z.EncBinary() + yy2arr2202 := z.EncBasicHandle().StructToArray + var yyq2202 [3]bool + _, _, _ = yysep2202, yyq2202, yy2arr2202 + const yyr2202 bool = false + var yynn2202 int + if yyr2202 || yy2arr2202 { + r.EncodeArrayStart(3) + } else { + yynn2202 = 3 + for _, b := range yyq2202 { + if b { + yynn2202++ + } + } + r.EncodeMapStart(yynn2202) + yynn2202 = 0 + } + if yyr2202 || yy2arr2202 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2204 := z.EncBinary() + _ = yym2204 + 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) + yym2205 := z.EncBinary() + _ = yym2205 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + if yyr2202 || yy2arr2202 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2207 := z.EncBinary() + _ = yym2207 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2208 := z.EncBinary() + _ = yym2208 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } + if yyr2202 || yy2arr2202 { + 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 yyr2202 || yy2arr2202 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2210 := z.DecBinary() + _ = yym2210 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2211 := r.ContainerType() + if yyct2211 == codecSelferValueTypeMap1234 { + yyl2211 := r.ReadMapStart() + if yyl2211 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2211, d) + } + } else if yyct2211 == codecSelferValueTypeArray1234 { + yyl2211 := r.ReadArrayStart() + if yyl2211 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2211, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2212Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2212Slc + var yyhl2212 bool = l >= 0 + for yyj2212 := 0; ; yyj2212++ { + if yyhl2212 { + if yyj2212 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2212Slc = r.DecodeBytes(yys2212Slc, true, true) + yys2212 := string(yys2212Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2212 { + case "Name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "Port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "Protocol": + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys2212) + } // end switch yys2212 + } // end for yyj2212 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2216 int + var yyb2216 bool + var yyhl2216 bool = l >= 0 + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l + } else { + yyb2216 = r.CheckBreak() + } + if yyb2216 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l + } else { + yyb2216 = r.CheckBreak() + } + if yyb2216 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l + } else { + yyb2216 = r.CheckBreak() + } + if yyb2216 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + for { + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l + } else { + yyb2216 = r.CheckBreak() + } + if yyb2216 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2216-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2220 := z.EncBinary() + _ = yym2220 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2221 := !z.EncBinary() + yy2arr2221 := z.EncBasicHandle().StructToArray + var yyq2221 [4]bool + _, _, _ = yysep2221, yyq2221, yy2arr2221 + const yyr2221 bool = false + yyq2221[0] = x.Kind != "" + yyq2221[1] = x.APIVersion != "" + yyq2221[2] = true + var yynn2221 int + if yyr2221 || yy2arr2221 { + r.EncodeArrayStart(4) + } else { + yynn2221 = 1 + for _, b := range yyq2221 { + if b { + yynn2221++ + } + } + r.EncodeMapStart(yynn2221) + yynn2221 = 0 + } + if yyr2221 || yy2arr2221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2221[0] { + yym2223 := z.EncBinary() + _ = yym2223 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2221[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2224 := z.EncBinary() + _ = yym2224 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2221 || yy2arr2221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2221[1] { + yym2226 := z.EncBinary() + _ = yym2226 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2221[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2227 := z.EncBinary() + _ = yym2227 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2221 || yy2arr2221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2221[2] { + yy2229 := &x.ListMeta + yym2230 := z.EncBinary() + _ = yym2230 + if false { + } else if z.HasExtensions() && z.EncExt(yy2229) { + } else { + z.EncFallback(yy2229) + } + } else { + r.EncodeNil() + } + } else { + if yyq2221[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2231 := &x.ListMeta + yym2232 := z.EncBinary() + _ = yym2232 + if false { + } else if z.HasExtensions() && z.EncExt(yy2231) { + } else { + z.EncFallback(yy2231) + } + } + } + if yyr2221 || yy2arr2221 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2234 := z.EncBinary() + _ = yym2234 + if false { + } else { + h.encSliceEndpoints(([]Endpoints)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2235 := z.EncBinary() + _ = yym2235 + if false { + } else { + h.encSliceEndpoints(([]Endpoints)(x.Items), e) + } + } + } + if yyr2221 || yy2arr2221 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2236 := z.DecBinary() + _ = yym2236 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2237 := r.ContainerType() + if yyct2237 == codecSelferValueTypeMap1234 { + yyl2237 := r.ReadMapStart() + if yyl2237 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2237, d) + } + } else if yyct2237 == codecSelferValueTypeArray1234 { + yyl2237 := r.ReadArrayStart() + if yyl2237 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2237, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2238Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2238Slc + var yyhl2238 bool = l >= 0 + for yyj2238 := 0; ; yyj2238++ { + if yyhl2238 { + if yyj2238 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2238Slc = r.DecodeBytes(yys2238Slc, true, true) + yys2238 := string(yys2238Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2238 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28132,31 +28778,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2198 := &x.ListMeta - yym2199 := z.DecBinary() - _ = yym2199 + yyv2241 := &x.ListMeta + yym2242 := z.DecBinary() + _ = yym2242 if false { - } else if z.HasExtensions() && z.DecExt(yyv2198) { + } else if z.HasExtensions() && z.DecExt(yyv2241) { } else { - z.DecFallback(yyv2198, false) + z.DecFallback(yyv2241, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2200 := &x.Items - yym2201 := z.DecBinary() - _ = yym2201 + yyv2243 := &x.Items + yym2244 := z.DecBinary() + _ = yym2244 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2200), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2243), d) } } default: - z.DecStructFieldNotFound(-1, yys2195) - } // end switch yys2195 - } // end for yyj2195 + z.DecStructFieldNotFound(-1, yys2238) + } // end switch yys2238 + } // end for yyj2238 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28164,16 +28810,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2202 int - var yyb2202 bool - var yyhl2202 bool = l >= 0 - yyj2202++ - if yyhl2202 { - yyb2202 = yyj2202 > l + var yyj2245 int + var yyb2245 bool + var yyhl2245 bool = l >= 0 + yyj2245++ + if yyhl2245 { + yyb2245 = yyj2245 > l } else { - yyb2202 = r.CheckBreak() + yyb2245 = r.CheckBreak() } - if yyb2202 { + if yyb2245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28183,13 +28829,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2202++ - if yyhl2202 { - yyb2202 = yyj2202 > l + yyj2245++ + if yyhl2245 { + yyb2245 = yyj2245 > l } else { - yyb2202 = r.CheckBreak() + yyb2245 = r.CheckBreak() } - if yyb2202 { + if yyb2245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28199,13 +28845,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2202++ - if yyhl2202 { - yyb2202 = yyj2202 > l + yyj2245++ + if yyhl2245 { + yyb2245 = yyj2245 > l } else { - yyb2202 = r.CheckBreak() + yyb2245 = r.CheckBreak() } - if yyb2202 { + if yyb2245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28213,22 +28859,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2205 := &x.ListMeta - yym2206 := z.DecBinary() - _ = yym2206 + yyv2248 := &x.ListMeta + yym2249 := z.DecBinary() + _ = yym2249 if false { - } else if z.HasExtensions() && z.DecExt(yyv2205) { + } else if z.HasExtensions() && z.DecExt(yyv2248) { } else { - z.DecFallback(yyv2205, false) + z.DecFallback(yyv2248, false) } } - yyj2202++ - if yyhl2202 { - yyb2202 = yyj2202 > l + yyj2245++ + if yyhl2245 { + yyb2245 = yyj2245 > l } else { - yyb2202 = r.CheckBreak() + yyb2245 = r.CheckBreak() } - if yyb2202 { + if yyb2245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28236,26 +28882,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2207 := &x.Items - yym2208 := z.DecBinary() - _ = yym2208 + yyv2250 := &x.Items + yym2251 := z.DecBinary() + _ = yym2251 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2207), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2250), d) } } for { - yyj2202++ - if yyhl2202 { - yyb2202 = yyj2202 > l + yyj2245++ + if yyhl2245 { + yyb2245 = yyj2245 > l } else { - yyb2202 = r.CheckBreak() + yyb2245 = r.CheckBreak() } - if yyb2202 { + if yyb2245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2202-1, "") + z.DecStructFieldNotFound(yyj2245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28267,38 +28913,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2209 := z.EncBinary() - _ = yym2209 + yym2252 := z.EncBinary() + _ = yym2252 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2210 := !z.EncBinary() - yy2arr2210 := z.EncBasicHandle().StructToArray - var yyq2210 [4]bool - _, _, _ = yysep2210, yyq2210, yy2arr2210 - const yyr2210 bool = false - yyq2210[0] = x.PodCIDR != "" - yyq2210[1] = x.ExternalID != "" - yyq2210[2] = x.ProviderID != "" - yyq2210[3] = x.Unschedulable != false - var yynn2210 int - if yyr2210 || yy2arr2210 { + yysep2253 := !z.EncBinary() + yy2arr2253 := z.EncBasicHandle().StructToArray + var yyq2253 [4]bool + _, _, _ = yysep2253, yyq2253, yy2arr2253 + const yyr2253 bool = false + yyq2253[0] = x.PodCIDR != "" + yyq2253[1] = x.ExternalID != "" + yyq2253[2] = x.ProviderID != "" + yyq2253[3] = x.Unschedulable != false + var yynn2253 int + if yyr2253 || yy2arr2253 { r.EncodeArrayStart(4) } else { - yynn2210 = 0 - for _, b := range yyq2210 { + yynn2253 = 0 + for _, b := range yyq2253 { if b { - yynn2210++ + yynn2253++ } } - r.EncodeMapStart(yynn2210) - yynn2210 = 0 + r.EncodeMapStart(yynn2253) + yynn2253 = 0 } - if yyr2210 || yy2arr2210 { + if yyr2253 || yy2arr2253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[0] { - yym2212 := z.EncBinary() - _ = yym2212 + if yyq2253[0] { + yym2255 := z.EncBinary() + _ = yym2255 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -28307,23 +28953,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2210[0] { + if yyq2253[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2213 := z.EncBinary() - _ = yym2213 + yym2256 := z.EncBinary() + _ = yym2256 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2210 || yy2arr2210 { + if yyr2253 || yy2arr2253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[1] { - yym2215 := z.EncBinary() - _ = yym2215 + if yyq2253[1] { + yym2258 := z.EncBinary() + _ = yym2258 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -28332,23 +28978,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2210[1] { + if yyq2253[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2216 := z.EncBinary() - _ = yym2216 + yym2259 := z.EncBinary() + _ = yym2259 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2210 || yy2arr2210 { + if yyr2253 || yy2arr2253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[2] { - yym2218 := z.EncBinary() - _ = yym2218 + if yyq2253[2] { + yym2261 := z.EncBinary() + _ = yym2261 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -28357,23 +29003,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2210[2] { + if yyq2253[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2219 := z.EncBinary() - _ = yym2219 + yym2262 := z.EncBinary() + _ = yym2262 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2210 || yy2arr2210 { + if yyr2253 || yy2arr2253 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[3] { - yym2221 := z.EncBinary() - _ = yym2221 + if yyq2253[3] { + yym2264 := z.EncBinary() + _ = yym2264 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -28382,19 +29028,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2210[3] { + if yyq2253[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2222 := z.EncBinary() - _ = yym2222 + yym2265 := z.EncBinary() + _ = yym2265 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2210 || yy2arr2210 { + if yyr2253 || yy2arr2253 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28407,25 +29053,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2223 := z.DecBinary() - _ = yym2223 + yym2266 := z.DecBinary() + _ = yym2266 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2224 := r.ContainerType() - if yyct2224 == codecSelferValueTypeMap1234 { - yyl2224 := r.ReadMapStart() - if yyl2224 == 0 { + yyct2267 := r.ContainerType() + if yyct2267 == codecSelferValueTypeMap1234 { + yyl2267 := r.ReadMapStart() + if yyl2267 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2224, d) + x.codecDecodeSelfFromMap(yyl2267, d) } - } else if yyct2224 == codecSelferValueTypeArray1234 { - yyl2224 := r.ReadArrayStart() - if yyl2224 == 0 { + } else if yyct2267 == codecSelferValueTypeArray1234 { + yyl2267 := r.ReadArrayStart() + if yyl2267 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2224, d) + x.codecDecodeSelfFromArray(yyl2267, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28437,12 +29083,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2225Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2225Slc - var yyhl2225 bool = l >= 0 - for yyj2225 := 0; ; yyj2225++ { - if yyhl2225 { - if yyj2225 >= l { + var yys2268Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2268Slc + var yyhl2268 bool = l >= 0 + for yyj2268 := 0; ; yyj2268++ { + if yyhl2268 { + if yyj2268 >= l { break } } else { @@ -28451,10 +29097,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2225Slc = r.DecodeBytes(yys2225Slc, true, true) - yys2225 := string(yys2225Slc) + yys2268Slc = r.DecodeBytes(yys2268Slc, true, true) + yys2268 := string(yys2268Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2225 { + switch yys2268 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -28480,9 +29126,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2225) - } // end switch yys2225 - } // end for yyj2225 + z.DecStructFieldNotFound(-1, yys2268) + } // end switch yys2268 + } // end for yyj2268 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28490,16 +29136,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2230 int - var yyb2230 bool - var yyhl2230 bool = l >= 0 - yyj2230++ - if yyhl2230 { - yyb2230 = yyj2230 > l + var yyj2273 int + var yyb2273 bool + var yyhl2273 bool = l >= 0 + yyj2273++ + if yyhl2273 { + yyb2273 = yyj2273 > l } else { - yyb2230 = r.CheckBreak() + yyb2273 = r.CheckBreak() } - if yyb2230 { + if yyb2273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28509,13 +29155,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2230++ - if yyhl2230 { - yyb2230 = yyj2230 > l + yyj2273++ + if yyhl2273 { + yyb2273 = yyj2273 > l } else { - yyb2230 = r.CheckBreak() + yyb2273 = r.CheckBreak() } - if yyb2230 { + if yyb2273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28525,13 +29171,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2230++ - if yyhl2230 { - yyb2230 = yyj2230 > l + yyj2273++ + if yyhl2273 { + yyb2273 = yyj2273 > l } else { - yyb2230 = r.CheckBreak() + yyb2273 = r.CheckBreak() } - if yyb2230 { + if yyb2273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28541,13 +29187,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2230++ - if yyhl2230 { - yyb2230 = yyj2230 > l + yyj2273++ + if yyhl2273 { + yyb2273 = yyj2273 > l } else { - yyb2230 = r.CheckBreak() + yyb2273 = r.CheckBreak() } - if yyb2230 { + if yyb2273 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28558,17 +29204,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2230++ - if yyhl2230 { - yyb2230 = yyj2230 > l + yyj2273++ + if yyhl2273 { + yyb2273 = yyj2273 > l } else { - yyb2230 = r.CheckBreak() + yyb2273 = r.CheckBreak() } - if yyb2230 { + if yyb2273 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2230-1, "") + z.DecStructFieldNotFound(yyj2273-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28580,33 +29226,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2235 := z.EncBinary() - _ = yym2235 + yym2278 := z.EncBinary() + _ = yym2278 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2236 := !z.EncBinary() - yy2arr2236 := z.EncBasicHandle().StructToArray - var yyq2236 [1]bool - _, _, _ = yysep2236, yyq2236, yy2arr2236 - const yyr2236 bool = false - var yynn2236 int - if yyr2236 || yy2arr2236 { + yysep2279 := !z.EncBinary() + yy2arr2279 := z.EncBasicHandle().StructToArray + var yyq2279 [1]bool + _, _, _ = yysep2279, yyq2279, yy2arr2279 + const yyr2279 bool = false + var yynn2279 int + if yyr2279 || yy2arr2279 { r.EncodeArrayStart(1) } else { - yynn2236 = 1 - for _, b := range yyq2236 { + yynn2279 = 1 + for _, b := range yyq2279 { if b { - yynn2236++ + yynn2279++ } } - r.EncodeMapStart(yynn2236) - yynn2236 = 0 + r.EncodeMapStart(yynn2279) + yynn2279 = 0 } - if yyr2236 || yy2arr2236 { + if yyr2279 || yy2arr2279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2238 := z.EncBinary() - _ = yym2238 + yym2281 := z.EncBinary() + _ = yym2281 if false { } else { r.EncodeInt(int64(x.Port)) @@ -28615,14 +29261,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2239 := z.EncBinary() - _ = yym2239 + yym2282 := z.EncBinary() + _ = yym2282 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2236 || yy2arr2236 { + if yyr2279 || yy2arr2279 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28632,464 +29278,6 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2240 := z.DecBinary() - _ = yym2240 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2241 := r.ContainerType() - if yyct2241 == codecSelferValueTypeMap1234 { - yyl2241 := r.ReadMapStart() - if yyl2241 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2241, d) - } - } else if yyct2241 == codecSelferValueTypeArray1234 { - yyl2241 := r.ReadArrayStart() - if yyl2241 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2241, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2242Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2242Slc - var yyhl2242 bool = l >= 0 - for yyj2242 := 0; ; yyj2242++ { - if yyhl2242 { - if yyj2242 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2242Slc = r.DecodeBytes(yys2242Slc, true, true) - yys2242 := string(yys2242Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2242 { - case "Port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - default: - z.DecStructFieldNotFound(-1, yys2242) - } // end switch yys2242 - } // end for yyj2242 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2244 int - var yyb2244 bool - var yyhl2244 bool = l >= 0 - yyj2244++ - if yyhl2244 { - yyb2244 = yyj2244 > l - } else { - yyb2244 = r.CheckBreak() - } - if yyb2244 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int(r.DecodeInt(codecSelferBitsize1234)) - } - for { - yyj2244++ - if yyhl2244 { - yyb2244 = yyj2244 > l - } else { - yyb2244 = r.CheckBreak() - } - if yyb2244 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2244-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeDaemonEndpoints) 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 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2247 := !z.EncBinary() - yy2arr2247 := z.EncBasicHandle().StructToArray - var yyq2247 [1]bool - _, _, _ = yysep2247, yyq2247, yy2arr2247 - const yyr2247 bool = false - yyq2247[0] = true - var yynn2247 int - if yyr2247 || yy2arr2247 { - r.EncodeArrayStart(1) - } else { - yynn2247 = 0 - for _, b := range yyq2247 { - if b { - yynn2247++ - } - } - r.EncodeMapStart(yynn2247) - yynn2247 = 0 - } - if yyr2247 || yy2arr2247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2247[0] { - yy2249 := &x.KubeletEndpoint - yy2249.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2247[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2250 := &x.KubeletEndpoint - yy2250.CodecEncodeSelf(e) - } - } - if yyr2247 || yy2arr2247 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2251 := z.DecBinary() - _ = yym2251 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2252 := r.ContainerType() - if yyct2252 == codecSelferValueTypeMap1234 { - yyl2252 := r.ReadMapStart() - if yyl2252 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2252, d) - } - } else if yyct2252 == codecSelferValueTypeArray1234 { - yyl2252 := r.ReadArrayStart() - if yyl2252 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2252, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2253Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2253Slc - var yyhl2253 bool = l >= 0 - for yyj2253 := 0; ; yyj2253++ { - if yyhl2253 { - if yyj2253 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2253Slc = r.DecodeBytes(yys2253Slc, true, true) - yys2253 := string(yys2253Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2253 { - case "kubeletEndpoint": - if r.TryDecodeAsNil() { - x.KubeletEndpoint = DaemonEndpoint{} - } else { - yyv2254 := &x.KubeletEndpoint - yyv2254.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2253) - } // end switch yys2253 - } // end for yyj2253 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2255 int - var yyb2255 bool - var yyhl2255 bool = l >= 0 - yyj2255++ - if yyhl2255 { - yyb2255 = yyj2255 > l - } else { - yyb2255 = r.CheckBreak() - } - if yyb2255 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeletEndpoint = DaemonEndpoint{} - } else { - yyv2256 := &x.KubeletEndpoint - yyv2256.CodecDecodeSelf(d) - } - for { - yyj2255++ - if yyhl2255 { - yyb2255 = yyj2255 > l - } else { - yyb2255 = r.CheckBreak() - } - if yyb2255 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2255-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2257 := z.EncBinary() - _ = yym2257 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2258 := !z.EncBinary() - yy2arr2258 := z.EncBasicHandle().StructToArray - var yyq2258 [8]bool - _, _, _ = yysep2258, yyq2258, yy2arr2258 - const yyr2258 bool = false - var yynn2258 int - if yyr2258 || yy2arr2258 { - r.EncodeArrayStart(8) - } else { - yynn2258 = 8 - for _, b := range yyq2258 { - if b { - yynn2258++ - } - } - r.EncodeMapStart(yynn2258) - yynn2258 = 0 - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2260 := z.EncBinary() - _ = yym2260 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("machineID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2261 := z.EncBinary() - _ = yym2261 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2263 := z.EncBinary() - _ = yym2263 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2264 := z.EncBinary() - _ = yym2264 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2266 := z.EncBinary() - _ = yym2266 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("bootID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2267 := z.EncBinary() - _ = yym2267 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2269 := z.EncBinary() - _ = yym2269 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2270 := z.EncBinary() - _ = yym2270 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2272 := z.EncBinary() - _ = yym2272 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("osImage")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2273 := z.EncBinary() - _ = yym2273 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2275 := z.EncBinary() - _ = yym2275 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2276 := z.EncBinary() - _ = yym2276 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2278 := z.EncBinary() - _ = yym2278 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2279 := z.EncBinary() - _ = yym2279 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2281 := z.EncBinary() - _ = yym2281 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2282 := z.EncBinary() - _ = yym2282 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) - } - } - if yyr2258 || yy2arr2258 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -29119,7 +29307,7 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -29141,6 +29329,464 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2285 := string(yys2285Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2285 { + case "Port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) + } + default: + z.DecStructFieldNotFound(-1, yys2285) + } // end switch yys2285 + } // end for yyj2285 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2287 int + var yyb2287 bool + var yyhl2287 bool = l >= 0 + yyj2287++ + if yyhl2287 { + yyb2287 = yyj2287 > l + } else { + yyb2287 = r.CheckBreak() + } + if yyb2287 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int(r.DecodeInt(codecSelferBitsize1234)) + } + for { + yyj2287++ + if yyhl2287 { + yyb2287 = yyj2287 > l + } else { + yyb2287 = r.CheckBreak() + } + if yyb2287 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2287-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2289 := z.EncBinary() + _ = yym2289 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2290 := !z.EncBinary() + yy2arr2290 := z.EncBasicHandle().StructToArray + var yyq2290 [1]bool + _, _, _ = yysep2290, yyq2290, yy2arr2290 + const yyr2290 bool = false + yyq2290[0] = true + var yynn2290 int + if yyr2290 || yy2arr2290 { + r.EncodeArrayStart(1) + } else { + yynn2290 = 0 + for _, b := range yyq2290 { + if b { + yynn2290++ + } + } + r.EncodeMapStart(yynn2290) + yynn2290 = 0 + } + if yyr2290 || yy2arr2290 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2290[0] { + yy2292 := &x.KubeletEndpoint + yy2292.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2290[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2293 := &x.KubeletEndpoint + yy2293.CodecEncodeSelf(e) + } + } + if yyr2290 || yy2arr2290 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2294 := z.DecBinary() + _ = yym2294 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2295 := r.ContainerType() + if yyct2295 == codecSelferValueTypeMap1234 { + yyl2295 := r.ReadMapStart() + if yyl2295 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2295, d) + } + } else if yyct2295 == codecSelferValueTypeArray1234 { + yyl2295 := r.ReadArrayStart() + if yyl2295 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2295, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2296Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2296Slc + var yyhl2296 bool = l >= 0 + for yyj2296 := 0; ; yyj2296++ { + if yyhl2296 { + if yyj2296 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2296Slc = r.DecodeBytes(yys2296Slc, true, true) + yys2296 := string(yys2296Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2296 { + case "kubeletEndpoint": + if r.TryDecodeAsNil() { + x.KubeletEndpoint = DaemonEndpoint{} + } else { + yyv2297 := &x.KubeletEndpoint + yyv2297.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys2296) + } // end switch yys2296 + } // end for yyj2296 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2298 int + var yyb2298 bool + var yyhl2298 bool = l >= 0 + yyj2298++ + if yyhl2298 { + yyb2298 = yyj2298 > l + } else { + yyb2298 = r.CheckBreak() + } + if yyb2298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeletEndpoint = DaemonEndpoint{} + } else { + yyv2299 := &x.KubeletEndpoint + yyv2299.CodecDecodeSelf(d) + } + for { + yyj2298++ + if yyhl2298 { + yyb2298 = yyj2298 > l + } else { + yyb2298 = r.CheckBreak() + } + if yyb2298 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2298-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2300 := z.EncBinary() + _ = yym2300 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2301 := !z.EncBinary() + yy2arr2301 := z.EncBasicHandle().StructToArray + var yyq2301 [8]bool + _, _, _ = yysep2301, yyq2301, yy2arr2301 + const yyr2301 bool = false + var yynn2301 int + if yyr2301 || yy2arr2301 { + r.EncodeArrayStart(8) + } else { + yynn2301 = 8 + for _, b := range yyq2301 { + if b { + yynn2301++ + } + } + r.EncodeMapStart(yynn2301) + yynn2301 = 0 + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2303 := z.EncBinary() + _ = yym2303 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("machineID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2304 := z.EncBinary() + _ = yym2304 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2306 := z.EncBinary() + _ = yym2306 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2307 := z.EncBinary() + _ = yym2307 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2309 := z.EncBinary() + _ = yym2309 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("bootID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2310 := z.EncBinary() + _ = yym2310 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2312 := z.EncBinary() + _ = yym2312 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2313 := z.EncBinary() + _ = yym2313 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2315 := z.EncBinary() + _ = yym2315 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("osImage")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2316 := z.EncBinary() + _ = yym2316 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2318 := z.EncBinary() + _ = yym2318 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2319 := z.EncBinary() + _ = yym2319 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2321 := z.EncBinary() + _ = yym2321 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2322 := z.EncBinary() + _ = yym2322 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2324 := z.EncBinary() + _ = yym2324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2325 := z.EncBinary() + _ = yym2325 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) + } + } + if yyr2301 || yy2arr2301 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2326 := z.DecBinary() + _ = yym2326 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2327 := r.ContainerType() + if yyct2327 == codecSelferValueTypeMap1234 { + yyl2327 := r.ReadMapStart() + if yyl2327 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2327, d) + } + } else if yyct2327 == codecSelferValueTypeArray1234 { + yyl2327 := r.ReadArrayStart() + if yyl2327 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2327, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2328Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2328Slc + var yyhl2328 bool = l >= 0 + for yyj2328 := 0; ; yyj2328++ { + if yyhl2328 { + if yyj2328 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2328Slc = r.DecodeBytes(yys2328Slc, true, true) + yys2328 := string(yys2328Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2328 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -29190,9 +29836,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2285) - } // end switch yys2285 - } // end for yyj2285 + z.DecStructFieldNotFound(-1, yys2328) + } // end switch yys2328 + } // end for yyj2328 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29200,16 +29846,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2294 int - var yyb2294 bool - var yyhl2294 bool = l >= 0 - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + var yyj2337 int + var yyb2337 bool + var yyhl2337 bool = l >= 0 + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29219,13 +29865,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29235,13 +29881,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29251,13 +29897,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29267,13 +29913,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29283,13 +29929,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29299,13 +29945,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29315,13 +29961,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29332,17 +29978,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } for { - yyj2294++ - if yyhl2294 { - yyb2294 = yyj2294 > l + yyj2337++ + if yyhl2337 { + yyb2337 = yyj2337 > l } else { - yyb2294 = r.CheckBreak() + yyb2337 = r.CheckBreak() } - if yyb2294 { + if yyb2337 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2294-1, "") + z.DecStructFieldNotFound(yyj2337-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29354,39 +30000,39 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2303 := z.EncBinary() - _ = yym2303 + yym2346 := z.EncBinary() + _ = yym2346 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2304 := !z.EncBinary() - yy2arr2304 := z.EncBasicHandle().StructToArray - var yyq2304 [7]bool - _, _, _ = yysep2304, yyq2304, yy2arr2304 - const yyr2304 bool = false - yyq2304[0] = len(x.Capacity) != 0 - yyq2304[1] = len(x.Allocatable) != 0 - yyq2304[2] = x.Phase != "" - yyq2304[3] = len(x.Conditions) != 0 - yyq2304[4] = len(x.Addresses) != 0 - yyq2304[5] = true - yyq2304[6] = true - var yynn2304 int - if yyr2304 || yy2arr2304 { + yysep2347 := !z.EncBinary() + yy2arr2347 := z.EncBasicHandle().StructToArray + var yyq2347 [7]bool + _, _, _ = yysep2347, yyq2347, yy2arr2347 + const yyr2347 bool = false + yyq2347[0] = len(x.Capacity) != 0 + yyq2347[1] = len(x.Allocatable) != 0 + yyq2347[2] = x.Phase != "" + yyq2347[3] = len(x.Conditions) != 0 + yyq2347[4] = len(x.Addresses) != 0 + yyq2347[5] = true + yyq2347[6] = true + var yynn2347 int + if yyr2347 || yy2arr2347 { r.EncodeArrayStart(7) } else { - yynn2304 = 0 - for _, b := range yyq2304 { + yynn2347 = 0 + for _, b := range yyq2347 { if b { - yynn2304++ + yynn2347++ } } - r.EncodeMapStart(yynn2304) - yynn2304 = 0 + r.EncodeMapStart(yynn2347) + yynn2347 = 0 } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[0] { + if yyq2347[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -29396,7 +30042,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2304[0] { + if yyq2347[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29407,9 +30053,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[1] { + if yyq2347[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -29419,7 +30065,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2304[1] { + if yyq2347[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29430,29 +30076,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[2] { + if yyq2347[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2304[2] { + if yyq2347[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[3] { + if yyq2347[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym2309 := z.EncBinary() - _ = yym2309 + yym2352 := z.EncBinary() + _ = yym2352 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -29462,15 +30108,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2304[3] { + if yyq2347[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2310 := z.EncBinary() - _ = yym2310 + yym2353 := z.EncBinary() + _ = yym2353 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -29478,14 +30124,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[4] { + if yyq2347[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym2312 := z.EncBinary() - _ = yym2312 + yym2355 := z.EncBinary() + _ = yym2355 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -29495,15 +30141,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2304[4] { + if yyq2347[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2313 := z.EncBinary() - _ = yym2313 + yym2356 := z.EncBinary() + _ = yym2356 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -29511,41 +30157,41 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[5] { - yy2315 := &x.DaemonEndpoints - yy2315.CodecEncodeSelf(e) + if yyq2347[5] { + yy2358 := &x.DaemonEndpoints + yy2358.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2304[5] { + if yyq2347[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2316 := &x.DaemonEndpoints - yy2316.CodecEncodeSelf(e) + yy2359 := &x.DaemonEndpoints + yy2359.CodecEncodeSelf(e) } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2304[6] { - yy2318 := &x.NodeInfo - yy2318.CodecEncodeSelf(e) + if yyq2347[6] { + yy2361 := &x.NodeInfo + yy2361.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2304[6] { + if yyq2347[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2319 := &x.NodeInfo - yy2319.CodecEncodeSelf(e) + yy2362 := &x.NodeInfo + yy2362.CodecEncodeSelf(e) } } - if yyr2304 || yy2arr2304 { + if yyr2347 || yy2arr2347 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29558,25 +30204,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2320 := z.DecBinary() - _ = yym2320 + yym2363 := z.DecBinary() + _ = yym2363 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2321 := r.ContainerType() - if yyct2321 == codecSelferValueTypeMap1234 { - yyl2321 := r.ReadMapStart() - if yyl2321 == 0 { + yyct2364 := r.ContainerType() + if yyct2364 == codecSelferValueTypeMap1234 { + yyl2364 := r.ReadMapStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2321, d) + x.codecDecodeSelfFromMap(yyl2364, d) } - } else if yyct2321 == codecSelferValueTypeArray1234 { - yyl2321 := r.ReadArrayStart() - if yyl2321 == 0 { + } else if yyct2364 == codecSelferValueTypeArray1234 { + yyl2364 := r.ReadArrayStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2321, d) + x.codecDecodeSelfFromArray(yyl2364, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29588,12 +30234,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2322Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2322Slc - var yyhl2322 bool = l >= 0 - for yyj2322 := 0; ; yyj2322++ { - if yyhl2322 { - if yyj2322 >= 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 { @@ -29602,23 +30248,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2322Slc = r.DecodeBytes(yys2322Slc, true, true) - yys2322 := string(yys2322Slc) + yys2365Slc = r.DecodeBytes(yys2365Slc, true, true) + yys2365 := string(yys2365Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2322 { + switch yys2365 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2323 := &x.Capacity - yyv2323.CodecDecodeSelf(d) + yyv2366 := &x.Capacity + yyv2366.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2324 := &x.Allocatable - yyv2324.CodecDecodeSelf(d) + yyv2367 := &x.Allocatable + yyv2367.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -29630,44 +30276,44 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2326 := &x.Conditions - yym2327 := z.DecBinary() - _ = yym2327 + yyv2369 := &x.Conditions + yym2370 := z.DecBinary() + _ = yym2370 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2326), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2369), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2328 := &x.Addresses - yym2329 := z.DecBinary() - _ = yym2329 + yyv2371 := &x.Addresses + yym2372 := z.DecBinary() + _ = yym2372 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2328), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2371), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2330 := &x.DaemonEndpoints - yyv2330.CodecDecodeSelf(d) + yyv2373 := &x.DaemonEndpoints + yyv2373.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2331 := &x.NodeInfo - yyv2331.CodecDecodeSelf(d) + yyv2374 := &x.NodeInfo + yyv2374.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2322) - } // end switch yys2322 - } // end for yyj2322 + z.DecStructFieldNotFound(-1, yys2365) + } // end switch yys2365 + } // end for yyj2365 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29675,16 +30321,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2332 int - var yyb2332 bool - var yyhl2332 bool = l >= 0 - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + var yyj2375 int + var yyb2375 bool + var yyhl2375 bool = l >= 0 + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29692,16 +30338,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2333 := &x.Capacity - yyv2333.CodecDecodeSelf(d) + yyv2376 := &x.Capacity + yyv2376.CodecDecodeSelf(d) } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29709,16 +30355,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2334 := &x.Allocatable - yyv2334.CodecDecodeSelf(d) + yyv2377 := &x.Allocatable + yyv2377.CodecDecodeSelf(d) } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29728,13 +30374,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29742,21 +30388,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2336 := &x.Conditions - yym2337 := z.DecBinary() - _ = yym2337 + yyv2379 := &x.Conditions + yym2380 := z.DecBinary() + _ = yym2380 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2336), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2379), d) } } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29764,21 +30410,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2338 := &x.Addresses - yym2339 := z.DecBinary() - _ = yym2339 + yyv2381 := &x.Addresses + yym2382 := z.DecBinary() + _ = yym2382 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2338), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2381), d) } } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29786,16 +30432,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2340 := &x.DaemonEndpoints - yyv2340.CodecDecodeSelf(d) + yyv2383 := &x.DaemonEndpoints + yyv2383.CodecDecodeSelf(d) } - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29803,21 +30449,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2341 := &x.NodeInfo - yyv2341.CodecDecodeSelf(d) + yyv2384 := &x.NodeInfo + yyv2384.CodecDecodeSelf(d) } for { - yyj2332++ - if yyhl2332 { - yyb2332 = yyj2332 > l + yyj2375++ + if yyhl2375 { + yyb2375 = yyj2375 > l } else { - yyb2332 = r.CheckBreak() + yyb2375 = r.CheckBreak() } - if yyb2332 { + if yyb2375 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2332-1, "") + z.DecStructFieldNotFound(yyj2375-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29826,8 +30472,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2342 := z.EncBinary() - _ = yym2342 + yym2385 := z.EncBinary() + _ = yym2385 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -29839,8 +30485,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2343 := z.DecBinary() - _ = yym2343 + yym2386 := z.DecBinary() + _ = yym2386 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -29852,8 +30498,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2344 := z.EncBinary() - _ = yym2344 + yym2387 := z.EncBinary() + _ = yym2387 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -29865,8 +30511,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2345 := z.DecBinary() - _ = yym2345 + yym2388 := z.DecBinary() + _ = yym2388 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -29881,34 +30527,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2346 := z.EncBinary() - _ = yym2346 + yym2389 := z.EncBinary() + _ = yym2389 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2347 := !z.EncBinary() - yy2arr2347 := z.EncBasicHandle().StructToArray - var yyq2347 [6]bool - _, _, _ = yysep2347, yyq2347, yy2arr2347 - const yyr2347 bool = false - yyq2347[2] = true - yyq2347[3] = true - yyq2347[4] = x.Reason != "" - yyq2347[5] = x.Message != "" - var yynn2347 int - if yyr2347 || yy2arr2347 { + yysep2390 := !z.EncBinary() + yy2arr2390 := z.EncBasicHandle().StructToArray + var yyq2390 [6]bool + _, _, _ = yysep2390, yyq2390, yy2arr2390 + const yyr2390 bool = false + yyq2390[2] = true + yyq2390[3] = true + yyq2390[4] = x.Reason != "" + yyq2390[5] = x.Message != "" + var yynn2390 int + if yyr2390 || yy2arr2390 { r.EncodeArrayStart(6) } else { - yynn2347 = 2 - for _, b := range yyq2347 { + yynn2390 = 2 + for _, b := range yyq2390 { if b { - yynn2347++ + yynn2390++ } } - r.EncodeMapStart(yynn2347) - yynn2347 = 0 + r.EncodeMapStart(yynn2390) + yynn2390 = 0 } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -29917,7 +30563,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -29926,85 +30572,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[2] { - yy2351 := &x.LastHeartbeatTime - yym2352 := z.EncBinary() - _ = yym2352 + if yyq2390[2] { + yy2394 := &x.LastHeartbeatTime + yym2395 := z.EncBinary() + _ = yym2395 if false { - } else if z.HasExtensions() && z.EncExt(yy2351) { - } else if yym2352 { - z.EncBinaryMarshal(yy2351) - } else if !yym2352 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2351) + } else if z.HasExtensions() && z.EncExt(yy2394) { + } else if yym2395 { + z.EncBinaryMarshal(yy2394) + } else if !yym2395 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2394) } else { - z.EncFallback(yy2351) + z.EncFallback(yy2394) } } else { r.EncodeNil() } } else { - if yyq2347[2] { + if yyq2390[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2353 := &x.LastHeartbeatTime - yym2354 := z.EncBinary() - _ = yym2354 + yy2396 := &x.LastHeartbeatTime + yym2397 := z.EncBinary() + _ = yym2397 if false { - } else if z.HasExtensions() && z.EncExt(yy2353) { - } else if yym2354 { - z.EncBinaryMarshal(yy2353) - } else if !yym2354 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2353) + } else if z.HasExtensions() && z.EncExt(yy2396) { + } else if yym2397 { + z.EncBinaryMarshal(yy2396) + } else if !yym2397 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2396) } else { - z.EncFallback(yy2353) + z.EncFallback(yy2396) } } } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[3] { - yy2356 := &x.LastTransitionTime - yym2357 := z.EncBinary() - _ = yym2357 + if yyq2390[3] { + yy2399 := &x.LastTransitionTime + yym2400 := z.EncBinary() + _ = yym2400 if false { - } else if z.HasExtensions() && z.EncExt(yy2356) { - } else if yym2357 { - z.EncBinaryMarshal(yy2356) - } else if !yym2357 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2356) + } else if z.HasExtensions() && z.EncExt(yy2399) { + } else if yym2400 { + z.EncBinaryMarshal(yy2399) + } else if !yym2400 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2399) } else { - z.EncFallback(yy2356) + z.EncFallback(yy2399) } } else { r.EncodeNil() } } else { - if yyq2347[3] { + if yyq2390[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2358 := &x.LastTransitionTime - yym2359 := z.EncBinary() - _ = yym2359 + yy2401 := &x.LastTransitionTime + yym2402 := z.EncBinary() + _ = yym2402 if false { - } else if z.HasExtensions() && z.EncExt(yy2358) { - } else if yym2359 { - z.EncBinaryMarshal(yy2358) - } else if !yym2359 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2358) + } else if z.HasExtensions() && z.EncExt(yy2401) { + } else if yym2402 { + z.EncBinaryMarshal(yy2401) + } else if !yym2402 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2401) } else { - z.EncFallback(yy2358) + z.EncFallback(yy2401) } } } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[4] { - yym2361 := z.EncBinary() - _ = yym2361 + if yyq2390[4] { + yym2404 := z.EncBinary() + _ = yym2404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -30013,23 +30659,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2347[4] { + if yyq2390[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2362 := z.EncBinary() - _ = yym2362 + yym2405 := z.EncBinary() + _ = yym2405 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[5] { - yym2364 := z.EncBinary() - _ = yym2364 + if yyq2390[5] { + yym2407 := z.EncBinary() + _ = yym2407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -30038,19 +30684,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2347[5] { + if yyq2390[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2365 := z.EncBinary() - _ = yym2365 + yym2408 := z.EncBinary() + _ = yym2408 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2347 || yy2arr2347 { + if yyr2390 || yy2arr2390 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30063,25 +30709,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2366 := z.DecBinary() - _ = yym2366 + yym2409 := z.DecBinary() + _ = yym2409 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2367 := r.ContainerType() - if yyct2367 == codecSelferValueTypeMap1234 { - yyl2367 := r.ReadMapStart() - if yyl2367 == 0 { + yyct2410 := r.ContainerType() + if yyct2410 == codecSelferValueTypeMap1234 { + yyl2410 := r.ReadMapStart() + if yyl2410 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2367, d) + x.codecDecodeSelfFromMap(yyl2410, d) } - } else if yyct2367 == codecSelferValueTypeArray1234 { - yyl2367 := r.ReadArrayStart() - if yyl2367 == 0 { + } else if yyct2410 == codecSelferValueTypeArray1234 { + yyl2410 := r.ReadArrayStart() + if yyl2410 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2367, d) + x.codecDecodeSelfFromArray(yyl2410, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30093,12 +30739,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2368Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2368Slc - var yyhl2368 bool = l >= 0 - for yyj2368 := 0; ; yyj2368++ { - if yyhl2368 { - if yyj2368 >= l { + var yys2411Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2411Slc + var yyhl2411 bool = l >= 0 + for yyj2411 := 0; ; yyj2411++ { + if yyhl2411 { + if yyj2411 >= l { break } } else { @@ -30107,10 +30753,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2368Slc = r.DecodeBytes(yys2368Slc, true, true) - yys2368 := string(yys2368Slc) + yys2411Slc = r.DecodeBytes(yys2411Slc, true, true) + yys2411 := string(yys2411Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2368 { + switch yys2411 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -30127,34 +30773,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2371 := &x.LastHeartbeatTime - yym2372 := z.DecBinary() - _ = yym2372 + yyv2414 := &x.LastHeartbeatTime + yym2415 := z.DecBinary() + _ = yym2415 if false { - } else if z.HasExtensions() && z.DecExt(yyv2371) { - } else if yym2372 { - z.DecBinaryUnmarshal(yyv2371) - } else if !yym2372 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2371) + } else if z.HasExtensions() && z.DecExt(yyv2414) { + } else if yym2415 { + z.DecBinaryUnmarshal(yyv2414) + } else if !yym2415 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2414) } else { - z.DecFallback(yyv2371, false) + z.DecFallback(yyv2414, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2373 := &x.LastTransitionTime - yym2374 := z.DecBinary() - _ = yym2374 + yyv2416 := &x.LastTransitionTime + yym2417 := z.DecBinary() + _ = yym2417 if false { - } else if z.HasExtensions() && z.DecExt(yyv2373) { - } else if yym2374 { - z.DecBinaryUnmarshal(yyv2373) - } else if !yym2374 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2373) + } else if z.HasExtensions() && z.DecExt(yyv2416) { + } else if yym2417 { + z.DecBinaryUnmarshal(yyv2416) + } else if !yym2417 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2416) } else { - z.DecFallback(yyv2373, false) + z.DecFallback(yyv2416, false) } } case "reason": @@ -30170,9 +30816,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2368) - } // end switch yys2368 - } // end for yyj2368 + z.DecStructFieldNotFound(-1, yys2411) + } // end switch yys2411 + } // end for yyj2411 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30180,16 +30826,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2377 int - var yyb2377 bool - var yyhl2377 bool = l >= 0 - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + var yyj2420 int + var yyb2420 bool + var yyhl2420 bool = l >= 0 + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30199,13 +30845,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30215,13 +30861,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30229,26 +30875,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2380 := &x.LastHeartbeatTime - yym2381 := z.DecBinary() - _ = yym2381 + yyv2423 := &x.LastHeartbeatTime + yym2424 := z.DecBinary() + _ = yym2424 if false { - } else if z.HasExtensions() && z.DecExt(yyv2380) { - } else if yym2381 { - z.DecBinaryUnmarshal(yyv2380) - } else if !yym2381 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2380) + } else if z.HasExtensions() && z.DecExt(yyv2423) { + } else if yym2424 { + z.DecBinaryUnmarshal(yyv2423) + } else if !yym2424 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2423) } else { - z.DecFallback(yyv2380, false) + z.DecFallback(yyv2423, false) } } - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30256,26 +30902,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2382 := &x.LastTransitionTime - yym2383 := z.DecBinary() - _ = yym2383 + yyv2425 := &x.LastTransitionTime + yym2426 := z.DecBinary() + _ = yym2426 if false { - } else if z.HasExtensions() && z.DecExt(yyv2382) { - } else if yym2383 { - z.DecBinaryUnmarshal(yyv2382) - } else if !yym2383 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2382) + } else if z.HasExtensions() && z.DecExt(yyv2425) { + } else if yym2426 { + z.DecBinaryUnmarshal(yyv2425) + } else if !yym2426 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2425) } else { - z.DecFallback(yyv2382, false) + z.DecFallback(yyv2425, false) } } - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30285,13 +30931,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30302,17 +30948,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj2377++ - if yyhl2377 { - yyb2377 = yyj2377 > l + yyj2420++ + if yyhl2420 { + yyb2420 = yyj2420 > l } else { - yyb2377 = r.CheckBreak() + yyb2420 = r.CheckBreak() } - if yyb2377 { + if yyb2420 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2377-1, "") + z.DecStructFieldNotFound(yyj2420-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30321,8 +30967,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2386 := z.EncBinary() - _ = yym2386 + yym2429 := z.EncBinary() + _ = yym2429 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30334,8 +30980,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2387 := z.DecBinary() - _ = yym2387 + yym2430 := z.DecBinary() + _ = yym2430 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30350,30 +30996,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2388 := z.EncBinary() - _ = yym2388 + yym2431 := z.EncBinary() + _ = yym2431 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2389 := !z.EncBinary() - yy2arr2389 := z.EncBasicHandle().StructToArray - var yyq2389 [2]bool - _, _, _ = yysep2389, yyq2389, yy2arr2389 - const yyr2389 bool = false - var yynn2389 int - if yyr2389 || yy2arr2389 { + yysep2432 := !z.EncBinary() + yy2arr2432 := z.EncBasicHandle().StructToArray + var yyq2432 [2]bool + _, _, _ = yysep2432, yyq2432, yy2arr2432 + const yyr2432 bool = false + var yynn2432 int + if yyr2432 || yy2arr2432 { r.EncodeArrayStart(2) } else { - yynn2389 = 2 - for _, b := range yyq2389 { + yynn2432 = 2 + for _, b := range yyq2432 { if b { - yynn2389++ + yynn2432++ } } - r.EncodeMapStart(yynn2389) - yynn2389 = 0 + r.EncodeMapStart(yynn2432) + yynn2432 = 0 } - if yyr2389 || yy2arr2389 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -30382,10 +31028,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2389 || yy2arr2389 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2392 := z.EncBinary() - _ = yym2392 + yym2435 := z.EncBinary() + _ = yym2435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -30394,14 +31040,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2393 := z.EncBinary() - _ = yym2393 + yym2436 := z.EncBinary() + _ = yym2436 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2389 || yy2arr2389 { + if yyr2432 || yy2arr2432 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30414,25 +31060,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2394 := z.DecBinary() - _ = yym2394 + yym2437 := z.DecBinary() + _ = yym2437 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2395 := r.ContainerType() - if yyct2395 == codecSelferValueTypeMap1234 { - yyl2395 := r.ReadMapStart() - if yyl2395 == 0 { + yyct2438 := r.ContainerType() + if yyct2438 == codecSelferValueTypeMap1234 { + yyl2438 := r.ReadMapStart() + if yyl2438 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2395, d) + x.codecDecodeSelfFromMap(yyl2438, d) } - } else if yyct2395 == codecSelferValueTypeArray1234 { - yyl2395 := r.ReadArrayStart() - if yyl2395 == 0 { + } else if yyct2438 == codecSelferValueTypeArray1234 { + yyl2438 := r.ReadArrayStart() + if yyl2438 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2395, d) + x.codecDecodeSelfFromArray(yyl2438, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30444,12 +31090,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2396Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2396Slc - var yyhl2396 bool = l >= 0 - for yyj2396 := 0; ; yyj2396++ { - if yyhl2396 { - if yyj2396 >= l { + var yys2439Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2439Slc + var yyhl2439 bool = l >= 0 + for yyj2439 := 0; ; yyj2439++ { + if yyhl2439 { + if yyj2439 >= l { break } } else { @@ -30458,10 +31104,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2396Slc = r.DecodeBytes(yys2396Slc, true, true) - yys2396 := string(yys2396Slc) + yys2439Slc = r.DecodeBytes(yys2439Slc, true, true) + yys2439 := string(yys2439Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2396 { + switch yys2439 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -30475,9 +31121,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2396) - } // end switch yys2396 - } // end for yyj2396 + z.DecStructFieldNotFound(-1, yys2439) + } // end switch yys2439 + } // end for yyj2439 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30485,16 +31131,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2399 int - var yyb2399 bool - var yyhl2399 bool = l >= 0 - yyj2399++ - if yyhl2399 { - yyb2399 = yyj2399 > l + var yyj2442 int + var yyb2442 bool + var yyhl2442 bool = l >= 0 + yyj2442++ + if yyhl2442 { + yyb2442 = yyj2442 > l } else { - yyb2399 = r.CheckBreak() + yyb2442 = r.CheckBreak() } - if yyb2399 { + if yyb2442 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30504,13 +31150,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj2399++ - if yyhl2399 { - yyb2399 = yyj2399 > l + yyj2442++ + if yyhl2442 { + yyb2442 = yyj2442 > l } else { - yyb2399 = r.CheckBreak() + yyb2442 = r.CheckBreak() } - if yyb2399 { + if yyb2442 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30521,17 +31167,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj2399++ - if yyhl2399 { - yyb2399 = yyj2399 > l + yyj2442++ + if yyhl2442 { + yyb2442 = yyj2442 > l } else { - yyb2399 = r.CheckBreak() + yyb2442 = r.CheckBreak() } - if yyb2399 { + if yyb2442 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2399-1, "") + z.DecStructFieldNotFound(yyj2442-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30543,33 +31189,33 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2402 := z.EncBinary() - _ = yym2402 + yym2445 := z.EncBinary() + _ = yym2445 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2403 := !z.EncBinary() - yy2arr2403 := z.EncBasicHandle().StructToArray - var yyq2403 [1]bool - _, _, _ = yysep2403, yyq2403, yy2arr2403 - const yyr2403 bool = false - yyq2403[0] = len(x.Capacity) != 0 - var yynn2403 int - if yyr2403 || yy2arr2403 { + yysep2446 := !z.EncBinary() + yy2arr2446 := z.EncBasicHandle().StructToArray + var yyq2446 [1]bool + _, _, _ = yysep2446, yyq2446, yy2arr2446 + const yyr2446 bool = false + yyq2446[0] = len(x.Capacity) != 0 + var yynn2446 int + if yyr2446 || yy2arr2446 { r.EncodeArrayStart(1) } else { - yynn2403 = 0 - for _, b := range yyq2403 { + yynn2446 = 0 + for _, b := range yyq2446 { if b { - yynn2403++ + yynn2446++ } } - r.EncodeMapStart(yynn2403) - yynn2403 = 0 + r.EncodeMapStart(yynn2446) + yynn2446 = 0 } - if yyr2403 || yy2arr2403 { + if yyr2446 || yy2arr2446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2403[0] { + if yyq2446[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -30579,7 +31225,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2403[0] { + if yyq2446[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -30590,7 +31236,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2403 || yy2arr2403 { + if yyr2446 || yy2arr2446 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30603,25 +31249,25 @@ func (x *NodeResources) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2405 := z.DecBinary() - _ = yym2405 + yym2448 := z.DecBinary() + _ = yym2448 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2406 := r.ContainerType() - if yyct2406 == codecSelferValueTypeMap1234 { - yyl2406 := r.ReadMapStart() - if yyl2406 == 0 { + yyct2449 := r.ContainerType() + if yyct2449 == codecSelferValueTypeMap1234 { + yyl2449 := r.ReadMapStart() + if yyl2449 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2406, d) + x.codecDecodeSelfFromMap(yyl2449, d) } - } else if yyct2406 == codecSelferValueTypeArray1234 { - yyl2406 := r.ReadArrayStart() - if yyl2406 == 0 { + } else if yyct2449 == codecSelferValueTypeArray1234 { + yyl2449 := r.ReadArrayStart() + if yyl2449 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2406, d) + x.codecDecodeSelfFromArray(yyl2449, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30633,12 +31279,12 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2407Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2407Slc - var yyhl2407 bool = l >= 0 - for yyj2407 := 0; ; yyj2407++ { - if yyhl2407 { - if yyj2407 >= l { + var yys2450Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2450Slc + var yyhl2450 bool = l >= 0 + for yyj2450 := 0; ; yyj2450++ { + if yyhl2450 { + if yyj2450 >= l { break } } else { @@ -30647,21 +31293,21 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2407Slc = r.DecodeBytes(yys2407Slc, true, true) - yys2407 := string(yys2407Slc) + yys2450Slc = r.DecodeBytes(yys2450Slc, true, true) + yys2450 := string(yys2450Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2407 { + switch yys2450 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2408 := &x.Capacity - yyv2408.CodecDecodeSelf(d) + yyv2451 := &x.Capacity + yyv2451.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2407) - } // end switch yys2407 - } // end for yyj2407 + z.DecStructFieldNotFound(-1, yys2450) + } // end switch yys2450 + } // end for yyj2450 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30669,16 +31315,16 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2409 int - var yyb2409 bool - var yyhl2409 bool = l >= 0 - yyj2409++ - if yyhl2409 { - yyb2409 = yyj2409 > l + var yyj2452 int + var yyb2452 bool + var yyhl2452 bool = l >= 0 + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2409 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2409 { + if yyb2452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30686,21 +31332,21 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2410 := &x.Capacity - yyv2410.CodecDecodeSelf(d) + yyv2453 := &x.Capacity + yyv2453.CodecDecodeSelf(d) } for { - yyj2409++ - if yyhl2409 { - yyb2409 = yyj2409 > l + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l } else { - yyb2409 = r.CheckBreak() + yyb2452 = r.CheckBreak() } - if yyb2409 { + if yyb2452 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2409-1, "") + z.DecStructFieldNotFound(yyj2452-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30709,8 +31355,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2411 := z.EncBinary() - _ = yym2411 + yym2454 := z.EncBinary() + _ = yym2454 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30722,8 +31368,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2412 := z.DecBinary() - _ = yym2412 + yym2455 := z.DecBinary() + _ = yym2455 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30738,8 +31384,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2413 := z.EncBinary() - _ = yym2413 + yym2456 := z.EncBinary() + _ = yym2456 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30752,8 +31398,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2414 := z.DecBinary() - _ = yym2414 + yym2457 := z.DecBinary() + _ = yym2457 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30768,39 +31414,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2415 := z.EncBinary() - _ = yym2415 + yym2458 := z.EncBinary() + _ = yym2458 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2416 := !z.EncBinary() - yy2arr2416 := z.EncBasicHandle().StructToArray - var yyq2416 [5]bool - _, _, _ = yysep2416, yyq2416, yy2arr2416 - const yyr2416 bool = false - yyq2416[0] = x.Kind != "" - yyq2416[1] = x.APIVersion != "" - yyq2416[2] = true - yyq2416[3] = true - yyq2416[4] = true - var yynn2416 int - if yyr2416 || yy2arr2416 { + yysep2459 := !z.EncBinary() + yy2arr2459 := z.EncBasicHandle().StructToArray + var yyq2459 [5]bool + _, _, _ = yysep2459, yyq2459, yy2arr2459 + const yyr2459 bool = false + yyq2459[0] = x.Kind != "" + yyq2459[1] = x.APIVersion != "" + yyq2459[2] = true + yyq2459[3] = true + yyq2459[4] = true + var yynn2459 int + if yyr2459 || yy2arr2459 { r.EncodeArrayStart(5) } else { - yynn2416 = 0 - for _, b := range yyq2416 { + yynn2459 = 0 + for _, b := range yyq2459 { if b { - yynn2416++ + yynn2459++ } } - r.EncodeMapStart(yynn2416) - yynn2416 = 0 + r.EncodeMapStart(yynn2459) + yynn2459 = 0 } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2416[0] { - yym2418 := z.EncBinary() - _ = yym2418 + if yyq2459[0] { + yym2461 := z.EncBinary() + _ = yym2461 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30809,23 +31455,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2416[0] { + if yyq2459[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2419 := z.EncBinary() - _ = yym2419 + yym2462 := z.EncBinary() + _ = yym2462 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2416[1] { - yym2421 := z.EncBinary() - _ = yym2421 + if yyq2459[1] { + yym2464 := z.EncBinary() + _ = yym2464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30834,70 +31480,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2416[1] { + if yyq2459[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2422 := z.EncBinary() - _ = yym2422 + yym2465 := z.EncBinary() + _ = yym2465 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2416[2] { - yy2424 := &x.ObjectMeta - yy2424.CodecEncodeSelf(e) + if yyq2459[2] { + yy2467 := &x.ObjectMeta + yy2467.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2416[2] { + if yyq2459[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2425 := &x.ObjectMeta - yy2425.CodecEncodeSelf(e) + yy2468 := &x.ObjectMeta + yy2468.CodecEncodeSelf(e) } } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2416[3] { - yy2427 := &x.Spec - yy2427.CodecEncodeSelf(e) + if yyq2459[3] { + yy2470 := &x.Spec + yy2470.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2416[3] { + if yyq2459[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2428 := &x.Spec - yy2428.CodecEncodeSelf(e) + yy2471 := &x.Spec + yy2471.CodecEncodeSelf(e) } } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2416[4] { - yy2430 := &x.Status - yy2430.CodecEncodeSelf(e) + if yyq2459[4] { + yy2473 := &x.Status + yy2473.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2416[4] { + if yyq2459[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2431 := &x.Status - yy2431.CodecEncodeSelf(e) + yy2474 := &x.Status + yy2474.CodecEncodeSelf(e) } } - if yyr2416 || yy2arr2416 { + if yyr2459 || yy2arr2459 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30910,25 +31556,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2432 := z.DecBinary() - _ = yym2432 + yym2475 := z.DecBinary() + _ = yym2475 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2433 := r.ContainerType() - if yyct2433 == codecSelferValueTypeMap1234 { - yyl2433 := r.ReadMapStart() - if yyl2433 == 0 { + yyct2476 := r.ContainerType() + if yyct2476 == codecSelferValueTypeMap1234 { + yyl2476 := r.ReadMapStart() + if yyl2476 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2433, d) + x.codecDecodeSelfFromMap(yyl2476, d) } - } else if yyct2433 == codecSelferValueTypeArray1234 { - yyl2433 := r.ReadArrayStart() - if yyl2433 == 0 { + } else if yyct2476 == codecSelferValueTypeArray1234 { + yyl2476 := r.ReadArrayStart() + if yyl2476 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2433, d) + x.codecDecodeSelfFromArray(yyl2476, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30940,12 +31586,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2434Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2434Slc - var yyhl2434 bool = l >= 0 - for yyj2434 := 0; ; yyj2434++ { - if yyhl2434 { - if yyj2434 >= 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 { @@ -30954,10 +31600,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2434Slc = r.DecodeBytes(yys2434Slc, true, true) - yys2434 := string(yys2434Slc) + yys2477Slc = r.DecodeBytes(yys2477Slc, true, true) + yys2477 := string(yys2477Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2434 { + switch yys2477 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30974,27 +31620,27 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2437 := &x.ObjectMeta - yyv2437.CodecDecodeSelf(d) + yyv2480 := &x.ObjectMeta + yyv2480.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2438 := &x.Spec - yyv2438.CodecDecodeSelf(d) + yyv2481 := &x.Spec + yyv2481.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2439 := &x.Status - yyv2439.CodecDecodeSelf(d) + yyv2482 := &x.Status + yyv2482.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2434) - } // end switch yys2434 - } // end for yyj2434 + z.DecStructFieldNotFound(-1, yys2477) + } // end switch yys2477 + } // end for yyj2477 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31002,16 +31648,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2440 int - var yyb2440 bool - var yyhl2440 bool = l >= 0 - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + var yyj2483 int + var yyb2483 bool + var yyhl2483 bool = l >= 0 + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31021,13 +31667,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31037,13 +31683,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31051,16 +31697,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2443 := &x.ObjectMeta - yyv2443.CodecDecodeSelf(d) + yyv2486 := &x.ObjectMeta + yyv2486.CodecDecodeSelf(d) } - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31068,16 +31714,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2444 := &x.Spec - yyv2444.CodecDecodeSelf(d) + yyv2487 := &x.Spec + yyv2487.CodecDecodeSelf(d) } - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31085,21 +31731,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2445 := &x.Status - yyv2445.CodecDecodeSelf(d) + yyv2488 := &x.Status + yyv2488.CodecDecodeSelf(d) } for { - yyj2440++ - if yyhl2440 { - yyb2440 = yyj2440 > l + yyj2483++ + if yyhl2483 { + yyb2483 = yyj2483 > l } else { - yyb2440 = r.CheckBreak() + yyb2483 = r.CheckBreak() } - if yyb2440 { + if yyb2483 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2440-1, "") + z.DecStructFieldNotFound(yyj2483-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31111,37 +31757,37 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2446 := z.EncBinary() - _ = yym2446 + yym2489 := z.EncBinary() + _ = yym2489 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2447 := !z.EncBinary() - yy2arr2447 := z.EncBasicHandle().StructToArray - var yyq2447 [4]bool - _, _, _ = yysep2447, yyq2447, yy2arr2447 - const yyr2447 bool = false - yyq2447[0] = x.Kind != "" - yyq2447[1] = x.APIVersion != "" - yyq2447[2] = true - var yynn2447 int - if yyr2447 || yy2arr2447 { + yysep2490 := !z.EncBinary() + yy2arr2490 := z.EncBasicHandle().StructToArray + var yyq2490 [4]bool + _, _, _ = yysep2490, yyq2490, yy2arr2490 + const yyr2490 bool = false + yyq2490[0] = x.Kind != "" + yyq2490[1] = x.APIVersion != "" + yyq2490[2] = true + var yynn2490 int + if yyr2490 || yy2arr2490 { r.EncodeArrayStart(4) } else { - yynn2447 = 1 - for _, b := range yyq2447 { + yynn2490 = 1 + for _, b := range yyq2490 { if b { - yynn2447++ + yynn2490++ } } - r.EncodeMapStart(yynn2447) - yynn2447 = 0 + r.EncodeMapStart(yynn2490) + yynn2490 = 0 } - if yyr2447 || yy2arr2447 { + if yyr2490 || yy2arr2490 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2447[0] { - yym2449 := z.EncBinary() - _ = yym2449 + if yyq2490[0] { + yym2492 := z.EncBinary() + _ = yym2492 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31150,23 +31796,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2447[0] { + if yyq2490[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2450 := z.EncBinary() - _ = yym2450 + yym2493 := z.EncBinary() + _ = yym2493 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2447 || yy2arr2447 { + if yyr2490 || yy2arr2490 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2447[1] { - yym2452 := z.EncBinary() - _ = yym2452 + if yyq2490[1] { + yym2495 := z.EncBinary() + _ = yym2495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31175,54 +31821,54 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2447[1] { + if yyq2490[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2453 := z.EncBinary() - _ = yym2453 + yym2496 := z.EncBinary() + _ = yym2496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2447 || yy2arr2447 { + if yyr2490 || yy2arr2490 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2447[2] { - yy2455 := &x.ListMeta - yym2456 := z.EncBinary() - _ = yym2456 + if yyq2490[2] { + yy2498 := &x.ListMeta + yym2499 := z.EncBinary() + _ = yym2499 if false { - } else if z.HasExtensions() && z.EncExt(yy2455) { + } else if z.HasExtensions() && z.EncExt(yy2498) { } else { - z.EncFallback(yy2455) + z.EncFallback(yy2498) } } else { r.EncodeNil() } } else { - if yyq2447[2] { + if yyq2490[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2457 := &x.ListMeta - yym2458 := z.EncBinary() - _ = yym2458 + yy2500 := &x.ListMeta + yym2501 := z.EncBinary() + _ = yym2501 if false { - } else if z.HasExtensions() && z.EncExt(yy2457) { + } else if z.HasExtensions() && z.EncExt(yy2500) { } else { - z.EncFallback(yy2457) + z.EncFallback(yy2500) } } } - if yyr2447 || yy2arr2447 { + if yyr2490 || yy2arr2490 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2460 := z.EncBinary() - _ = yym2460 + yym2503 := z.EncBinary() + _ = yym2503 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -31235,15 +31881,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2461 := z.EncBinary() - _ = yym2461 + yym2504 := z.EncBinary() + _ = yym2504 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2447 || yy2arr2447 { + if yyr2490 || yy2arr2490 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31256,25 +31902,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2462 := z.DecBinary() - _ = yym2462 + yym2505 := z.DecBinary() + _ = yym2505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2463 := r.ContainerType() - if yyct2463 == codecSelferValueTypeMap1234 { - yyl2463 := r.ReadMapStart() - if yyl2463 == 0 { + yyct2506 := r.ContainerType() + if yyct2506 == codecSelferValueTypeMap1234 { + yyl2506 := r.ReadMapStart() + if yyl2506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2463, d) + x.codecDecodeSelfFromMap(yyl2506, d) } - } else if yyct2463 == codecSelferValueTypeArray1234 { - yyl2463 := r.ReadArrayStart() - if yyl2463 == 0 { + } else if yyct2506 == codecSelferValueTypeArray1234 { + yyl2506 := r.ReadArrayStart() + if yyl2506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2463, d) + x.codecDecodeSelfFromArray(yyl2506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31286,12 +31932,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2464Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2464Slc - var yyhl2464 bool = l >= 0 - for yyj2464 := 0; ; yyj2464++ { - if yyhl2464 { - if yyj2464 >= 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 { @@ -31300,10 +31946,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2464Slc = r.DecodeBytes(yys2464Slc, true, true) - yys2464 := string(yys2464Slc) + yys2507Slc = r.DecodeBytes(yys2507Slc, true, true) + yys2507 := string(yys2507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2464 { + switch yys2507 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31320,31 +31966,31 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2467 := &x.ListMeta - yym2468 := z.DecBinary() - _ = yym2468 + yyv2510 := &x.ListMeta + yym2511 := z.DecBinary() + _ = yym2511 if false { - } else if z.HasExtensions() && z.DecExt(yyv2467) { + } else if z.HasExtensions() && z.DecExt(yyv2510) { } else { - z.DecFallback(yyv2467, false) + z.DecFallback(yyv2510, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2469 := &x.Items - yym2470 := z.DecBinary() - _ = yym2470 + yyv2512 := &x.Items + yym2513 := z.DecBinary() + _ = yym2513 if false { } else { - h.decSliceNode((*[]Node)(yyv2469), d) + h.decSliceNode((*[]Node)(yyv2512), d) } } default: - z.DecStructFieldNotFound(-1, yys2464) - } // end switch yys2464 - } // end for yyj2464 + z.DecStructFieldNotFound(-1, yys2507) + } // end switch yys2507 + } // end for yyj2507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31352,16 +31998,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2471 int - var yyb2471 bool - var yyhl2471 bool = l >= 0 - yyj2471++ - if yyhl2471 { - yyb2471 = yyj2471 > l + var yyj2514 int + var yyb2514 bool + var yyhl2514 bool = l >= 0 + yyj2514++ + if yyhl2514 { + yyb2514 = yyj2514 > l } else { - yyb2471 = r.CheckBreak() + yyb2514 = r.CheckBreak() } - if yyb2471 { + if yyb2514 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31371,13 +32017,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2471++ - if yyhl2471 { - yyb2471 = yyj2471 > l + yyj2514++ + if yyhl2514 { + yyb2514 = yyj2514 > l } else { - yyb2471 = r.CheckBreak() + yyb2514 = r.CheckBreak() } - if yyb2471 { + if yyb2514 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31387,13 +32033,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2471++ - if yyhl2471 { - yyb2471 = yyj2471 > l + yyj2514++ + if yyhl2514 { + yyb2514 = yyj2514 > l } else { - yyb2471 = r.CheckBreak() + yyb2514 = r.CheckBreak() } - if yyb2471 { + if yyb2514 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31401,22 +32047,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2474 := &x.ListMeta - yym2475 := z.DecBinary() - _ = yym2475 + yyv2517 := &x.ListMeta + yym2518 := z.DecBinary() + _ = yym2518 if false { - } else if z.HasExtensions() && z.DecExt(yyv2474) { + } else if z.HasExtensions() && z.DecExt(yyv2517) { } else { - z.DecFallback(yyv2474, false) + z.DecFallback(yyv2517, false) } } - yyj2471++ - if yyhl2471 { - yyb2471 = yyj2471 > l + yyj2514++ + if yyhl2514 { + yyb2514 = yyj2514 > l } else { - yyb2471 = r.CheckBreak() + yyb2514 = r.CheckBreak() } - if yyb2471 { + if yyb2514 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31424,26 +32070,26 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2476 := &x.Items - yym2477 := z.DecBinary() - _ = yym2477 + yyv2519 := &x.Items + yym2520 := z.DecBinary() + _ = yym2520 if false { } else { - h.decSliceNode((*[]Node)(yyv2476), d) + h.decSliceNode((*[]Node)(yyv2519), d) } } for { - yyj2471++ - if yyhl2471 { - yyb2471 = yyj2471 > l + yyj2514++ + if yyhl2514 { + yyb2514 = yyj2514 > l } else { - yyb2471 = r.CheckBreak() + yyb2514 = r.CheckBreak() } - if yyb2471 { + if yyb2514 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2471-1, "") + z.DecStructFieldNotFound(yyj2514-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31455,36 +32101,36 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2478 := z.EncBinary() - _ = yym2478 + yym2521 := z.EncBinary() + _ = yym2521 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2479 := !z.EncBinary() - yy2arr2479 := z.EncBasicHandle().StructToArray - var yyq2479 [1]bool - _, _, _ = yysep2479, yyq2479, yy2arr2479 - const yyr2479 bool = false - var yynn2479 int - if yyr2479 || yy2arr2479 { + yysep2522 := !z.EncBinary() + yy2arr2522 := z.EncBasicHandle().StructToArray + var yyq2522 [1]bool + _, _, _ = yysep2522, yyq2522, yy2arr2522 + const yyr2522 bool = false + var yynn2522 int + if yyr2522 || yy2arr2522 { r.EncodeArrayStart(1) } else { - yynn2479 = 1 - for _, b := range yyq2479 { + yynn2522 = 1 + for _, b := range yyq2522 { if b { - yynn2479++ + yynn2522++ } } - r.EncodeMapStart(yynn2479) - yynn2479 = 0 + r.EncodeMapStart(yynn2522) + yynn2522 = 0 } - if yyr2479 || yy2arr2479 { + if yyr2522 || yy2arr2522 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym2481 := z.EncBinary() - _ = yym2481 + yym2524 := z.EncBinary() + _ = yym2524 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -31497,15 +32143,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Finalizers == nil { r.EncodeNil() } else { - yym2482 := z.EncBinary() - _ = yym2482 + yym2525 := z.EncBinary() + _ = yym2525 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) } } } - if yyr2479 || yy2arr2479 { + if yyr2522 || yy2arr2522 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31518,25 +32164,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2483 := z.DecBinary() - _ = yym2483 + yym2526 := z.DecBinary() + _ = yym2526 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2484 := r.ContainerType() - if yyct2484 == codecSelferValueTypeMap1234 { - yyl2484 := r.ReadMapStart() - if yyl2484 == 0 { + yyct2527 := r.ContainerType() + if yyct2527 == codecSelferValueTypeMap1234 { + yyl2527 := r.ReadMapStart() + if yyl2527 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2484, d) + x.codecDecodeSelfFromMap(yyl2527, d) } - } else if yyct2484 == codecSelferValueTypeArray1234 { - yyl2484 := r.ReadArrayStart() - if yyl2484 == 0 { + } else if yyct2527 == codecSelferValueTypeArray1234 { + yyl2527 := r.ReadArrayStart() + if yyl2527 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2484, d) + x.codecDecodeSelfFromArray(yyl2527, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31548,12 +32194,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2485Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2485Slc - var yyhl2485 bool = l >= 0 - for yyj2485 := 0; ; yyj2485++ { - if yyhl2485 { - if yyj2485 >= l { + var yys2528Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2528Slc + var yyhl2528 bool = l >= 0 + for yyj2528 := 0; ; yyj2528++ { + if yyhl2528 { + if yyj2528 >= l { break } } else { @@ -31562,26 +32208,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2485Slc = r.DecodeBytes(yys2485Slc, true, true) - yys2485 := string(yys2485Slc) + yys2528Slc = r.DecodeBytes(yys2528Slc, true, true) + yys2528 := string(yys2528Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2485 { + switch yys2528 { case "Finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2486 := &x.Finalizers - yym2487 := z.DecBinary() - _ = yym2487 + yyv2529 := &x.Finalizers + yym2530 := z.DecBinary() + _ = yym2530 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2486), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2529), d) } } default: - z.DecStructFieldNotFound(-1, yys2485) - } // end switch yys2485 - } // end for yyj2485 + z.DecStructFieldNotFound(-1, yys2528) + } // end switch yys2528 + } // end for yyj2528 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31589,16 +32235,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2488 int - var yyb2488 bool - var yyhl2488 bool = l >= 0 - yyj2488++ - if yyhl2488 { - yyb2488 = yyj2488 > l + var yyj2531 int + var yyb2531 bool + var yyhl2531 bool = l >= 0 + yyj2531++ + if yyhl2531 { + yyb2531 = yyj2531 > l } else { - yyb2488 = r.CheckBreak() + yyb2531 = r.CheckBreak() } - if yyb2488 { + if yyb2531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31606,26 +32252,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2489 := &x.Finalizers - yym2490 := z.DecBinary() - _ = yym2490 + yyv2532 := &x.Finalizers + yym2533 := z.DecBinary() + _ = yym2533 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2489), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2532), d) } } for { - yyj2488++ - if yyhl2488 { - yyb2488 = yyj2488 > l + yyj2531++ + if yyhl2531 { + yyb2531 = yyj2531 > l } else { - yyb2488 = r.CheckBreak() + yyb2531 = r.CheckBreak() } - if yyb2488 { + if yyb2531 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2488-1, "") + z.DecStructFieldNotFound(yyj2531-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31634,8 +32280,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2491 := z.EncBinary() - _ = yym2491 + yym2534 := z.EncBinary() + _ = yym2534 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31647,8 +32293,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2492 := z.DecBinary() - _ = yym2492 + yym2535 := z.DecBinary() + _ = yym2535 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31663,46 +32309,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2493 := z.EncBinary() - _ = yym2493 + yym2536 := z.EncBinary() + _ = yym2536 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2494 := !z.EncBinary() - yy2arr2494 := z.EncBasicHandle().StructToArray - var yyq2494 [1]bool - _, _, _ = yysep2494, yyq2494, yy2arr2494 - const yyr2494 bool = false - yyq2494[0] = x.Phase != "" - var yynn2494 int - if yyr2494 || yy2arr2494 { + yysep2537 := !z.EncBinary() + yy2arr2537 := z.EncBasicHandle().StructToArray + var yyq2537 [1]bool + _, _, _ = yysep2537, yyq2537, yy2arr2537 + const yyr2537 bool = false + yyq2537[0] = x.Phase != "" + var yynn2537 int + if yyr2537 || yy2arr2537 { r.EncodeArrayStart(1) } else { - yynn2494 = 0 - for _, b := range yyq2494 { + yynn2537 = 0 + for _, b := range yyq2537 { if b { - yynn2494++ + yynn2537++ } } - r.EncodeMapStart(yynn2494) - yynn2494 = 0 + r.EncodeMapStart(yynn2537) + yynn2537 = 0 } - if yyr2494 || yy2arr2494 { + if yyr2537 || yy2arr2537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2494[0] { + if yyq2537[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2494[0] { + if yyq2537[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2494 || yy2arr2494 { + if yyr2537 || yy2arr2537 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31715,25 +32361,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2496 := z.DecBinary() - _ = yym2496 + yym2539 := z.DecBinary() + _ = yym2539 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2497 := r.ContainerType() - if yyct2497 == codecSelferValueTypeMap1234 { - yyl2497 := r.ReadMapStart() - if yyl2497 == 0 { + yyct2540 := r.ContainerType() + if yyct2540 == codecSelferValueTypeMap1234 { + yyl2540 := r.ReadMapStart() + if yyl2540 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2497, d) + x.codecDecodeSelfFromMap(yyl2540, d) } - } else if yyct2497 == codecSelferValueTypeArray1234 { - yyl2497 := r.ReadArrayStart() - if yyl2497 == 0 { + } else if yyct2540 == codecSelferValueTypeArray1234 { + yyl2540 := r.ReadArrayStart() + if yyl2540 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2497, d) + x.codecDecodeSelfFromArray(yyl2540, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31745,12 +32391,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2498Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2498Slc - var yyhl2498 bool = l >= 0 - for yyj2498 := 0; ; yyj2498++ { - if yyhl2498 { - if yyj2498 >= l { + var yys2541Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2541Slc + var yyhl2541 bool = l >= 0 + for yyj2541 := 0; ; yyj2541++ { + if yyhl2541 { + if yyj2541 >= l { break } } else { @@ -31759,10 +32405,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2498Slc = r.DecodeBytes(yys2498Slc, true, true) - yys2498 := string(yys2498Slc) + yys2541Slc = r.DecodeBytes(yys2541Slc, true, true) + yys2541 := string(yys2541Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2498 { + switch yys2541 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -31770,9 +32416,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2498) - } // end switch yys2498 - } // end for yyj2498 + z.DecStructFieldNotFound(-1, yys2541) + } // end switch yys2541 + } // end for yyj2541 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31780,16 +32426,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2500 int - var yyb2500 bool - var yyhl2500 bool = l >= 0 - yyj2500++ - if yyhl2500 { - yyb2500 = yyj2500 > l + var yyj2543 int + var yyb2543 bool + var yyhl2543 bool = l >= 0 + yyj2543++ + if yyhl2543 { + yyb2543 = yyj2543 > l } else { - yyb2500 = r.CheckBreak() + yyb2543 = r.CheckBreak() } - if yyb2500 { + if yyb2543 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31800,17 +32446,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj2500++ - if yyhl2500 { - yyb2500 = yyj2500 > l + yyj2543++ + if yyhl2543 { + yyb2543 = yyj2543 > l } else { - yyb2500 = r.CheckBreak() + yyb2543 = r.CheckBreak() } - if yyb2500 { + if yyb2543 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2500-1, "") + z.DecStructFieldNotFound(yyj2543-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31819,8 +32465,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2502 := z.EncBinary() - _ = yym2502 + yym2545 := z.EncBinary() + _ = yym2545 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31832,8 +32478,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2503 := z.DecBinary() - _ = yym2503 + yym2546 := z.DecBinary() + _ = yym2546 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31848,39 +32494,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2504 := z.EncBinary() - _ = yym2504 + yym2547 := z.EncBinary() + _ = yym2547 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2505 := !z.EncBinary() - yy2arr2505 := z.EncBasicHandle().StructToArray - var yyq2505 [5]bool - _, _, _ = yysep2505, yyq2505, yy2arr2505 - const yyr2505 bool = false - yyq2505[0] = x.Kind != "" - yyq2505[1] = x.APIVersion != "" - yyq2505[2] = true - yyq2505[3] = true - yyq2505[4] = true - var yynn2505 int - if yyr2505 || yy2arr2505 { + yysep2548 := !z.EncBinary() + yy2arr2548 := z.EncBasicHandle().StructToArray + var yyq2548 [5]bool + _, _, _ = yysep2548, yyq2548, yy2arr2548 + const yyr2548 bool = false + yyq2548[0] = x.Kind != "" + yyq2548[1] = x.APIVersion != "" + yyq2548[2] = true + yyq2548[3] = true + yyq2548[4] = true + var yynn2548 int + if yyr2548 || yy2arr2548 { r.EncodeArrayStart(5) } else { - yynn2505 = 0 - for _, b := range yyq2505 { + yynn2548 = 0 + for _, b := range yyq2548 { if b { - yynn2505++ + yynn2548++ } } - r.EncodeMapStart(yynn2505) - yynn2505 = 0 + r.EncodeMapStart(yynn2548) + yynn2548 = 0 } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[0] { - yym2507 := z.EncBinary() - _ = yym2507 + if yyq2548[0] { + yym2550 := z.EncBinary() + _ = yym2550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31889,23 +32535,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[0] { + if yyq2548[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2508 := z.EncBinary() - _ = yym2508 + yym2551 := z.EncBinary() + _ = yym2551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[1] { - yym2510 := z.EncBinary() - _ = yym2510 + if yyq2548[1] { + yym2553 := z.EncBinary() + _ = yym2553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31914,70 +32560,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[1] { + if yyq2548[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2511 := z.EncBinary() - _ = yym2511 + yym2554 := z.EncBinary() + _ = yym2554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[2] { - yy2513 := &x.ObjectMeta - yy2513.CodecEncodeSelf(e) + if yyq2548[2] { + yy2556 := &x.ObjectMeta + yy2556.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2505[2] { + if yyq2548[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2514 := &x.ObjectMeta - yy2514.CodecEncodeSelf(e) + yy2557 := &x.ObjectMeta + yy2557.CodecEncodeSelf(e) } } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[3] { - yy2516 := &x.Spec - yy2516.CodecEncodeSelf(e) + if yyq2548[3] { + yy2559 := &x.Spec + yy2559.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2505[3] { + if yyq2548[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2517 := &x.Spec - yy2517.CodecEncodeSelf(e) + yy2560 := &x.Spec + yy2560.CodecEncodeSelf(e) } } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[4] { - yy2519 := &x.Status - yy2519.CodecEncodeSelf(e) + if yyq2548[4] { + yy2562 := &x.Status + yy2562.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2505[4] { + if yyq2548[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2520 := &x.Status - yy2520.CodecEncodeSelf(e) + yy2563 := &x.Status + yy2563.CodecEncodeSelf(e) } } - if yyr2505 || yy2arr2505 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31990,25 +32636,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2521 := z.DecBinary() - _ = yym2521 + yym2564 := z.DecBinary() + _ = yym2564 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2522 := r.ContainerType() - if yyct2522 == codecSelferValueTypeMap1234 { - yyl2522 := r.ReadMapStart() - if yyl2522 == 0 { + yyct2565 := r.ContainerType() + if yyct2565 == codecSelferValueTypeMap1234 { + yyl2565 := r.ReadMapStart() + if yyl2565 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2522, d) + x.codecDecodeSelfFromMap(yyl2565, d) } - } else if yyct2522 == codecSelferValueTypeArray1234 { - yyl2522 := r.ReadArrayStart() - if yyl2522 == 0 { + } else if yyct2565 == codecSelferValueTypeArray1234 { + yyl2565 := r.ReadArrayStart() + if yyl2565 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2522, d) + x.codecDecodeSelfFromArray(yyl2565, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32020,12 +32666,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2523Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2523Slc - var yyhl2523 bool = l >= 0 - for yyj2523 := 0; ; yyj2523++ { - if yyhl2523 { - if yyj2523 >= l { + var yys2566Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2566Slc + var yyhl2566 bool = l >= 0 + for yyj2566 := 0; ; yyj2566++ { + if yyhl2566 { + if yyj2566 >= l { break } } else { @@ -32034,10 +32680,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2523Slc = r.DecodeBytes(yys2523Slc, true, true) - yys2523 := string(yys2523Slc) + yys2566Slc = r.DecodeBytes(yys2566Slc, true, true) + yys2566 := string(yys2566Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2523 { + switch yys2566 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32054,27 +32700,27 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2526 := &x.ObjectMeta - yyv2526.CodecDecodeSelf(d) + yyv2569 := &x.ObjectMeta + yyv2569.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2527 := &x.Spec - yyv2527.CodecDecodeSelf(d) + yyv2570 := &x.Spec + yyv2570.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2528 := &x.Status - yyv2528.CodecDecodeSelf(d) + yyv2571 := &x.Status + yyv2571.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2523) - } // end switch yys2523 - } // end for yyj2523 + z.DecStructFieldNotFound(-1, yys2566) + } // end switch yys2566 + } // end for yyj2566 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32082,16 +32728,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2529 int - var yyb2529 bool - var yyhl2529 bool = l >= 0 - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + var yyj2572 int + var yyb2572 bool + var yyhl2572 bool = l >= 0 + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32101,13 +32747,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32117,13 +32763,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32131,16 +32777,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2532 := &x.ObjectMeta - yyv2532.CodecDecodeSelf(d) + yyv2575 := &x.ObjectMeta + yyv2575.CodecDecodeSelf(d) } - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32148,16 +32794,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2533 := &x.Spec - yyv2533.CodecDecodeSelf(d) + yyv2576 := &x.Spec + yyv2576.CodecDecodeSelf(d) } - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32165,21 +32811,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2534 := &x.Status - yyv2534.CodecDecodeSelf(d) + yyv2577 := &x.Status + yyv2577.CodecDecodeSelf(d) } for { - yyj2529++ - if yyhl2529 { - yyb2529 = yyj2529 > l + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l } else { - yyb2529 = r.CheckBreak() + yyb2572 = r.CheckBreak() } - if yyb2529 { + if yyb2572 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2529-1, "") + z.DecStructFieldNotFound(yyj2572-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32191,37 +32837,37 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2535 := z.EncBinary() - _ = yym2535 + yym2578 := z.EncBinary() + _ = yym2578 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2536 := !z.EncBinary() - yy2arr2536 := z.EncBasicHandle().StructToArray - var yyq2536 [4]bool - _, _, _ = yysep2536, yyq2536, yy2arr2536 - const yyr2536 bool = false - yyq2536[0] = x.Kind != "" - yyq2536[1] = x.APIVersion != "" - yyq2536[2] = true - var yynn2536 int - if yyr2536 || yy2arr2536 { + yysep2579 := !z.EncBinary() + yy2arr2579 := z.EncBasicHandle().StructToArray + var yyq2579 [4]bool + _, _, _ = yysep2579, yyq2579, yy2arr2579 + const yyr2579 bool = false + yyq2579[0] = x.Kind != "" + yyq2579[1] = x.APIVersion != "" + yyq2579[2] = true + var yynn2579 int + if yyr2579 || yy2arr2579 { r.EncodeArrayStart(4) } else { - yynn2536 = 1 - for _, b := range yyq2536 { + yynn2579 = 1 + for _, b := range yyq2579 { if b { - yynn2536++ + yynn2579++ } } - r.EncodeMapStart(yynn2536) - yynn2536 = 0 + r.EncodeMapStart(yynn2579) + yynn2579 = 0 } - if yyr2536 || yy2arr2536 { + if yyr2579 || yy2arr2579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2536[0] { - yym2538 := z.EncBinary() - _ = yym2538 + if yyq2579[0] { + yym2581 := z.EncBinary() + _ = yym2581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32230,23 +32876,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2536[0] { + if yyq2579[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2539 := z.EncBinary() - _ = yym2539 + yym2582 := z.EncBinary() + _ = yym2582 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2536 || yy2arr2536 { + if yyr2579 || yy2arr2579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2536[1] { - yym2541 := z.EncBinary() - _ = yym2541 + if yyq2579[1] { + yym2584 := z.EncBinary() + _ = yym2584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32255,54 +32901,54 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2536[1] { + if yyq2579[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2542 := z.EncBinary() - _ = yym2542 + yym2585 := z.EncBinary() + _ = yym2585 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2536 || yy2arr2536 { + if yyr2579 || yy2arr2579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2536[2] { - yy2544 := &x.ListMeta - yym2545 := z.EncBinary() - _ = yym2545 + if yyq2579[2] { + yy2587 := &x.ListMeta + yym2588 := z.EncBinary() + _ = yym2588 if false { - } else if z.HasExtensions() && z.EncExt(yy2544) { + } else if z.HasExtensions() && z.EncExt(yy2587) { } else { - z.EncFallback(yy2544) + z.EncFallback(yy2587) } } else { r.EncodeNil() } } else { - if yyq2536[2] { + if yyq2579[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2546 := &x.ListMeta - yym2547 := z.EncBinary() - _ = yym2547 + yy2589 := &x.ListMeta + yym2590 := z.EncBinary() + _ = yym2590 if false { - } else if z.HasExtensions() && z.EncExt(yy2546) { + } else if z.HasExtensions() && z.EncExt(yy2589) { } else { - z.EncFallback(yy2546) + z.EncFallback(yy2589) } } } - if yyr2536 || yy2arr2536 { + if yyr2579 || yy2arr2579 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2549 := z.EncBinary() - _ = yym2549 + yym2592 := z.EncBinary() + _ = yym2592 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -32315,15 +32961,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2550 := z.EncBinary() - _ = yym2550 + yym2593 := z.EncBinary() + _ = yym2593 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2536 || yy2arr2536 { + if yyr2579 || yy2arr2579 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32336,25 +32982,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2551 := z.DecBinary() - _ = yym2551 + yym2594 := z.DecBinary() + _ = yym2594 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2552 := r.ContainerType() - if yyct2552 == codecSelferValueTypeMap1234 { - yyl2552 := r.ReadMapStart() - if yyl2552 == 0 { + yyct2595 := r.ContainerType() + if yyct2595 == codecSelferValueTypeMap1234 { + yyl2595 := r.ReadMapStart() + if yyl2595 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2552, d) + x.codecDecodeSelfFromMap(yyl2595, d) } - } else if yyct2552 == codecSelferValueTypeArray1234 { - yyl2552 := r.ReadArrayStart() - if yyl2552 == 0 { + } else if yyct2595 == codecSelferValueTypeArray1234 { + yyl2595 := r.ReadArrayStart() + if yyl2595 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2552, d) + x.codecDecodeSelfFromArray(yyl2595, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32366,12 +33012,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2553Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2553Slc - var yyhl2553 bool = l >= 0 - for yyj2553 := 0; ; yyj2553++ { - if yyhl2553 { - if yyj2553 >= l { + var yys2596Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2596Slc + var yyhl2596 bool = l >= 0 + for yyj2596 := 0; ; yyj2596++ { + if yyhl2596 { + if yyj2596 >= l { break } } else { @@ -32380,10 +33026,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2553Slc = r.DecodeBytes(yys2553Slc, true, true) - yys2553 := string(yys2553Slc) + yys2596Slc = r.DecodeBytes(yys2596Slc, true, true) + yys2596 := string(yys2596Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2553 { + switch yys2596 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32400,31 +33046,31 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2556 := &x.ListMeta - yym2557 := z.DecBinary() - _ = yym2557 + yyv2599 := &x.ListMeta + yym2600 := z.DecBinary() + _ = yym2600 if false { - } else if z.HasExtensions() && z.DecExt(yyv2556) { + } else if z.HasExtensions() && z.DecExt(yyv2599) { } else { - z.DecFallback(yyv2556, false) + z.DecFallback(yyv2599, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2558 := &x.Items - yym2559 := z.DecBinary() - _ = yym2559 + yyv2601 := &x.Items + yym2602 := z.DecBinary() + _ = yym2602 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2558), d) + h.decSliceNamespace((*[]Namespace)(yyv2601), d) } } default: - z.DecStructFieldNotFound(-1, yys2553) - } // end switch yys2553 - } // end for yyj2553 + z.DecStructFieldNotFound(-1, yys2596) + } // end switch yys2596 + } // end for yyj2596 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32432,16 +33078,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2560 int - var yyb2560 bool - var yyhl2560 bool = l >= 0 - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l + var yyj2603 int + var yyb2603 bool + var yyhl2603 bool = l >= 0 + yyj2603++ + if yyhl2603 { + yyb2603 = yyj2603 > l } else { - yyb2560 = r.CheckBreak() + yyb2603 = r.CheckBreak() } - if yyb2560 { + if yyb2603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32451,13 +33097,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l + yyj2603++ + if yyhl2603 { + yyb2603 = yyj2603 > l } else { - yyb2560 = r.CheckBreak() + yyb2603 = r.CheckBreak() } - if yyb2560 { + if yyb2603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32467,13 +33113,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l + yyj2603++ + if yyhl2603 { + yyb2603 = yyj2603 > l } else { - yyb2560 = r.CheckBreak() + yyb2603 = r.CheckBreak() } - if yyb2560 { + if yyb2603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32481,22 +33127,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2563 := &x.ListMeta - yym2564 := z.DecBinary() - _ = yym2564 + yyv2606 := &x.ListMeta + yym2607 := z.DecBinary() + _ = yym2607 if false { - } else if z.HasExtensions() && z.DecExt(yyv2563) { + } else if z.HasExtensions() && z.DecExt(yyv2606) { } else { - z.DecFallback(yyv2563, false) + z.DecFallback(yyv2606, false) } } - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l + yyj2603++ + if yyhl2603 { + yyb2603 = yyj2603 > l } else { - yyb2560 = r.CheckBreak() + yyb2603 = r.CheckBreak() } - if yyb2560 { + if yyb2603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32504,26 +33150,26 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2565 := &x.Items - yym2566 := z.DecBinary() - _ = yym2566 + yyv2608 := &x.Items + yym2609 := z.DecBinary() + _ = yym2609 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2565), d) + h.decSliceNamespace((*[]Namespace)(yyv2608), d) } } for { - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l + yyj2603++ + if yyhl2603 { + yyb2603 = yyj2603 > l } else { - yyb2560 = r.CheckBreak() + yyb2603 = r.CheckBreak() } - if yyb2560 { + if yyb2603 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2560-1, "") + z.DecStructFieldNotFound(yyj2603-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32535,37 +33181,37 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2567 := z.EncBinary() - _ = yym2567 + yym2610 := z.EncBinary() + _ = yym2610 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2568 := !z.EncBinary() - yy2arr2568 := z.EncBasicHandle().StructToArray - var yyq2568 [4]bool - _, _, _ = yysep2568, yyq2568, yy2arr2568 - const yyr2568 bool = false - yyq2568[0] = x.Kind != "" - yyq2568[1] = x.APIVersion != "" - yyq2568[2] = true - var yynn2568 int - if yyr2568 || yy2arr2568 { + yysep2611 := !z.EncBinary() + yy2arr2611 := z.EncBasicHandle().StructToArray + var yyq2611 [4]bool + _, _, _ = yysep2611, yyq2611, yy2arr2611 + const yyr2611 bool = false + yyq2611[0] = x.Kind != "" + yyq2611[1] = x.APIVersion != "" + yyq2611[2] = true + var yynn2611 int + if yyr2611 || yy2arr2611 { r.EncodeArrayStart(4) } else { - yynn2568 = 1 - for _, b := range yyq2568 { + yynn2611 = 1 + for _, b := range yyq2611 { if b { - yynn2568++ + yynn2611++ } } - r.EncodeMapStart(yynn2568) - yynn2568 = 0 + r.EncodeMapStart(yynn2611) + yynn2611 = 0 } - if yyr2568 || yy2arr2568 { + if yyr2611 || yy2arr2611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2568[0] { - yym2570 := z.EncBinary() - _ = yym2570 + if yyq2611[0] { + yym2613 := z.EncBinary() + _ = yym2613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32574,23 +33220,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2568[0] { + if yyq2611[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2571 := z.EncBinary() - _ = yym2571 + yym2614 := z.EncBinary() + _ = yym2614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2568 || yy2arr2568 { + if yyr2611 || yy2arr2611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2568[1] { - yym2573 := z.EncBinary() - _ = yym2573 + if yyq2611[1] { + yym2616 := z.EncBinary() + _ = yym2616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32599,47 +33245,47 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2568[1] { + if yyq2611[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2574 := z.EncBinary() - _ = yym2574 + yym2617 := z.EncBinary() + _ = yym2617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2568 || yy2arr2568 { + if yyr2611 || yy2arr2611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2568[2] { - yy2576 := &x.ObjectMeta - yy2576.CodecEncodeSelf(e) + if yyq2611[2] { + yy2619 := &x.ObjectMeta + yy2619.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2568[2] { + if yyq2611[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2577 := &x.ObjectMeta - yy2577.CodecEncodeSelf(e) + yy2620 := &x.ObjectMeta + yy2620.CodecEncodeSelf(e) } } - if yyr2568 || yy2arr2568 { + if yyr2611 || yy2arr2611 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2579 := &x.Target - yy2579.CodecEncodeSelf(e) + yy2622 := &x.Target + yy2622.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2580 := &x.Target - yy2580.CodecEncodeSelf(e) + yy2623 := &x.Target + yy2623.CodecEncodeSelf(e) } - if yyr2568 || yy2arr2568 { + if yyr2611 || yy2arr2611 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32652,25 +33298,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2581 := z.DecBinary() - _ = yym2581 + yym2624 := z.DecBinary() + _ = yym2624 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2582 := r.ContainerType() - if yyct2582 == codecSelferValueTypeMap1234 { - yyl2582 := r.ReadMapStart() - if yyl2582 == 0 { + yyct2625 := r.ContainerType() + if yyct2625 == codecSelferValueTypeMap1234 { + yyl2625 := r.ReadMapStart() + if yyl2625 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2582, d) + x.codecDecodeSelfFromMap(yyl2625, d) } - } else if yyct2582 == codecSelferValueTypeArray1234 { - yyl2582 := r.ReadArrayStart() - if yyl2582 == 0 { + } else if yyct2625 == codecSelferValueTypeArray1234 { + yyl2625 := r.ReadArrayStart() + if yyl2625 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2582, d) + x.codecDecodeSelfFromArray(yyl2625, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32682,12 +33328,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2583Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2583Slc - var yyhl2583 bool = l >= 0 - for yyj2583 := 0; ; yyj2583++ { - if yyhl2583 { - if yyj2583 >= l { + var yys2626Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2626Slc + var yyhl2626 bool = l >= 0 + for yyj2626 := 0; ; yyj2626++ { + if yyhl2626 { + if yyj2626 >= l { break } } else { @@ -32696,10 +33342,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2583Slc = r.DecodeBytes(yys2583Slc, true, true) - yys2583 := string(yys2583Slc) + yys2626Slc = r.DecodeBytes(yys2626Slc, true, true) + yys2626 := string(yys2626Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2583 { + switch yys2626 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32716,20 +33362,20 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2586 := &x.ObjectMeta - yyv2586.CodecDecodeSelf(d) + yyv2629 := &x.ObjectMeta + yyv2629.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2587 := &x.Target - yyv2587.CodecDecodeSelf(d) + yyv2630 := &x.Target + yyv2630.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2583) - } // end switch yys2583 - } // end for yyj2583 + z.DecStructFieldNotFound(-1, yys2626) + } // end switch yys2626 + } // end for yyj2626 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32737,16 +33383,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2588 int - var yyb2588 bool - var yyhl2588 bool = l >= 0 - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + var yyj2631 int + var yyb2631 bool + var yyhl2631 bool = l >= 0 + yyj2631++ + if yyhl2631 { + yyb2631 = yyj2631 > l } else { - yyb2588 = r.CheckBreak() + yyb2631 = r.CheckBreak() } - if yyb2588 { + if yyb2631 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32756,13 +33402,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2631++ + if yyhl2631 { + yyb2631 = yyj2631 > l } else { - yyb2588 = r.CheckBreak() + yyb2631 = r.CheckBreak() } - if yyb2588 { + if yyb2631 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32772,13 +33418,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2631++ + if yyhl2631 { + yyb2631 = yyj2631 > l } else { - yyb2588 = r.CheckBreak() + yyb2631 = r.CheckBreak() } - if yyb2588 { + if yyb2631 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32786,16 +33432,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2591 := &x.ObjectMeta - yyv2591.CodecDecodeSelf(d) + yyv2634 := &x.ObjectMeta + yyv2634.CodecDecodeSelf(d) } - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2631++ + if yyhl2631 { + yyb2631 = yyj2631 > l } else { - yyb2588 = r.CheckBreak() + yyb2631 = r.CheckBreak() } - if yyb2588 { + if yyb2631 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32803,21 +33449,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2592 := &x.Target - yyv2592.CodecDecodeSelf(d) + yyv2635 := &x.Target + yyv2635.CodecDecodeSelf(d) } for { - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2631++ + if yyhl2631 { + yyb2631 = yyj2631 > l } else { - yyb2588 = r.CheckBreak() + yyb2631 = r.CheckBreak() } - if yyb2588 { + if yyb2631 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2588-1, "") + z.DecStructFieldNotFound(yyj2631-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32829,36 +33475,36 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2593 := z.EncBinary() - _ = yym2593 + yym2636 := z.EncBinary() + _ = yym2636 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2594 := !z.EncBinary() - yy2arr2594 := z.EncBasicHandle().StructToArray - var yyq2594 [3]bool - _, _, _ = yysep2594, yyq2594, yy2arr2594 - const yyr2594 bool = false - yyq2594[0] = x.Kind != "" - yyq2594[1] = x.APIVersion != "" - var yynn2594 int - if yyr2594 || yy2arr2594 { + yysep2637 := !z.EncBinary() + yy2arr2637 := z.EncBasicHandle().StructToArray + var yyq2637 [3]bool + _, _, _ = yysep2637, yyq2637, yy2arr2637 + const yyr2637 bool = false + yyq2637[0] = x.Kind != "" + yyq2637[1] = x.APIVersion != "" + var yynn2637 int + if yyr2637 || yy2arr2637 { r.EncodeArrayStart(3) } else { - yynn2594 = 1 - for _, b := range yyq2594 { + yynn2637 = 1 + for _, b := range yyq2637 { if b { - yynn2594++ + yynn2637++ } } - r.EncodeMapStart(yynn2594) - yynn2594 = 0 + r.EncodeMapStart(yynn2637) + yynn2637 = 0 } - if yyr2594 || yy2arr2594 { + if yyr2637 || yy2arr2637 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2594[0] { - yym2596 := z.EncBinary() - _ = yym2596 + if yyq2637[0] { + yym2639 := z.EncBinary() + _ = yym2639 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32867,23 +33513,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2594[0] { + if yyq2637[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2597 := z.EncBinary() - _ = yym2597 + yym2640 := z.EncBinary() + _ = yym2640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2594 || yy2arr2594 { + if yyr2637 || yy2arr2637 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2594[1] { - yym2599 := z.EncBinary() - _ = yym2599 + if yyq2637[1] { + yym2642 := z.EncBinary() + _ = yym2642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32892,29 +33538,29 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2594[1] { + if yyq2637[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2600 := z.EncBinary() - _ = yym2600 + yym2643 := z.EncBinary() + _ = yym2643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2594 || yy2arr2594 { + if yyr2637 || yy2arr2637 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2602 := *x.GracePeriodSeconds - yym2603 := z.EncBinary() - _ = yym2603 + yy2645 := *x.GracePeriodSeconds + yym2646 := z.EncBinary() + _ = yym2646 if false { } else { - r.EncodeInt(int64(yy2602)) + r.EncodeInt(int64(yy2645)) } } } else { @@ -32924,16 +33570,16 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2604 := *x.GracePeriodSeconds - yym2605 := z.EncBinary() - _ = yym2605 + yy2647 := *x.GracePeriodSeconds + yym2648 := z.EncBinary() + _ = yym2648 if false { } else { - r.EncodeInt(int64(yy2604)) + r.EncodeInt(int64(yy2647)) } } } - if yyr2594 || yy2arr2594 { + if yyr2637 || yy2arr2637 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32946,25 +33592,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2606 := z.DecBinary() - _ = yym2606 + yym2649 := z.DecBinary() + _ = yym2649 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2607 := r.ContainerType() - if yyct2607 == codecSelferValueTypeMap1234 { - yyl2607 := r.ReadMapStart() - if yyl2607 == 0 { + yyct2650 := r.ContainerType() + if yyct2650 == codecSelferValueTypeMap1234 { + yyl2650 := r.ReadMapStart() + if yyl2650 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2607, d) + x.codecDecodeSelfFromMap(yyl2650, d) } - } else if yyct2607 == codecSelferValueTypeArray1234 { - yyl2607 := r.ReadArrayStart() - if yyl2607 == 0 { + } else if yyct2650 == codecSelferValueTypeArray1234 { + yyl2650 := r.ReadArrayStart() + if yyl2650 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2607, d) + x.codecDecodeSelfFromArray(yyl2650, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32976,12 +33622,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2608Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2608Slc - var yyhl2608 bool = l >= 0 - for yyj2608 := 0; ; yyj2608++ { - if yyhl2608 { - if yyj2608 >= l { + var yys2651Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2651Slc + var yyhl2651 bool = l >= 0 + for yyj2651 := 0; ; yyj2651++ { + if yyhl2651 { + if yyj2651 >= l { break } } else { @@ -32990,10 +33636,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2608Slc = r.DecodeBytes(yys2608Slc, true, true) - yys2608 := string(yys2608Slc) + yys2651Slc = r.DecodeBytes(yys2651Slc, true, true) + yys2651 := string(yys2651Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2608 { + switch yys2651 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33015,17 +33661,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2612 := z.DecBinary() - _ = yym2612 + yym2655 := z.DecBinary() + _ = yym2655 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2608) - } // end switch yys2608 - } // end for yyj2608 + z.DecStructFieldNotFound(-1, yys2651) + } // end switch yys2651 + } // end for yyj2651 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33033,16 +33679,16 @@ func (x *DeleteOptions) 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 yyj2656 int + var yyb2656 bool + var yyhl2656 bool = l >= 0 + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2613 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2613 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33052,13 +33698,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2613 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2613 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33068,13 +33714,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2613 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2613 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33087,25 +33733,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2617 := z.DecBinary() - _ = yym2617 + yym2660 := z.DecBinary() + _ = yym2660 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj2613++ - if yyhl2613 { - yyb2613 = yyj2613 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2613 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2613 { + if yyb2656 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2613-1, "") + z.DecStructFieldNotFound(yyj2656-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33117,36 +33763,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2618 := z.EncBinary() - _ = yym2618 + yym2661 := z.EncBinary() + _ = yym2661 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2619 := !z.EncBinary() - yy2arr2619 := z.EncBasicHandle().StructToArray - var yyq2619 [4]bool - _, _, _ = yysep2619, yyq2619, yy2arr2619 - const yyr2619 bool = false - yyq2619[0] = x.Kind != "" - yyq2619[1] = x.APIVersion != "" - var yynn2619 int - if yyr2619 || yy2arr2619 { + yysep2662 := !z.EncBinary() + yy2arr2662 := z.EncBasicHandle().StructToArray + var yyq2662 [4]bool + _, _, _ = yysep2662, yyq2662, yy2arr2662 + const yyr2662 bool = false + yyq2662[0] = x.Kind != "" + yyq2662[1] = x.APIVersion != "" + var yynn2662 int + if yyr2662 || yy2arr2662 { r.EncodeArrayStart(4) } else { - yynn2619 = 2 - for _, b := range yyq2619 { + yynn2662 = 2 + for _, b := range yyq2662 { if b { - yynn2619++ + yynn2662++ } } - r.EncodeMapStart(yynn2619) - yynn2619 = 0 + r.EncodeMapStart(yynn2662) + yynn2662 = 0 } - if yyr2619 || yy2arr2619 { + if yyr2662 || yy2arr2662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2619[0] { - yym2621 := z.EncBinary() - _ = yym2621 + if yyq2662[0] { + yym2664 := z.EncBinary() + _ = yym2664 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33155,23 +33801,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2619[0] { + if yyq2662[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2622 := z.EncBinary() - _ = yym2622 + yym2665 := z.EncBinary() + _ = yym2665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2619 || yy2arr2619 { + if yyr2662 || yy2arr2662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2619[1] { - yym2624 := z.EncBinary() - _ = yym2624 + if yyq2662[1] { + yym2667 := z.EncBinary() + _ = yym2667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33180,22 +33826,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2619[1] { + if yyq2662[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2625 := z.EncBinary() - _ = yym2625 + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2619 || yy2arr2619 { + if yyr2662 || yy2arr2662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2627 := z.EncBinary() - _ = yym2627 + yym2670 := z.EncBinary() + _ = yym2670 if false { } else { r.EncodeBool(bool(x.Export)) @@ -33204,17 +33850,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2628 := z.EncBinary() - _ = yym2628 + yym2671 := z.EncBinary() + _ = yym2671 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2619 || yy2arr2619 { + if yyr2662 || yy2arr2662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2630 := z.EncBinary() - _ = yym2630 + yym2673 := z.EncBinary() + _ = yym2673 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -33223,14 +33869,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2631 := z.EncBinary() - _ = yym2631 + yym2674 := z.EncBinary() + _ = yym2674 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2619 || yy2arr2619 { + if yyr2662 || yy2arr2662 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33243,25 +33889,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2632 := z.DecBinary() - _ = yym2632 + yym2675 := z.DecBinary() + _ = yym2675 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2633 := r.ContainerType() - if yyct2633 == codecSelferValueTypeMap1234 { - yyl2633 := r.ReadMapStart() - if yyl2633 == 0 { + yyct2676 := r.ContainerType() + if yyct2676 == codecSelferValueTypeMap1234 { + yyl2676 := r.ReadMapStart() + if yyl2676 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2633, d) + x.codecDecodeSelfFromMap(yyl2676, d) } - } else if yyct2633 == codecSelferValueTypeArray1234 { - yyl2633 := r.ReadArrayStart() - if yyl2633 == 0 { + } else if yyct2676 == codecSelferValueTypeArray1234 { + yyl2676 := r.ReadArrayStart() + if yyl2676 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2633, d) + x.codecDecodeSelfFromArray(yyl2676, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33273,12 +33919,12 @@ func (x *ExportOptions) 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 yys2677Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2677Slc + var yyhl2677 bool = l >= 0 + for yyj2677 := 0; ; yyj2677++ { + if yyhl2677 { + if yyj2677 >= l { break } } else { @@ -33287,10 +33933,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2634Slc = r.DecodeBytes(yys2634Slc, true, true) - yys2634 := string(yys2634Slc) + yys2677Slc = r.DecodeBytes(yys2677Slc, true, true) + yys2677 := string(yys2677Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2634 { + switch yys2677 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33316,441 +33962,13 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2634) - } // end switch yys2634 - } // end for yyj2634 + z.DecStructFieldNotFound(-1, yys2677) + } // end switch yys2677 + } // end for yyj2677 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2639 int - var yyb2639 bool - var yyhl2639 bool = l >= 0 - yyj2639++ - if yyhl2639 { - yyb2639 = yyj2639 > l - } else { - yyb2639 = r.CheckBreak() - } - if yyb2639 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2639++ - if yyhl2639 { - yyb2639 = yyj2639 > l - } else { - yyb2639 = r.CheckBreak() - } - if yyb2639 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2639++ - if yyhl2639 { - yyb2639 = yyj2639 > l - } else { - yyb2639 = r.CheckBreak() - } - if yyb2639 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - yyj2639++ - if yyhl2639 { - yyb2639 = yyj2639 > l - } else { - yyb2639 = r.CheckBreak() - } - if yyb2639 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } - for { - yyj2639++ - if yyhl2639 { - yyb2639 = yyj2639 > l - } else { - yyb2639 = r.CheckBreak() - } - if yyb2639 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2639-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2644 := z.EncBinary() - _ = yym2644 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2645 := !z.EncBinary() - yy2arr2645 := z.EncBasicHandle().StructToArray - var yyq2645 [7]bool - _, _, _ = yysep2645, yyq2645, yy2arr2645 - const yyr2645 bool = false - yyq2645[0] = x.Kind != "" - yyq2645[1] = x.APIVersion != "" - var yynn2645 int - if yyr2645 || yy2arr2645 { - r.EncodeArrayStart(7) - } else { - yynn2645 = 5 - for _, b := range yyq2645 { - if b { - yynn2645++ - } - } - r.EncodeMapStart(yynn2645) - yynn2645 = 0 - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2645[0] { - yym2647 := z.EncBinary() - _ = yym2647 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2645[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2648 := z.EncBinary() - _ = yym2648 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2645[1] { - yym2650 := z.EncBinary() - _ = yym2650 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2645[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2651 := z.EncBinary() - _ = yym2651 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.LabelSelector == nil { - r.EncodeNil() - } else { - yym2653 := z.EncBinary() - _ = yym2653 - if false { - } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { - } else { - z.EncFallback(x.LabelSelector) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("LabelSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.LabelSelector == nil { - r.EncodeNil() - } else { - yym2654 := z.EncBinary() - _ = yym2654 - if false { - } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { - } else { - z.EncFallback(x.LabelSelector) - } - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.FieldSelector == nil { - r.EncodeNil() - } else { - yym2656 := z.EncBinary() - _ = yym2656 - if false { - } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { - } else { - z.EncFallback(x.FieldSelector) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("FieldSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.FieldSelector == nil { - r.EncodeNil() - } else { - yym2657 := z.EncBinary() - _ = yym2657 - if false { - } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { - } else { - z.EncFallback(x.FieldSelector) - } - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2659 := z.EncBinary() - _ = yym2659 - if false { - } else { - r.EncodeBool(bool(x.Watch)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Watch")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2660 := z.EncBinary() - _ = yym2660 - if false { - } else { - r.EncodeBool(bool(x.Watch)) - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2662 := z.EncBinary() - _ = yym2662 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2663 := z.EncBinary() - _ = yym2663 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.TimeoutSeconds == nil { - r.EncodeNil() - } else { - yy2665 := *x.TimeoutSeconds - yym2666 := z.EncBinary() - _ = yym2666 - if false { - } else { - r.EncodeInt(int64(yy2665)) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("TimeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TimeoutSeconds == nil { - r.EncodeNil() - } else { - yy2667 := *x.TimeoutSeconds - yym2668 := z.EncBinary() - _ = yym2668 - if false { - } else { - r.EncodeInt(int64(yy2667)) - } - } - } - if yyr2645 || yy2arr2645 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2669 := z.DecBinary() - _ = yym2669 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2670 := r.ContainerType() - if yyct2670 == codecSelferValueTypeMap1234 { - yyl2670 := r.ReadMapStart() - if yyl2670 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2670, d) - } - } else if yyct2670 == codecSelferValueTypeArray1234 { - yyl2670 := r.ReadArrayStart() - if yyl2670 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2670, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2671Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2671Slc - var yyhl2671 bool = l >= 0 - for yyj2671 := 0; ; yyj2671++ { - if yyhl2671 { - if yyj2671 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2671Slc = r.DecodeBytes(yys2671Slc, true, true) - yys2671 := string(yys2671Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2671 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "LabelSelector": - if r.TryDecodeAsNil() { - x.LabelSelector = nil - } else { - yyv2674 := &x.LabelSelector - yym2675 := z.DecBinary() - _ = yym2675 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2674) { - } else { - z.DecFallback(yyv2674, true) - } - } - case "FieldSelector": - if r.TryDecodeAsNil() { - x.FieldSelector = nil - } else { - yyv2676 := &x.FieldSelector - yym2677 := z.DecBinary() - _ = yym2677 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2676) { - } else { - z.DecFallback(yyv2676, true) - } - } - case "Watch": - if r.TryDecodeAsNil() { - x.Watch = false - } else { - x.Watch = bool(r.DecodeBool()) - } - case "ResourceVersion": - if r.TryDecodeAsNil() { - x.ResourceVersion = "" - } else { - x.ResourceVersion = string(r.DecodeString()) - } - case "TimeoutSeconds": - if r.TryDecodeAsNil() { - if x.TimeoutSeconds != nil { - x.TimeoutSeconds = nil - } - } else { - if x.TimeoutSeconds == nil { - x.TimeoutSeconds = new(int64) - } - yym2681 := z.DecBinary() - _ = yym2681 - if false { - } else { - *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) - } - } - default: - z.DecStructFieldNotFound(-1, yys2671) - } // end switch yys2671 - } // end for yyj2671 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -33801,16 +34019,9 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.LabelSelector = nil + x.Export = false } else { - yyv2685 := &x.LabelSelector - yym2686 := z.DecBinary() - _ = yym2686 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2685) { - } else { - z.DecFallback(yyv2685, true) - } + x.Export = bool(r.DecodeBool()) } yyj2682++ if yyhl2682 { @@ -33824,74 +34035,9 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.FieldSelector = nil + x.Exact = false } else { - yyv2687 := &x.FieldSelector - yym2688 := z.DecBinary() - _ = yym2688 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2687) { - } else { - z.DecFallback(yyv2687, true) - } - } - yyj2682++ - if yyhl2682 { - yyb2682 = yyj2682 > l - } else { - yyb2682 = r.CheckBreak() - } - if yyb2682 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Watch = false - } else { - x.Watch = bool(r.DecodeBool()) - } - yyj2682++ - if yyhl2682 { - yyb2682 = yyj2682 > l - } else { - yyb2682 = r.CheckBreak() - } - if yyb2682 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceVersion = "" - } else { - x.ResourceVersion = string(r.DecodeString()) - } - yyj2682++ - if yyhl2682 { - yyb2682 = yyj2682 > l - } else { - yyb2682 = r.CheckBreak() - } - if yyb2682 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TimeoutSeconds != nil { - x.TimeoutSeconds = nil - } - } else { - if x.TimeoutSeconds == nil { - x.TimeoutSeconds = new(int64) - } - yym2692 := z.DecBinary() - _ = yym2692 - if false { - } else { - *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) - } + x.Exact = bool(r.DecodeBool()) } for { yyj2682++ @@ -33909,6 +34055,506 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2687 := z.EncBinary() + _ = yym2687 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2688 := !z.EncBinary() + yy2arr2688 := z.EncBasicHandle().StructToArray + var yyq2688 [7]bool + _, _, _ = yysep2688, yyq2688, yy2arr2688 + const yyr2688 bool = false + yyq2688[0] = x.Kind != "" + yyq2688[1] = x.APIVersion != "" + var yynn2688 int + if yyr2688 || yy2arr2688 { + r.EncodeArrayStart(7) + } else { + yynn2688 = 5 + for _, b := range yyq2688 { + if b { + yynn2688++ + } + } + r.EncodeMapStart(yynn2688) + yynn2688 = 0 + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2688[0] { + yym2690 := z.EncBinary() + _ = yym2690 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2688[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2691 := z.EncBinary() + _ = yym2691 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2688[1] { + yym2693 := z.EncBinary() + _ = yym2693 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2688[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2694 := z.EncBinary() + _ = yym2694 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.LabelSelector == nil { + r.EncodeNil() + } else { + yym2696 := z.EncBinary() + _ = yym2696 + if false { + } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { + } else { + z.EncFallback(x.LabelSelector) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("LabelSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.LabelSelector == nil { + r.EncodeNil() + } else { + yym2697 := z.EncBinary() + _ = yym2697 + if false { + } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { + } else { + z.EncFallback(x.LabelSelector) + } + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.FieldSelector == nil { + r.EncodeNil() + } else { + yym2699 := z.EncBinary() + _ = yym2699 + if false { + } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { + } else { + z.EncFallback(x.FieldSelector) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("FieldSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.FieldSelector == nil { + r.EncodeNil() + } else { + yym2700 := z.EncBinary() + _ = yym2700 + if false { + } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { + } else { + z.EncFallback(x.FieldSelector) + } + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2702 := z.EncBinary() + _ = yym2702 + if false { + } else { + r.EncodeBool(bool(x.Watch)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Watch")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2703 := z.EncBinary() + _ = yym2703 + if false { + } else { + r.EncodeBool(bool(x.Watch)) + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2705 := z.EncBinary() + _ = yym2705 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2706 := z.EncBinary() + _ = yym2706 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.TimeoutSeconds == nil { + r.EncodeNil() + } else { + yy2708 := *x.TimeoutSeconds + yym2709 := z.EncBinary() + _ = yym2709 + if false { + } else { + r.EncodeInt(int64(yy2708)) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("TimeoutSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.TimeoutSeconds == nil { + r.EncodeNil() + } else { + yy2710 := *x.TimeoutSeconds + yym2711 := z.EncBinary() + _ = yym2711 + if false { + } else { + r.EncodeInt(int64(yy2710)) + } + } + } + if yyr2688 || yy2arr2688 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2712 := z.DecBinary() + _ = yym2712 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2713 := r.ContainerType() + if yyct2713 == codecSelferValueTypeMap1234 { + yyl2713 := r.ReadMapStart() + if yyl2713 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2713, d) + } + } else if yyct2713 == codecSelferValueTypeArray1234 { + yyl2713 := r.ReadArrayStart() + if yyl2713 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2713, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2714Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2714Slc + var yyhl2714 bool = l >= 0 + for yyj2714 := 0; ; yyj2714++ { + if yyhl2714 { + if yyj2714 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2714Slc = r.DecodeBytes(yys2714Slc, true, true) + yys2714 := string(yys2714Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2714 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "LabelSelector": + if r.TryDecodeAsNil() { + x.LabelSelector = nil + } else { + yyv2717 := &x.LabelSelector + yym2718 := z.DecBinary() + _ = yym2718 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2717) { + } else { + z.DecFallback(yyv2717, true) + } + } + case "FieldSelector": + if r.TryDecodeAsNil() { + x.FieldSelector = nil + } else { + yyv2719 := &x.FieldSelector + yym2720 := z.DecBinary() + _ = yym2720 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2719) { + } else { + z.DecFallback(yyv2719, true) + } + } + case "Watch": + if r.TryDecodeAsNil() { + x.Watch = false + } else { + x.Watch = bool(r.DecodeBool()) + } + case "ResourceVersion": + if r.TryDecodeAsNil() { + x.ResourceVersion = "" + } else { + x.ResourceVersion = string(r.DecodeString()) + } + case "TimeoutSeconds": + if r.TryDecodeAsNil() { + if x.TimeoutSeconds != nil { + x.TimeoutSeconds = nil + } + } else { + if x.TimeoutSeconds == nil { + x.TimeoutSeconds = new(int64) + } + yym2724 := z.DecBinary() + _ = yym2724 + if false { + } else { + *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) + } + } + default: + z.DecStructFieldNotFound(-1, yys2714) + } // end switch yys2714 + } // end for yyj2714 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2725 int + var yyb2725 bool + var yyhl2725 bool = l >= 0 + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LabelSelector = nil + } else { + yyv2728 := &x.LabelSelector + yym2729 := z.DecBinary() + _ = yym2729 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2728) { + } else { + z.DecFallback(yyv2728, true) + } + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FieldSelector = nil + } else { + yyv2730 := &x.FieldSelector + yym2731 := z.DecBinary() + _ = yym2731 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2730) { + } else { + z.DecFallback(yyv2730, true) + } + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Watch = false + } else { + x.Watch = bool(r.DecodeBool()) + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ResourceVersion = "" + } else { + x.ResourceVersion = string(r.DecodeString()) + } + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.TimeoutSeconds != nil { + x.TimeoutSeconds = nil + } + } else { + if x.TimeoutSeconds == nil { + x.TimeoutSeconds = new(int64) + } + yym2735 := z.DecBinary() + _ = yym2735 + if false { + } else { + *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) + } + } + for { + yyj2725++ + if yyhl2725 { + yyb2725 = yyj2725 > l + } else { + yyb2725 = r.CheckBreak() + } + if yyb2725 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2725-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -33916,36 +34562,36 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2693 := z.EncBinary() - _ = yym2693 + yym2736 := z.EncBinary() + _ = yym2736 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2694 := !z.EncBinary() - yy2arr2694 := z.EncBasicHandle().StructToArray - var yyq2694 [10]bool - _, _, _ = yysep2694, yyq2694, yy2arr2694 - const yyr2694 bool = false - yyq2694[0] = x.Kind != "" - yyq2694[1] = x.APIVersion != "" - var yynn2694 int - if yyr2694 || yy2arr2694 { + yysep2737 := !z.EncBinary() + yy2arr2737 := z.EncBasicHandle().StructToArray + var yyq2737 [10]bool + _, _, _ = yysep2737, yyq2737, yy2arr2737 + const yyr2737 bool = false + yyq2737[0] = x.Kind != "" + yyq2737[1] = x.APIVersion != "" + var yynn2737 int + if yyr2737 || yy2arr2737 { r.EncodeArrayStart(10) } else { - yynn2694 = 8 - for _, b := range yyq2694 { + yynn2737 = 8 + for _, b := range yyq2737 { if b { - yynn2694++ + yynn2737++ } } - r.EncodeMapStart(yynn2694) - yynn2694 = 0 + r.EncodeMapStart(yynn2737) + yynn2737 = 0 } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2694[0] { - yym2696 := z.EncBinary() - _ = yym2696 + if yyq2737[0] { + yym2739 := z.EncBinary() + _ = yym2739 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33954,23 +34600,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2694[0] { + if yyq2737[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2697 := z.EncBinary() - _ = yym2697 + yym2740 := z.EncBinary() + _ = yym2740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2694[1] { - yym2699 := z.EncBinary() - _ = yym2699 + if yyq2737[1] { + yym2742 := z.EncBinary() + _ = yym2742 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33979,22 +34625,22 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2694[1] { + if yyq2737[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2700 := z.EncBinary() - _ = yym2700 + yym2743 := z.EncBinary() + _ = yym2743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2702 := z.EncBinary() - _ = yym2702 + yym2745 := z.EncBinary() + _ = yym2745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34003,17 +34649,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2703 := z.EncBinary() - _ = yym2703 + yym2746 := z.EncBinary() + _ = yym2746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2705 := z.EncBinary() - _ = yym2705 + yym2748 := z.EncBinary() + _ = yym2748 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -34022,17 +34668,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2706 := z.EncBinary() - _ = yym2706 + yym2749 := z.EncBinary() + _ = yym2749 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2708 := z.EncBinary() - _ = yym2708 + yym2751 := z.EncBinary() + _ = yym2751 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -34041,24 +34687,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2709 := z.EncBinary() - _ = yym2709 + yym2752 := z.EncBinary() + _ = yym2752 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2711 := *x.SinceSeconds - yym2712 := z.EncBinary() - _ = yym2712 + yy2754 := *x.SinceSeconds + yym2755 := z.EncBinary() + _ = yym2755 if false { } else { - r.EncodeInt(int64(yy2711)) + r.EncodeInt(int64(yy2754)) } } } else { @@ -34068,27 +34714,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2713 := *x.SinceSeconds - yym2714 := z.EncBinary() - _ = yym2714 + yy2756 := *x.SinceSeconds + yym2757 := z.EncBinary() + _ = yym2757 if false { } else { - r.EncodeInt(int64(yy2713)) + r.EncodeInt(int64(yy2756)) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2716 := z.EncBinary() - _ = yym2716 + yym2759 := z.EncBinary() + _ = yym2759 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2716 { + } else if yym2759 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2716 && z.IsJSONHandle() { + } else if !yym2759 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -34101,23 +34747,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym2717 := z.EncBinary() - _ = yym2717 + yym2760 := z.EncBinary() + _ = yym2760 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2717 { + } else if yym2760 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2717 && z.IsJSONHandle() { + } else if !yym2760 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2719 := z.EncBinary() - _ = yym2719 + yym2762 := z.EncBinary() + _ = yym2762 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -34126,24 +34772,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2720 := z.EncBinary() - _ = yym2720 + yym2763 := z.EncBinary() + _ = yym2763 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2722 := *x.TailLines - yym2723 := z.EncBinary() - _ = yym2723 + yy2765 := *x.TailLines + yym2766 := z.EncBinary() + _ = yym2766 if false { } else { - r.EncodeInt(int64(yy2722)) + r.EncodeInt(int64(yy2765)) } } } else { @@ -34153,26 +34799,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy2724 := *x.TailLines - yym2725 := z.EncBinary() - _ = yym2725 + yy2767 := *x.TailLines + yym2768 := z.EncBinary() + _ = yym2768 if false { } else { - r.EncodeInt(int64(yy2724)) + r.EncodeInt(int64(yy2767)) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2727 := *x.LimitBytes - yym2728 := z.EncBinary() - _ = yym2728 + yy2770 := *x.LimitBytes + yym2771 := z.EncBinary() + _ = yym2771 if false { } else { - r.EncodeInt(int64(yy2727)) + r.EncodeInt(int64(yy2770)) } } } else { @@ -34182,16 +34828,16 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2729 := *x.LimitBytes - yym2730 := z.EncBinary() - _ = yym2730 + yy2772 := *x.LimitBytes + yym2773 := z.EncBinary() + _ = yym2773 if false { } else { - r.EncodeInt(int64(yy2729)) + r.EncodeInt(int64(yy2772)) } } } - if yyr2694 || yy2arr2694 { + if yyr2737 || yy2arr2737 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34204,25 +34850,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2731 := z.DecBinary() - _ = yym2731 + yym2774 := z.DecBinary() + _ = yym2774 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2732 := r.ContainerType() - if yyct2732 == codecSelferValueTypeMap1234 { - yyl2732 := r.ReadMapStart() - if yyl2732 == 0 { + yyct2775 := r.ContainerType() + if yyct2775 == codecSelferValueTypeMap1234 { + yyl2775 := r.ReadMapStart() + if yyl2775 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2732, d) + x.codecDecodeSelfFromMap(yyl2775, d) } - } else if yyct2732 == codecSelferValueTypeArray1234 { - yyl2732 := r.ReadArrayStart() - if yyl2732 == 0 { + } else if yyct2775 == codecSelferValueTypeArray1234 { + yyl2775 := r.ReadArrayStart() + if yyl2775 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2732, d) + x.codecDecodeSelfFromArray(yyl2775, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34234,12 +34880,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2733Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2733Slc - var yyhl2733 bool = l >= 0 - for yyj2733 := 0; ; yyj2733++ { - if yyhl2733 { - if yyj2733 >= l { + var yys2776Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2776Slc + var yyhl2776 bool = l >= 0 + for yyj2776 := 0; ; yyj2776++ { + if yyhl2776 { + if yyj2776 >= l { break } } else { @@ -34248,10 +34894,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2733Slc = r.DecodeBytes(yys2733Slc, true, true) - yys2733 := string(yys2733Slc) + yys2776Slc = r.DecodeBytes(yys2776Slc, true, true) + yys2776 := string(yys2776Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2733 { + switch yys2776 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34291,8 +34937,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2740 := z.DecBinary() - _ = yym2740 + yym2783 := z.DecBinary() + _ = yym2783 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -34307,13 +34953,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2742 := z.DecBinary() - _ = yym2742 + yym2785 := z.DecBinary() + _ = yym2785 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2742 { + } else if yym2785 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2742 && z.IsJSONHandle() { + } else if !yym2785 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -34334,8 +34980,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2745 := z.DecBinary() - _ = yym2745 + yym2788 := z.DecBinary() + _ = yym2788 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -34350,17 +34996,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2747 := z.DecBinary() - _ = yym2747 + yym2790 := z.DecBinary() + _ = yym2790 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2733) - } // end switch yys2733 - } // end for yyj2733 + z.DecStructFieldNotFound(-1, yys2776) + } // end switch yys2776 + } // end for yyj2776 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34368,16 +35014,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2748 int - var yyb2748 bool - var yyhl2748 bool = l >= 0 - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + var yyj2791 int + var yyb2791 bool + var yyhl2791 bool = l >= 0 + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34387,13 +35033,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34403,13 +35049,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34419,13 +35065,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34435,13 +35081,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34451,13 +35097,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34470,20 +35116,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2755 := z.DecBinary() - _ = yym2755 + yym2798 := z.DecBinary() + _ = yym2798 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34496,25 +35142,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2757 := z.DecBinary() - _ = yym2757 + yym2800 := z.DecBinary() + _ = yym2800 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2757 { + } else if yym2800 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2757 && z.IsJSONHandle() { + } else if !yym2800 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34524,13 +35170,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34543,20 +35189,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2760 := z.DecBinary() - _ = yym2760 + yym2803 := z.DecBinary() + _ = yym2803 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34569,25 +35215,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2762 := z.DecBinary() - _ = yym2762 + yym2805 := z.DecBinary() + _ = yym2805 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj2748++ - if yyhl2748 { - yyb2748 = yyj2748 > l + yyj2791++ + if yyhl2791 { + yyb2791 = yyj2791 > l } else { - yyb2748 = r.CheckBreak() + yyb2791 = r.CheckBreak() } - if yyb2748 { + if yyb2791 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2748-1, "") + z.DecStructFieldNotFound(yyj2791-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34599,41 +35245,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2763 := z.EncBinary() - _ = yym2763 + yym2806 := z.EncBinary() + _ = yym2806 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2764 := !z.EncBinary() - yy2arr2764 := z.EncBasicHandle().StructToArray - var yyq2764 [7]bool - _, _, _ = yysep2764, yyq2764, yy2arr2764 - const yyr2764 bool = false - yyq2764[0] = x.Kind != "" - yyq2764[1] = x.APIVersion != "" - yyq2764[2] = x.Stdin != false - yyq2764[3] = x.Stdout != false - yyq2764[4] = x.Stderr != false - yyq2764[5] = x.TTY != false - yyq2764[6] = x.Container != "" - var yynn2764 int - if yyr2764 || yy2arr2764 { + yysep2807 := !z.EncBinary() + yy2arr2807 := z.EncBasicHandle().StructToArray + var yyq2807 [7]bool + _, _, _ = yysep2807, yyq2807, yy2arr2807 + const yyr2807 bool = false + yyq2807[0] = x.Kind != "" + yyq2807[1] = x.APIVersion != "" + yyq2807[2] = x.Stdin != false + yyq2807[3] = x.Stdout != false + yyq2807[4] = x.Stderr != false + yyq2807[5] = x.TTY != false + yyq2807[6] = x.Container != "" + var yynn2807 int + if yyr2807 || yy2arr2807 { r.EncodeArrayStart(7) } else { - yynn2764 = 0 - for _, b := range yyq2764 { + yynn2807 = 0 + for _, b := range yyq2807 { if b { - yynn2764++ + yynn2807++ } } - r.EncodeMapStart(yynn2764) - yynn2764 = 0 + r.EncodeMapStart(yynn2807) + yynn2807 = 0 } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[0] { - yym2766 := z.EncBinary() - _ = yym2766 + if yyq2807[0] { + yym2809 := z.EncBinary() + _ = yym2809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34642,23 +35288,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2764[0] { + if yyq2807[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2767 := z.EncBinary() - _ = yym2767 + yym2810 := z.EncBinary() + _ = yym2810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[1] { - yym2769 := z.EncBinary() - _ = yym2769 + if yyq2807[1] { + yym2812 := z.EncBinary() + _ = yym2812 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34667,23 +35313,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2764[1] { + if yyq2807[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2770 := z.EncBinary() - _ = yym2770 + yym2813 := z.EncBinary() + _ = yym2813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[2] { - yym2772 := z.EncBinary() - _ = yym2772 + if yyq2807[2] { + yym2815 := z.EncBinary() + _ = yym2815 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34692,23 +35338,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2764[2] { + if yyq2807[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2773 := z.EncBinary() - _ = yym2773 + yym2816 := z.EncBinary() + _ = yym2816 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[3] { - yym2775 := z.EncBinary() - _ = yym2775 + if yyq2807[3] { + yym2818 := z.EncBinary() + _ = yym2818 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34717,23 +35363,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2764[3] { + if yyq2807[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2776 := z.EncBinary() - _ = yym2776 + yym2819 := z.EncBinary() + _ = yym2819 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[4] { - yym2778 := z.EncBinary() - _ = yym2778 + if yyq2807[4] { + yym2821 := z.EncBinary() + _ = yym2821 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34742,23 +35388,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2764[4] { + if yyq2807[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2779 := z.EncBinary() - _ = yym2779 + yym2822 := z.EncBinary() + _ = yym2822 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[5] { - yym2781 := z.EncBinary() - _ = yym2781 + if yyq2807[5] { + yym2824 := z.EncBinary() + _ = yym2824 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34767,23 +35413,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2764[5] { + if yyq2807[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2782 := z.EncBinary() - _ = yym2782 + yym2825 := z.EncBinary() + _ = yym2825 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2764[6] { - yym2784 := z.EncBinary() - _ = yym2784 + if yyq2807[6] { + yym2827 := z.EncBinary() + _ = yym2827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34792,19 +35438,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2764[6] { + if yyq2807[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2785 := z.EncBinary() - _ = yym2785 + yym2828 := z.EncBinary() + _ = yym2828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2764 || yy2arr2764 { + if yyr2807 || yy2arr2807 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34817,25 +35463,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2786 := z.DecBinary() - _ = yym2786 + yym2829 := z.DecBinary() + _ = yym2829 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2787 := r.ContainerType() - if yyct2787 == codecSelferValueTypeMap1234 { - yyl2787 := r.ReadMapStart() - if yyl2787 == 0 { + yyct2830 := r.ContainerType() + if yyct2830 == codecSelferValueTypeMap1234 { + yyl2830 := r.ReadMapStart() + if yyl2830 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2787, d) + x.codecDecodeSelfFromMap(yyl2830, d) } - } else if yyct2787 == codecSelferValueTypeArray1234 { - yyl2787 := r.ReadArrayStart() - if yyl2787 == 0 { + } else if yyct2830 == codecSelferValueTypeArray1234 { + yyl2830 := r.ReadArrayStart() + if yyl2830 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2787, d) + x.codecDecodeSelfFromArray(yyl2830, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34847,12 +35493,12 @@ func (x *PodAttachOptions) 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 yys2831Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2831Slc + var yyhl2831 bool = l >= 0 + for yyj2831 := 0; ; yyj2831++ { + if yyhl2831 { + if yyj2831 >= l { break } } else { @@ -34861,10 +35507,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2788Slc = r.DecodeBytes(yys2788Slc, true, true) - yys2788 := string(yys2788Slc) + yys2831Slc = r.DecodeBytes(yys2831Slc, true, true) + yys2831 := string(yys2831Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2788 { + switch yys2831 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34908,9 +35554,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2788) - } // end switch yys2788 - } // end for yyj2788 + z.DecStructFieldNotFound(-1, yys2831) + } // end switch yys2831 + } // end for yyj2831 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34918,16 +35564,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2796 int - var yyb2796 bool - var yyhl2796 bool = l >= 0 - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + var yyj2839 int + var yyb2839 bool + var yyhl2839 bool = l >= 0 + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34937,13 +35583,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34953,13 +35599,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34969,13 +35615,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34985,13 +35631,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35001,13 +35647,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35017,13 +35663,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35034,17 +35680,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj2796++ - if yyhl2796 { - yyb2796 = yyj2796 > l + yyj2839++ + if yyhl2839 { + yyb2839 = yyj2839 > l } else { - yyb2796 = r.CheckBreak() + yyb2839 = r.CheckBreak() } - if yyb2796 { + if yyb2839 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2796-1, "") + z.DecStructFieldNotFound(yyj2839-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35056,36 +35702,36 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2804 := z.EncBinary() - _ = yym2804 + yym2847 := z.EncBinary() + _ = yym2847 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2805 := !z.EncBinary() - yy2arr2805 := z.EncBasicHandle().StructToArray - var yyq2805 [8]bool - _, _, _ = yysep2805, yyq2805, yy2arr2805 - const yyr2805 bool = false - yyq2805[0] = x.Kind != "" - yyq2805[1] = x.APIVersion != "" - var yynn2805 int - if yyr2805 || yy2arr2805 { + yysep2848 := !z.EncBinary() + yy2arr2848 := z.EncBasicHandle().StructToArray + var yyq2848 [8]bool + _, _, _ = yysep2848, yyq2848, yy2arr2848 + const yyr2848 bool = false + yyq2848[0] = x.Kind != "" + yyq2848[1] = x.APIVersion != "" + var yynn2848 int + if yyr2848 || yy2arr2848 { r.EncodeArrayStart(8) } else { - yynn2805 = 6 - for _, b := range yyq2805 { + yynn2848 = 6 + for _, b := range yyq2848 { if b { - yynn2805++ + yynn2848++ } } - r.EncodeMapStart(yynn2805) - yynn2805 = 0 + r.EncodeMapStart(yynn2848) + yynn2848 = 0 } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2805[0] { - yym2807 := z.EncBinary() - _ = yym2807 + if yyq2848[0] { + yym2850 := z.EncBinary() + _ = yym2850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35094,23 +35740,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2805[0] { + if yyq2848[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2808 := z.EncBinary() - _ = yym2808 + yym2851 := z.EncBinary() + _ = yym2851 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2805[1] { - yym2810 := z.EncBinary() - _ = yym2810 + if yyq2848[1] { + yym2853 := z.EncBinary() + _ = yym2853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35119,22 +35765,22 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2805[1] { + if yyq2848[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2811 := z.EncBinary() - _ = yym2811 + yym2854 := z.EncBinary() + _ = yym2854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2813 := z.EncBinary() - _ = yym2813 + yym2856 := z.EncBinary() + _ = yym2856 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -35143,17 +35789,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2814 := z.EncBinary() - _ = yym2814 + yym2857 := z.EncBinary() + _ = yym2857 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2816 := z.EncBinary() - _ = yym2816 + yym2859 := z.EncBinary() + _ = yym2859 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -35162,17 +35808,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2817 := z.EncBinary() - _ = yym2817 + yym2860 := z.EncBinary() + _ = yym2860 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2819 := z.EncBinary() - _ = yym2819 + yym2862 := z.EncBinary() + _ = yym2862 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -35181,17 +35827,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2820 := z.EncBinary() - _ = yym2820 + yym2863 := z.EncBinary() + _ = yym2863 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2822 := z.EncBinary() - _ = yym2822 + yym2865 := z.EncBinary() + _ = yym2865 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -35200,17 +35846,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2823 := z.EncBinary() - _ = yym2823 + yym2866 := z.EncBinary() + _ = yym2866 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2825 := z.EncBinary() - _ = yym2825 + yym2868 := z.EncBinary() + _ = yym2868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -35219,20 +35865,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2826 := z.EncBinary() - _ = yym2826 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym2828 := z.EncBinary() - _ = yym2828 + yym2871 := z.EncBinary() + _ = yym2871 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -35245,15 +35891,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym2829 := z.EncBinary() - _ = yym2829 + yym2872 := z.EncBinary() + _ = yym2872 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2805 || yy2arr2805 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35266,25 +35912,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2830 := z.DecBinary() - _ = yym2830 + yym2873 := z.DecBinary() + _ = yym2873 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2831 := r.ContainerType() - if yyct2831 == codecSelferValueTypeMap1234 { - yyl2831 := r.ReadMapStart() - if yyl2831 == 0 { + yyct2874 := r.ContainerType() + if yyct2874 == codecSelferValueTypeMap1234 { + yyl2874 := r.ReadMapStart() + if yyl2874 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2831, d) + x.codecDecodeSelfFromMap(yyl2874, d) } - } else if yyct2831 == codecSelferValueTypeArray1234 { - yyl2831 := r.ReadArrayStart() - if yyl2831 == 0 { + } else if yyct2874 == codecSelferValueTypeArray1234 { + yyl2874 := r.ReadArrayStart() + if yyl2874 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2831, d) + x.codecDecodeSelfFromArray(yyl2874, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35296,12 +35942,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2832Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2832Slc - var yyhl2832 bool = l >= 0 - for yyj2832 := 0; ; yyj2832++ { - if yyhl2832 { - if yyj2832 >= l { + var yys2875Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2875Slc + var yyhl2875 bool = l >= 0 + for yyj2875 := 0; ; yyj2875++ { + if yyhl2875 { + if yyj2875 >= l { break } } else { @@ -35310,10 +35956,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2832Slc = r.DecodeBytes(yys2832Slc, true, true) - yys2832 := string(yys2832Slc) + yys2875Slc = r.DecodeBytes(yys2875Slc, true, true) + yys2875 := string(yys2875Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2832 { + switch yys2875 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35360,18 +36006,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2840 := &x.Command - yym2841 := z.DecBinary() - _ = yym2841 + yyv2883 := &x.Command + yym2884 := z.DecBinary() + _ = yym2884 if false { } else { - z.F.DecSliceStringX(yyv2840, false, d) + z.F.DecSliceStringX(yyv2883, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2832) - } // end switch yys2832 - } // end for yyj2832 + z.DecStructFieldNotFound(-1, yys2875) + } // end switch yys2875 + } // end for yyj2875 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35379,16 +36025,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2842 int - var yyb2842 bool - var yyhl2842 bool = l >= 0 - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + var yyj2885 int + var yyb2885 bool + var yyhl2885 bool = l >= 0 + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35398,13 +36044,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35414,13 +36060,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35430,13 +36076,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35446,13 +36092,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35462,13 +36108,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35478,13 +36124,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35494,13 +36140,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35508,26 +36154,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2850 := &x.Command - yym2851 := z.DecBinary() - _ = yym2851 + yyv2893 := &x.Command + yym2894 := z.DecBinary() + _ = yym2894 if false { } else { - z.F.DecSliceStringX(yyv2850, false, d) + z.F.DecSliceStringX(yyv2893, false, d) } } for { - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj2885++ + if yyhl2885 { + yyb2885 = yyj2885 > l } else { - yyb2842 = r.CheckBreak() + yyb2885 = r.CheckBreak() } - if yyb2842 { + if yyb2885 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2842-1, "") + z.DecStructFieldNotFound(yyj2885-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35539,36 +36185,36 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2852 := z.EncBinary() - _ = yym2852 + yym2895 := z.EncBinary() + _ = yym2895 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2853 := !z.EncBinary() - yy2arr2853 := z.EncBasicHandle().StructToArray - var yyq2853 [3]bool - _, _, _ = yysep2853, yyq2853, yy2arr2853 - const yyr2853 bool = false - yyq2853[0] = x.Kind != "" - yyq2853[1] = x.APIVersion != "" - var yynn2853 int - if yyr2853 || yy2arr2853 { + yysep2896 := !z.EncBinary() + yy2arr2896 := z.EncBasicHandle().StructToArray + var yyq2896 [3]bool + _, _, _ = yysep2896, yyq2896, yy2arr2896 + const yyr2896 bool = false + yyq2896[0] = x.Kind != "" + yyq2896[1] = x.APIVersion != "" + var yynn2896 int + if yyr2896 || yy2arr2896 { r.EncodeArrayStart(3) } else { - yynn2853 = 1 - for _, b := range yyq2853 { + yynn2896 = 1 + for _, b := range yyq2896 { if b { - yynn2853++ + yynn2896++ } } - r.EncodeMapStart(yynn2853) - yynn2853 = 0 + r.EncodeMapStart(yynn2896) + yynn2896 = 0 } - if yyr2853 || yy2arr2853 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2853[0] { - yym2855 := z.EncBinary() - _ = yym2855 + if yyq2896[0] { + yym2898 := z.EncBinary() + _ = yym2898 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35577,23 +36223,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2853[0] { + if yyq2896[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2856 := z.EncBinary() - _ = yym2856 + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2853 || yy2arr2853 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2853[1] { - yym2858 := z.EncBinary() - _ = yym2858 + if yyq2896[1] { + yym2901 := z.EncBinary() + _ = yym2901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35602,22 +36248,22 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2853[1] { + if yyq2896[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2859 := z.EncBinary() - _ = yym2859 + yym2902 := z.EncBinary() + _ = yym2902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2853 || yy2arr2853 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2861 := z.EncBinary() - _ = yym2861 + yym2904 := z.EncBinary() + _ = yym2904 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -35626,14 +36272,14 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2862 := z.EncBinary() - _ = yym2862 + yym2905 := z.EncBinary() + _ = yym2905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2853 || yy2arr2853 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35646,25 +36292,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2863 := z.DecBinary() - _ = yym2863 + yym2906 := z.DecBinary() + _ = yym2906 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2864 := r.ContainerType() - if yyct2864 == codecSelferValueTypeMap1234 { - yyl2864 := r.ReadMapStart() - if yyl2864 == 0 { + yyct2907 := r.ContainerType() + if yyct2907 == codecSelferValueTypeMap1234 { + yyl2907 := r.ReadMapStart() + if yyl2907 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2864, d) + x.codecDecodeSelfFromMap(yyl2907, d) } - } else if yyct2864 == codecSelferValueTypeArray1234 { - yyl2864 := r.ReadArrayStart() - if yyl2864 == 0 { + } else if yyct2907 == codecSelferValueTypeArray1234 { + yyl2907 := r.ReadArrayStart() + if yyl2907 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2864, d) + x.codecDecodeSelfFromArray(yyl2907, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35676,12 +36322,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2865Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2865Slc - var yyhl2865 bool = l >= 0 - for yyj2865 := 0; ; yyj2865++ { - if yyhl2865 { - if yyj2865 >= l { + var yys2908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2908Slc + var yyhl2908 bool = l >= 0 + for yyj2908 := 0; ; yyj2908++ { + if yyhl2908 { + if yyj2908 >= l { break } } else { @@ -35690,10 +36336,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2865Slc = r.DecodeBytes(yys2865Slc, true, true) - yys2865 := string(yys2865Slc) + yys2908Slc = r.DecodeBytes(yys2908Slc, true, true) + yys2908 := string(yys2908Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2865 { + switch yys2908 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35713,9 +36359,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2865) - } // end switch yys2865 - } // end for yyj2865 + z.DecStructFieldNotFound(-1, yys2908) + } // end switch yys2908 + } // end for yyj2908 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35723,16 +36369,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2869 int - var yyb2869 bool - var yyhl2869 bool = l >= 0 - yyj2869++ - if yyhl2869 { - yyb2869 = yyj2869 > l + var yyj2912 int + var yyb2912 bool + var yyhl2912 bool = l >= 0 + yyj2912++ + if yyhl2912 { + yyb2912 = yyj2912 > l } else { - yyb2869 = r.CheckBreak() + yyb2912 = r.CheckBreak() } - if yyb2869 { + if yyb2912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35742,13 +36388,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2869++ - if yyhl2869 { - yyb2869 = yyj2869 > l + yyj2912++ + if yyhl2912 { + yyb2912 = yyj2912 > l } else { - yyb2869 = r.CheckBreak() + yyb2912 = r.CheckBreak() } - if yyb2869 { + if yyb2912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35758,13 +36404,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2869++ - if yyhl2869 { - yyb2869 = yyj2869 > l + yyj2912++ + if yyhl2912 { + yyb2912 = yyj2912 > l } else { - yyb2869 = r.CheckBreak() + yyb2912 = r.CheckBreak() } - if yyb2869 { + if yyb2912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35775,17 +36421,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj2869++ - if yyhl2869 { - yyb2869 = yyj2869 > l + yyj2912++ + if yyhl2912 { + yyb2912 = yyj2912 > l } else { - yyb2869 = r.CheckBreak() + yyb2912 = r.CheckBreak() } - if yyb2869 { + if yyb2912 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2869-1, "") + z.DecStructFieldNotFound(yyj2912-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35797,41 +36443,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2873 := z.EncBinary() - _ = yym2873 + yym2916 := z.EncBinary() + _ = yym2916 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2874 := !z.EncBinary() - yy2arr2874 := z.EncBasicHandle().StructToArray - var yyq2874 [7]bool - _, _, _ = yysep2874, yyq2874, yy2arr2874 - const yyr2874 bool = false - yyq2874[0] = x.Kind != "" - yyq2874[1] = x.Namespace != "" - yyq2874[2] = x.Name != "" - yyq2874[3] = x.UID != "" - yyq2874[4] = x.APIVersion != "" - yyq2874[5] = x.ResourceVersion != "" - yyq2874[6] = x.FieldPath != "" - var yynn2874 int - if yyr2874 || yy2arr2874 { + yysep2917 := !z.EncBinary() + yy2arr2917 := z.EncBasicHandle().StructToArray + var yyq2917 [7]bool + _, _, _ = yysep2917, yyq2917, yy2arr2917 + const yyr2917 bool = false + yyq2917[0] = x.Kind != "" + yyq2917[1] = x.Namespace != "" + yyq2917[2] = x.Name != "" + yyq2917[3] = x.UID != "" + yyq2917[4] = x.APIVersion != "" + yyq2917[5] = x.ResourceVersion != "" + yyq2917[6] = x.FieldPath != "" + var yynn2917 int + if yyr2917 || yy2arr2917 { r.EncodeArrayStart(7) } else { - yynn2874 = 0 - for _, b := range yyq2874 { + yynn2917 = 0 + for _, b := range yyq2917 { if b { - yynn2874++ + yynn2917++ } } - r.EncodeMapStart(yynn2874) - yynn2874 = 0 + r.EncodeMapStart(yynn2917) + yynn2917 = 0 } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[0] { - yym2876 := z.EncBinary() - _ = yym2876 + if yyq2917[0] { + yym2919 := z.EncBinary() + _ = yym2919 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35840,23 +36486,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[0] { + if yyq2917[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2877 := z.EncBinary() - _ = yym2877 + yym2920 := z.EncBinary() + _ = yym2920 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[1] { - yym2879 := z.EncBinary() - _ = yym2879 + if yyq2917[1] { + yym2922 := z.EncBinary() + _ = yym2922 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -35865,23 +36511,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[1] { + if yyq2917[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2880 := z.EncBinary() - _ = yym2880 + yym2923 := z.EncBinary() + _ = yym2923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[2] { - yym2882 := z.EncBinary() - _ = yym2882 + if yyq2917[2] { + yym2925 := z.EncBinary() + _ = yym2925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35890,23 +36536,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[2] { + if yyq2917[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2883 := z.EncBinary() - _ = yym2883 + yym2926 := z.EncBinary() + _ = yym2926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[3] { - yym2885 := z.EncBinary() - _ = yym2885 + if yyq2917[3] { + yym2928 := z.EncBinary() + _ = yym2928 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35916,12 +36562,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[3] { + if yyq2917[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2886 := z.EncBinary() - _ = yym2886 + yym2929 := z.EncBinary() + _ = yym2929 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35929,11 +36575,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[4] { - yym2888 := z.EncBinary() - _ = yym2888 + if yyq2917[4] { + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35942,23 +36588,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[4] { + if yyq2917[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2889 := z.EncBinary() - _ = yym2889 + yym2932 := z.EncBinary() + _ = yym2932 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[5] { - yym2891 := z.EncBinary() - _ = yym2891 + if yyq2917[5] { + yym2934 := z.EncBinary() + _ = yym2934 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -35967,23 +36613,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[5] { + if yyq2917[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2892 := z.EncBinary() - _ = yym2892 + yym2935 := z.EncBinary() + _ = yym2935 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[6] { - yym2894 := z.EncBinary() - _ = yym2894 + if yyq2917[6] { + yym2937 := z.EncBinary() + _ = yym2937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -35992,19 +36638,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[6] { + if yyq2917[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2895 := z.EncBinary() - _ = yym2895 + yym2938 := z.EncBinary() + _ = yym2938 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2874 || yy2arr2874 { + if yyr2917 || yy2arr2917 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36017,25 +36663,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2896 := z.DecBinary() - _ = yym2896 + yym2939 := z.DecBinary() + _ = yym2939 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2897 := r.ContainerType() - if yyct2897 == codecSelferValueTypeMap1234 { - yyl2897 := r.ReadMapStart() - if yyl2897 == 0 { + yyct2940 := r.ContainerType() + if yyct2940 == codecSelferValueTypeMap1234 { + yyl2940 := r.ReadMapStart() + if yyl2940 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2897, d) + x.codecDecodeSelfFromMap(yyl2940, d) } - } else if yyct2897 == codecSelferValueTypeArray1234 { - yyl2897 := r.ReadArrayStart() - if yyl2897 == 0 { + } else if yyct2940 == codecSelferValueTypeArray1234 { + yyl2940 := r.ReadArrayStart() + if yyl2940 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2897, d) + x.codecDecodeSelfFromArray(yyl2940, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36047,12 +36693,12 @@ func (x *ObjectReference) 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 yys2941Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2941Slc + var yyhl2941 bool = l >= 0 + for yyj2941 := 0; ; yyj2941++ { + if yyhl2941 { + if yyj2941 >= l { break } } else { @@ -36061,10 +36707,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2898Slc = r.DecodeBytes(yys2898Slc, true, true) - yys2898 := string(yys2898Slc) + yys2941Slc = r.DecodeBytes(yys2941Slc, true, true) + yys2941 := string(yys2941Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2898 { + switch yys2941 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36108,9 +36754,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2898) - } // end switch yys2898 - } // end for yyj2898 + z.DecStructFieldNotFound(-1, yys2941) + } // end switch yys2941 + } // end for yyj2941 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36118,16 +36764,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2906 int - var yyb2906 bool - var yyhl2906 bool = l >= 0 - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + var yyj2949 int + var yyb2949 bool + var yyhl2949 bool = l >= 0 + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36137,13 +36783,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36153,13 +36799,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36169,13 +36815,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36185,13 +36831,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36201,13 +36847,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36217,13 +36863,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36234,17 +36880,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj2906++ - if yyhl2906 { - yyb2906 = yyj2906 > l + yyj2949++ + if yyhl2949 { + yyb2949 = yyj2949 > l } else { - yyb2906 = r.CheckBreak() + yyb2949 = r.CheckBreak() } - if yyb2906 { + if yyb2949 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2906-1, "") + z.DecStructFieldNotFound(yyj2949-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36256,33 +36902,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2914 := z.EncBinary() - _ = yym2914 + yym2957 := z.EncBinary() + _ = yym2957 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2915 := !z.EncBinary() - yy2arr2915 := z.EncBasicHandle().StructToArray - var yyq2915 [1]bool - _, _, _ = yysep2915, yyq2915, yy2arr2915 - const yyr2915 bool = false - var yynn2915 int - if yyr2915 || yy2arr2915 { + yysep2958 := !z.EncBinary() + yy2arr2958 := z.EncBasicHandle().StructToArray + var yyq2958 [1]bool + _, _, _ = yysep2958, yyq2958, yy2arr2958 + const yyr2958 bool = false + var yynn2958 int + if yyr2958 || yy2arr2958 { r.EncodeArrayStart(1) } else { - yynn2915 = 1 - for _, b := range yyq2915 { + yynn2958 = 1 + for _, b := range yyq2958 { if b { - yynn2915++ + yynn2958++ } } - r.EncodeMapStart(yynn2915) - yynn2915 = 0 + r.EncodeMapStart(yynn2958) + yynn2958 = 0 } - if yyr2915 || yy2arr2915 { + if yyr2958 || yy2arr2958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2917 := z.EncBinary() - _ = yym2917 + yym2960 := z.EncBinary() + _ = yym2960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -36291,14 +36937,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2918 := z.EncBinary() - _ = yym2918 + yym2961 := z.EncBinary() + _ = yym2961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2915 || yy2arr2915 { + if yyr2958 || yy2arr2958 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36311,25 +36957,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2919 := z.DecBinary() - _ = yym2919 + yym2962 := z.DecBinary() + _ = yym2962 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2920 := r.ContainerType() - if yyct2920 == codecSelferValueTypeMap1234 { - yyl2920 := r.ReadMapStart() - if yyl2920 == 0 { + yyct2963 := r.ContainerType() + if yyct2963 == codecSelferValueTypeMap1234 { + yyl2963 := r.ReadMapStart() + if yyl2963 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2920, d) + x.codecDecodeSelfFromMap(yyl2963, d) } - } else if yyct2920 == codecSelferValueTypeArray1234 { - yyl2920 := r.ReadArrayStart() - if yyl2920 == 0 { + } else if yyct2963 == codecSelferValueTypeArray1234 { + yyl2963 := r.ReadArrayStart() + if yyl2963 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2920, d) + x.codecDecodeSelfFromArray(yyl2963, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36341,12 +36987,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2921Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2921Slc - var yyhl2921 bool = l >= 0 - for yyj2921 := 0; ; yyj2921++ { - if yyhl2921 { - if yyj2921 >= l { + var yys2964Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2964Slc + var yyhl2964 bool = l >= 0 + for yyj2964 := 0; ; yyj2964++ { + if yyhl2964 { + if yyj2964 >= l { break } } else { @@ -36355,10 +37001,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2921Slc = r.DecodeBytes(yys2921Slc, true, true) - yys2921 := string(yys2921Slc) + yys2964Slc = r.DecodeBytes(yys2964Slc, true, true) + yys2964 := string(yys2964Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2921 { + switch yys2964 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -36366,9 +37012,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2921) - } // end switch yys2921 - } // end for yyj2921 + z.DecStructFieldNotFound(-1, yys2964) + } // end switch yys2964 + } // end for yyj2964 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36376,16 +37022,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2923 int - var yyb2923 bool - var yyhl2923 bool = l >= 0 - yyj2923++ - if yyhl2923 { - yyb2923 = yyj2923 > l + var yyj2966 int + var yyb2966 bool + var yyhl2966 bool = l >= 0 + yyj2966++ + if yyhl2966 { + yyb2966 = yyj2966 > l } else { - yyb2923 = r.CheckBreak() + yyb2966 = r.CheckBreak() } - if yyb2923 { + if yyb2966 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36396,17 +37042,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj2923++ - if yyhl2923 { - yyb2923 = yyj2923 > l + yyj2966++ + if yyhl2966 { + yyb2966 = yyj2966 > l } else { - yyb2923 = r.CheckBreak() + yyb2966 = r.CheckBreak() } - if yyb2923 { + if yyb2966 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2923-1, "") + z.DecStructFieldNotFound(yyj2966-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36418,37 +37064,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2925 := z.EncBinary() - _ = yym2925 + yym2968 := z.EncBinary() + _ = yym2968 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2926 := !z.EncBinary() - yy2arr2926 := z.EncBasicHandle().StructToArray - var yyq2926 [3]bool - _, _, _ = yysep2926, yyq2926, yy2arr2926 - const yyr2926 bool = false - yyq2926[0] = x.Kind != "" - yyq2926[1] = x.APIVersion != "" - yyq2926[2] = true - var yynn2926 int - if yyr2926 || yy2arr2926 { + yysep2969 := !z.EncBinary() + yy2arr2969 := z.EncBasicHandle().StructToArray + var yyq2969 [3]bool + _, _, _ = yysep2969, yyq2969, yy2arr2969 + const yyr2969 bool = false + yyq2969[0] = x.Kind != "" + yyq2969[1] = x.APIVersion != "" + yyq2969[2] = true + var yynn2969 int + if yyr2969 || yy2arr2969 { r.EncodeArrayStart(3) } else { - yynn2926 = 0 - for _, b := range yyq2926 { + yynn2969 = 0 + for _, b := range yyq2969 { if b { - yynn2926++ + yynn2969++ } } - r.EncodeMapStart(yynn2926) - yynn2926 = 0 + r.EncodeMapStart(yynn2969) + yynn2969 = 0 } - if yyr2926 || yy2arr2926 { + if yyr2969 || yy2arr2969 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2926[0] { - yym2928 := z.EncBinary() - _ = yym2928 + if yyq2969[0] { + yym2971 := z.EncBinary() + _ = yym2971 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36457,23 +37103,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2926[0] { + if yyq2969[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2929 := z.EncBinary() - _ = yym2929 + yym2972 := z.EncBinary() + _ = yym2972 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2926 || yy2arr2926 { + if yyr2969 || yy2arr2969 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2926[1] { - yym2931 := z.EncBinary() - _ = yym2931 + if yyq2969[1] { + yym2974 := z.EncBinary() + _ = yym2974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36482,36 +37128,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2926[1] { + if yyq2969[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2932 := z.EncBinary() - _ = yym2932 + yym2975 := z.EncBinary() + _ = yym2975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2926 || yy2arr2926 { + if yyr2969 || yy2arr2969 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2926[2] { - yy2934 := &x.Reference - yy2934.CodecEncodeSelf(e) + if yyq2969[2] { + yy2977 := &x.Reference + yy2977.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2926[2] { + if yyq2969[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2935 := &x.Reference - yy2935.CodecEncodeSelf(e) + yy2978 := &x.Reference + yy2978.CodecEncodeSelf(e) } } - if yyr2926 || yy2arr2926 { + if yyr2969 || yy2arr2969 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36524,25 +37170,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2936 := z.DecBinary() - _ = yym2936 + yym2979 := z.DecBinary() + _ = yym2979 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2937 := r.ContainerType() - if yyct2937 == codecSelferValueTypeMap1234 { - yyl2937 := r.ReadMapStart() - if yyl2937 == 0 { + yyct2980 := r.ContainerType() + if yyct2980 == codecSelferValueTypeMap1234 { + yyl2980 := r.ReadMapStart() + if yyl2980 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2937, d) + x.codecDecodeSelfFromMap(yyl2980, d) } - } else if yyct2937 == codecSelferValueTypeArray1234 { - yyl2937 := r.ReadArrayStart() - if yyl2937 == 0 { + } else if yyct2980 == codecSelferValueTypeArray1234 { + yyl2980 := r.ReadArrayStart() + if yyl2980 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2937, d) + x.codecDecodeSelfFromArray(yyl2980, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36554,12 +37200,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2938Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2938Slc - var yyhl2938 bool = l >= 0 - for yyj2938 := 0; ; yyj2938++ { - if yyhl2938 { - if yyj2938 >= l { + var yys2981Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2981Slc + var yyhl2981 bool = l >= 0 + for yyj2981 := 0; ; yyj2981++ { + if yyhl2981 { + if yyj2981 >= l { break } } else { @@ -36568,10 +37214,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2938Slc = r.DecodeBytes(yys2938Slc, true, true) - yys2938 := string(yys2938Slc) + yys2981Slc = r.DecodeBytes(yys2981Slc, true, true) + yys2981 := string(yys2981Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2938 { + switch yys2981 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36588,13 +37234,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2941 := &x.Reference - yyv2941.CodecDecodeSelf(d) + yyv2984 := &x.Reference + yyv2984.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2938) - } // end switch yys2938 - } // end for yyj2938 + z.DecStructFieldNotFound(-1, yys2981) + } // end switch yys2981 + } // end for yyj2981 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36602,16 +37248,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2942 int - var yyb2942 bool - var yyhl2942 bool = l >= 0 - yyj2942++ - if yyhl2942 { - yyb2942 = yyj2942 > l + var yyj2985 int + var yyb2985 bool + var yyhl2985 bool = l >= 0 + yyj2985++ + if yyhl2985 { + yyb2985 = yyj2985 > l } else { - yyb2942 = r.CheckBreak() + yyb2985 = r.CheckBreak() } - if yyb2942 { + if yyb2985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36621,13 +37267,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj2942++ - if yyhl2942 { - yyb2942 = yyj2942 > l + yyj2985++ + if yyhl2985 { + yyb2985 = yyj2985 > l } else { - yyb2942 = r.CheckBreak() + yyb2985 = r.CheckBreak() } - if yyb2942 { + if yyb2985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36637,13 +37283,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj2942++ - if yyhl2942 { - yyb2942 = yyj2942 > l + yyj2985++ + if yyhl2985 { + yyb2985 = yyj2985 > l } else { - yyb2942 = r.CheckBreak() + yyb2985 = r.CheckBreak() } - if yyb2942 { + if yyb2985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36651,21 +37297,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2945 := &x.Reference - yyv2945.CodecDecodeSelf(d) + yyv2988 := &x.Reference + yyv2988.CodecDecodeSelf(d) } for { - yyj2942++ - if yyhl2942 { - yyb2942 = yyj2942 > l + yyj2985++ + if yyhl2985 { + yyb2985 = yyj2985 > l } else { - yyb2942 = r.CheckBreak() + yyb2985 = r.CheckBreak() } - if yyb2942 { + if yyb2985 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2942-1, "") + z.DecStructFieldNotFound(yyj2985-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36677,36 +37323,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2946 := z.EncBinary() - _ = yym2946 + yym2989 := z.EncBinary() + _ = yym2989 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2947 := !z.EncBinary() - yy2arr2947 := z.EncBasicHandle().StructToArray - var yyq2947 [2]bool - _, _, _ = yysep2947, yyq2947, yy2arr2947 - const yyr2947 bool = false - yyq2947[0] = x.Component != "" - yyq2947[1] = x.Host != "" - var yynn2947 int - if yyr2947 || yy2arr2947 { + yysep2990 := !z.EncBinary() + yy2arr2990 := z.EncBasicHandle().StructToArray + var yyq2990 [2]bool + _, _, _ = yysep2990, yyq2990, yy2arr2990 + const yyr2990 bool = false + yyq2990[0] = x.Component != "" + yyq2990[1] = x.Host != "" + var yynn2990 int + if yyr2990 || yy2arr2990 { r.EncodeArrayStart(2) } else { - yynn2947 = 0 - for _, b := range yyq2947 { + yynn2990 = 0 + for _, b := range yyq2990 { if b { - yynn2947++ + yynn2990++ } } - r.EncodeMapStart(yynn2947) - yynn2947 = 0 + r.EncodeMapStart(yynn2990) + yynn2990 = 0 } - if yyr2947 || yy2arr2947 { + if yyr2990 || yy2arr2990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2947[0] { - yym2949 := z.EncBinary() - _ = yym2949 + if yyq2990[0] { + yym2992 := z.EncBinary() + _ = yym2992 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -36715,23 +37361,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2947[0] { + if yyq2990[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2950 := z.EncBinary() - _ = yym2950 + yym2993 := z.EncBinary() + _ = yym2993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2947 || yy2arr2947 { + if yyr2990 || yy2arr2990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2947[1] { - yym2952 := z.EncBinary() - _ = yym2952 + if yyq2990[1] { + yym2995 := z.EncBinary() + _ = yym2995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -36740,19 +37386,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2947[1] { + if yyq2990[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2953 := z.EncBinary() - _ = yym2953 + yym2996 := z.EncBinary() + _ = yym2996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2947 || yy2arr2947 { + if yyr2990 || yy2arr2990 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36765,25 +37411,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2954 := z.DecBinary() - _ = yym2954 + yym2997 := z.DecBinary() + _ = yym2997 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2955 := r.ContainerType() - if yyct2955 == codecSelferValueTypeMap1234 { - yyl2955 := r.ReadMapStart() - if yyl2955 == 0 { + yyct2998 := r.ContainerType() + if yyct2998 == codecSelferValueTypeMap1234 { + yyl2998 := r.ReadMapStart() + if yyl2998 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2955, d) + x.codecDecodeSelfFromMap(yyl2998, d) } - } else if yyct2955 == codecSelferValueTypeArray1234 { - yyl2955 := r.ReadArrayStart() - if yyl2955 == 0 { + } else if yyct2998 == codecSelferValueTypeArray1234 { + yyl2998 := r.ReadArrayStart() + if yyl2998 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2955, d) + x.codecDecodeSelfFromArray(yyl2998, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36795,12 +37441,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2956Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2956Slc - var yyhl2956 bool = l >= 0 - for yyj2956 := 0; ; yyj2956++ { - if yyhl2956 { - if yyj2956 >= l { + var yys2999Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2999Slc + var yyhl2999 bool = l >= 0 + for yyj2999 := 0; ; yyj2999++ { + if yyhl2999 { + if yyj2999 >= l { break } } else { @@ -36809,10 +37455,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2956Slc = r.DecodeBytes(yys2956Slc, true, true) - yys2956 := string(yys2956Slc) + yys2999Slc = r.DecodeBytes(yys2999Slc, true, true) + yys2999 := string(yys2999Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2956 { + switch yys2999 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -36826,9 +37472,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2956) - } // end switch yys2956 - } // end for yyj2956 + z.DecStructFieldNotFound(-1, yys2999) + } // end switch yys2999 + } // end for yyj2999 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36836,16 +37482,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2959 int - var yyb2959 bool - var yyhl2959 bool = l >= 0 - yyj2959++ - if yyhl2959 { - yyb2959 = yyj2959 > l + var yyj3002 int + var yyb3002 bool + var yyhl3002 bool = l >= 0 + yyj3002++ + if yyhl3002 { + yyb3002 = yyj3002 > l } else { - yyb2959 = r.CheckBreak() + yyb3002 = r.CheckBreak() } - if yyb2959 { + if yyb3002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36855,13 +37501,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj2959++ - if yyhl2959 { - yyb2959 = yyj2959 > l + yyj3002++ + if yyhl3002 { + yyb3002 = yyj3002 > l } else { - yyb2959 = r.CheckBreak() + yyb3002 = r.CheckBreak() } - if yyb2959 { + if yyb3002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36872,17 +37518,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj2959++ - if yyhl2959 { - yyb2959 = yyj2959 > l + yyj3002++ + if yyhl3002 { + yyb3002 = yyj3002 > l } else { - yyb2959 = r.CheckBreak() + yyb3002 = r.CheckBreak() } - if yyb2959 { + if yyb3002 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2959-1, "") + z.DecStructFieldNotFound(yyj3002-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36894,45 +37540,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2962 := z.EncBinary() - _ = yym2962 + yym3005 := z.EncBinary() + _ = yym3005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2963 := !z.EncBinary() - yy2arr2963 := z.EncBasicHandle().StructToArray - var yyq2963 [11]bool - _, _, _ = yysep2963, yyq2963, yy2arr2963 - const yyr2963 bool = false - yyq2963[0] = x.Kind != "" - yyq2963[1] = x.APIVersion != "" - yyq2963[2] = true - yyq2963[3] = true - yyq2963[4] = x.Reason != "" - yyq2963[5] = x.Message != "" - yyq2963[6] = true - yyq2963[7] = true - yyq2963[8] = true - yyq2963[9] = x.Count != 0 - yyq2963[10] = x.Type != "" - var yynn2963 int - if yyr2963 || yy2arr2963 { + yysep3006 := !z.EncBinary() + yy2arr3006 := z.EncBasicHandle().StructToArray + var yyq3006 [11]bool + _, _, _ = yysep3006, yyq3006, yy2arr3006 + const yyr3006 bool = false + yyq3006[0] = x.Kind != "" + yyq3006[1] = x.APIVersion != "" + yyq3006[2] = true + yyq3006[3] = true + yyq3006[4] = x.Reason != "" + yyq3006[5] = x.Message != "" + yyq3006[6] = true + yyq3006[7] = true + yyq3006[8] = true + yyq3006[9] = x.Count != 0 + yyq3006[10] = x.Type != "" + var yynn3006 int + if yyr3006 || yy2arr3006 { r.EncodeArrayStart(11) } else { - yynn2963 = 0 - for _, b := range yyq2963 { + yynn3006 = 0 + for _, b := range yyq3006 { if b { - yynn2963++ + yynn3006++ } } - r.EncodeMapStart(yynn2963) - yynn2963 = 0 + r.EncodeMapStart(yynn3006) + yynn3006 = 0 } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[0] { - yym2965 := z.EncBinary() - _ = yym2965 + if yyq3006[0] { + yym3008 := z.EncBinary() + _ = yym3008 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36941,23 +37587,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2963[0] { + if yyq3006[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2966 := z.EncBinary() - _ = yym2966 + yym3009 := z.EncBinary() + _ = yym3009 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[1] { - yym2968 := z.EncBinary() - _ = yym2968 + if yyq3006[1] { + yym3011 := z.EncBinary() + _ = yym3011 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36966,57 +37612,57 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2963[1] { + if yyq3006[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2969 := z.EncBinary() - _ = yym2969 + yym3012 := z.EncBinary() + _ = yym3012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[2] { - yy2971 := &x.ObjectMeta - yy2971.CodecEncodeSelf(e) + if yyq3006[2] { + yy3014 := &x.ObjectMeta + yy3014.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2963[2] { + if yyq3006[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2972 := &x.ObjectMeta - yy2972.CodecEncodeSelf(e) + yy3015 := &x.ObjectMeta + yy3015.CodecEncodeSelf(e) } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[3] { - yy2974 := &x.InvolvedObject - yy2974.CodecEncodeSelf(e) + if yyq3006[3] { + yy3017 := &x.InvolvedObject + yy3017.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2963[3] { + if yyq3006[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2975 := &x.InvolvedObject - yy2975.CodecEncodeSelf(e) + yy3018 := &x.InvolvedObject + yy3018.CodecEncodeSelf(e) } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[4] { - yym2977 := z.EncBinary() - _ = yym2977 + if yyq3006[4] { + yym3020 := z.EncBinary() + _ = yym3020 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -37025,23 +37671,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2963[4] { + if yyq3006[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2978 := z.EncBinary() - _ = yym2978 + yym3021 := z.EncBinary() + _ = yym3021 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[5] { - yym2980 := z.EncBinary() - _ = yym2980 + if yyq3006[5] { + yym3023 := z.EncBinary() + _ = yym3023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -37050,114 +37696,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2963[5] { + if yyq3006[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2981 := z.EncBinary() - _ = yym2981 + yym3024 := z.EncBinary() + _ = yym3024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[6] { - yy2983 := &x.Source - yy2983.CodecEncodeSelf(e) + if yyq3006[6] { + yy3026 := &x.Source + yy3026.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2963[6] { + if yyq3006[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2984 := &x.Source - yy2984.CodecEncodeSelf(e) + yy3027 := &x.Source + yy3027.CodecEncodeSelf(e) } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[7] { - yy2986 := &x.FirstTimestamp - yym2987 := z.EncBinary() - _ = yym2987 + if yyq3006[7] { + yy3029 := &x.FirstTimestamp + yym3030 := z.EncBinary() + _ = yym3030 if false { - } else if z.HasExtensions() && z.EncExt(yy2986) { - } else if yym2987 { - z.EncBinaryMarshal(yy2986) - } else if !yym2987 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2986) + } else if z.HasExtensions() && z.EncExt(yy3029) { + } else if yym3030 { + z.EncBinaryMarshal(yy3029) + } else if !yym3030 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3029) } else { - z.EncFallback(yy2986) + z.EncFallback(yy3029) } } else { r.EncodeNil() } } else { - if yyq2963[7] { + if yyq3006[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2988 := &x.FirstTimestamp - yym2989 := z.EncBinary() - _ = yym2989 + yy3031 := &x.FirstTimestamp + yym3032 := z.EncBinary() + _ = yym3032 if false { - } else if z.HasExtensions() && z.EncExt(yy2988) { - } else if yym2989 { - z.EncBinaryMarshal(yy2988) - } else if !yym2989 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2988) + } else if z.HasExtensions() && z.EncExt(yy3031) { + } else if yym3032 { + z.EncBinaryMarshal(yy3031) + } else if !yym3032 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3031) } else { - z.EncFallback(yy2988) + z.EncFallback(yy3031) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[8] { - yy2991 := &x.LastTimestamp - yym2992 := z.EncBinary() - _ = yym2992 + if yyq3006[8] { + yy3034 := &x.LastTimestamp + yym3035 := z.EncBinary() + _ = yym3035 if false { - } else if z.HasExtensions() && z.EncExt(yy2991) { - } else if yym2992 { - z.EncBinaryMarshal(yy2991) - } else if !yym2992 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2991) + } else if z.HasExtensions() && z.EncExt(yy3034) { + } else if yym3035 { + z.EncBinaryMarshal(yy3034) + } else if !yym3035 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3034) } else { - z.EncFallback(yy2991) + z.EncFallback(yy3034) } } else { r.EncodeNil() } } else { - if yyq2963[8] { + if yyq3006[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2993 := &x.LastTimestamp - yym2994 := z.EncBinary() - _ = yym2994 + yy3036 := &x.LastTimestamp + yym3037 := z.EncBinary() + _ = yym3037 if false { - } else if z.HasExtensions() && z.EncExt(yy2993) { - } else if yym2994 { - z.EncBinaryMarshal(yy2993) - } else if !yym2994 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2993) + } else if z.HasExtensions() && z.EncExt(yy3036) { + } else if yym3037 { + z.EncBinaryMarshal(yy3036) + } else if !yym3037 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3036) } else { - z.EncFallback(yy2993) + z.EncFallback(yy3036) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[9] { - yym2996 := z.EncBinary() - _ = yym2996 + if yyq3006[9] { + yym3039 := z.EncBinary() + _ = yym3039 if false { } else { r.EncodeInt(int64(x.Count)) @@ -37166,23 +37812,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2963[9] { + if yyq3006[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2997 := z.EncBinary() - _ = yym2997 + yym3040 := z.EncBinary() + _ = yym3040 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2963[10] { - yym2999 := z.EncBinary() - _ = yym2999 + if yyq3006[10] { + yym3042 := z.EncBinary() + _ = yym3042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -37191,19 +37837,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2963[10] { + if yyq3006[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3000 := z.EncBinary() - _ = yym3000 + yym3043 := z.EncBinary() + _ = yym3043 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2963 || yy2arr2963 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37216,25 +37862,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3001 := z.DecBinary() - _ = yym3001 + yym3044 := z.DecBinary() + _ = yym3044 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3002 := r.ContainerType() - if yyct3002 == codecSelferValueTypeMap1234 { - yyl3002 := r.ReadMapStart() - if yyl3002 == 0 { + yyct3045 := r.ContainerType() + if yyct3045 == codecSelferValueTypeMap1234 { + yyl3045 := r.ReadMapStart() + if yyl3045 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3002, d) + x.codecDecodeSelfFromMap(yyl3045, d) } - } else if yyct3002 == codecSelferValueTypeArray1234 { - yyl3002 := r.ReadArrayStart() - if yyl3002 == 0 { + } else if yyct3045 == codecSelferValueTypeArray1234 { + yyl3045 := r.ReadArrayStart() + if yyl3045 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3002, d) + x.codecDecodeSelfFromArray(yyl3045, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37246,12 +37892,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3003Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3003Slc - var yyhl3003 bool = l >= 0 - for yyj3003 := 0; ; yyj3003++ { - if yyhl3003 { - if yyj3003 >= l { + var yys3046Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3046Slc + var yyhl3046 bool = l >= 0 + for yyj3046 := 0; ; yyj3046++ { + if yyhl3046 { + if yyj3046 >= l { break } } else { @@ -37260,10 +37906,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3003Slc = r.DecodeBytes(yys3003Slc, true, true) - yys3003 := string(yys3003Slc) + yys3046Slc = r.DecodeBytes(yys3046Slc, true, true) + yys3046 := string(yys3046Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3003 { + switch yys3046 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37280,15 +37926,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3006 := &x.ObjectMeta - yyv3006.CodecDecodeSelf(d) + yyv3049 := &x.ObjectMeta + yyv3049.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3007 := &x.InvolvedObject - yyv3007.CodecDecodeSelf(d) + yyv3050 := &x.InvolvedObject + yyv3050.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -37306,41 +37952,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3010 := &x.Source - yyv3010.CodecDecodeSelf(d) + yyv3053 := &x.Source + yyv3053.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3011 := &x.FirstTimestamp - yym3012 := z.DecBinary() - _ = yym3012 + yyv3054 := &x.FirstTimestamp + yym3055 := z.DecBinary() + _ = yym3055 if false { - } else if z.HasExtensions() && z.DecExt(yyv3011) { - } else if yym3012 { - z.DecBinaryUnmarshal(yyv3011) - } else if !yym3012 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3011) + } else if z.HasExtensions() && z.DecExt(yyv3054) { + } else if yym3055 { + z.DecBinaryUnmarshal(yyv3054) + } else if !yym3055 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3054) } else { - z.DecFallback(yyv3011, false) + z.DecFallback(yyv3054, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3013 := &x.LastTimestamp - yym3014 := z.DecBinary() - _ = yym3014 + yyv3056 := &x.LastTimestamp + yym3057 := z.DecBinary() + _ = yym3057 if false { - } else if z.HasExtensions() && z.DecExt(yyv3013) { - } else if yym3014 { - z.DecBinaryUnmarshal(yyv3013) - } else if !yym3014 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3013) + } else if z.HasExtensions() && z.DecExt(yyv3056) { + } else if yym3057 { + z.DecBinaryUnmarshal(yyv3056) + } else if !yym3057 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3056) } else { - z.DecFallback(yyv3013, false) + z.DecFallback(yyv3056, false) } } case "count": @@ -37356,9 +38002,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3003) - } // end switch yys3003 - } // end for yyj3003 + z.DecStructFieldNotFound(-1, yys3046) + } // end switch yys3046 + } // end for yyj3046 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37366,16 +38012,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3017 int - var yyb3017 bool - var yyhl3017 bool = l >= 0 - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + var yyj3060 int + var yyb3060 bool + var yyhl3060 bool = l >= 0 + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37385,13 +38031,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37401,13 +38047,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37415,16 +38061,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3020 := &x.ObjectMeta - yyv3020.CodecDecodeSelf(d) + yyv3063 := &x.ObjectMeta + yyv3063.CodecDecodeSelf(d) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37432,16 +38078,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3021 := &x.InvolvedObject - yyv3021.CodecDecodeSelf(d) + yyv3064 := &x.InvolvedObject + yyv3064.CodecDecodeSelf(d) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37451,13 +38097,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37467,13 +38113,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37481,16 +38127,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3024 := &x.Source - yyv3024.CodecDecodeSelf(d) + yyv3067 := &x.Source + yyv3067.CodecDecodeSelf(d) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37498,26 +38144,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3025 := &x.FirstTimestamp - yym3026 := z.DecBinary() - _ = yym3026 + yyv3068 := &x.FirstTimestamp + yym3069 := z.DecBinary() + _ = yym3069 if false { - } else if z.HasExtensions() && z.DecExt(yyv3025) { - } else if yym3026 { - z.DecBinaryUnmarshal(yyv3025) - } else if !yym3026 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3025) + } else if z.HasExtensions() && z.DecExt(yyv3068) { + } else if yym3069 { + z.DecBinaryUnmarshal(yyv3068) + } else if !yym3069 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3068) } else { - z.DecFallback(yyv3025, false) + z.DecFallback(yyv3068, false) } } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37525,26 +38171,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3027 := &x.LastTimestamp - yym3028 := z.DecBinary() - _ = yym3028 + yyv3070 := &x.LastTimestamp + yym3071 := z.DecBinary() + _ = yym3071 if false { - } else if z.HasExtensions() && z.DecExt(yyv3027) { - } else if yym3028 { - z.DecBinaryUnmarshal(yyv3027) - } else if !yym3028 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3027) + } else if z.HasExtensions() && z.DecExt(yyv3070) { + } else if yym3071 { + z.DecBinaryUnmarshal(yyv3070) + } else if !yym3071 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3070) } else { - z.DecFallback(yyv3027, false) + z.DecFallback(yyv3070, false) } } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37554,13 +38200,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37571,17 +38217,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj3017++ - if yyhl3017 { - yyb3017 = yyj3017 > l + yyj3060++ + if yyhl3060 { + yyb3060 = yyj3060 > l } else { - yyb3017 = r.CheckBreak() + yyb3060 = r.CheckBreak() } - if yyb3017 { + if yyb3060 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3017-1, "") + z.DecStructFieldNotFound(yyj3060-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37593,37 +38239,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3031 := z.EncBinary() - _ = yym3031 + yym3074 := z.EncBinary() + _ = yym3074 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3032 := !z.EncBinary() - yy2arr3032 := z.EncBasicHandle().StructToArray - var yyq3032 [4]bool - _, _, _ = yysep3032, yyq3032, yy2arr3032 - const yyr3032 bool = false - yyq3032[0] = x.Kind != "" - yyq3032[1] = x.APIVersion != "" - yyq3032[2] = true - var yynn3032 int - if yyr3032 || yy2arr3032 { + yysep3075 := !z.EncBinary() + yy2arr3075 := z.EncBasicHandle().StructToArray + var yyq3075 [4]bool + _, _, _ = yysep3075, yyq3075, yy2arr3075 + const yyr3075 bool = false + yyq3075[0] = x.Kind != "" + yyq3075[1] = x.APIVersion != "" + yyq3075[2] = true + var yynn3075 int + if yyr3075 || yy2arr3075 { r.EncodeArrayStart(4) } else { - yynn3032 = 1 - for _, b := range yyq3032 { + yynn3075 = 1 + for _, b := range yyq3075 { if b { - yynn3032++ + yynn3075++ } } - r.EncodeMapStart(yynn3032) - yynn3032 = 0 + r.EncodeMapStart(yynn3075) + yynn3075 = 0 } - if yyr3032 || yy2arr3032 { + if yyr3075 || yy2arr3075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[0] { - yym3034 := z.EncBinary() - _ = yym3034 + if yyq3075[0] { + yym3077 := z.EncBinary() + _ = yym3077 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37632,23 +38278,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3032[0] { + if yyq3075[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3035 := z.EncBinary() - _ = yym3035 + yym3078 := z.EncBinary() + _ = yym3078 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3032 || yy2arr3032 { + if yyr3075 || yy2arr3075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[1] { - yym3037 := z.EncBinary() - _ = yym3037 + if yyq3075[1] { + yym3080 := z.EncBinary() + _ = yym3080 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37657,54 +38303,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3032[1] { + if yyq3075[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3038 := z.EncBinary() - _ = yym3038 + yym3081 := z.EncBinary() + _ = yym3081 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3032 || yy2arr3032 { + if yyr3075 || yy2arr3075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3032[2] { - yy3040 := &x.ListMeta - yym3041 := z.EncBinary() - _ = yym3041 + if yyq3075[2] { + yy3083 := &x.ListMeta + yym3084 := z.EncBinary() + _ = yym3084 if false { - } else if z.HasExtensions() && z.EncExt(yy3040) { + } else if z.HasExtensions() && z.EncExt(yy3083) { } else { - z.EncFallback(yy3040) + z.EncFallback(yy3083) } } else { r.EncodeNil() } } else { - if yyq3032[2] { + if yyq3075[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3042 := &x.ListMeta - yym3043 := z.EncBinary() - _ = yym3043 + yy3085 := &x.ListMeta + yym3086 := z.EncBinary() + _ = yym3086 if false { - } else if z.HasExtensions() && z.EncExt(yy3042) { + } else if z.HasExtensions() && z.EncExt(yy3085) { } else { - z.EncFallback(yy3042) + z.EncFallback(yy3085) } } } - if yyr3032 || yy2arr3032 { + if yyr3075 || yy2arr3075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3045 := z.EncBinary() - _ = yym3045 + yym3088 := z.EncBinary() + _ = yym3088 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -37717,15 +38363,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3046 := z.EncBinary() - _ = yym3046 + yym3089 := z.EncBinary() + _ = yym3089 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3032 || yy2arr3032 { + if yyr3075 || yy2arr3075 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37738,25 +38384,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3047 := z.DecBinary() - _ = yym3047 + yym3090 := z.DecBinary() + _ = yym3090 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3048 := r.ContainerType() - if yyct3048 == codecSelferValueTypeMap1234 { - yyl3048 := r.ReadMapStart() - if yyl3048 == 0 { + yyct3091 := r.ContainerType() + if yyct3091 == codecSelferValueTypeMap1234 { + yyl3091 := r.ReadMapStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3048, d) + x.codecDecodeSelfFromMap(yyl3091, d) } - } else if yyct3048 == codecSelferValueTypeArray1234 { - yyl3048 := r.ReadArrayStart() - if yyl3048 == 0 { + } else if yyct3091 == codecSelferValueTypeArray1234 { + yyl3091 := r.ReadArrayStart() + if yyl3091 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3048, d) + x.codecDecodeSelfFromArray(yyl3091, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37768,12 +38414,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3049Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3049Slc - var yyhl3049 bool = l >= 0 - for yyj3049 := 0; ; yyj3049++ { - if yyhl3049 { - if yyj3049 >= 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 { @@ -37782,10 +38428,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3049Slc = r.DecodeBytes(yys3049Slc, true, true) - yys3049 := string(yys3049Slc) + yys3092Slc = r.DecodeBytes(yys3092Slc, true, true) + yys3092 := string(yys3092Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3049 { + switch yys3092 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37802,31 +38448,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3052 := &x.ListMeta - yym3053 := z.DecBinary() - _ = yym3053 + yyv3095 := &x.ListMeta + yym3096 := z.DecBinary() + _ = yym3096 if false { - } else if z.HasExtensions() && z.DecExt(yyv3052) { + } else if z.HasExtensions() && z.DecExt(yyv3095) { } else { - z.DecFallback(yyv3052, false) + z.DecFallback(yyv3095, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3054 := &x.Items - yym3055 := z.DecBinary() - _ = yym3055 + yyv3097 := &x.Items + yym3098 := z.DecBinary() + _ = yym3098 if false { } else { - h.decSliceEvent((*[]Event)(yyv3054), d) + h.decSliceEvent((*[]Event)(yyv3097), d) } } default: - z.DecStructFieldNotFound(-1, yys3049) - } // end switch yys3049 - } // end for yyj3049 + z.DecStructFieldNotFound(-1, yys3092) + } // end switch yys3092 + } // end for yyj3092 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37834,16 +38480,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3056 int - var yyb3056 bool - var yyhl3056 bool = l >= 0 - yyj3056++ - if yyhl3056 { - yyb3056 = yyj3056 > l + var yyj3099 int + var yyb3099 bool + var yyhl3099 bool = l >= 0 + yyj3099++ + if yyhl3099 { + yyb3099 = yyj3099 > l } else { - yyb3056 = r.CheckBreak() + yyb3099 = r.CheckBreak() } - if yyb3056 { + if yyb3099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37853,13 +38499,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3056++ - if yyhl3056 { - yyb3056 = yyj3056 > l + yyj3099++ + if yyhl3099 { + yyb3099 = yyj3099 > l } else { - yyb3056 = r.CheckBreak() + yyb3099 = r.CheckBreak() } - if yyb3056 { + if yyb3099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37869,13 +38515,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3056++ - if yyhl3056 { - yyb3056 = yyj3056 > l + yyj3099++ + if yyhl3099 { + yyb3099 = yyj3099 > l } else { - yyb3056 = r.CheckBreak() + yyb3099 = r.CheckBreak() } - if yyb3056 { + if yyb3099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37883,22 +38529,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3059 := &x.ListMeta - yym3060 := z.DecBinary() - _ = yym3060 + yyv3102 := &x.ListMeta + yym3103 := z.DecBinary() + _ = yym3103 if false { - } else if z.HasExtensions() && z.DecExt(yyv3059) { + } else if z.HasExtensions() && z.DecExt(yyv3102) { } else { - z.DecFallback(yyv3059, false) + z.DecFallback(yyv3102, false) } } - yyj3056++ - if yyhl3056 { - yyb3056 = yyj3056 > l + yyj3099++ + if yyhl3099 { + yyb3099 = yyj3099 > l } else { - yyb3056 = r.CheckBreak() + yyb3099 = r.CheckBreak() } - if yyb3056 { + if yyb3099 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37906,26 +38552,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3061 := &x.Items - yym3062 := z.DecBinary() - _ = yym3062 + yyv3104 := &x.Items + yym3105 := z.DecBinary() + _ = yym3105 if false { } else { - h.decSliceEvent((*[]Event)(yyv3061), d) + h.decSliceEvent((*[]Event)(yyv3104), d) } } for { - yyj3056++ - if yyhl3056 { - yyb3056 = yyj3056 > l + yyj3099++ + if yyhl3099 { + yyb3099 = yyj3099 > l } else { - yyb3056 = r.CheckBreak() + yyb3099 = r.CheckBreak() } - if yyb3056 { + if yyb3099 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3056-1, "") + z.DecStructFieldNotFound(yyj3099-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37937,37 +38583,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3063 := z.EncBinary() - _ = yym3063 + yym3106 := z.EncBinary() + _ = yym3106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3064 := !z.EncBinary() - yy2arr3064 := z.EncBasicHandle().StructToArray - var yyq3064 [4]bool - _, _, _ = yysep3064, yyq3064, yy2arr3064 - const yyr3064 bool = false - yyq3064[0] = x.Kind != "" - yyq3064[1] = x.APIVersion != "" - yyq3064[2] = true - var yynn3064 int - if yyr3064 || yy2arr3064 { + yysep3107 := !z.EncBinary() + yy2arr3107 := z.EncBasicHandle().StructToArray + var yyq3107 [4]bool + _, _, _ = yysep3107, yyq3107, yy2arr3107 + const yyr3107 bool = false + yyq3107[0] = x.Kind != "" + yyq3107[1] = x.APIVersion != "" + yyq3107[2] = true + var yynn3107 int + if yyr3107 || yy2arr3107 { r.EncodeArrayStart(4) } else { - yynn3064 = 1 - for _, b := range yyq3064 { + yynn3107 = 1 + for _, b := range yyq3107 { if b { - yynn3064++ + yynn3107++ } } - r.EncodeMapStart(yynn3064) - yynn3064 = 0 + r.EncodeMapStart(yynn3107) + yynn3107 = 0 } - if yyr3064 || yy2arr3064 { + if yyr3107 || yy2arr3107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3064[0] { - yym3066 := z.EncBinary() - _ = yym3066 + if yyq3107[0] { + yym3109 := z.EncBinary() + _ = yym3109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37976,23 +38622,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3064[0] { + if yyq3107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3067 := z.EncBinary() - _ = yym3067 + yym3110 := z.EncBinary() + _ = yym3110 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3064 || yy2arr3064 { + if yyr3107 || yy2arr3107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3064[1] { - yym3069 := z.EncBinary() - _ = yym3069 + if yyq3107[1] { + yym3112 := z.EncBinary() + _ = yym3112 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -38001,54 +38647,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3064[1] { + if yyq3107[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3070 := z.EncBinary() - _ = yym3070 + yym3113 := z.EncBinary() + _ = yym3113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3064 || yy2arr3064 { + if yyr3107 || yy2arr3107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3064[2] { - yy3072 := &x.ListMeta - yym3073 := z.EncBinary() - _ = yym3073 + if yyq3107[2] { + yy3115 := &x.ListMeta + yym3116 := z.EncBinary() + _ = yym3116 if false { - } else if z.HasExtensions() && z.EncExt(yy3072) { + } else if z.HasExtensions() && z.EncExt(yy3115) { } else { - z.EncFallback(yy3072) + z.EncFallback(yy3115) } } else { r.EncodeNil() } } else { - if yyq3064[2] { + if yyq3107[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3074 := &x.ListMeta - yym3075 := z.EncBinary() - _ = yym3075 + yy3117 := &x.ListMeta + yym3118 := z.EncBinary() + _ = yym3118 if false { - } else if z.HasExtensions() && z.EncExt(yy3074) { + } else if z.HasExtensions() && z.EncExt(yy3117) { } else { - z.EncFallback(yy3074) + z.EncFallback(yy3117) } } } - if yyr3064 || yy2arr3064 { + if yyr3107 || yy2arr3107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3077 := z.EncBinary() - _ = yym3077 + yym3120 := z.EncBinary() + _ = yym3120 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) @@ -38061,15 +38707,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3078 := z.EncBinary() - _ = yym3078 + yym3121 := z.EncBinary() + _ = yym3121 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) } } } - if yyr3064 || yy2arr3064 { + if yyr3107 || yy2arr3107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38082,25 +38728,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3079 := z.DecBinary() - _ = yym3079 + yym3122 := z.DecBinary() + _ = yym3122 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3080 := r.ContainerType() - if yyct3080 == codecSelferValueTypeMap1234 { - yyl3080 := r.ReadMapStart() - if yyl3080 == 0 { + yyct3123 := r.ContainerType() + if yyct3123 == codecSelferValueTypeMap1234 { + yyl3123 := r.ReadMapStart() + if yyl3123 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3080, d) + x.codecDecodeSelfFromMap(yyl3123, d) } - } else if yyct3080 == codecSelferValueTypeArray1234 { - yyl3080 := r.ReadArrayStart() - if yyl3080 == 0 { + } else if yyct3123 == codecSelferValueTypeArray1234 { + yyl3123 := r.ReadArrayStart() + if yyl3123 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3080, d) + x.codecDecodeSelfFromArray(yyl3123, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38112,12 +38758,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3081Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3081Slc - var yyhl3081 bool = l >= 0 - for yyj3081 := 0; ; yyj3081++ { - if yyhl3081 { - if yyj3081 >= l { + var yys3124Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3124Slc + var yyhl3124 bool = l >= 0 + for yyj3124 := 0; ; yyj3124++ { + if yyhl3124 { + if yyj3124 >= l { break } } else { @@ -38126,10 +38772,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3081Slc = r.DecodeBytes(yys3081Slc, true, true) - yys3081 := string(yys3081Slc) + yys3124Slc = r.DecodeBytes(yys3124Slc, true, true) + yys3124 := string(yys3124Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3081 { + switch yys3124 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -38146,697 +38792,35 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3084 := &x.ListMeta - yym3085 := z.DecBinary() - _ = yym3085 + yyv3127 := &x.ListMeta + yym3128 := z.DecBinary() + _ = yym3128 if false { - } else if z.HasExtensions() && z.DecExt(yyv3084) { + } else if z.HasExtensions() && z.DecExt(yyv3127) { } else { - z.DecFallback(yyv3084, false) + z.DecFallback(yyv3127, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3086 := &x.Items - yym3087 := z.DecBinary() - _ = yym3087 - if false { - } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3086), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3081) - } // end switch yys3081 - } // end for yyj3081 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3088 int - var yyb3088 bool - var yyhl3088 bool = l >= 0 - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3091 := &x.ListMeta - yym3092 := z.DecBinary() - _ = yym3092 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3091) { - } else { - z.DecFallback(yyv3091, false) - } - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3093 := &x.Items - yym3094 := z.DecBinary() - _ = yym3094 - if false { - } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3093), d) - } - } - for { - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3088-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3095 := z.EncBinary() - _ = yym3095 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3096 := z.DecBinary() - _ = yym3096 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3097 := z.EncBinary() - _ = yym3097 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3098 := !z.EncBinary() - yy2arr3098 := z.EncBasicHandle().StructToArray - var yyq3098 [6]bool - _, _, _ = yysep3098, yyq3098, yy2arr3098 - const yyr3098 bool = false - yyq3098[0] = x.Type != "" - yyq3098[1] = len(x.Max) != 0 - yyq3098[2] = len(x.Min) != 0 - yyq3098[3] = len(x.Default) != 0 - yyq3098[4] = len(x.DefaultRequest) != 0 - yyq3098[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3098 int - if yyr3098 || yy2arr3098 { - r.EncodeArrayStart(6) - } else { - yynn3098 = 0 - for _, b := range yyq3098 { - if b { - yynn3098++ - } - } - r.EncodeMapStart(yynn3098) - yynn3098 = 0 - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[0] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3098[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[1] { - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3098[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("max")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[2] { - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3098[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("min")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[3] { - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3098[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("default")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[4] { - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3098[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3098[5] { - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3098[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } - } - if yyr3098 || yy2arr3098 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3105 := z.DecBinary() - _ = yym3105 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3106 := r.ContainerType() - if yyct3106 == codecSelferValueTypeMap1234 { - yyl3106 := r.ReadMapStart() - if yyl3106 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3106, d) - } - } else if yyct3106 == codecSelferValueTypeArray1234 { - yyl3106 := r.ReadArrayStart() - if yyl3106 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3106, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3107Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3107Slc - var yyhl3107 bool = l >= 0 - for yyj3107 := 0; ; yyj3107++ { - if yyhl3107 { - if yyj3107 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3107Slc = r.DecodeBytes(yys3107Slc, true, true) - yys3107 := string(yys3107Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3107 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = LimitType(r.DecodeString()) - } - case "max": - if r.TryDecodeAsNil() { - x.Max = nil - } else { - yyv3109 := &x.Max - yyv3109.CodecDecodeSelf(d) - } - case "min": - if r.TryDecodeAsNil() { - x.Min = nil - } else { - yyv3110 := &x.Min - yyv3110.CodecDecodeSelf(d) - } - case "default": - if r.TryDecodeAsNil() { - x.Default = nil - } else { - yyv3111 := &x.Default - yyv3111.CodecDecodeSelf(d) - } - case "defaultRequest": - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3112 := &x.DefaultRequest - yyv3112.CodecDecodeSelf(d) - } - case "maxLimitRequestRatio": - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3113 := &x.MaxLimitRequestRatio - yyv3113.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3107) - } // end switch yys3107 - } // end for yyj3107 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3114 int - var yyb3114 bool - var yyhl3114 bool = l >= 0 - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = LimitType(r.DecodeString()) - } - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Max = nil - } else { - yyv3116 := &x.Max - yyv3116.CodecDecodeSelf(d) - } - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Min = nil - } else { - yyv3117 := &x.Min - yyv3117.CodecDecodeSelf(d) - } - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Default = nil - } else { - yyv3118 := &x.Default - yyv3118.CodecDecodeSelf(d) - } - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3119 := &x.DefaultRequest - yyv3119.CodecDecodeSelf(d) - } - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3120 := &x.MaxLimitRequestRatio - yyv3120.CodecDecodeSelf(d) - } - for { - yyj3114++ - if yyhl3114 { - yyb3114 = yyj3114 > l - } else { - yyb3114 = r.CheckBreak() - } - if yyb3114 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3114-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3121 := z.EncBinary() - _ = yym3121 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3122 := !z.EncBinary() - yy2arr3122 := z.EncBasicHandle().StructToArray - var yyq3122 [1]bool - _, _, _ = yysep3122, yyq3122, yy2arr3122 - const yyr3122 bool = false - var yynn3122 int - if yyr3122 || yy2arr3122 { - r.EncodeArrayStart(1) - } else { - yynn3122 = 1 - for _, b := range yyq3122 { - if b { - yynn3122++ - } - } - r.EncodeMapStart(yynn3122) - yynn3122 = 0 - } - if yyr3122 || yy2arr3122 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Limits == nil { - r.EncodeNil() - } else { - yym3124 := z.EncBinary() - _ = yym3124 - if false { - } else { - h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("limits")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Limits == nil { - r.EncodeNil() - } else { - yym3125 := z.EncBinary() - _ = yym3125 - if false { - } else { - h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) - } - } - } - if yyr3122 || yy2arr3122 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3126 := z.DecBinary() - _ = yym3126 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3127 := r.ContainerType() - if yyct3127 == codecSelferValueTypeMap1234 { - yyl3127 := r.ReadMapStart() - if yyl3127 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3127, d) - } - } else if yyct3127 == codecSelferValueTypeArray1234 { - yyl3127 := r.ReadArrayStart() - if yyl3127 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3127, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3128Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3128Slc - var yyhl3128 bool = l >= 0 - for yyj3128 := 0; ; yyj3128++ { - if yyhl3128 { - if yyj3128 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3128Slc = r.DecodeBytes(yys3128Slc, true, true) - yys3128 := string(yys3128Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3128 { - case "limits": - if r.TryDecodeAsNil() { - x.Limits = nil - } else { - yyv3129 := &x.Limits + yyv3129 := &x.Items yym3130 := z.DecBinary() _ = yym3130 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3129), d) + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3129), d) } } default: - z.DecStructFieldNotFound(-1, yys3128) - } // end switch yys3128 - } // end for yyj3128 + z.DecStructFieldNotFound(-1, yys3124) + } // end switch yys3124 + } // end for yyj3124 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38855,14 +38839,69 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Limits = nil + x.Kind = "" } else { - yyv3132 := &x.Limits - yym3133 := z.DecBinary() - _ = yym3133 + x.Kind = string(r.DecodeString()) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3134 := &x.ListMeta + yym3135 := z.DecBinary() + _ = yym3135 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3134) { + } else { + z.DecFallback(yyv3134, false) + } + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3136 := &x.Items + yym3137 := z.DecBinary() + _ = yym3137 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3132), d) + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3136), d) } } for { @@ -38881,125 +38920,199 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { +func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3138 := z.EncBinary() + _ = yym3138 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3139 := z.DecBinary() + _ = yym3139 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3134 := z.EncBinary() - _ = yym3134 + yym3140 := z.EncBinary() + _ = yym3140 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3135 := !z.EncBinary() - yy2arr3135 := z.EncBasicHandle().StructToArray - var yyq3135 [4]bool - _, _, _ = yysep3135, yyq3135, yy2arr3135 - const yyr3135 bool = false - yyq3135[0] = x.Kind != "" - yyq3135[1] = x.APIVersion != "" - yyq3135[2] = true - yyq3135[3] = true - var yynn3135 int - if yyr3135 || yy2arr3135 { - r.EncodeArrayStart(4) + yysep3141 := !z.EncBinary() + yy2arr3141 := z.EncBasicHandle().StructToArray + var yyq3141 [6]bool + _, _, _ = yysep3141, yyq3141, yy2arr3141 + const yyr3141 bool = false + yyq3141[0] = x.Type != "" + yyq3141[1] = len(x.Max) != 0 + yyq3141[2] = len(x.Min) != 0 + yyq3141[3] = len(x.Default) != 0 + yyq3141[4] = len(x.DefaultRequest) != 0 + yyq3141[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3141 int + if yyr3141 || yy2arr3141 { + r.EncodeArrayStart(6) } else { - yynn3135 = 0 - for _, b := range yyq3135 { + yynn3141 = 0 + for _, b := range yyq3141 { if b { - yynn3135++ + yynn3141++ } } - r.EncodeMapStart(yynn3135) - yynn3135 = 0 + r.EncodeMapStart(yynn3141) + yynn3141 = 0 } - if yyr3135 || yy2arr3135 { + if yyr3141 || yy2arr3141 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[0] { - yym3137 := z.EncBinary() - _ = yym3137 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + if yyq3141[0] { + x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3135[0] { + if yyq3141[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3138 := z.EncBinary() - _ = yym3138 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + x.Type.CodecEncodeSelf(e) } } - if yyr3135 || yy2arr3135 { + if yyr3141 || yy2arr3141 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[1] { - yym3140 := z.EncBinary() - _ = yym3140 - if false { + if yyq3141[1] { + if x.Max == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + x.Max.CodecEncodeSelf(e) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3135[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3141 := z.EncBinary() - _ = yym3141 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3135 || yy2arr3135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[2] { - yy3143 := &x.ObjectMeta - yy3143.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3135[2] { + if yyq3141[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3144 := &x.ObjectMeta - yy3144.CodecEncodeSelf(e) + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } } } - if yyr3135 || yy2arr3135 { + if yyr3141 || yy2arr3141 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[3] { - yy3146 := &x.Spec - yy3146.CodecEncodeSelf(e) + if yyq3141[2] { + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } } else { r.EncodeNil() } } else { - if yyq3135[3] { + if yyq3141[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3147 := &x.Spec - yy3147.CodecEncodeSelf(e) + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } } } - if yyr3135 || yy2arr3135 { + if yyr3141 || yy2arr3141 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3141[3] { + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3141[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("default")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } + } + if yyr3141 || yy2arr3141 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3141[4] { + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3141[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } + } + if yyr3141 || yy2arr3141 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3141[5] { + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3141[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } + } + if yyr3141 || yy2arr3141 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39008,7 +39121,7 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -39038,7 +39151,7 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -39060,6 +39173,539 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3150 := string(yys3150Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3150 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + case "max": + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3152 := &x.Max + yyv3152.CodecDecodeSelf(d) + } + case "min": + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3153 := &x.Min + yyv3153.CodecDecodeSelf(d) + } + case "default": + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3154 := &x.Default + yyv3154.CodecDecodeSelf(d) + } + case "defaultRequest": + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3155 := &x.DefaultRequest + yyv3155.CodecDecodeSelf(d) + } + case "maxLimitRequestRatio": + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3156 := &x.MaxLimitRequestRatio + yyv3156.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3150) + } // end switch yys3150 + } // end for yyj3150 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3157 int + var yyb3157 bool + var yyhl3157 bool = l >= 0 + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3159 := &x.Max + yyv3159.CodecDecodeSelf(d) + } + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3160 := &x.Min + yyv3160.CodecDecodeSelf(d) + } + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3161 := &x.Default + yyv3161.CodecDecodeSelf(d) + } + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3162 := &x.DefaultRequest + yyv3162.CodecDecodeSelf(d) + } + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3163 := &x.MaxLimitRequestRatio + yyv3163.CodecDecodeSelf(d) + } + for { + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l + } else { + yyb3157 = r.CheckBreak() + } + if yyb3157 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3157-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3164 := z.EncBinary() + _ = yym3164 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3165 := !z.EncBinary() + yy2arr3165 := z.EncBasicHandle().StructToArray + var yyq3165 [1]bool + _, _, _ = yysep3165, yyq3165, yy2arr3165 + const yyr3165 bool = false + var yynn3165 int + if yyr3165 || yy2arr3165 { + r.EncodeArrayStart(1) + } else { + yynn3165 = 1 + for _, b := range yyq3165 { + if b { + yynn3165++ + } + } + r.EncodeMapStart(yynn3165) + yynn3165 = 0 + } + if yyr3165 || yy2arr3165 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Limits == nil { + r.EncodeNil() + } else { + yym3167 := z.EncBinary() + _ = yym3167 + if false { + } else { + h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("limits")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Limits == nil { + r.EncodeNil() + } else { + yym3168 := z.EncBinary() + _ = yym3168 + if false { + } else { + h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) + } + } + } + if yyr3165 || yy2arr3165 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3169 := z.DecBinary() + _ = yym3169 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3170 := r.ContainerType() + if yyct3170 == codecSelferValueTypeMap1234 { + yyl3170 := r.ReadMapStart() + if yyl3170 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3170, d) + } + } else if yyct3170 == codecSelferValueTypeArray1234 { + yyl3170 := r.ReadArrayStart() + if yyl3170 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3170, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3171Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3171Slc + var yyhl3171 bool = l >= 0 + for yyj3171 := 0; ; yyj3171++ { + if yyhl3171 { + if yyj3171 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3171Slc = r.DecodeBytes(yys3171Slc, true, true) + yys3171 := string(yys3171Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3171 { + case "limits": + if r.TryDecodeAsNil() { + x.Limits = nil + } else { + yyv3172 := &x.Limits + yym3173 := z.DecBinary() + _ = yym3173 + if false { + } else { + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3172), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3171) + } // end switch yys3171 + } // end for yyj3171 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3174 int + var yyb3174 bool + var yyhl3174 bool = l >= 0 + yyj3174++ + if yyhl3174 { + yyb3174 = yyj3174 > l + } else { + yyb3174 = r.CheckBreak() + } + if yyb3174 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Limits = nil + } else { + yyv3175 := &x.Limits + yym3176 := z.DecBinary() + _ = yym3176 + if false { + } else { + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3175), d) + } + } + for { + yyj3174++ + if yyhl3174 { + yyb3174 = yyj3174 > l + } else { + yyb3174 = r.CheckBreak() + } + if yyb3174 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3174-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3177 := z.EncBinary() + _ = yym3177 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3178 := !z.EncBinary() + yy2arr3178 := z.EncBasicHandle().StructToArray + var yyq3178 [4]bool + _, _, _ = yysep3178, yyq3178, yy2arr3178 + const yyr3178 bool = false + yyq3178[0] = x.Kind != "" + yyq3178[1] = x.APIVersion != "" + yyq3178[2] = true + yyq3178[3] = true + var yynn3178 int + if yyr3178 || yy2arr3178 { + r.EncodeArrayStart(4) + } else { + yynn3178 = 0 + for _, b := range yyq3178 { + if b { + yynn3178++ + } + } + r.EncodeMapStart(yynn3178) + yynn3178 = 0 + } + if yyr3178 || yy2arr3178 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3178[0] { + yym3180 := z.EncBinary() + _ = yym3180 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3178[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3181 := z.EncBinary() + _ = yym3181 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3178 || yy2arr3178 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3178[1] { + yym3183 := z.EncBinary() + _ = yym3183 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3178[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3184 := z.EncBinary() + _ = yym3184 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3178 || yy2arr3178 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3178[2] { + yy3186 := &x.ObjectMeta + yy3186.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3178[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3187 := &x.ObjectMeta + yy3187.CodecEncodeSelf(e) + } + } + if yyr3178 || yy2arr3178 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3178[3] { + yy3189 := &x.Spec + yy3189.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3178[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3190 := &x.Spec + yy3190.CodecEncodeSelf(e) + } + } + if yyr3178 || yy2arr3178 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3191 := z.DecBinary() + _ = yym3191 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3192 := r.ContainerType() + if yyct3192 == codecSelferValueTypeMap1234 { + yyl3192 := r.ReadMapStart() + if yyl3192 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3192, d) + } + } else if yyct3192 == codecSelferValueTypeArray1234 { + yyl3192 := r.ReadArrayStart() + if yyl3192 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3192, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3193Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3193Slc + var yyhl3193 bool = l >= 0 + for yyj3193 := 0; ; yyj3193++ { + if yyhl3193 { + if yyj3193 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3193Slc = r.DecodeBytes(yys3193Slc, true, true) + yys3193 := string(yys3193Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3193 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39076,20 +39722,20 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3153 := &x.ObjectMeta - yyv3153.CodecDecodeSelf(d) + yyv3196 := &x.ObjectMeta + yyv3196.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3154 := &x.Spec - yyv3154.CodecDecodeSelf(d) + yyv3197 := &x.Spec + yyv3197.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3150) - } // end switch yys3150 - } // end for yyj3150 + z.DecStructFieldNotFound(-1, yys3193) + } // end switch yys3193 + } // end for yyj3193 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39097,16 +39743,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3155 int - var yyb3155 bool - var yyhl3155 bool = l >= 0 - yyj3155++ - if yyhl3155 { - yyb3155 = yyj3155 > l + var yyj3198 int + var yyb3198 bool + var yyhl3198 bool = l >= 0 + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb3155 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb3155 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39116,13 +39762,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3155++ - if yyhl3155 { - yyb3155 = yyj3155 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb3155 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb3155 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39132,13 +39778,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3155++ - if yyhl3155 { - yyb3155 = yyj3155 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb3155 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb3155 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39146,16 +39792,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3158 := &x.ObjectMeta - yyv3158.CodecDecodeSelf(d) + yyv3201 := &x.ObjectMeta + yyv3201.CodecDecodeSelf(d) } - yyj3155++ - if yyhl3155 { - yyb3155 = yyj3155 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb3155 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb3155 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39163,21 +39809,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3159 := &x.Spec - yyv3159.CodecDecodeSelf(d) + yyv3202 := &x.Spec + yyv3202.CodecDecodeSelf(d) } for { - yyj3155++ - if yyhl3155 { - yyb3155 = yyj3155 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb3155 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb3155 { + if yyb3198 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3155-1, "") + z.DecStructFieldNotFound(yyj3198-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39189,37 +39835,37 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3160 := z.EncBinary() - _ = yym3160 + yym3203 := z.EncBinary() + _ = yym3203 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3161 := !z.EncBinary() - yy2arr3161 := z.EncBasicHandle().StructToArray - var yyq3161 [4]bool - _, _, _ = yysep3161, yyq3161, yy2arr3161 - const yyr3161 bool = false - yyq3161[0] = x.Kind != "" - yyq3161[1] = x.APIVersion != "" - yyq3161[2] = true - var yynn3161 int - if yyr3161 || yy2arr3161 { + yysep3204 := !z.EncBinary() + yy2arr3204 := z.EncBasicHandle().StructToArray + var yyq3204 [4]bool + _, _, _ = yysep3204, yyq3204, yy2arr3204 + const yyr3204 bool = false + yyq3204[0] = x.Kind != "" + yyq3204[1] = x.APIVersion != "" + yyq3204[2] = true + var yynn3204 int + if yyr3204 || yy2arr3204 { r.EncodeArrayStart(4) } else { - yynn3161 = 1 - for _, b := range yyq3161 { + yynn3204 = 1 + for _, b := range yyq3204 { if b { - yynn3161++ + yynn3204++ } } - r.EncodeMapStart(yynn3161) - yynn3161 = 0 + r.EncodeMapStart(yynn3204) + yynn3204 = 0 } - if yyr3161 || yy2arr3161 { + if yyr3204 || yy2arr3204 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3161[0] { - yym3163 := z.EncBinary() - _ = yym3163 + if yyq3204[0] { + yym3206 := z.EncBinary() + _ = yym3206 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39228,23 +39874,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3161[0] { + if yyq3204[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3164 := z.EncBinary() - _ = yym3164 + yym3207 := z.EncBinary() + _ = yym3207 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3161 || yy2arr3161 { + if yyr3204 || yy2arr3204 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3161[1] { - yym3166 := z.EncBinary() - _ = yym3166 + if yyq3204[1] { + yym3209 := z.EncBinary() + _ = yym3209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39253,54 +39899,54 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3161[1] { + if yyq3204[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3167 := z.EncBinary() - _ = yym3167 + yym3210 := z.EncBinary() + _ = yym3210 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3161 || yy2arr3161 { + if yyr3204 || yy2arr3204 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3161[2] { - yy3169 := &x.ListMeta - yym3170 := z.EncBinary() - _ = yym3170 + if yyq3204[2] { + yy3212 := &x.ListMeta + yym3213 := z.EncBinary() + _ = yym3213 if false { - } else if z.HasExtensions() && z.EncExt(yy3169) { + } else if z.HasExtensions() && z.EncExt(yy3212) { } else { - z.EncFallback(yy3169) + z.EncFallback(yy3212) } } else { r.EncodeNil() } } else { - if yyq3161[2] { + if yyq3204[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3171 := &x.ListMeta - yym3172 := z.EncBinary() - _ = yym3172 + yy3214 := &x.ListMeta + yym3215 := z.EncBinary() + _ = yym3215 if false { - } else if z.HasExtensions() && z.EncExt(yy3171) { + } else if z.HasExtensions() && z.EncExt(yy3214) { } else { - z.EncFallback(yy3171) + z.EncFallback(yy3214) } } } - if yyr3161 || yy2arr3161 { + if yyr3204 || yy2arr3204 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3174 := z.EncBinary() - _ = yym3174 + yym3217 := z.EncBinary() + _ = yym3217 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -39313,15 +39959,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3175 := z.EncBinary() - _ = yym3175 + yym3218 := z.EncBinary() + _ = yym3218 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3161 || yy2arr3161 { + if yyr3204 || yy2arr3204 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39334,25 +39980,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3176 := z.DecBinary() - _ = yym3176 + yym3219 := z.DecBinary() + _ = yym3219 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3177 := r.ContainerType() - if yyct3177 == codecSelferValueTypeMap1234 { - yyl3177 := r.ReadMapStart() - if yyl3177 == 0 { + yyct3220 := r.ContainerType() + if yyct3220 == codecSelferValueTypeMap1234 { + yyl3220 := r.ReadMapStart() + if yyl3220 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3177, d) + x.codecDecodeSelfFromMap(yyl3220, d) } - } else if yyct3177 == codecSelferValueTypeArray1234 { - yyl3177 := r.ReadArrayStart() - if yyl3177 == 0 { + } else if yyct3220 == codecSelferValueTypeArray1234 { + yyl3220 := r.ReadArrayStart() + if yyl3220 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3177, d) + x.codecDecodeSelfFromArray(yyl3220, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39364,12 +40010,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3178Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3178Slc - var yyhl3178 bool = l >= 0 - for yyj3178 := 0; ; yyj3178++ { - if yyhl3178 { - if yyj3178 >= l { + var yys3221Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3221Slc + var yyhl3221 bool = l >= 0 + for yyj3221 := 0; ; yyj3221++ { + if yyhl3221 { + if yyj3221 >= l { break } } else { @@ -39378,10 +40024,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3178Slc = r.DecodeBytes(yys3178Slc, true, true) - yys3178 := string(yys3178Slc) + yys3221Slc = r.DecodeBytes(yys3221Slc, true, true) + yys3221 := string(yys3221Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3178 { + switch yys3221 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39398,31 +40044,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3181 := &x.ListMeta - yym3182 := z.DecBinary() - _ = yym3182 + yyv3224 := &x.ListMeta + yym3225 := z.DecBinary() + _ = yym3225 if false { - } else if z.HasExtensions() && z.DecExt(yyv3181) { + } else if z.HasExtensions() && z.DecExt(yyv3224) { } else { - z.DecFallback(yyv3181, false) + z.DecFallback(yyv3224, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3183 := &x.Items - yym3184 := z.DecBinary() - _ = yym3184 + yyv3226 := &x.Items + yym3227 := z.DecBinary() + _ = yym3227 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3183), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3226), d) } } default: - z.DecStructFieldNotFound(-1, yys3178) - } // end switch yys3178 - } // end for yyj3178 + z.DecStructFieldNotFound(-1, yys3221) + } // end switch yys3221 + } // end for yyj3221 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39430,16 +40076,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3185 int - var yyb3185 bool - var yyhl3185 bool = l >= 0 - yyj3185++ - if yyhl3185 { - yyb3185 = yyj3185 > l + var yyj3228 int + var yyb3228 bool + var yyhl3228 bool = l >= 0 + yyj3228++ + if yyhl3228 { + yyb3228 = yyj3228 > l } else { - yyb3185 = r.CheckBreak() + yyb3228 = r.CheckBreak() } - if yyb3185 { + if yyb3228 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39449,13 +40095,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3185++ - if yyhl3185 { - yyb3185 = yyj3185 > l + yyj3228++ + if yyhl3228 { + yyb3228 = yyj3228 > l } else { - yyb3185 = r.CheckBreak() + yyb3228 = r.CheckBreak() } - if yyb3185 { + if yyb3228 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39465,13 +40111,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3185++ - if yyhl3185 { - yyb3185 = yyj3185 > l + yyj3228++ + if yyhl3228 { + yyb3228 = yyj3228 > l } else { - yyb3185 = r.CheckBreak() + yyb3228 = r.CheckBreak() } - if yyb3185 { + if yyb3228 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39479,22 +40125,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3188 := &x.ListMeta - yym3189 := z.DecBinary() - _ = yym3189 + yyv3231 := &x.ListMeta + yym3232 := z.DecBinary() + _ = yym3232 if false { - } else if z.HasExtensions() && z.DecExt(yyv3188) { + } else if z.HasExtensions() && z.DecExt(yyv3231) { } else { - z.DecFallback(yyv3188, false) + z.DecFallback(yyv3231, false) } } - yyj3185++ - if yyhl3185 { - yyb3185 = yyj3185 > l + yyj3228++ + if yyhl3228 { + yyb3228 = yyj3228 > l } else { - yyb3185 = r.CheckBreak() + yyb3228 = r.CheckBreak() } - if yyb3185 { + if yyb3228 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39502,26 +40148,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3190 := &x.Items - yym3191 := z.DecBinary() - _ = yym3191 + yyv3233 := &x.Items + yym3234 := z.DecBinary() + _ = yym3234 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3190), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3233), d) } } for { - yyj3185++ - if yyhl3185 { - yyb3185 = yyj3185 > l + yyj3228++ + if yyhl3228 { + yyb3228 = yyj3228 > l } else { - yyb3185 = r.CheckBreak() + yyb3228 = r.CheckBreak() } - if yyb3185 { + if yyb3228 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3185-1, "") + z.DecStructFieldNotFound(yyj3228-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39533,33 +40179,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3192 := z.EncBinary() - _ = yym3192 + yym3235 := z.EncBinary() + _ = yym3235 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3193 := !z.EncBinary() - yy2arr3193 := z.EncBasicHandle().StructToArray - var yyq3193 [1]bool - _, _, _ = yysep3193, yyq3193, yy2arr3193 - const yyr3193 bool = false - yyq3193[0] = len(x.Hard) != 0 - var yynn3193 int - if yyr3193 || yy2arr3193 { + yysep3236 := !z.EncBinary() + yy2arr3236 := z.EncBasicHandle().StructToArray + var yyq3236 [1]bool + _, _, _ = yysep3236, yyq3236, yy2arr3236 + const yyr3236 bool = false + yyq3236[0] = len(x.Hard) != 0 + var yynn3236 int + if yyr3236 || yy2arr3236 { r.EncodeArrayStart(1) } else { - yynn3193 = 0 - for _, b := range yyq3193 { + yynn3236 = 0 + for _, b := range yyq3236 { if b { - yynn3193++ + yynn3236++ } } - r.EncodeMapStart(yynn3193) - yynn3193 = 0 + r.EncodeMapStart(yynn3236) + yynn3236 = 0 } - if yyr3193 || yy2arr3193 { + if yyr3236 || yy2arr3236 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3193[0] { + if yyq3236[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39569,7 +40215,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3193[0] { + if yyq3236[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39580,7 +40226,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3193 || yy2arr3193 { + if yyr3236 || yy2arr3236 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39593,25 +40239,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3195 := z.DecBinary() - _ = yym3195 + yym3238 := z.DecBinary() + _ = yym3238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3196 := r.ContainerType() - if yyct3196 == codecSelferValueTypeMap1234 { - yyl3196 := r.ReadMapStart() - if yyl3196 == 0 { + yyct3239 := r.ContainerType() + if yyct3239 == codecSelferValueTypeMap1234 { + yyl3239 := r.ReadMapStart() + if yyl3239 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3196, d) + x.codecDecodeSelfFromMap(yyl3239, d) } - } else if yyct3196 == codecSelferValueTypeArray1234 { - yyl3196 := r.ReadArrayStart() - if yyl3196 == 0 { + } else if yyct3239 == codecSelferValueTypeArray1234 { + yyl3239 := r.ReadArrayStart() + if yyl3239 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3196, d) + x.codecDecodeSelfFromArray(yyl3239, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39623,12 +40269,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3197Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3197Slc - var yyhl3197 bool = l >= 0 - for yyj3197 := 0; ; yyj3197++ { - if yyhl3197 { - if yyj3197 >= l { + var yys3240Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3240Slc + var yyhl3240 bool = l >= 0 + for yyj3240 := 0; ; yyj3240++ { + if yyhl3240 { + if yyj3240 >= l { break } } else { @@ -39637,21 +40283,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3197Slc = r.DecodeBytes(yys3197Slc, true, true) - yys3197 := string(yys3197Slc) + yys3240Slc = r.DecodeBytes(yys3240Slc, true, true) + yys3240 := string(yys3240Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3197 { + switch yys3240 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3198 := &x.Hard - yyv3198.CodecDecodeSelf(d) + yyv3241 := &x.Hard + yyv3241.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3197) - } // end switch yys3197 - } // end for yyj3197 + z.DecStructFieldNotFound(-1, yys3240) + } // end switch yys3240 + } // end for yyj3240 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39659,16 +40305,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3199 int - var yyb3199 bool - var yyhl3199 bool = l >= 0 - yyj3199++ - if yyhl3199 { - yyb3199 = yyj3199 > l + var yyj3242 int + var yyb3242 bool + var yyhl3242 bool = l >= 0 + yyj3242++ + if yyhl3242 { + yyb3242 = yyj3242 > l } else { - yyb3199 = r.CheckBreak() + yyb3242 = r.CheckBreak() } - if yyb3199 { + if yyb3242 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39676,586 +40322,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3200 := &x.Hard - yyv3200.CodecDecodeSelf(d) + yyv3243 := &x.Hard + yyv3243.CodecDecodeSelf(d) } for { - yyj3199++ - if yyhl3199 { - yyb3199 = yyj3199 > l + yyj3242++ + if yyhl3242 { + yyb3242 = yyj3242 > l } else { - yyb3199 = r.CheckBreak() + yyb3242 = r.CheckBreak() } - if yyb3199 { + if yyb3242 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3199-1, "") + z.DecStructFieldNotFound(yyj3242-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3201 := z.EncBinary() - _ = yym3201 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3202 := !z.EncBinary() - yy2arr3202 := z.EncBasicHandle().StructToArray - var yyq3202 [2]bool - _, _, _ = yysep3202, yyq3202, yy2arr3202 - const yyr3202 bool = false - yyq3202[0] = len(x.Hard) != 0 - yyq3202[1] = len(x.Used) != 0 - var yynn3202 int - if yyr3202 || yy2arr3202 { - r.EncodeArrayStart(2) - } else { - yynn3202 = 0 - for _, b := range yyq3202 { - if b { - yynn3202++ - } - } - r.EncodeMapStart(yynn3202) - yynn3202 = 0 - } - if yyr3202 || yy2arr3202 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3202[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3202[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr3202 || yy2arr3202 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3202[1] { - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3202[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("used")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } - } - if yyr3202 || yy2arr3202 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3205 := z.DecBinary() - _ = yym3205 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3206 := r.ContainerType() - if yyct3206 == codecSelferValueTypeMap1234 { - yyl3206 := r.ReadMapStart() - if yyl3206 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3206, d) - } - } else if yyct3206 == codecSelferValueTypeArray1234 { - yyl3206 := r.ReadArrayStart() - if yyl3206 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3206, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3207Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3207Slc - var yyhl3207 bool = l >= 0 - for yyj3207 := 0; ; yyj3207++ { - if yyhl3207 { - if yyj3207 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3207Slc = r.DecodeBytes(yys3207Slc, true, true) - yys3207 := string(yys3207Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3207 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv3208 := &x.Hard - yyv3208.CodecDecodeSelf(d) - } - case "used": - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv3209 := &x.Used - yyv3209.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3207) - } // end switch yys3207 - } // end for yyj3207 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3210 int - var yyb3210 bool - var yyhl3210 bool = l >= 0 - yyj3210++ - if yyhl3210 { - yyb3210 = yyj3210 > l - } else { - yyb3210 = r.CheckBreak() - } - if yyb3210 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv3211 := &x.Hard - yyv3211.CodecDecodeSelf(d) - } - yyj3210++ - if yyhl3210 { - yyb3210 = yyj3210 > l - } else { - yyb3210 = r.CheckBreak() - } - if yyb3210 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv3212 := &x.Used - yyv3212.CodecDecodeSelf(d) - } - for { - yyj3210++ - if yyhl3210 { - yyb3210 = yyj3210 > l - } else { - yyb3210 = r.CheckBreak() - } - if yyb3210 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3210-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3213 := z.EncBinary() - _ = yym3213 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3214 := !z.EncBinary() - yy2arr3214 := z.EncBasicHandle().StructToArray - var yyq3214 [5]bool - _, _, _ = yysep3214, yyq3214, yy2arr3214 - const yyr3214 bool = false - yyq3214[0] = x.Kind != "" - yyq3214[1] = x.APIVersion != "" - yyq3214[2] = true - yyq3214[3] = true - yyq3214[4] = true - var yynn3214 int - if yyr3214 || yy2arr3214 { - r.EncodeArrayStart(5) - } else { - yynn3214 = 0 - for _, b := range yyq3214 { - if b { - yynn3214++ - } - } - r.EncodeMapStart(yynn3214) - yynn3214 = 0 - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3214[0] { - yym3216 := z.EncBinary() - _ = yym3216 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3214[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3217 := z.EncBinary() - _ = yym3217 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3214[1] { - yym3219 := z.EncBinary() - _ = yym3219 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3214[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3220 := z.EncBinary() - _ = yym3220 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3214[2] { - yy3222 := &x.ObjectMeta - yy3222.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3214[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3223 := &x.ObjectMeta - yy3223.CodecEncodeSelf(e) - } - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3214[3] { - yy3225 := &x.Spec - yy3225.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3214[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3226 := &x.Spec - yy3226.CodecEncodeSelf(e) - } - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3214[4] { - yy3228 := &x.Status - yy3228.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3214[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3229 := &x.Status - yy3229.CodecEncodeSelf(e) - } - } - if yyr3214 || yy2arr3214 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3230 := z.DecBinary() - _ = yym3230 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3231 := r.ContainerType() - if yyct3231 == codecSelferValueTypeMap1234 { - yyl3231 := r.ReadMapStart() - if yyl3231 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3231, d) - } - } else if yyct3231 == codecSelferValueTypeArray1234 { - yyl3231 := r.ReadArrayStart() - if yyl3231 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3231, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3232Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3232Slc - var yyhl3232 bool = l >= 0 - for yyj3232 := 0; ; yyj3232++ { - if yyhl3232 { - if yyj3232 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3232Slc = r.DecodeBytes(yys3232Slc, true, true) - yys3232 := string(yys3232Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3232 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3235 := &x.ObjectMeta - yyv3235.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv3236 := &x.Spec - yyv3236.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv3237 := &x.Status - yyv3237.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3232) - } // end switch yys3232 - } // end for yyj3232 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3238 int - var yyb3238 bool - var yyhl3238 bool = l >= 0 - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3241 := &x.ObjectMeta - yyv3241.CodecDecodeSelf(d) - } - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv3242 := &x.Spec - yyv3242.CodecDecodeSelf(d) - } - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv3243 := &x.Status - yyv3243.CodecDecodeSelf(d) - } - for { - yyj3238++ - if yyhl3238 { - yyb3238 = yyj3238 > l - } else { - yyb3238 = r.CheckBreak() - } - if yyb3238 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3238-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -40269,17 +40355,16 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep3245 := !z.EncBinary() yy2arr3245 := z.EncBasicHandle().StructToArray - var yyq3245 [4]bool + var yyq3245 [2]bool _, _, _ = yysep3245, yyq3245, yy2arr3245 const yyr3245 bool = false - yyq3245[0] = x.Kind != "" - yyq3245[1] = x.APIVersion != "" - yyq3245[2] = true + yyq3245[0] = len(x.Hard) != 0 + yyq3245[1] = len(x.Used) != 0 var yynn3245 int if yyr3245 || yy2arr3245 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(2) } else { - yynn3245 = 1 + yynn3245 = 0 for _, b := range yyq3245 { if b { yynn3245++ @@ -40291,106 +40376,46 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3245[0] { - yym3247 := z.EncBinary() - _ = yym3247 - if false { + if x.Hard == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + x.Hard.CodecEncodeSelf(e) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq3245[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3248 := z.EncBinary() - _ = yym3248 - if false { + if x.Hard == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + x.Hard.CodecEncodeSelf(e) } } } if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3245[1] { - yym3250 := z.EncBinary() - _ = yym3250 - if false { + if x.Used == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + x.Used.CodecEncodeSelf(e) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq3245[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3251 := z.EncBinary() - _ = yym3251 - if false { + if x.Used == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3245 || yy2arr3245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3245[2] { - yy3253 := &x.ListMeta - yym3254 := z.EncBinary() - _ = yym3254 - if false { - } else if z.HasExtensions() && z.EncExt(yy3253) { - } else { - z.EncFallback(yy3253) - } - } else { - r.EncodeNil() - } - } else { - if yyq3245[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3255 := &x.ListMeta - yym3256 := z.EncBinary() - _ = yym3256 - if false { - } else if z.HasExtensions() && z.EncExt(yy3255) { - } else { - z.EncFallback(yy3255) - } - } - } - if yyr3245 || yy2arr3245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3258 := z.EncBinary() - _ = yym3258 - if false { - } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3259 := z.EncBinary() - _ = yym3259 - if false { - } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + x.Used.CodecEncodeSelf(e) } } } @@ -40403,29 +40428,29 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3260 := z.DecBinary() - _ = yym3260 + yym3248 := z.DecBinary() + _ = yym3248 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3261 := r.ContainerType() - if yyct3261 == codecSelferValueTypeMap1234 { - yyl3261 := r.ReadMapStart() - if yyl3261 == 0 { + yyct3249 := r.ContainerType() + if yyct3249 == codecSelferValueTypeMap1234 { + yyl3249 := r.ReadMapStart() + if yyl3249 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3261, d) + x.codecDecodeSelfFromMap(yyl3249, d) } - } else if yyct3261 == codecSelferValueTypeArray1234 { - yyl3261 := r.ReadArrayStart() - if yyl3261 == 0 { + } else if yyct3249 == codecSelferValueTypeArray1234 { + yyl3249 := r.ReadArrayStart() + if yyl3249 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3261, d) + x.codecDecodeSelfFromArray(yyl3249, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40433,16 +40458,16 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3262Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3262Slc - var yyhl3262 bool = l >= 0 - for yyj3262 := 0; ; yyj3262++ { - if yyhl3262 { - if yyj3262 >= l { + var yys3250Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3250Slc + var yyhl3250 bool = l >= 0 + for yyj3250 := 0; ; yyj3250++ { + if yyhl3250 { + if yyj3250 >= l { break } } else { @@ -40451,194 +40476,128 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3262Slc = r.DecodeBytes(yys3262Slc, true, true) - yys3262 := string(yys3262Slc) + yys3250Slc = r.DecodeBytes(yys3250Slc, true, true) + yys3250 := string(yys3250Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3262 { - case "kind": + switch yys3250 { + case "hard": if r.TryDecodeAsNil() { - x.Kind = "" + x.Hard = nil } else { - x.Kind = string(r.DecodeString()) + yyv3251 := &x.Hard + yyv3251.CodecDecodeSelf(d) } - case "apiVersion": + case "used": if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Used = nil } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3265 := &x.ListMeta - yym3266 := z.DecBinary() - _ = yym3266 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3265) { - } else { - z.DecFallback(yyv3265, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3267 := &x.Items - yym3268 := z.DecBinary() - _ = yym3268 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3267), d) - } + yyv3252 := &x.Used + yyv3252.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3262) - } // end switch yys3262 - } // end for yyj3262 + z.DecStructFieldNotFound(-1, yys3250) + } // end switch yys3250 + } // end for yyj3250 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3269 int - var yyb3269 bool - var yyhl3269 bool = l >= 0 - yyj3269++ - if yyhl3269 { - yyb3269 = yyj3269 > l + var yyj3253 int + var yyb3253 bool + var yyhl3253 bool = l >= 0 + yyj3253++ + if yyhl3253 { + yyb3253 = yyj3253 > l } else { - yyb3269 = r.CheckBreak() + yyb3253 = r.CheckBreak() } - if yyb3269 { + if yyb3253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Hard = nil } else { - x.Kind = string(r.DecodeString()) + yyv3254 := &x.Hard + yyv3254.CodecDecodeSelf(d) } - yyj3269++ - if yyhl3269 { - yyb3269 = yyj3269 > l + yyj3253++ + if yyhl3253 { + yyb3253 = yyj3253 > l } else { - yyb3269 = r.CheckBreak() + yyb3253 = r.CheckBreak() } - if yyb3269 { + if yyb3253 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Used = nil } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3269++ - if yyhl3269 { - yyb3269 = yyj3269 > l - } else { - yyb3269 = r.CheckBreak() - } - if yyb3269 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3272 := &x.ListMeta - yym3273 := z.DecBinary() - _ = yym3273 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3272) { - } else { - z.DecFallback(yyv3272, false) - } - } - yyj3269++ - if yyhl3269 { - yyb3269 = yyj3269 > l - } else { - yyb3269 = r.CheckBreak() - } - if yyb3269 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3274 := &x.Items - yym3275 := z.DecBinary() - _ = yym3275 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3274), d) - } + yyv3255 := &x.Used + yyv3255.CodecDecodeSelf(d) } for { - yyj3269++ - if yyhl3269 { - yyb3269 = yyj3269 > l + yyj3253++ + if yyhl3253 { + yyb3253 = yyj3253 > l } else { - yyb3269 = r.CheckBreak() + yyb3253 = r.CheckBreak() } - if yyb3269 { + if yyb3253 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3269-1, "") + z.DecStructFieldNotFound(yyj3253-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3276 := z.EncBinary() - _ = yym3276 + yym3256 := z.EncBinary() + _ = yym3256 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3277 := !z.EncBinary() - yy2arr3277 := z.EncBasicHandle().StructToArray - var yyq3277 [5]bool - _, _, _ = yysep3277, yyq3277, yy2arr3277 - const yyr3277 bool = false - yyq3277[0] = x.Kind != "" - yyq3277[1] = x.APIVersion != "" - yyq3277[2] = true - yyq3277[3] = len(x.Data) != 0 - yyq3277[4] = x.Type != "" - var yynn3277 int - if yyr3277 || yy2arr3277 { + yysep3257 := !z.EncBinary() + yy2arr3257 := z.EncBasicHandle().StructToArray + var yyq3257 [5]bool + _, _, _ = yysep3257, yyq3257, yy2arr3257 + const yyr3257 bool = false + yyq3257[0] = x.Kind != "" + yyq3257[1] = x.APIVersion != "" + yyq3257[2] = true + yyq3257[3] = true + yyq3257[4] = true + var yynn3257 int + if yyr3257 || yy2arr3257 { r.EncodeArrayStart(5) } else { - yynn3277 = 0 - for _, b := range yyq3277 { + yynn3257 = 0 + for _, b := range yyq3257 { if b { - yynn3277++ + yynn3257++ } } - r.EncodeMapStart(yynn3277) - yynn3277 = 0 + r.EncodeMapStart(yynn3257) + yynn3257 = 0 } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3277[0] { - yym3279 := z.EncBinary() - _ = yym3279 + if yyq3257[0] { + yym3259 := z.EncBinary() + _ = yym3259 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40647,23 +40606,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3277[0] { + if yyq3257[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3280 := z.EncBinary() - _ = yym3280 + yym3260 := z.EncBinary() + _ = yym3260 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3277[1] { - yym3282 := z.EncBinary() - _ = yym3282 + if yyq3257[1] { + yym3262 := z.EncBinary() + _ = yym3262 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40672,84 +40631,70 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3277[1] { + if yyq3257[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3283 := z.EncBinary() - _ = yym3283 + yym3263 := z.EncBinary() + _ = yym3263 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3277[2] { - yy3285 := &x.ObjectMeta - yy3285.CodecEncodeSelf(e) + if yyq3257[2] { + yy3265 := &x.ObjectMeta + yy3265.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3277[2] { + if yyq3257[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3286 := &x.ObjectMeta - yy3286.CodecEncodeSelf(e) + yy3266 := &x.ObjectMeta + yy3266.CodecEncodeSelf(e) } } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3277[3] { - if x.Data == nil { - r.EncodeNil() - } else { - yym3288 := z.EncBinary() - _ = yym3288 - if false { - } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) - } - } + if yyq3257[3] { + yy3268 := &x.Spec + yy3268.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3277[3] { + if yyq3257[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { - r.EncodeNil() - } else { - yym3289 := z.EncBinary() - _ = yym3289 - if false { - } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) - } - } + yy3269 := &x.Spec + yy3269.CodecEncodeSelf(e) } } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3277[4] { - x.Type.CodecEncodeSelf(e) + if yyq3257[4] { + yy3271 := &x.Status + yy3271.CodecEncodeSelf(e) } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { - if yyq3277[4] { + if yyq3257[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) + r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) + yy3272 := &x.Status + yy3272.CodecEncodeSelf(e) } } - if yyr3277 || yy2arr3277 { + if yyr3257 || yy2arr3257 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40758,29 +40703,29 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3291 := z.DecBinary() - _ = yym3291 + yym3273 := z.DecBinary() + _ = yym3273 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3292 := r.ContainerType() - if yyct3292 == codecSelferValueTypeMap1234 { - yyl3292 := r.ReadMapStart() - if yyl3292 == 0 { + yyct3274 := r.ContainerType() + if yyct3274 == codecSelferValueTypeMap1234 { + yyl3274 := r.ReadMapStart() + if yyl3274 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3292, d) + x.codecDecodeSelfFromMap(yyl3274, d) } - } else if yyct3292 == codecSelferValueTypeArray1234 { - yyl3292 := r.ReadArrayStart() - if yyl3292 == 0 { + } else if yyct3274 == codecSelferValueTypeArray1234 { + yyl3274 := r.ReadArrayStart() + if yyl3274 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3292, d) + x.codecDecodeSelfFromArray(yyl3274, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40788,16 +40733,16 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3293Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3293Slc - var yyhl3293 bool = l >= 0 - for yyj3293 := 0; ; yyj3293++ { - if yyhl3293 { - if yyj3293 >= l { + var yys3275Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3275Slc + var yyhl3275 bool = l >= 0 + for yyj3275 := 0; ; yyj3275++ { + if yyhl3275 { + if yyj3275 >= l { break } } else { @@ -40806,10 +40751,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3293Slc = r.DecodeBytes(yys3293Slc, true, true) - yys3293 := string(yys3293Slc) + yys3275Slc = r.DecodeBytes(yys3275Slc, true, true) + yys3275 := string(yys3275Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3293 { + switch yys3275 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40826,48 +40771,44 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3296 := &x.ObjectMeta - yyv3296.CodecDecodeSelf(d) + yyv3278 := &x.ObjectMeta + yyv3278.CodecDecodeSelf(d) } - case "data": + case "spec": if r.TryDecodeAsNil() { - x.Data = nil + x.Spec = ResourceQuotaSpec{} } else { - yyv3297 := &x.Data - yym3298 := z.DecBinary() - _ = yym3298 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3297), d) - } + yyv3279 := &x.Spec + yyv3279.CodecDecodeSelf(d) } - case "type": + case "status": if r.TryDecodeAsNil() { - x.Type = "" + x.Status = ResourceQuotaStatus{} } else { - x.Type = SecretType(r.DecodeString()) + yyv3280 := &x.Status + yyv3280.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3293) - } // end switch yys3293 - } // end for yyj3293 + z.DecStructFieldNotFound(-1, yys3275) + } // end switch yys3275 + } // end for yyj3275 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3300 int - var yyb3300 bool - var yyhl3300 bool = l >= 0 - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + var yyj3281 int + var yyb3281 bool + var yyhl3281 bool = l >= 0 + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb3300 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb3300 { + if yyb3281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40877,13 +40818,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb3300 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb3300 { + if yyb3281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40893,13 +40834,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb3300 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb3300 { + if yyb3281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40907,16 +40848,721 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3303 := &x.ObjectMeta - yyv3303.CodecDecodeSelf(d) + yyv3284 := &x.ObjectMeta + yyv3284.CodecDecodeSelf(d) } - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb3300 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb3300 { + if yyb3281 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3285 := &x.Spec + yyv3285.CodecDecodeSelf(d) + } + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l + } else { + yyb3281 = r.CheckBreak() + } + if yyb3281 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3286 := &x.Status + yyv3286.CodecDecodeSelf(d) + } + for { + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l + } else { + yyb3281 = r.CheckBreak() + } + if yyb3281 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3281-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3287 := z.EncBinary() + _ = yym3287 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3288 := !z.EncBinary() + yy2arr3288 := z.EncBasicHandle().StructToArray + var yyq3288 [4]bool + _, _, _ = yysep3288, yyq3288, yy2arr3288 + const yyr3288 bool = false + yyq3288[0] = x.Kind != "" + yyq3288[1] = x.APIVersion != "" + yyq3288[2] = true + var yynn3288 int + if yyr3288 || yy2arr3288 { + r.EncodeArrayStart(4) + } else { + yynn3288 = 1 + for _, b := range yyq3288 { + if b { + yynn3288++ + } + } + r.EncodeMapStart(yynn3288) + yynn3288 = 0 + } + if yyr3288 || yy2arr3288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3288[0] { + yym3290 := z.EncBinary() + _ = yym3290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3288[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3291 := z.EncBinary() + _ = yym3291 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3288 || yy2arr3288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3288[1] { + yym3293 := z.EncBinary() + _ = yym3293 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3288[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3294 := z.EncBinary() + _ = yym3294 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3288 || yy2arr3288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3288[2] { + yy3296 := &x.ListMeta + yym3297 := z.EncBinary() + _ = yym3297 + if false { + } else if z.HasExtensions() && z.EncExt(yy3296) { + } else { + z.EncFallback(yy3296) + } + } else { + r.EncodeNil() + } + } else { + if yyq3288[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3298 := &x.ListMeta + yym3299 := z.EncBinary() + _ = yym3299 + if false { + } else if z.HasExtensions() && z.EncExt(yy3298) { + } else { + z.EncFallback(yy3298) + } + } + } + if yyr3288 || yy2arr3288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3301 := z.EncBinary() + _ = yym3301 + if false { + } else { + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3302 := z.EncBinary() + _ = yym3302 + if false { + } else { + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + } + } + } + if yyr3288 || yy2arr3288 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3303 := z.DecBinary() + _ = yym3303 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3304 := r.ContainerType() + if yyct3304 == codecSelferValueTypeMap1234 { + yyl3304 := r.ReadMapStart() + if yyl3304 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3304, d) + } + } else if yyct3304 == codecSelferValueTypeArray1234 { + yyl3304 := r.ReadArrayStart() + if yyl3304 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3304, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3305Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3305Slc + var yyhl3305 bool = l >= 0 + for yyj3305 := 0; ; yyj3305++ { + if yyhl3305 { + if yyj3305 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3305Slc = r.DecodeBytes(yys3305Slc, true, true) + yys3305 := string(yys3305Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3305 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3308 := &x.ListMeta + yym3309 := z.DecBinary() + _ = yym3309 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3308) { + } else { + z.DecFallback(yyv3308, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3310 := &x.Items + yym3311 := z.DecBinary() + _ = yym3311 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3310), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3305) + } // end switch yys3305 + } // end for yyj3305 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3312 int + var yyb3312 bool + var yyhl3312 bool = l >= 0 + yyj3312++ + if yyhl3312 { + yyb3312 = yyj3312 > l + } else { + yyb3312 = r.CheckBreak() + } + if yyb3312 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3312++ + if yyhl3312 { + yyb3312 = yyj3312 > l + } else { + yyb3312 = r.CheckBreak() + } + if yyb3312 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3312++ + if yyhl3312 { + yyb3312 = yyj3312 > l + } else { + yyb3312 = r.CheckBreak() + } + if yyb3312 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3315 := &x.ListMeta + yym3316 := z.DecBinary() + _ = yym3316 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3315) { + } else { + z.DecFallback(yyv3315, false) + } + } + yyj3312++ + if yyhl3312 { + yyb3312 = yyj3312 > l + } else { + yyb3312 = r.CheckBreak() + } + if yyb3312 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3317 := &x.Items + yym3318 := z.DecBinary() + _ = yym3318 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3317), d) + } + } + for { + yyj3312++ + if yyhl3312 { + yyb3312 = yyj3312 > l + } else { + yyb3312 = r.CheckBreak() + } + if yyb3312 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3312-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3319 := z.EncBinary() + _ = yym3319 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3320 := !z.EncBinary() + yy2arr3320 := z.EncBasicHandle().StructToArray + var yyq3320 [5]bool + _, _, _ = yysep3320, yyq3320, yy2arr3320 + const yyr3320 bool = false + yyq3320[0] = x.Kind != "" + yyq3320[1] = x.APIVersion != "" + yyq3320[2] = true + yyq3320[3] = len(x.Data) != 0 + yyq3320[4] = x.Type != "" + var yynn3320 int + if yyr3320 || yy2arr3320 { + r.EncodeArrayStart(5) + } else { + yynn3320 = 0 + for _, b := range yyq3320 { + if b { + yynn3320++ + } + } + r.EncodeMapStart(yynn3320) + yynn3320 = 0 + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[0] { + yym3322 := z.EncBinary() + _ = yym3322 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3320[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3323 := z.EncBinary() + _ = yym3323 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[1] { + yym3325 := z.EncBinary() + _ = yym3325 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3320[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3326 := z.EncBinary() + _ = yym3326 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[2] { + yy3328 := &x.ObjectMeta + yy3328.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3320[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3329 := &x.ObjectMeta + yy3329.CodecEncodeSelf(e) + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym3331 := z.EncBinary() + _ = yym3331 + if false { + } else { + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3320[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("data")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Data == nil { + r.EncodeNil() + } else { + yym3332 := z.EncBinary() + _ = yym3332 + if false { + } else { + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + } + } + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[4] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3320[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3334 := z.DecBinary() + _ = yym3334 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3335 := r.ContainerType() + if yyct3335 == codecSelferValueTypeMap1234 { + yyl3335 := r.ReadMapStart() + if yyl3335 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3335, d) + } + } else if yyct3335 == codecSelferValueTypeArray1234 { + yyl3335 := r.ReadArrayStart() + if yyl3335 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3335, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3336Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3336Slc + var yyhl3336 bool = l >= 0 + for yyj3336 := 0; ; yyj3336++ { + if yyhl3336 { + if yyj3336 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3336Slc = r.DecodeBytes(yys3336Slc, true, true) + yys3336 := string(yys3336Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3336 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3339 := &x.ObjectMeta + yyv3339.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3340 := &x.Data + yym3341 := z.DecBinary() + _ = yym3341 + if false { + } else { + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3340), d) + } + } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3336) + } // end switch yys3336 + } // end for yyj3336 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3343 int + var yyb3343 bool + var yyhl3343 bool = l >= 0 + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l + } else { + yyb3343 = r.CheckBreak() + } + if yyb3343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l + } else { + yyb3343 = r.CheckBreak() + } + if yyb3343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l + } else { + yyb3343 = r.CheckBreak() + } + if yyb3343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3346 := &x.ObjectMeta + yyv3346.CodecDecodeSelf(d) + } + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l + } else { + yyb3343 = r.CheckBreak() + } + if yyb3343 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40924,21 +41570,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3304 := &x.Data - yym3305 := z.DecBinary() - _ = yym3305 + yyv3347 := &x.Data + yym3348 := z.DecBinary() + _ = yym3348 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3304), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3347), d) } } - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l } else { - yyb3300 = r.CheckBreak() + yyb3343 = r.CheckBreak() } - if yyb3300 { + if yyb3343 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40949,17 +41595,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj3300++ - if yyhl3300 { - yyb3300 = yyj3300 > l + yyj3343++ + if yyhl3343 { + yyb3343 = yyj3343 > l } else { - yyb3300 = r.CheckBreak() + yyb3343 = r.CheckBreak() } - if yyb3300 { + if yyb3343 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3300-1, "") + z.DecStructFieldNotFound(yyj3343-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40968,8 +41614,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3307 := z.EncBinary() - _ = yym3307 + yym3350 := z.EncBinary() + _ = yym3350 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40981,8 +41627,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3308 := z.DecBinary() - _ = yym3308 + yym3351 := z.DecBinary() + _ = yym3351 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40997,37 +41643,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3309 := z.EncBinary() - _ = yym3309 + yym3352 := z.EncBinary() + _ = yym3352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3310 := !z.EncBinary() - yy2arr3310 := z.EncBasicHandle().StructToArray - var yyq3310 [4]bool - _, _, _ = yysep3310, yyq3310, yy2arr3310 - const yyr3310 bool = false - yyq3310[0] = x.Kind != "" - yyq3310[1] = x.APIVersion != "" - yyq3310[2] = true - var yynn3310 int - if yyr3310 || yy2arr3310 { + yysep3353 := !z.EncBinary() + yy2arr3353 := z.EncBasicHandle().StructToArray + var yyq3353 [4]bool + _, _, _ = yysep3353, yyq3353, yy2arr3353 + const yyr3353 bool = false + yyq3353[0] = x.Kind != "" + yyq3353[1] = x.APIVersion != "" + yyq3353[2] = true + var yynn3353 int + if yyr3353 || yy2arr3353 { r.EncodeArrayStart(4) } else { - yynn3310 = 1 - for _, b := range yyq3310 { + yynn3353 = 1 + for _, b := range yyq3353 { if b { - yynn3310++ + yynn3353++ } } - r.EncodeMapStart(yynn3310) - yynn3310 = 0 + r.EncodeMapStart(yynn3353) + yynn3353 = 0 } - if yyr3310 || yy2arr3310 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3310[0] { - yym3312 := z.EncBinary() - _ = yym3312 + if yyq3353[0] { + yym3355 := z.EncBinary() + _ = yym3355 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41036,23 +41682,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3310[0] { + if yyq3353[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3313 := z.EncBinary() - _ = yym3313 + yym3356 := z.EncBinary() + _ = yym3356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3310 || yy2arr3310 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3310[1] { - yym3315 := z.EncBinary() - _ = yym3315 + if yyq3353[1] { + yym3358 := z.EncBinary() + _ = yym3358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41061,54 +41707,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3310[1] { + if yyq3353[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3316 := z.EncBinary() - _ = yym3316 + yym3359 := z.EncBinary() + _ = yym3359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3310 || yy2arr3310 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3310[2] { - yy3318 := &x.ListMeta - yym3319 := z.EncBinary() - _ = yym3319 + if yyq3353[2] { + yy3361 := &x.ListMeta + yym3362 := z.EncBinary() + _ = yym3362 if false { - } else if z.HasExtensions() && z.EncExt(yy3318) { + } else if z.HasExtensions() && z.EncExt(yy3361) { } else { - z.EncFallback(yy3318) + z.EncFallback(yy3361) } } else { r.EncodeNil() } } else { - if yyq3310[2] { + if yyq3353[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3320 := &x.ListMeta - yym3321 := z.EncBinary() - _ = yym3321 + yy3363 := &x.ListMeta + yym3364 := z.EncBinary() + _ = yym3364 if false { - } else if z.HasExtensions() && z.EncExt(yy3320) { + } else if z.HasExtensions() && z.EncExt(yy3363) { } else { - z.EncFallback(yy3320) + z.EncFallback(yy3363) } } } - if yyr3310 || yy2arr3310 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3323 := z.EncBinary() - _ = yym3323 + yym3366 := z.EncBinary() + _ = yym3366 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -41121,15 +41767,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3324 := z.EncBinary() - _ = yym3324 + yym3367 := z.EncBinary() + _ = yym3367 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3310 || yy2arr3310 { + if yyr3353 || yy2arr3353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41142,25 +41788,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3325 := z.DecBinary() - _ = yym3325 + yym3368 := z.DecBinary() + _ = yym3368 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3326 := r.ContainerType() - if yyct3326 == codecSelferValueTypeMap1234 { - yyl3326 := r.ReadMapStart() - if yyl3326 == 0 { + yyct3369 := r.ContainerType() + if yyct3369 == codecSelferValueTypeMap1234 { + yyl3369 := r.ReadMapStart() + if yyl3369 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3326, d) + x.codecDecodeSelfFromMap(yyl3369, d) } - } else if yyct3326 == codecSelferValueTypeArray1234 { - yyl3326 := r.ReadArrayStart() - if yyl3326 == 0 { + } else if yyct3369 == codecSelferValueTypeArray1234 { + yyl3369 := r.ReadArrayStart() + if yyl3369 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3326, d) + x.codecDecodeSelfFromArray(yyl3369, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41172,12 +41818,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3327Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3327Slc - var yyhl3327 bool = l >= 0 - for yyj3327 := 0; ; yyj3327++ { - if yyhl3327 { - if yyj3327 >= l { + var yys3370Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3370Slc + var yyhl3370 bool = l >= 0 + for yyj3370 := 0; ; yyj3370++ { + if yyhl3370 { + if yyj3370 >= l { break } } else { @@ -41186,10 +41832,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3327Slc = r.DecodeBytes(yys3327Slc, true, true) - yys3327 := string(yys3327Slc) + yys3370Slc = r.DecodeBytes(yys3370Slc, true, true) + yys3370 := string(yys3370Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3327 { + switch yys3370 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41206,31 +41852,31 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3330 := &x.ListMeta - yym3331 := z.DecBinary() - _ = yym3331 + yyv3373 := &x.ListMeta + yym3374 := z.DecBinary() + _ = yym3374 if false { - } else if z.HasExtensions() && z.DecExt(yyv3330) { + } else if z.HasExtensions() && z.DecExt(yyv3373) { } else { - z.DecFallback(yyv3330, false) + z.DecFallback(yyv3373, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3332 := &x.Items - yym3333 := z.DecBinary() - _ = yym3333 + yyv3375 := &x.Items + yym3376 := z.DecBinary() + _ = yym3376 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3332), d) + h.decSliceSecret((*[]Secret)(yyv3375), d) } } default: - z.DecStructFieldNotFound(-1, yys3327) - } // end switch yys3327 - } // end for yyj3327 + z.DecStructFieldNotFound(-1, yys3370) + } // end switch yys3370 + } // end for yyj3370 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41238,16 +41884,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3334 int - var yyb3334 bool - var yyhl3334 bool = l >= 0 - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + var yyj3377 int + var yyb3377 bool + var yyhl3377 bool = l >= 0 + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41257,13 +41903,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41273,13 +41919,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41287,22 +41933,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3337 := &x.ListMeta - yym3338 := z.DecBinary() - _ = yym3338 + yyv3380 := &x.ListMeta + yym3381 := z.DecBinary() + _ = yym3381 if false { - } else if z.HasExtensions() && z.DecExt(yyv3337) { + } else if z.HasExtensions() && z.DecExt(yyv3380) { } else { - z.DecFallback(yyv3337, false) + z.DecFallback(yyv3380, false) } } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41310,26 +41956,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3339 := &x.Items - yym3340 := z.DecBinary() - _ = yym3340 + yyv3382 := &x.Items + yym3383 := z.DecBinary() + _ = yym3383 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3339), d) + h.decSliceSecret((*[]Secret)(yyv3382), d) } } for { - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3334-1, "") + z.DecStructFieldNotFound(yyj3377-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41338,8 +41984,8 @@ func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3341 := z.EncBinary() - _ = yym3341 + yym3384 := z.EncBinary() + _ = yym3384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41351,8 +41997,8 @@ func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3342 := z.DecBinary() - _ = yym3342 + yym3385 := z.DecBinary() + _ = yym3385 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41364,8 +42010,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3343 := z.EncBinary() - _ = yym3343 + yym3386 := z.EncBinary() + _ = yym3386 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41377,8 +42023,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3344 := z.DecBinary() - _ = yym3344 + yym3387 := z.DecBinary() + _ = yym3387 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41393,32 +42039,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3345 := z.EncBinary() - _ = yym3345 + yym3388 := z.EncBinary() + _ = yym3388 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3346 := !z.EncBinary() - yy2arr3346 := z.EncBasicHandle().StructToArray - var yyq3346 [4]bool - _, _, _ = yysep3346, yyq3346, yy2arr3346 - const yyr3346 bool = false - yyq3346[2] = x.Message != "" - yyq3346[3] = x.Error != "" - var yynn3346 int - if yyr3346 || yy2arr3346 { + yysep3389 := !z.EncBinary() + yy2arr3389 := z.EncBasicHandle().StructToArray + var yyq3389 [4]bool + _, _, _ = yysep3389, yyq3389, yy2arr3389 + const yyr3389 bool = false + yyq3389[2] = x.Message != "" + yyq3389[3] = x.Error != "" + var yynn3389 int + if yyr3389 || yy2arr3389 { r.EncodeArrayStart(4) } else { - yynn3346 = 2 - for _, b := range yyq3346 { + yynn3389 = 2 + for _, b := range yyq3389 { if b { - yynn3346++ + yynn3389++ } } - r.EncodeMapStart(yynn3346) - yynn3346 = 0 + r.EncodeMapStart(yynn3389) + yynn3389 = 0 } - if yyr3346 || yy2arr3346 { + if yyr3389 || yy2arr3389 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41427,7 +42073,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3346 || yy2arr3346 { + if yyr3389 || yy2arr3389 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -41436,11 +42082,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3346 || yy2arr3346 { + if yyr3389 || yy2arr3389 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3346[2] { - yym3350 := z.EncBinary() - _ = yym3350 + if yyq3389[2] { + yym3393 := z.EncBinary() + _ = yym3393 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -41449,23 +42095,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3346[2] { + if yyq3389[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3351 := z.EncBinary() - _ = yym3351 + yym3394 := z.EncBinary() + _ = yym3394 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3346 || yy2arr3346 { + if yyr3389 || yy2arr3389 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3346[3] { - yym3353 := z.EncBinary() - _ = yym3353 + if yyq3389[3] { + yym3396 := z.EncBinary() + _ = yym3396 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -41474,19 +42120,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3346[3] { + if yyq3389[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3354 := z.EncBinary() - _ = yym3354 + yym3397 := z.EncBinary() + _ = yym3397 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3346 || yy2arr3346 { + if yyr3389 || yy2arr3389 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41499,25 +42145,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3355 := z.DecBinary() - _ = yym3355 + yym3398 := z.DecBinary() + _ = yym3398 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3356 := r.ContainerType() - if yyct3356 == codecSelferValueTypeMap1234 { - yyl3356 := r.ReadMapStart() - if yyl3356 == 0 { + yyct3399 := r.ContainerType() + if yyct3399 == codecSelferValueTypeMap1234 { + yyl3399 := r.ReadMapStart() + if yyl3399 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3356, d) + x.codecDecodeSelfFromMap(yyl3399, d) } - } else if yyct3356 == codecSelferValueTypeArray1234 { - yyl3356 := r.ReadArrayStart() - if yyl3356 == 0 { + } else if yyct3399 == codecSelferValueTypeArray1234 { + yyl3399 := r.ReadArrayStart() + if yyl3399 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3356, d) + x.codecDecodeSelfFromArray(yyl3399, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41529,12 +42175,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3357Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3357Slc - var yyhl3357 bool = l >= 0 - for yyj3357 := 0; ; yyj3357++ { - if yyhl3357 { - if yyj3357 >= l { + var yys3400Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3400Slc + var yyhl3400 bool = l >= 0 + for yyj3400 := 0; ; yyj3400++ { + if yyhl3400 { + if yyj3400 >= l { break } } else { @@ -41543,10 +42189,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3357Slc = r.DecodeBytes(yys3357Slc, true, true) - yys3357 := string(yys3357Slc) + yys3400Slc = r.DecodeBytes(yys3400Slc, true, true) + yys3400 := string(yys3400Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3357 { + switch yys3400 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41572,9 +42218,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3357) - } // end switch yys3357 - } // end for yyj3357 + z.DecStructFieldNotFound(-1, yys3400) + } // end switch yys3400 + } // end for yyj3400 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41582,16 +42228,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3362 int - var yyb3362 bool - var yyhl3362 bool = l >= 0 - yyj3362++ - if yyhl3362 { - yyb3362 = yyj3362 > l + var yyj3405 int + var yyb3405 bool + var yyhl3405 bool = l >= 0 + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3362 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3362 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41601,13 +42247,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3362++ - if yyhl3362 { - yyb3362 = yyj3362 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3362 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3362 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41617,13 +42263,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3362++ - if yyhl3362 { - yyb3362 = yyj3362 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3362 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3362 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41633,13 +42279,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3362++ - if yyhl3362 { - yyb3362 = yyj3362 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3362 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3362 { + if yyb3405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41650,17 +42296,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3362++ - if yyhl3362 { - yyb3362 = yyj3362 > l + yyj3405++ + if yyhl3405 { + yyb3405 = yyj3405 > l } else { - yyb3362 = r.CheckBreak() + yyb3405 = r.CheckBreak() } - if yyb3362 { + if yyb3405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3362-1, "") + z.DecStructFieldNotFound(yyj3405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41672,38 +42318,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3367 := z.EncBinary() - _ = yym3367 + yym3410 := z.EncBinary() + _ = yym3410 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3368 := !z.EncBinary() - yy2arr3368 := z.EncBasicHandle().StructToArray - var yyq3368 [4]bool - _, _, _ = yysep3368, yyq3368, yy2arr3368 - const yyr3368 bool = false - yyq3368[0] = x.Kind != "" - yyq3368[1] = x.APIVersion != "" - yyq3368[2] = true - yyq3368[3] = len(x.Conditions) != 0 - var yynn3368 int - if yyr3368 || yy2arr3368 { + yysep3411 := !z.EncBinary() + yy2arr3411 := z.EncBasicHandle().StructToArray + var yyq3411 [4]bool + _, _, _ = yysep3411, yyq3411, yy2arr3411 + const yyr3411 bool = false + yyq3411[0] = x.Kind != "" + yyq3411[1] = x.APIVersion != "" + yyq3411[2] = true + yyq3411[3] = len(x.Conditions) != 0 + var yynn3411 int + if yyr3411 || yy2arr3411 { r.EncodeArrayStart(4) } else { - yynn3368 = 0 - for _, b := range yyq3368 { + yynn3411 = 0 + for _, b := range yyq3411 { if b { - yynn3368++ + yynn3411++ } } - r.EncodeMapStart(yynn3368) - yynn3368 = 0 + r.EncodeMapStart(yynn3411) + yynn3411 = 0 } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[0] { - yym3370 := z.EncBinary() - _ = yym3370 + if yyq3411[0] { + yym3413 := z.EncBinary() + _ = yym3413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41712,23 +42358,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3368[0] { + if yyq3411[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3371 := z.EncBinary() - _ = yym3371 + yym3414 := z.EncBinary() + _ = yym3414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[1] { - yym3373 := z.EncBinary() - _ = yym3373 + if yyq3411[1] { + yym3416 := z.EncBinary() + _ = yym3416 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41737,43 +42383,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3368[1] { + if yyq3411[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3374 := z.EncBinary() - _ = yym3374 + yym3417 := z.EncBinary() + _ = yym3417 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[2] { - yy3376 := &x.ObjectMeta - yy3376.CodecEncodeSelf(e) + if yyq3411[2] { + yy3419 := &x.ObjectMeta + yy3419.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3368[2] { + if yyq3411[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3377 := &x.ObjectMeta - yy3377.CodecEncodeSelf(e) + yy3420 := &x.ObjectMeta + yy3420.CodecEncodeSelf(e) } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[3] { + if yyq3411[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3379 := z.EncBinary() - _ = yym3379 + yym3422 := z.EncBinary() + _ = yym3422 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -41783,15 +42429,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3368[3] { + if yyq3411[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3380 := z.EncBinary() - _ = yym3380 + yym3423 := z.EncBinary() + _ = yym3423 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -41799,7 +42445,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41812,25 +42458,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3381 := z.DecBinary() - _ = yym3381 + yym3424 := z.DecBinary() + _ = yym3424 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3382 := r.ContainerType() - if yyct3382 == codecSelferValueTypeMap1234 { - yyl3382 := r.ReadMapStart() - if yyl3382 == 0 { + yyct3425 := r.ContainerType() + if yyct3425 == codecSelferValueTypeMap1234 { + yyl3425 := r.ReadMapStart() + if yyl3425 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3382, d) + x.codecDecodeSelfFromMap(yyl3425, d) } - } else if yyct3382 == codecSelferValueTypeArray1234 { - yyl3382 := r.ReadArrayStart() - if yyl3382 == 0 { + } else if yyct3425 == codecSelferValueTypeArray1234 { + yyl3425 := r.ReadArrayStart() + if yyl3425 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3382, d) + x.codecDecodeSelfFromArray(yyl3425, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41842,12 +42488,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3383Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3383Slc - var yyhl3383 bool = l >= 0 - for yyj3383 := 0; ; yyj3383++ { - if yyhl3383 { - if yyj3383 >= l { + var yys3426Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3426Slc + var yyhl3426 bool = l >= 0 + for yyj3426 := 0; ; yyj3426++ { + if yyhl3426 { + if yyj3426 >= l { break } } else { @@ -41856,10 +42502,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3383Slc = r.DecodeBytes(yys3383Slc, true, true) - yys3383 := string(yys3383Slc) + yys3426Slc = r.DecodeBytes(yys3426Slc, true, true) + yys3426 := string(yys3426Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3383 { + switch yys3426 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41876,25 +42522,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3386 := &x.ObjectMeta - yyv3386.CodecDecodeSelf(d) + yyv3429 := &x.ObjectMeta + yyv3429.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3387 := &x.Conditions - yym3388 := z.DecBinary() - _ = yym3388 + yyv3430 := &x.Conditions + yym3431 := z.DecBinary() + _ = yym3431 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3387), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3430), d) } } default: - z.DecStructFieldNotFound(-1, yys3383) - } // end switch yys3383 - } // end for yyj3383 + z.DecStructFieldNotFound(-1, yys3426) + } // end switch yys3426 + } // end for yyj3426 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41902,16 +42548,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3389 int - var yyb3389 bool - var yyhl3389 bool = l >= 0 - yyj3389++ - if yyhl3389 { - yyb3389 = yyj3389 > l + var yyj3432 int + var yyb3432 bool + var yyhl3432 bool = l >= 0 + yyj3432++ + if yyhl3432 { + yyb3432 = yyj3432 > l } else { - yyb3389 = r.CheckBreak() + yyb3432 = r.CheckBreak() } - if yyb3389 { + if yyb3432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41921,13 +42567,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3389++ - if yyhl3389 { - yyb3389 = yyj3389 > l + yyj3432++ + if yyhl3432 { + yyb3432 = yyj3432 > l } else { - yyb3389 = r.CheckBreak() + yyb3432 = r.CheckBreak() } - if yyb3389 { + if yyb3432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41937,13 +42583,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3389++ - if yyhl3389 { - yyb3389 = yyj3389 > l + yyj3432++ + if yyhl3432 { + yyb3432 = yyj3432 > l } else { - yyb3389 = r.CheckBreak() + yyb3432 = r.CheckBreak() } - if yyb3389 { + if yyb3432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41951,16 +42597,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3392 := &x.ObjectMeta - yyv3392.CodecDecodeSelf(d) + yyv3435 := &x.ObjectMeta + yyv3435.CodecDecodeSelf(d) } - yyj3389++ - if yyhl3389 { - yyb3389 = yyj3389 > l + yyj3432++ + if yyhl3432 { + yyb3432 = yyj3432 > l } else { - yyb3389 = r.CheckBreak() + yyb3432 = r.CheckBreak() } - if yyb3389 { + if yyb3432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41968,26 +42614,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3393 := &x.Conditions - yym3394 := z.DecBinary() - _ = yym3394 + yyv3436 := &x.Conditions + yym3437 := z.DecBinary() + _ = yym3437 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3393), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3436), d) } } for { - yyj3389++ - if yyhl3389 { - yyb3389 = yyj3389 > l + yyj3432++ + if yyhl3432 { + yyb3432 = yyj3432 > l } else { - yyb3389 = r.CheckBreak() + yyb3432 = r.CheckBreak() } - if yyb3389 { + if yyb3432 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3389-1, "") + z.DecStructFieldNotFound(yyj3432-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41999,37 +42645,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3395 := z.EncBinary() - _ = yym3395 + yym3438 := z.EncBinary() + _ = yym3438 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3396 := !z.EncBinary() - yy2arr3396 := z.EncBasicHandle().StructToArray - var yyq3396 [4]bool - _, _, _ = yysep3396, yyq3396, yy2arr3396 - const yyr3396 bool = false - yyq3396[0] = x.Kind != "" - yyq3396[1] = x.APIVersion != "" - yyq3396[2] = true - var yynn3396 int - if yyr3396 || yy2arr3396 { + yysep3439 := !z.EncBinary() + yy2arr3439 := z.EncBasicHandle().StructToArray + var yyq3439 [4]bool + _, _, _ = yysep3439, yyq3439, yy2arr3439 + const yyr3439 bool = false + yyq3439[0] = x.Kind != "" + yyq3439[1] = x.APIVersion != "" + yyq3439[2] = true + var yynn3439 int + if yyr3439 || yy2arr3439 { r.EncodeArrayStart(4) } else { - yynn3396 = 1 - for _, b := range yyq3396 { + yynn3439 = 1 + for _, b := range yyq3439 { if b { - yynn3396++ + yynn3439++ } } - r.EncodeMapStart(yynn3396) - yynn3396 = 0 + r.EncodeMapStart(yynn3439) + yynn3439 = 0 } - if yyr3396 || yy2arr3396 { + if yyr3439 || yy2arr3439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3396[0] { - yym3398 := z.EncBinary() - _ = yym3398 + if yyq3439[0] { + yym3441 := z.EncBinary() + _ = yym3441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42038,23 +42684,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3396[0] { + if yyq3439[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3399 := z.EncBinary() - _ = yym3399 + yym3442 := z.EncBinary() + _ = yym3442 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3396 || yy2arr3396 { + if yyr3439 || yy2arr3439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3396[1] { - yym3401 := z.EncBinary() - _ = yym3401 + if yyq3439[1] { + yym3444 := z.EncBinary() + _ = yym3444 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42063,54 +42709,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3396[1] { + if yyq3439[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3402 := z.EncBinary() - _ = yym3402 + yym3445 := z.EncBinary() + _ = yym3445 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3396 || yy2arr3396 { + if yyr3439 || yy2arr3439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3396[2] { - yy3404 := &x.ListMeta - yym3405 := z.EncBinary() - _ = yym3405 + if yyq3439[2] { + yy3447 := &x.ListMeta + yym3448 := z.EncBinary() + _ = yym3448 if false { - } else if z.HasExtensions() && z.EncExt(yy3404) { + } else if z.HasExtensions() && z.EncExt(yy3447) { } else { - z.EncFallback(yy3404) + z.EncFallback(yy3447) } } else { r.EncodeNil() } } else { - if yyq3396[2] { + if yyq3439[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3406 := &x.ListMeta - yym3407 := z.EncBinary() - _ = yym3407 + yy3449 := &x.ListMeta + yym3450 := z.EncBinary() + _ = yym3450 if false { - } else if z.HasExtensions() && z.EncExt(yy3406) { + } else if z.HasExtensions() && z.EncExt(yy3449) { } else { - z.EncFallback(yy3406) + z.EncFallback(yy3449) } } } - if yyr3396 || yy2arr3396 { + if yyr3439 || yy2arr3439 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3409 := z.EncBinary() - _ = yym3409 + yym3452 := z.EncBinary() + _ = yym3452 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -42123,15 +42769,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3410 := z.EncBinary() - _ = yym3410 + yym3453 := z.EncBinary() + _ = yym3453 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3396 || yy2arr3396 { + if yyr3439 || yy2arr3439 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42144,25 +42790,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3411 := z.DecBinary() - _ = yym3411 + yym3454 := z.DecBinary() + _ = yym3454 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3412 := r.ContainerType() - if yyct3412 == codecSelferValueTypeMap1234 { - yyl3412 := r.ReadMapStart() - if yyl3412 == 0 { + yyct3455 := r.ContainerType() + if yyct3455 == codecSelferValueTypeMap1234 { + yyl3455 := r.ReadMapStart() + if yyl3455 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3412, d) + x.codecDecodeSelfFromMap(yyl3455, d) } - } else if yyct3412 == codecSelferValueTypeArray1234 { - yyl3412 := r.ReadArrayStart() - if yyl3412 == 0 { + } else if yyct3455 == codecSelferValueTypeArray1234 { + yyl3455 := r.ReadArrayStart() + if yyl3455 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3412, d) + x.codecDecodeSelfFromArray(yyl3455, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42174,12 +42820,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3413Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3413Slc - var yyhl3413 bool = l >= 0 - for yyj3413 := 0; ; yyj3413++ { - if yyhl3413 { - if yyj3413 >= l { + var yys3456Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3456Slc + var yyhl3456 bool = l >= 0 + for yyj3456 := 0; ; yyj3456++ { + if yyhl3456 { + if yyj3456 >= l { break } } else { @@ -42188,10 +42834,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3413Slc = r.DecodeBytes(yys3413Slc, true, true) - yys3413 := string(yys3413Slc) + yys3456Slc = r.DecodeBytes(yys3456Slc, true, true) + yys3456 := string(yys3456Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3413 { + switch yys3456 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42208,31 +42854,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3416 := &x.ListMeta - yym3417 := z.DecBinary() - _ = yym3417 + yyv3459 := &x.ListMeta + yym3460 := z.DecBinary() + _ = yym3460 if false { - } else if z.HasExtensions() && z.DecExt(yyv3416) { + } else if z.HasExtensions() && z.DecExt(yyv3459) { } else { - z.DecFallback(yyv3416, false) + z.DecFallback(yyv3459, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3418 := &x.Items - yym3419 := z.DecBinary() - _ = yym3419 + yyv3461 := &x.Items + yym3462 := z.DecBinary() + _ = yym3462 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3418), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3461), d) } } default: - z.DecStructFieldNotFound(-1, yys3413) - } // end switch yys3413 - } // end for yyj3413 + z.DecStructFieldNotFound(-1, yys3456) + } // end switch yys3456 + } // end for yyj3456 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42240,16 +42886,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3420 int - var yyb3420 bool - var yyhl3420 bool = l >= 0 - yyj3420++ - if yyhl3420 { - yyb3420 = yyj3420 > l + var yyj3463 int + var yyb3463 bool + var yyhl3463 bool = l >= 0 + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3420 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3420 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42259,13 +42905,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3420++ - if yyhl3420 { - yyb3420 = yyj3420 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3420 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3420 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42275,13 +42921,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3420++ - if yyhl3420 { - yyb3420 = yyj3420 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3420 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3420 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42289,22 +42935,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3423 := &x.ListMeta - yym3424 := z.DecBinary() - _ = yym3424 + yyv3466 := &x.ListMeta + yym3467 := z.DecBinary() + _ = yym3467 if false { - } else if z.HasExtensions() && z.DecExt(yyv3423) { + } else if z.HasExtensions() && z.DecExt(yyv3466) { } else { - z.DecFallback(yyv3423, false) + z.DecFallback(yyv3466, false) } } - yyj3420++ - if yyhl3420 { - yyb3420 = yyj3420 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3420 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3420 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42312,26 +42958,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3425 := &x.Items - yym3426 := z.DecBinary() - _ = yym3426 + yyv3468 := &x.Items + yym3469 := z.DecBinary() + _ = yym3469 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3425), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3468), d) } } for { - yyj3420++ - if yyhl3420 { - yyb3420 = yyj3420 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3420 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3420 { + if yyb3463 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3420-1, "") + z.DecStructFieldNotFound(yyj3463-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42343,37 +42989,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3427 := z.EncBinary() - _ = yym3427 + yym3470 := z.EncBinary() + _ = yym3470 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3428 := !z.EncBinary() - yy2arr3428 := z.EncBasicHandle().StructToArray - var yyq3428 [5]bool - _, _, _ = yysep3428, yyq3428, yy2arr3428 - const yyr3428 bool = false - yyq3428[0] = x.Capabilities != nil - yyq3428[1] = x.Privileged != nil - yyq3428[2] = x.SELinuxOptions != nil - yyq3428[3] = x.RunAsUser != nil - yyq3428[4] = x.RunAsNonRoot != nil - var yynn3428 int - if yyr3428 || yy2arr3428 { + yysep3471 := !z.EncBinary() + yy2arr3471 := z.EncBasicHandle().StructToArray + var yyq3471 [5]bool + _, _, _ = yysep3471, yyq3471, yy2arr3471 + const yyr3471 bool = false + yyq3471[0] = x.Capabilities != nil + yyq3471[1] = x.Privileged != nil + yyq3471[2] = x.SELinuxOptions != nil + yyq3471[3] = x.RunAsUser != nil + yyq3471[4] = x.RunAsNonRoot != nil + var yynn3471 int + if yyr3471 || yy2arr3471 { r.EncodeArrayStart(5) } else { - yynn3428 = 0 - for _, b := range yyq3428 { + yynn3471 = 0 + for _, b := range yyq3471 { if b { - yynn3428++ + yynn3471++ } } - r.EncodeMapStart(yynn3428) - yynn3428 = 0 + r.EncodeMapStart(yynn3471) + yynn3471 = 0 } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[0] { + if yyq3471[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -42383,7 +43029,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3428[0] { + if yyq3471[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42394,44 +43040,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[1] { + if yyq3471[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3431 := *x.Privileged - yym3432 := z.EncBinary() - _ = yym3432 + yy3474 := *x.Privileged + yym3475 := z.EncBinary() + _ = yym3475 if false { } else { - r.EncodeBool(bool(yy3431)) + r.EncodeBool(bool(yy3474)) } } } else { r.EncodeNil() } } else { - if yyq3428[1] { + if yyq3471[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3433 := *x.Privileged - yym3434 := z.EncBinary() - _ = yym3434 + yy3476 := *x.Privileged + yym3477 := z.EncBinary() + _ = yym3477 if false { } else { - r.EncodeBool(bool(yy3433)) + r.EncodeBool(bool(yy3476)) } } } } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[2] { + if yyq3471[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -42441,7 +43087,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3428[2] { + if yyq3471[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42452,77 +43098,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[3] { + if yyq3471[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3437 := *x.RunAsUser - yym3438 := z.EncBinary() - _ = yym3438 + yy3480 := *x.RunAsUser + yym3481 := z.EncBinary() + _ = yym3481 if false { } else { - r.EncodeInt(int64(yy3437)) + r.EncodeInt(int64(yy3480)) } } } else { r.EncodeNil() } } else { - if yyq3428[3] { + if yyq3471[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3439 := *x.RunAsUser - yym3440 := z.EncBinary() - _ = yym3440 + yy3482 := *x.RunAsUser + yym3483 := z.EncBinary() + _ = yym3483 if false { } else { - r.EncodeInt(int64(yy3439)) + r.EncodeInt(int64(yy3482)) } } } } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[4] { + if yyq3471[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3442 := *x.RunAsNonRoot - yym3443 := z.EncBinary() - _ = yym3443 + yy3485 := *x.RunAsNonRoot + yym3486 := z.EncBinary() + _ = yym3486 if false { } else { - r.EncodeBool(bool(yy3442)) + r.EncodeBool(bool(yy3485)) } } } else { r.EncodeNil() } } else { - if yyq3428[4] { + if yyq3471[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3444 := *x.RunAsNonRoot - yym3445 := z.EncBinary() - _ = yym3445 + yy3487 := *x.RunAsNonRoot + yym3488 := z.EncBinary() + _ = yym3488 if false { } else { - r.EncodeBool(bool(yy3444)) + r.EncodeBool(bool(yy3487)) } } } } - if yyr3428 || yy2arr3428 { + if yyr3471 || yy2arr3471 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42535,25 +43181,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3446 := z.DecBinary() - _ = yym3446 + yym3489 := z.DecBinary() + _ = yym3489 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3447 := r.ContainerType() - if yyct3447 == codecSelferValueTypeMap1234 { - yyl3447 := r.ReadMapStart() - if yyl3447 == 0 { + yyct3490 := r.ContainerType() + if yyct3490 == codecSelferValueTypeMap1234 { + yyl3490 := r.ReadMapStart() + if yyl3490 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3447, d) + x.codecDecodeSelfFromMap(yyl3490, d) } - } else if yyct3447 == codecSelferValueTypeArray1234 { - yyl3447 := r.ReadArrayStart() - if yyl3447 == 0 { + } else if yyct3490 == codecSelferValueTypeArray1234 { + yyl3490 := r.ReadArrayStart() + if yyl3490 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3447, d) + x.codecDecodeSelfFromArray(yyl3490, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42565,12 +43211,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3448Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3448Slc - var yyhl3448 bool = l >= 0 - for yyj3448 := 0; ; yyj3448++ { - if yyhl3448 { - if yyj3448 >= l { + var yys3491Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3491Slc + var yyhl3491 bool = l >= 0 + for yyj3491 := 0; ; yyj3491++ { + if yyhl3491 { + if yyj3491 >= l { break } } else { @@ -42579,10 +43225,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3448Slc = r.DecodeBytes(yys3448Slc, true, true) - yys3448 := string(yys3448Slc) + yys3491Slc = r.DecodeBytes(yys3491Slc, true, true) + yys3491 := string(yys3491Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3448 { + switch yys3491 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -42603,8 +43249,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3451 := z.DecBinary() - _ = yym3451 + yym3494 := z.DecBinary() + _ = yym3494 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -42630,8 +43276,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3454 := z.DecBinary() - _ = yym3454 + yym3497 := z.DecBinary() + _ = yym3497 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -42646,17 +43292,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3456 := z.DecBinary() - _ = yym3456 + yym3499 := z.DecBinary() + _ = yym3499 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3448) - } // end switch yys3448 - } // end for yyj3448 + z.DecStructFieldNotFound(-1, yys3491) + } // end switch yys3491 + } // end for yyj3491 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42664,16 +43310,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3457 int - var yyb3457 bool - var yyhl3457 bool = l >= 0 - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + var yyj3500 int + var yyb3500 bool + var yyhl3500 bool = l >= 0 + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42688,13 +43334,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42707,20 +43353,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3460 := z.DecBinary() - _ = yym3460 + yym3503 := z.DecBinary() + _ = yym3503 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42735,13 +43381,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42754,20 +43400,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3463 := z.DecBinary() - _ = yym3463 + yym3506 := z.DecBinary() + _ = yym3506 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42780,25 +43426,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3465 := z.DecBinary() - _ = yym3465 + yym3508 := z.DecBinary() + _ = yym3508 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3457++ - if yyhl3457 { - yyb3457 = yyj3457 > l + yyj3500++ + if yyhl3500 { + yyb3500 = yyj3500 > l } else { - yyb3457 = r.CheckBreak() + yyb3500 = r.CheckBreak() } - if yyb3457 { + if yyb3500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3457-1, "") + z.DecStructFieldNotFound(yyj3500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42810,38 +43456,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3466 := z.EncBinary() - _ = yym3466 + yym3509 := z.EncBinary() + _ = yym3509 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3467 := !z.EncBinary() - yy2arr3467 := z.EncBasicHandle().StructToArray - var yyq3467 [4]bool - _, _, _ = yysep3467, yyq3467, yy2arr3467 - const yyr3467 bool = false - yyq3467[0] = x.User != "" - yyq3467[1] = x.Role != "" - yyq3467[2] = x.Type != "" - yyq3467[3] = x.Level != "" - var yynn3467 int - if yyr3467 || yy2arr3467 { + yysep3510 := !z.EncBinary() + yy2arr3510 := z.EncBasicHandle().StructToArray + var yyq3510 [4]bool + _, _, _ = yysep3510, yyq3510, yy2arr3510 + const yyr3510 bool = false + yyq3510[0] = x.User != "" + yyq3510[1] = x.Role != "" + yyq3510[2] = x.Type != "" + yyq3510[3] = x.Level != "" + var yynn3510 int + if yyr3510 || yy2arr3510 { r.EncodeArrayStart(4) } else { - yynn3467 = 0 - for _, b := range yyq3467 { + yynn3510 = 0 + for _, b := range yyq3510 { if b { - yynn3467++ + yynn3510++ } } - r.EncodeMapStart(yynn3467) - yynn3467 = 0 + r.EncodeMapStart(yynn3510) + yynn3510 = 0 } - if yyr3467 || yy2arr3467 { + if yyr3510 || yy2arr3510 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[0] { - yym3469 := z.EncBinary() - _ = yym3469 + if yyq3510[0] { + yym3512 := z.EncBinary() + _ = yym3512 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -42850,23 +43496,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[0] { + if yyq3510[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3470 := z.EncBinary() - _ = yym3470 + yym3513 := z.EncBinary() + _ = yym3513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3467 || yy2arr3467 { + if yyr3510 || yy2arr3510 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[1] { - yym3472 := z.EncBinary() - _ = yym3472 + if yyq3510[1] { + yym3515 := z.EncBinary() + _ = yym3515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -42875,23 +43521,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[1] { + if yyq3510[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3473 := z.EncBinary() - _ = yym3473 + yym3516 := z.EncBinary() + _ = yym3516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3467 || yy2arr3467 { + if yyr3510 || yy2arr3510 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[2] { - yym3475 := z.EncBinary() - _ = yym3475 + if yyq3510[2] { + yym3518 := z.EncBinary() + _ = yym3518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -42900,23 +43546,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[2] { + if yyq3510[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3476 := z.EncBinary() - _ = yym3476 + yym3519 := z.EncBinary() + _ = yym3519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3467 || yy2arr3467 { + if yyr3510 || yy2arr3510 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[3] { - yym3478 := z.EncBinary() - _ = yym3478 + if yyq3510[3] { + yym3521 := z.EncBinary() + _ = yym3521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -42925,19 +43571,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[3] { + if yyq3510[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3479 := z.EncBinary() - _ = yym3479 + yym3522 := z.EncBinary() + _ = yym3522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3467 || yy2arr3467 { + if yyr3510 || yy2arr3510 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42950,25 +43596,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3480 := z.DecBinary() - _ = yym3480 + yym3523 := z.DecBinary() + _ = yym3523 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3481 := r.ContainerType() - if yyct3481 == codecSelferValueTypeMap1234 { - yyl3481 := r.ReadMapStart() - if yyl3481 == 0 { + yyct3524 := r.ContainerType() + if yyct3524 == codecSelferValueTypeMap1234 { + yyl3524 := r.ReadMapStart() + if yyl3524 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3481, d) + x.codecDecodeSelfFromMap(yyl3524, d) } - } else if yyct3481 == codecSelferValueTypeArray1234 { - yyl3481 := r.ReadArrayStart() - if yyl3481 == 0 { + } else if yyct3524 == codecSelferValueTypeArray1234 { + yyl3524 := r.ReadArrayStart() + if yyl3524 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3481, d) + x.codecDecodeSelfFromArray(yyl3524, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42980,12 +43626,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3482Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3482Slc - var yyhl3482 bool = l >= 0 - for yyj3482 := 0; ; yyj3482++ { - if yyhl3482 { - if yyj3482 >= l { + var yys3525Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3525Slc + var yyhl3525 bool = l >= 0 + for yyj3525 := 0; ; yyj3525++ { + if yyhl3525 { + if yyj3525 >= l { break } } else { @@ -42994,10 +43640,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3482Slc = r.DecodeBytes(yys3482Slc, true, true) - yys3482 := string(yys3482Slc) + yys3525Slc = r.DecodeBytes(yys3525Slc, true, true) + yys3525 := string(yys3525Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3482 { + switch yys3525 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -43023,9 +43669,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3482) - } // end switch yys3482 - } // end for yyj3482 + z.DecStructFieldNotFound(-1, yys3525) + } // end switch yys3525 + } // end for yyj3525 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43033,16 +43679,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3487 int - var yyb3487 bool - var yyhl3487 bool = l >= 0 - yyj3487++ - if yyhl3487 { - yyb3487 = yyj3487 > l + var yyj3530 int + var yyb3530 bool + var yyhl3530 bool = l >= 0 + yyj3530++ + if yyhl3530 { + yyb3530 = yyj3530 > l } else { - yyb3487 = r.CheckBreak() + yyb3530 = r.CheckBreak() } - if yyb3487 { + if yyb3530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43052,13 +43698,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3487++ - if yyhl3487 { - yyb3487 = yyj3487 > l + yyj3530++ + if yyhl3530 { + yyb3530 = yyj3530 > l } else { - yyb3487 = r.CheckBreak() + yyb3530 = r.CheckBreak() } - if yyb3487 { + if yyb3530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43068,13 +43714,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3487++ - if yyhl3487 { - yyb3487 = yyj3487 > l + yyj3530++ + if yyhl3530 { + yyb3530 = yyj3530 > l } else { - yyb3487 = r.CheckBreak() + yyb3530 = r.CheckBreak() } - if yyb3487 { + if yyb3530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43084,13 +43730,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3487++ - if yyhl3487 { - yyb3487 = yyj3487 > l + yyj3530++ + if yyhl3530 { + yyb3530 = yyj3530 > l } else { - yyb3487 = r.CheckBreak() + yyb3530 = r.CheckBreak() } - if yyb3487 { + if yyb3530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43101,17 +43747,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3487++ - if yyhl3487 { - yyb3487 = yyj3487 > l + yyj3530++ + if yyhl3530 { + yyb3530 = yyj3530 > l } else { - yyb3487 = r.CheckBreak() + yyb3530 = r.CheckBreak() } - if yyb3487 { + if yyb3530 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3487-1, "") + z.DecStructFieldNotFound(yyj3530-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43123,37 +43769,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3492 := z.EncBinary() - _ = yym3492 + yym3535 := z.EncBinary() + _ = yym3535 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3493 := !z.EncBinary() - yy2arr3493 := z.EncBasicHandle().StructToArray - var yyq3493 [5]bool - _, _, _ = yysep3493, yyq3493, yy2arr3493 - const yyr3493 bool = false - yyq3493[0] = x.Kind != "" - yyq3493[1] = x.APIVersion != "" - yyq3493[2] = true - var yynn3493 int - if yyr3493 || yy2arr3493 { + yysep3536 := !z.EncBinary() + yy2arr3536 := z.EncBasicHandle().StructToArray + var yyq3536 [5]bool + _, _, _ = yysep3536, yyq3536, yy2arr3536 + const yyr3536 bool = false + yyq3536[0] = x.Kind != "" + yyq3536[1] = x.APIVersion != "" + yyq3536[2] = true + var yynn3536 int + if yyr3536 || yy2arr3536 { r.EncodeArrayStart(5) } else { - yynn3493 = 2 - for _, b := range yyq3493 { + yynn3536 = 2 + for _, b := range yyq3536 { if b { - yynn3493++ + yynn3536++ } } - r.EncodeMapStart(yynn3493) - yynn3493 = 0 + r.EncodeMapStart(yynn3536) + yynn3536 = 0 } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3493[0] { - yym3495 := z.EncBinary() - _ = yym3495 + if yyq3536[0] { + yym3538 := z.EncBinary() + _ = yym3538 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43162,23 +43808,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3493[0] { + if yyq3536[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3496 := z.EncBinary() - _ = yym3496 + yym3539 := z.EncBinary() + _ = yym3539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3493[1] { - yym3498 := z.EncBinary() - _ = yym3498 + if yyq3536[1] { + yym3541 := z.EncBinary() + _ = yym3541 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43187,39 +43833,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3493[1] { + if yyq3536[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3499 := z.EncBinary() - _ = yym3499 + yym3542 := z.EncBinary() + _ = yym3542 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3493[2] { - yy3501 := &x.ObjectMeta - yy3501.CodecEncodeSelf(e) + if yyq3536[2] { + yy3544 := &x.ObjectMeta + yy3544.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3493[2] { + if yyq3536[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3502 := &x.ObjectMeta - yy3502.CodecEncodeSelf(e) + yy3545 := &x.ObjectMeta + yy3545.CodecEncodeSelf(e) } } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3504 := z.EncBinary() - _ = yym3504 + yym3547 := z.EncBinary() + _ = yym3547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -43228,20 +43874,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3505 := z.EncBinary() - _ = yym3505 + yym3548 := z.EncBinary() + _ = yym3548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3507 := z.EncBinary() - _ = yym3507 + yym3550 := z.EncBinary() + _ = yym3550 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -43254,15 +43900,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3508 := z.EncBinary() - _ = yym3508 + yym3551 := z.EncBinary() + _ = yym3551 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3493 || yy2arr3493 { + if yyr3536 || yy2arr3536 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43275,25 +43921,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3509 := z.DecBinary() - _ = yym3509 + yym3552 := z.DecBinary() + _ = yym3552 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3510 := r.ContainerType() - if yyct3510 == codecSelferValueTypeMap1234 { - yyl3510 := r.ReadMapStart() - if yyl3510 == 0 { + yyct3553 := r.ContainerType() + if yyct3553 == codecSelferValueTypeMap1234 { + yyl3553 := r.ReadMapStart() + if yyl3553 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3510, d) + x.codecDecodeSelfFromMap(yyl3553, d) } - } else if yyct3510 == codecSelferValueTypeArray1234 { - yyl3510 := r.ReadArrayStart() - if yyl3510 == 0 { + } else if yyct3553 == codecSelferValueTypeArray1234 { + yyl3553 := r.ReadArrayStart() + if yyl3553 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3510, d) + x.codecDecodeSelfFromArray(yyl3553, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43305,12 +43951,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3511Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3511Slc - var yyhl3511 bool = l >= 0 - for yyj3511 := 0; ; yyj3511++ { - if yyhl3511 { - if yyj3511 >= l { + var yys3554Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3554Slc + var yyhl3554 bool = l >= 0 + for yyj3554 := 0; ; yyj3554++ { + if yyhl3554 { + if yyj3554 >= l { break } } else { @@ -43319,10 +43965,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3511Slc = r.DecodeBytes(yys3511Slc, true, true) - yys3511 := string(yys3511Slc) + yys3554Slc = r.DecodeBytes(yys3554Slc, true, true) + yys3554 := string(yys3554Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3511 { + switch yys3554 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43339,8 +43985,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3514 := &x.ObjectMeta - yyv3514.CodecDecodeSelf(d) + yyv3557 := &x.ObjectMeta + yyv3557.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -43352,18 +43998,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3516 := &x.Data - yym3517 := z.DecBinary() - _ = yym3517 + yyv3559 := &x.Data + yym3560 := z.DecBinary() + _ = yym3560 if false { } else { - *yyv3516 = r.DecodeBytes(*(*[]byte)(yyv3516), false, false) + *yyv3559 = r.DecodeBytes(*(*[]byte)(yyv3559), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3511) - } // end switch yys3511 - } // end for yyj3511 + z.DecStructFieldNotFound(-1, yys3554) + } // end switch yys3554 + } // end for yyj3554 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43371,16 +44017,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3518 int - var yyb3518 bool - var yyhl3518 bool = l >= 0 - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + var yyj3561 int + var yyb3561 bool + var yyhl3561 bool = l >= 0 + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43390,13 +44036,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43406,13 +44052,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43420,16 +44066,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3521 := &x.ObjectMeta - yyv3521.CodecDecodeSelf(d) + yyv3564 := &x.ObjectMeta + yyv3564.CodecDecodeSelf(d) } - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43439,13 +44085,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43453,26 +44099,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3523 := &x.Data - yym3524 := z.DecBinary() - _ = yym3524 + yyv3566 := &x.Data + yym3567 := z.DecBinary() + _ = yym3567 if false { } else { - *yyv3523 = r.DecodeBytes(*(*[]byte)(yyv3523), false, false) + *yyv3566 = r.DecodeBytes(*(*[]byte)(yyv3566), false, false) } } for { - yyj3518++ - if yyhl3518 { - yyb3518 = yyj3518 > l + yyj3561++ + if yyhl3561 { + yyb3561 = yyj3561 > l } else { - yyb3518 = r.CheckBreak() + yyb3561 = r.CheckBreak() } - if yyb3518 { + if yyb3561 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3518-1, "") + z.DecStructFieldNotFound(yyj3561-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43482,9 +44128,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3525 := range v { + for _, yyv3568 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3525.CodecEncodeSelf(e) + yyv3568.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43494,75 +44140,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3526 := *v - yyh3526, yyl3526 := z.DecSliceHelperStart() - var yyc3526 bool - if yyl3526 == 0 { - if yyv3526 == nil { - yyv3526 = []PersistentVolumeAccessMode{} - yyc3526 = true - } else if len(yyv3526) != 0 { - yyv3526 = yyv3526[:0] - yyc3526 = true + yyv3569 := *v + yyh3569, yyl3569 := z.DecSliceHelperStart() + var yyc3569 bool + if yyl3569 == 0 { + if yyv3569 == nil { + yyv3569 = []PersistentVolumeAccessMode{} + yyc3569 = true + } else if len(yyv3569) != 0 { + yyv3569 = yyv3569[:0] + yyc3569 = true } - } else if yyl3526 > 0 { - var yyrr3526, yyrl3526 int - var yyrt3526 bool - if yyl3526 > cap(yyv3526) { + } else if yyl3569 > 0 { + var yyrr3569, yyrl3569 int + var yyrt3569 bool + if yyl3569 > cap(yyv3569) { - yyrl3526, yyrt3526 = z.DecInferLen(yyl3526, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3526 { - if yyrl3526 <= cap(yyv3526) { - yyv3526 = yyv3526[:yyrl3526] + yyrl3569, yyrt3569 = z.DecInferLen(yyl3569, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3569 { + if yyrl3569 <= cap(yyv3569) { + yyv3569 = yyv3569[:yyrl3569] } else { - yyv3526 = make([]PersistentVolumeAccessMode, yyrl3526) + yyv3569 = make([]PersistentVolumeAccessMode, yyrl3569) } } else { - yyv3526 = make([]PersistentVolumeAccessMode, yyrl3526) + yyv3569 = make([]PersistentVolumeAccessMode, yyrl3569) } - yyc3526 = true - yyrr3526 = len(yyv3526) - } else if yyl3526 != len(yyv3526) { - yyv3526 = yyv3526[:yyl3526] - yyc3526 = true + yyc3569 = true + yyrr3569 = len(yyv3569) + } else if yyl3569 != len(yyv3569) { + yyv3569 = yyv3569[:yyl3569] + yyc3569 = true } - yyj3526 := 0 - for ; yyj3526 < yyrr3526; yyj3526++ { - yyh3526.ElemContainerState(yyj3526) + yyj3569 := 0 + for ; yyj3569 < yyrr3569; yyj3569++ { + yyh3569.ElemContainerState(yyj3569) if r.TryDecodeAsNil() { - yyv3526[yyj3526] = "" + yyv3569[yyj3569] = "" } else { - yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3569[yyj3569] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3526 { - for ; yyj3526 < yyl3526; yyj3526++ { - yyv3526 = append(yyv3526, "") - yyh3526.ElemContainerState(yyj3526) + if yyrt3569 { + for ; yyj3569 < yyl3569; yyj3569++ { + yyv3569 = append(yyv3569, "") + yyh3569.ElemContainerState(yyj3569) if r.TryDecodeAsNil() { - yyv3526[yyj3526] = "" + yyv3569[yyj3569] = "" } else { - yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3569[yyj3569] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3526 := 0 - for ; !r.CheckBreak(); yyj3526++ { + yyj3569 := 0 + for ; !r.CheckBreak(); yyj3569++ { - if yyj3526 >= len(yyv3526) { - yyv3526 = append(yyv3526, "") // var yyz3526 PersistentVolumeAccessMode - yyc3526 = true + if yyj3569 >= len(yyv3569) { + yyv3569 = append(yyv3569, "") // var yyz3569 PersistentVolumeAccessMode + yyc3569 = true } - yyh3526.ElemContainerState(yyj3526) - if yyj3526 < len(yyv3526) { + yyh3569.ElemContainerState(yyj3569) + if yyj3569 < len(yyv3569) { if r.TryDecodeAsNil() { - yyv3526[yyj3526] = "" + yyv3569[yyj3569] = "" } else { - yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3569[yyj3569] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -43570,17 +44216,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3526 < len(yyv3526) { - yyv3526 = yyv3526[:yyj3526] - yyc3526 = true - } else if yyj3526 == 0 && yyv3526 == nil { - yyv3526 = []PersistentVolumeAccessMode{} - yyc3526 = true + if yyj3569 < len(yyv3569) { + yyv3569 = yyv3569[:yyj3569] + yyc3569 = true + } else if yyj3569 == 0 && yyv3569 == nil { + yyv3569 = []PersistentVolumeAccessMode{} + yyc3569 = true } } - yyh3526.End() - if yyc3526 { - *v = yyv3526 + yyh3569.End() + if yyc3569 { + *v = yyv3569 } } @@ -43589,10 +44235,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3530 := range v { + for _, yyv3573 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3531 := &yyv3530 - yy3531.CodecEncodeSelf(e) + yy3574 := &yyv3573 + yy3574.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43602,83 +44248,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3532 := *v - yyh3532, yyl3532 := z.DecSliceHelperStart() - var yyc3532 bool - if yyl3532 == 0 { - if yyv3532 == nil { - yyv3532 = []PersistentVolume{} - yyc3532 = true - } else if len(yyv3532) != 0 { - yyv3532 = yyv3532[:0] - yyc3532 = true + yyv3575 := *v + yyh3575, yyl3575 := z.DecSliceHelperStart() + var yyc3575 bool + if yyl3575 == 0 { + if yyv3575 == nil { + yyv3575 = []PersistentVolume{} + yyc3575 = true + } else if len(yyv3575) != 0 { + yyv3575 = yyv3575[:0] + yyc3575 = true } - } else if yyl3532 > 0 { - var yyrr3532, yyrl3532 int - var yyrt3532 bool - if yyl3532 > cap(yyv3532) { + } else if yyl3575 > 0 { + var yyrr3575, yyrl3575 int + var yyrt3575 bool + if yyl3575 > cap(yyv3575) { - yyrg3532 := len(yyv3532) > 0 - yyv23532 := yyv3532 - yyrl3532, yyrt3532 = z.DecInferLen(yyl3532, z.DecBasicHandle().MaxInitLen, 384) - if yyrt3532 { - if yyrl3532 <= cap(yyv3532) { - yyv3532 = yyv3532[:yyrl3532] + yyrg3575 := len(yyv3575) > 0 + yyv23575 := yyv3575 + yyrl3575, yyrt3575 = z.DecInferLen(yyl3575, z.DecBasicHandle().MaxInitLen, 392) + if yyrt3575 { + if yyrl3575 <= cap(yyv3575) { + yyv3575 = yyv3575[:yyrl3575] } else { - yyv3532 = make([]PersistentVolume, yyrl3532) + yyv3575 = make([]PersistentVolume, yyrl3575) } } else { - yyv3532 = make([]PersistentVolume, yyrl3532) + yyv3575 = make([]PersistentVolume, yyrl3575) } - yyc3532 = true - yyrr3532 = len(yyv3532) - if yyrg3532 { - copy(yyv3532, yyv23532) + yyc3575 = true + yyrr3575 = len(yyv3575) + if yyrg3575 { + copy(yyv3575, yyv23575) } - } else if yyl3532 != len(yyv3532) { - yyv3532 = yyv3532[:yyl3532] - yyc3532 = true + } else if yyl3575 != len(yyv3575) { + yyv3575 = yyv3575[:yyl3575] + yyc3575 = true } - yyj3532 := 0 - for ; yyj3532 < yyrr3532; yyj3532++ { - yyh3532.ElemContainerState(yyj3532) + yyj3575 := 0 + for ; yyj3575 < yyrr3575; yyj3575++ { + yyh3575.ElemContainerState(yyj3575) if r.TryDecodeAsNil() { - yyv3532[yyj3532] = PersistentVolume{} + yyv3575[yyj3575] = PersistentVolume{} } else { - yyv3533 := &yyv3532[yyj3532] - yyv3533.CodecDecodeSelf(d) + yyv3576 := &yyv3575[yyj3575] + yyv3576.CodecDecodeSelf(d) } } - if yyrt3532 { - for ; yyj3532 < yyl3532; yyj3532++ { - yyv3532 = append(yyv3532, PersistentVolume{}) - yyh3532.ElemContainerState(yyj3532) + if yyrt3575 { + for ; yyj3575 < yyl3575; yyj3575++ { + yyv3575 = append(yyv3575, PersistentVolume{}) + yyh3575.ElemContainerState(yyj3575) if r.TryDecodeAsNil() { - yyv3532[yyj3532] = PersistentVolume{} + yyv3575[yyj3575] = PersistentVolume{} } else { - yyv3534 := &yyv3532[yyj3532] - yyv3534.CodecDecodeSelf(d) + yyv3577 := &yyv3575[yyj3575] + yyv3577.CodecDecodeSelf(d) } } } } else { - yyj3532 := 0 - for ; !r.CheckBreak(); yyj3532++ { + yyj3575 := 0 + for ; !r.CheckBreak(); yyj3575++ { - if yyj3532 >= len(yyv3532) { - yyv3532 = append(yyv3532, PersistentVolume{}) // var yyz3532 PersistentVolume - yyc3532 = true + if yyj3575 >= len(yyv3575) { + yyv3575 = append(yyv3575, PersistentVolume{}) // var yyz3575 PersistentVolume + yyc3575 = true } - yyh3532.ElemContainerState(yyj3532) - if yyj3532 < len(yyv3532) { + yyh3575.ElemContainerState(yyj3575) + if yyj3575 < len(yyv3575) { if r.TryDecodeAsNil() { - yyv3532[yyj3532] = PersistentVolume{} + yyv3575[yyj3575] = PersistentVolume{} } else { - yyv3535 := &yyv3532[yyj3532] - yyv3535.CodecDecodeSelf(d) + yyv3578 := &yyv3575[yyj3575] + yyv3578.CodecDecodeSelf(d) } } else { @@ -43686,17 +44332,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3532 < len(yyv3532) { - yyv3532 = yyv3532[:yyj3532] - yyc3532 = true - } else if yyj3532 == 0 && yyv3532 == nil { - yyv3532 = []PersistentVolume{} - yyc3532 = true + if yyj3575 < len(yyv3575) { + yyv3575 = yyv3575[:yyj3575] + yyc3575 = true + } else if yyj3575 == 0 && yyv3575 == nil { + yyv3575 = []PersistentVolume{} + yyc3575 = true } } - yyh3532.End() - if yyc3532 { - *v = yyv3532 + yyh3575.End() + if yyc3575 { + *v = yyv3575 } } @@ -43705,10 +44351,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3536 := range v { + for _, yyv3579 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3537 := &yyv3536 - yy3537.CodecEncodeSelf(e) + yy3580 := &yyv3579 + yy3580.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43718,83 +44364,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3538 := *v - yyh3538, yyl3538 := z.DecSliceHelperStart() - var yyc3538 bool - if yyl3538 == 0 { - if yyv3538 == nil { - yyv3538 = []PersistentVolumeClaim{} - yyc3538 = true - } else if len(yyv3538) != 0 { - yyv3538 = yyv3538[:0] - yyc3538 = true + yyv3581 := *v + yyh3581, yyl3581 := z.DecSliceHelperStart() + var yyc3581 bool + if yyl3581 == 0 { + if yyv3581 == nil { + yyv3581 = []PersistentVolumeClaim{} + yyc3581 = true + } else if len(yyv3581) != 0 { + yyv3581 = yyv3581[:0] + yyc3581 = true } - } else if yyl3538 > 0 { - var yyrr3538, yyrl3538 int - var yyrt3538 bool - if yyl3538 > cap(yyv3538) { + } else if yyl3581 > 0 { + var yyrr3581, yyrl3581 int + var yyrt3581 bool + if yyl3581 > cap(yyv3581) { - yyrg3538 := len(yyv3538) > 0 - yyv23538 := yyv3538 - yyrl3538, yyrt3538 = z.DecInferLen(yyl3538, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3538 { - if yyrl3538 <= cap(yyv3538) { - yyv3538 = yyv3538[:yyrl3538] + yyrg3581 := len(yyv3581) > 0 + yyv23581 := yyv3581 + yyrl3581, yyrt3581 = z.DecInferLen(yyl3581, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3581 { + if yyrl3581 <= cap(yyv3581) { + yyv3581 = yyv3581[:yyrl3581] } else { - yyv3538 = make([]PersistentVolumeClaim, yyrl3538) + yyv3581 = make([]PersistentVolumeClaim, yyrl3581) } } else { - yyv3538 = make([]PersistentVolumeClaim, yyrl3538) + yyv3581 = make([]PersistentVolumeClaim, yyrl3581) } - yyc3538 = true - yyrr3538 = len(yyv3538) - if yyrg3538 { - copy(yyv3538, yyv23538) + yyc3581 = true + yyrr3581 = len(yyv3581) + if yyrg3581 { + copy(yyv3581, yyv23581) } - } else if yyl3538 != len(yyv3538) { - yyv3538 = yyv3538[:yyl3538] - yyc3538 = true + } else if yyl3581 != len(yyv3581) { + yyv3581 = yyv3581[:yyl3581] + yyc3581 = true } - yyj3538 := 0 - for ; yyj3538 < yyrr3538; yyj3538++ { - yyh3538.ElemContainerState(yyj3538) + yyj3581 := 0 + for ; yyj3581 < yyrr3581; yyj3581++ { + yyh3581.ElemContainerState(yyj3581) if r.TryDecodeAsNil() { - yyv3538[yyj3538] = PersistentVolumeClaim{} + yyv3581[yyj3581] = PersistentVolumeClaim{} } else { - yyv3539 := &yyv3538[yyj3538] - yyv3539.CodecDecodeSelf(d) + yyv3582 := &yyv3581[yyj3581] + yyv3582.CodecDecodeSelf(d) } } - if yyrt3538 { - for ; yyj3538 < yyl3538; yyj3538++ { - yyv3538 = append(yyv3538, PersistentVolumeClaim{}) - yyh3538.ElemContainerState(yyj3538) + if yyrt3581 { + for ; yyj3581 < yyl3581; yyj3581++ { + yyv3581 = append(yyv3581, PersistentVolumeClaim{}) + yyh3581.ElemContainerState(yyj3581) if r.TryDecodeAsNil() { - yyv3538[yyj3538] = PersistentVolumeClaim{} + yyv3581[yyj3581] = PersistentVolumeClaim{} } else { - yyv3540 := &yyv3538[yyj3538] - yyv3540.CodecDecodeSelf(d) + yyv3583 := &yyv3581[yyj3581] + yyv3583.CodecDecodeSelf(d) } } } } else { - yyj3538 := 0 - for ; !r.CheckBreak(); yyj3538++ { + yyj3581 := 0 + for ; !r.CheckBreak(); yyj3581++ { - if yyj3538 >= len(yyv3538) { - yyv3538 = append(yyv3538, PersistentVolumeClaim{}) // var yyz3538 PersistentVolumeClaim - yyc3538 = true + if yyj3581 >= len(yyv3581) { + yyv3581 = append(yyv3581, PersistentVolumeClaim{}) // var yyz3581 PersistentVolumeClaim + yyc3581 = true } - yyh3538.ElemContainerState(yyj3538) - if yyj3538 < len(yyv3538) { + yyh3581.ElemContainerState(yyj3581) + if yyj3581 < len(yyv3581) { if r.TryDecodeAsNil() { - yyv3538[yyj3538] = PersistentVolumeClaim{} + yyv3581[yyj3581] = PersistentVolumeClaim{} } else { - yyv3541 := &yyv3538[yyj3538] - yyv3541.CodecDecodeSelf(d) + yyv3584 := &yyv3581[yyj3581] + yyv3584.CodecDecodeSelf(d) } } else { @@ -43802,17 +44448,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3538 < len(yyv3538) { - yyv3538 = yyv3538[:yyj3538] - yyc3538 = true - } else if yyj3538 == 0 && yyv3538 == nil { - yyv3538 = []PersistentVolumeClaim{} - yyc3538 = true + if yyj3581 < len(yyv3581) { + yyv3581 = yyv3581[:yyj3581] + yyc3581 = true + } else if yyj3581 == 0 && yyv3581 == nil { + yyv3581 = []PersistentVolumeClaim{} + yyc3581 = true } } - yyh3538.End() - if yyc3538 { - *v = yyv3538 + yyh3581.End() + if yyc3581 { + *v = yyv3581 } } @@ -43821,10 +44467,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3542 := range v { + for _, yyv3585 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3543 := &yyv3542 - yy3543.CodecEncodeSelf(e) + yy3586 := &yyv3585 + yy3586.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43834,83 +44480,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3544 := *v - yyh3544, yyl3544 := z.DecSliceHelperStart() - var yyc3544 bool - if yyl3544 == 0 { - if yyv3544 == nil { - yyv3544 = []DownwardAPIVolumeFile{} - yyc3544 = true - } else if len(yyv3544) != 0 { - yyv3544 = yyv3544[:0] - yyc3544 = true + yyv3587 := *v + yyh3587, yyl3587 := z.DecSliceHelperStart() + var yyc3587 bool + if yyl3587 == 0 { + if yyv3587 == nil { + yyv3587 = []DownwardAPIVolumeFile{} + yyc3587 = true + } else if len(yyv3587) != 0 { + yyv3587 = yyv3587[:0] + yyc3587 = true } - } else if yyl3544 > 0 { - var yyrr3544, yyrl3544 int - var yyrt3544 bool - if yyl3544 > cap(yyv3544) { + } else if yyl3587 > 0 { + var yyrr3587, yyrl3587 int + var yyrt3587 bool + if yyl3587 > cap(yyv3587) { - yyrg3544 := len(yyv3544) > 0 - yyv23544 := yyv3544 - yyrl3544, yyrt3544 = z.DecInferLen(yyl3544, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3544 { - if yyrl3544 <= cap(yyv3544) { - yyv3544 = yyv3544[:yyrl3544] + yyrg3587 := len(yyv3587) > 0 + yyv23587 := yyv3587 + yyrl3587, yyrt3587 = z.DecInferLen(yyl3587, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3587 { + if yyrl3587 <= cap(yyv3587) { + yyv3587 = yyv3587[:yyrl3587] } else { - yyv3544 = make([]DownwardAPIVolumeFile, yyrl3544) + yyv3587 = make([]DownwardAPIVolumeFile, yyrl3587) } } else { - yyv3544 = make([]DownwardAPIVolumeFile, yyrl3544) + yyv3587 = make([]DownwardAPIVolumeFile, yyrl3587) } - yyc3544 = true - yyrr3544 = len(yyv3544) - if yyrg3544 { - copy(yyv3544, yyv23544) + yyc3587 = true + yyrr3587 = len(yyv3587) + if yyrg3587 { + copy(yyv3587, yyv23587) } - } else if yyl3544 != len(yyv3544) { - yyv3544 = yyv3544[:yyl3544] - yyc3544 = true + } else if yyl3587 != len(yyv3587) { + yyv3587 = yyv3587[:yyl3587] + yyc3587 = true } - yyj3544 := 0 - for ; yyj3544 < yyrr3544; yyj3544++ { - yyh3544.ElemContainerState(yyj3544) + yyj3587 := 0 + for ; yyj3587 < yyrr3587; yyj3587++ { + yyh3587.ElemContainerState(yyj3587) if r.TryDecodeAsNil() { - yyv3544[yyj3544] = DownwardAPIVolumeFile{} + yyv3587[yyj3587] = DownwardAPIVolumeFile{} } else { - yyv3545 := &yyv3544[yyj3544] - yyv3545.CodecDecodeSelf(d) + yyv3588 := &yyv3587[yyj3587] + yyv3588.CodecDecodeSelf(d) } } - if yyrt3544 { - for ; yyj3544 < yyl3544; yyj3544++ { - yyv3544 = append(yyv3544, DownwardAPIVolumeFile{}) - yyh3544.ElemContainerState(yyj3544) + if yyrt3587 { + for ; yyj3587 < yyl3587; yyj3587++ { + yyv3587 = append(yyv3587, DownwardAPIVolumeFile{}) + yyh3587.ElemContainerState(yyj3587) if r.TryDecodeAsNil() { - yyv3544[yyj3544] = DownwardAPIVolumeFile{} + yyv3587[yyj3587] = DownwardAPIVolumeFile{} } else { - yyv3546 := &yyv3544[yyj3544] - yyv3546.CodecDecodeSelf(d) + yyv3589 := &yyv3587[yyj3587] + yyv3589.CodecDecodeSelf(d) } } } } else { - yyj3544 := 0 - for ; !r.CheckBreak(); yyj3544++ { + yyj3587 := 0 + for ; !r.CheckBreak(); yyj3587++ { - if yyj3544 >= len(yyv3544) { - yyv3544 = append(yyv3544, DownwardAPIVolumeFile{}) // var yyz3544 DownwardAPIVolumeFile - yyc3544 = true + if yyj3587 >= len(yyv3587) { + yyv3587 = append(yyv3587, DownwardAPIVolumeFile{}) // var yyz3587 DownwardAPIVolumeFile + yyc3587 = true } - yyh3544.ElemContainerState(yyj3544) - if yyj3544 < len(yyv3544) { + yyh3587.ElemContainerState(yyj3587) + if yyj3587 < len(yyv3587) { if r.TryDecodeAsNil() { - yyv3544[yyj3544] = DownwardAPIVolumeFile{} + yyv3587[yyj3587] = DownwardAPIVolumeFile{} } else { - yyv3547 := &yyv3544[yyj3544] - yyv3547.CodecDecodeSelf(d) + yyv3590 := &yyv3587[yyj3587] + yyv3590.CodecDecodeSelf(d) } } else { @@ -43918,17 +44564,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3544 < len(yyv3544) { - yyv3544 = yyv3544[:yyj3544] - yyc3544 = true - } else if yyj3544 == 0 && yyv3544 == nil { - yyv3544 = []DownwardAPIVolumeFile{} - yyc3544 = true + if yyj3587 < len(yyv3587) { + yyv3587 = yyv3587[:yyj3587] + yyc3587 = true + } else if yyj3587 == 0 && yyv3587 == nil { + yyv3587 = []DownwardAPIVolumeFile{} + yyc3587 = true } } - yyh3544.End() - if yyc3544 { - *v = yyv3544 + yyh3587.End() + if yyc3587 { + *v = yyv3587 } } @@ -43937,9 +44583,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3548 := range v { + for _, yyv3591 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3548.CodecEncodeSelf(e) + yyv3591.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43949,75 +44595,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3549 := *v - yyh3549, yyl3549 := z.DecSliceHelperStart() - var yyc3549 bool - if yyl3549 == 0 { - if yyv3549 == nil { - yyv3549 = []Capability{} - yyc3549 = true - } else if len(yyv3549) != 0 { - yyv3549 = yyv3549[:0] - yyc3549 = true + yyv3592 := *v + yyh3592, yyl3592 := z.DecSliceHelperStart() + var yyc3592 bool + if yyl3592 == 0 { + if yyv3592 == nil { + yyv3592 = []Capability{} + yyc3592 = true + } else if len(yyv3592) != 0 { + yyv3592 = yyv3592[:0] + yyc3592 = true } - } else if yyl3549 > 0 { - var yyrr3549, yyrl3549 int - var yyrt3549 bool - if yyl3549 > cap(yyv3549) { + } else if yyl3592 > 0 { + var yyrr3592, yyrl3592 int + var yyrt3592 bool + if yyl3592 > cap(yyv3592) { - yyrl3549, yyrt3549 = z.DecInferLen(yyl3549, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3549 { - if yyrl3549 <= cap(yyv3549) { - yyv3549 = yyv3549[:yyrl3549] + yyrl3592, yyrt3592 = z.DecInferLen(yyl3592, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3592 { + if yyrl3592 <= cap(yyv3592) { + yyv3592 = yyv3592[:yyrl3592] } else { - yyv3549 = make([]Capability, yyrl3549) + yyv3592 = make([]Capability, yyrl3592) } } else { - yyv3549 = make([]Capability, yyrl3549) + yyv3592 = make([]Capability, yyrl3592) } - yyc3549 = true - yyrr3549 = len(yyv3549) - } else if yyl3549 != len(yyv3549) { - yyv3549 = yyv3549[:yyl3549] - yyc3549 = true + yyc3592 = true + yyrr3592 = len(yyv3592) + } else if yyl3592 != len(yyv3592) { + yyv3592 = yyv3592[:yyl3592] + yyc3592 = true } - yyj3549 := 0 - for ; yyj3549 < yyrr3549; yyj3549++ { - yyh3549.ElemContainerState(yyj3549) + yyj3592 := 0 + for ; yyj3592 < yyrr3592; yyj3592++ { + yyh3592.ElemContainerState(yyj3592) if r.TryDecodeAsNil() { - yyv3549[yyj3549] = "" + yyv3592[yyj3592] = "" } else { - yyv3549[yyj3549] = Capability(r.DecodeString()) + yyv3592[yyj3592] = Capability(r.DecodeString()) } } - if yyrt3549 { - for ; yyj3549 < yyl3549; yyj3549++ { - yyv3549 = append(yyv3549, "") - yyh3549.ElemContainerState(yyj3549) + if yyrt3592 { + for ; yyj3592 < yyl3592; yyj3592++ { + yyv3592 = append(yyv3592, "") + yyh3592.ElemContainerState(yyj3592) if r.TryDecodeAsNil() { - yyv3549[yyj3549] = "" + yyv3592[yyj3592] = "" } else { - yyv3549[yyj3549] = Capability(r.DecodeString()) + yyv3592[yyj3592] = Capability(r.DecodeString()) } } } } else { - yyj3549 := 0 - for ; !r.CheckBreak(); yyj3549++ { + yyj3592 := 0 + for ; !r.CheckBreak(); yyj3592++ { - if yyj3549 >= len(yyv3549) { - yyv3549 = append(yyv3549, "") // var yyz3549 Capability - yyc3549 = true + if yyj3592 >= len(yyv3592) { + yyv3592 = append(yyv3592, "") // var yyz3592 Capability + yyc3592 = true } - yyh3549.ElemContainerState(yyj3549) - if yyj3549 < len(yyv3549) { + yyh3592.ElemContainerState(yyj3592) + if yyj3592 < len(yyv3592) { if r.TryDecodeAsNil() { - yyv3549[yyj3549] = "" + yyv3592[yyj3592] = "" } else { - yyv3549[yyj3549] = Capability(r.DecodeString()) + yyv3592[yyj3592] = Capability(r.DecodeString()) } } else { @@ -44025,17 +44671,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3549 < len(yyv3549) { - yyv3549 = yyv3549[:yyj3549] - yyc3549 = true - } else if yyj3549 == 0 && yyv3549 == nil { - yyv3549 = []Capability{} - yyc3549 = true + if yyj3592 < len(yyv3592) { + yyv3592 = yyv3592[:yyj3592] + yyc3592 = true + } else if yyj3592 == 0 && yyv3592 == nil { + yyv3592 = []Capability{} + yyc3592 = true } } - yyh3549.End() - if yyc3549 { - *v = yyv3549 + yyh3592.End() + if yyc3592 { + *v = yyv3592 } } @@ -44044,10 +44690,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3553 := range v { + for _, yyv3596 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3554 := &yyv3553 - yy3554.CodecEncodeSelf(e) + yy3597 := &yyv3596 + yy3597.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44057,83 +44703,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3555 := *v - yyh3555, yyl3555 := z.DecSliceHelperStart() - var yyc3555 bool - if yyl3555 == 0 { - if yyv3555 == nil { - yyv3555 = []ContainerPort{} - yyc3555 = true - } else if len(yyv3555) != 0 { - yyv3555 = yyv3555[:0] - yyc3555 = true + yyv3598 := *v + yyh3598, yyl3598 := z.DecSliceHelperStart() + var yyc3598 bool + if yyl3598 == 0 { + if yyv3598 == nil { + yyv3598 = []ContainerPort{} + yyc3598 = true + } else if len(yyv3598) != 0 { + yyv3598 = yyv3598[:0] + yyc3598 = true } - } else if yyl3555 > 0 { - var yyrr3555, yyrl3555 int - var yyrt3555 bool - if yyl3555 > cap(yyv3555) { + } else if yyl3598 > 0 { + var yyrr3598, yyrl3598 int + var yyrt3598 bool + if yyl3598 > cap(yyv3598) { - yyrg3555 := len(yyv3555) > 0 - yyv23555 := yyv3555 - yyrl3555, yyrt3555 = z.DecInferLen(yyl3555, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3555 { - if yyrl3555 <= cap(yyv3555) { - yyv3555 = yyv3555[:yyrl3555] + yyrg3598 := len(yyv3598) > 0 + yyv23598 := yyv3598 + yyrl3598, yyrt3598 = z.DecInferLen(yyl3598, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3598 { + if yyrl3598 <= cap(yyv3598) { + yyv3598 = yyv3598[:yyrl3598] } else { - yyv3555 = make([]ContainerPort, yyrl3555) + yyv3598 = make([]ContainerPort, yyrl3598) } } else { - yyv3555 = make([]ContainerPort, yyrl3555) + yyv3598 = make([]ContainerPort, yyrl3598) } - yyc3555 = true - yyrr3555 = len(yyv3555) - if yyrg3555 { - copy(yyv3555, yyv23555) + yyc3598 = true + yyrr3598 = len(yyv3598) + if yyrg3598 { + copy(yyv3598, yyv23598) } - } else if yyl3555 != len(yyv3555) { - yyv3555 = yyv3555[:yyl3555] - yyc3555 = true + } else if yyl3598 != len(yyv3598) { + yyv3598 = yyv3598[:yyl3598] + yyc3598 = true } - yyj3555 := 0 - for ; yyj3555 < yyrr3555; yyj3555++ { - yyh3555.ElemContainerState(yyj3555) + yyj3598 := 0 + for ; yyj3598 < yyrr3598; yyj3598++ { + yyh3598.ElemContainerState(yyj3598) if r.TryDecodeAsNil() { - yyv3555[yyj3555] = ContainerPort{} + yyv3598[yyj3598] = ContainerPort{} } else { - yyv3556 := &yyv3555[yyj3555] - yyv3556.CodecDecodeSelf(d) + yyv3599 := &yyv3598[yyj3598] + yyv3599.CodecDecodeSelf(d) } } - if yyrt3555 { - for ; yyj3555 < yyl3555; yyj3555++ { - yyv3555 = append(yyv3555, ContainerPort{}) - yyh3555.ElemContainerState(yyj3555) + if yyrt3598 { + for ; yyj3598 < yyl3598; yyj3598++ { + yyv3598 = append(yyv3598, ContainerPort{}) + yyh3598.ElemContainerState(yyj3598) if r.TryDecodeAsNil() { - yyv3555[yyj3555] = ContainerPort{} + yyv3598[yyj3598] = ContainerPort{} } else { - yyv3557 := &yyv3555[yyj3555] - yyv3557.CodecDecodeSelf(d) + yyv3600 := &yyv3598[yyj3598] + yyv3600.CodecDecodeSelf(d) } } } } else { - yyj3555 := 0 - for ; !r.CheckBreak(); yyj3555++ { + yyj3598 := 0 + for ; !r.CheckBreak(); yyj3598++ { - if yyj3555 >= len(yyv3555) { - yyv3555 = append(yyv3555, ContainerPort{}) // var yyz3555 ContainerPort - yyc3555 = true + if yyj3598 >= len(yyv3598) { + yyv3598 = append(yyv3598, ContainerPort{}) // var yyz3598 ContainerPort + yyc3598 = true } - yyh3555.ElemContainerState(yyj3555) - if yyj3555 < len(yyv3555) { + yyh3598.ElemContainerState(yyj3598) + if yyj3598 < len(yyv3598) { if r.TryDecodeAsNil() { - yyv3555[yyj3555] = ContainerPort{} + yyv3598[yyj3598] = ContainerPort{} } else { - yyv3558 := &yyv3555[yyj3555] - yyv3558.CodecDecodeSelf(d) + yyv3601 := &yyv3598[yyj3598] + yyv3601.CodecDecodeSelf(d) } } else { @@ -44141,17 +44787,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3555 < len(yyv3555) { - yyv3555 = yyv3555[:yyj3555] - yyc3555 = true - } else if yyj3555 == 0 && yyv3555 == nil { - yyv3555 = []ContainerPort{} - yyc3555 = true + if yyj3598 < len(yyv3598) { + yyv3598 = yyv3598[:yyj3598] + yyc3598 = true + } else if yyj3598 == 0 && yyv3598 == nil { + yyv3598 = []ContainerPort{} + yyc3598 = true } } - yyh3555.End() - if yyc3555 { - *v = yyv3555 + yyh3598.End() + if yyc3598 { + *v = yyv3598 } } @@ -44160,10 +44806,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3559 := range v { + for _, yyv3602 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3560 := &yyv3559 - yy3560.CodecEncodeSelf(e) + yy3603 := &yyv3602 + yy3603.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44173,83 +44819,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3561 := *v - yyh3561, yyl3561 := z.DecSliceHelperStart() - var yyc3561 bool - if yyl3561 == 0 { - if yyv3561 == nil { - yyv3561 = []EnvVar{} - yyc3561 = true - } else if len(yyv3561) != 0 { - yyv3561 = yyv3561[:0] - yyc3561 = true + yyv3604 := *v + yyh3604, yyl3604 := z.DecSliceHelperStart() + var yyc3604 bool + if yyl3604 == 0 { + if yyv3604 == nil { + yyv3604 = []EnvVar{} + yyc3604 = true + } else if len(yyv3604) != 0 { + yyv3604 = yyv3604[:0] + yyc3604 = true } - } else if yyl3561 > 0 { - var yyrr3561, yyrl3561 int - var yyrt3561 bool - if yyl3561 > cap(yyv3561) { + } else if yyl3604 > 0 { + var yyrr3604, yyrl3604 int + var yyrt3604 bool + if yyl3604 > cap(yyv3604) { - yyrg3561 := len(yyv3561) > 0 - yyv23561 := yyv3561 - yyrl3561, yyrt3561 = z.DecInferLen(yyl3561, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3561 { - if yyrl3561 <= cap(yyv3561) { - yyv3561 = yyv3561[:yyrl3561] + yyrg3604 := len(yyv3604) > 0 + yyv23604 := yyv3604 + yyrl3604, yyrt3604 = z.DecInferLen(yyl3604, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3604 { + if yyrl3604 <= cap(yyv3604) { + yyv3604 = yyv3604[:yyrl3604] } else { - yyv3561 = make([]EnvVar, yyrl3561) + yyv3604 = make([]EnvVar, yyrl3604) } } else { - yyv3561 = make([]EnvVar, yyrl3561) + yyv3604 = make([]EnvVar, yyrl3604) } - yyc3561 = true - yyrr3561 = len(yyv3561) - if yyrg3561 { - copy(yyv3561, yyv23561) + yyc3604 = true + yyrr3604 = len(yyv3604) + if yyrg3604 { + copy(yyv3604, yyv23604) } - } else if yyl3561 != len(yyv3561) { - yyv3561 = yyv3561[:yyl3561] - yyc3561 = true + } else if yyl3604 != len(yyv3604) { + yyv3604 = yyv3604[:yyl3604] + yyc3604 = true } - yyj3561 := 0 - for ; yyj3561 < yyrr3561; yyj3561++ { - yyh3561.ElemContainerState(yyj3561) + yyj3604 := 0 + for ; yyj3604 < yyrr3604; yyj3604++ { + yyh3604.ElemContainerState(yyj3604) if r.TryDecodeAsNil() { - yyv3561[yyj3561] = EnvVar{} + yyv3604[yyj3604] = EnvVar{} } else { - yyv3562 := &yyv3561[yyj3561] - yyv3562.CodecDecodeSelf(d) + yyv3605 := &yyv3604[yyj3604] + yyv3605.CodecDecodeSelf(d) } } - if yyrt3561 { - for ; yyj3561 < yyl3561; yyj3561++ { - yyv3561 = append(yyv3561, EnvVar{}) - yyh3561.ElemContainerState(yyj3561) + if yyrt3604 { + for ; yyj3604 < yyl3604; yyj3604++ { + yyv3604 = append(yyv3604, EnvVar{}) + yyh3604.ElemContainerState(yyj3604) if r.TryDecodeAsNil() { - yyv3561[yyj3561] = EnvVar{} + yyv3604[yyj3604] = EnvVar{} } else { - yyv3563 := &yyv3561[yyj3561] - yyv3563.CodecDecodeSelf(d) + yyv3606 := &yyv3604[yyj3604] + yyv3606.CodecDecodeSelf(d) } } } } else { - yyj3561 := 0 - for ; !r.CheckBreak(); yyj3561++ { + yyj3604 := 0 + for ; !r.CheckBreak(); yyj3604++ { - if yyj3561 >= len(yyv3561) { - yyv3561 = append(yyv3561, EnvVar{}) // var yyz3561 EnvVar - yyc3561 = true + if yyj3604 >= len(yyv3604) { + yyv3604 = append(yyv3604, EnvVar{}) // var yyz3604 EnvVar + yyc3604 = true } - yyh3561.ElemContainerState(yyj3561) - if yyj3561 < len(yyv3561) { + yyh3604.ElemContainerState(yyj3604) + if yyj3604 < len(yyv3604) { if r.TryDecodeAsNil() { - yyv3561[yyj3561] = EnvVar{} + yyv3604[yyj3604] = EnvVar{} } else { - yyv3564 := &yyv3561[yyj3561] - yyv3564.CodecDecodeSelf(d) + yyv3607 := &yyv3604[yyj3604] + yyv3607.CodecDecodeSelf(d) } } else { @@ -44257,17 +44903,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3561 < len(yyv3561) { - yyv3561 = yyv3561[:yyj3561] - yyc3561 = true - } else if yyj3561 == 0 && yyv3561 == nil { - yyv3561 = []EnvVar{} - yyc3561 = true + if yyj3604 < len(yyv3604) { + yyv3604 = yyv3604[:yyj3604] + yyc3604 = true + } else if yyj3604 == 0 && yyv3604 == nil { + yyv3604 = []EnvVar{} + yyc3604 = true } } - yyh3561.End() - if yyc3561 { - *v = yyv3561 + yyh3604.End() + if yyc3604 { + *v = yyv3604 } } @@ -44276,10 +44922,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3565 := range v { + for _, yyv3608 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3566 := &yyv3565 - yy3566.CodecEncodeSelf(e) + yy3609 := &yyv3608 + yy3609.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44289,83 +44935,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3567 := *v - yyh3567, yyl3567 := z.DecSliceHelperStart() - var yyc3567 bool - if yyl3567 == 0 { - if yyv3567 == nil { - yyv3567 = []VolumeMount{} - yyc3567 = true - } else if len(yyv3567) != 0 { - yyv3567 = yyv3567[:0] - yyc3567 = true + yyv3610 := *v + yyh3610, yyl3610 := z.DecSliceHelperStart() + var yyc3610 bool + if yyl3610 == 0 { + if yyv3610 == nil { + yyv3610 = []VolumeMount{} + yyc3610 = true + } else if len(yyv3610) != 0 { + yyv3610 = yyv3610[:0] + yyc3610 = true } - } else if yyl3567 > 0 { - var yyrr3567, yyrl3567 int - var yyrt3567 bool - if yyl3567 > cap(yyv3567) { + } else if yyl3610 > 0 { + var yyrr3610, yyrl3610 int + var yyrt3610 bool + if yyl3610 > cap(yyv3610) { - yyrg3567 := len(yyv3567) > 0 - yyv23567 := yyv3567 - yyrl3567, yyrt3567 = z.DecInferLen(yyl3567, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3567 { - if yyrl3567 <= cap(yyv3567) { - yyv3567 = yyv3567[:yyrl3567] + yyrg3610 := len(yyv3610) > 0 + yyv23610 := yyv3610 + yyrl3610, yyrt3610 = z.DecInferLen(yyl3610, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3610 { + if yyrl3610 <= cap(yyv3610) { + yyv3610 = yyv3610[:yyrl3610] } else { - yyv3567 = make([]VolumeMount, yyrl3567) + yyv3610 = make([]VolumeMount, yyrl3610) } } else { - yyv3567 = make([]VolumeMount, yyrl3567) + yyv3610 = make([]VolumeMount, yyrl3610) } - yyc3567 = true - yyrr3567 = len(yyv3567) - if yyrg3567 { - copy(yyv3567, yyv23567) + yyc3610 = true + yyrr3610 = len(yyv3610) + if yyrg3610 { + copy(yyv3610, yyv23610) } - } else if yyl3567 != len(yyv3567) { - yyv3567 = yyv3567[:yyl3567] - yyc3567 = true + } else if yyl3610 != len(yyv3610) { + yyv3610 = yyv3610[:yyl3610] + yyc3610 = true } - yyj3567 := 0 - for ; yyj3567 < yyrr3567; yyj3567++ { - yyh3567.ElemContainerState(yyj3567) + yyj3610 := 0 + for ; yyj3610 < yyrr3610; yyj3610++ { + yyh3610.ElemContainerState(yyj3610) if r.TryDecodeAsNil() { - yyv3567[yyj3567] = VolumeMount{} + yyv3610[yyj3610] = VolumeMount{} } else { - yyv3568 := &yyv3567[yyj3567] - yyv3568.CodecDecodeSelf(d) + yyv3611 := &yyv3610[yyj3610] + yyv3611.CodecDecodeSelf(d) } } - if yyrt3567 { - for ; yyj3567 < yyl3567; yyj3567++ { - yyv3567 = append(yyv3567, VolumeMount{}) - yyh3567.ElemContainerState(yyj3567) + if yyrt3610 { + for ; yyj3610 < yyl3610; yyj3610++ { + yyv3610 = append(yyv3610, VolumeMount{}) + yyh3610.ElemContainerState(yyj3610) if r.TryDecodeAsNil() { - yyv3567[yyj3567] = VolumeMount{} + yyv3610[yyj3610] = VolumeMount{} } else { - yyv3569 := &yyv3567[yyj3567] - yyv3569.CodecDecodeSelf(d) + yyv3612 := &yyv3610[yyj3610] + yyv3612.CodecDecodeSelf(d) } } } } else { - yyj3567 := 0 - for ; !r.CheckBreak(); yyj3567++ { + yyj3610 := 0 + for ; !r.CheckBreak(); yyj3610++ { - if yyj3567 >= len(yyv3567) { - yyv3567 = append(yyv3567, VolumeMount{}) // var yyz3567 VolumeMount - yyc3567 = true + if yyj3610 >= len(yyv3610) { + yyv3610 = append(yyv3610, VolumeMount{}) // var yyz3610 VolumeMount + yyc3610 = true } - yyh3567.ElemContainerState(yyj3567) - if yyj3567 < len(yyv3567) { + yyh3610.ElemContainerState(yyj3610) + if yyj3610 < len(yyv3610) { if r.TryDecodeAsNil() { - yyv3567[yyj3567] = VolumeMount{} + yyv3610[yyj3610] = VolumeMount{} } else { - yyv3570 := &yyv3567[yyj3567] - yyv3570.CodecDecodeSelf(d) + yyv3613 := &yyv3610[yyj3610] + yyv3613.CodecDecodeSelf(d) } } else { @@ -44373,17 +45019,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3567 < len(yyv3567) { - yyv3567 = yyv3567[:yyj3567] - yyc3567 = true - } else if yyj3567 == 0 && yyv3567 == nil { - yyv3567 = []VolumeMount{} - yyc3567 = true + if yyj3610 < len(yyv3610) { + yyv3610 = yyv3610[:yyj3610] + yyc3610 = true + } else if yyj3610 == 0 && yyv3610 == nil { + yyv3610 = []VolumeMount{} + yyc3610 = true } } - yyh3567.End() - if yyc3567 { - *v = yyv3567 + yyh3610.End() + if yyc3610 { + *v = yyv3610 } } @@ -44392,10 +45038,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3571 := range v { + for _, yyv3614 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3572 := &yyv3571 - yy3572.CodecEncodeSelf(e) + yy3615 := &yyv3614 + yy3615.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44405,83 +45051,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3573 := *v - yyh3573, yyl3573 := z.DecSliceHelperStart() - var yyc3573 bool - if yyl3573 == 0 { - if yyv3573 == nil { - yyv3573 = []Pod{} - yyc3573 = true - } else if len(yyv3573) != 0 { - yyv3573 = yyv3573[:0] - yyc3573 = true + yyv3616 := *v + yyh3616, yyl3616 := z.DecSliceHelperStart() + var yyc3616 bool + if yyl3616 == 0 { + if yyv3616 == nil { + yyv3616 = []Pod{} + yyc3616 = true + } else if len(yyv3616) != 0 { + yyv3616 = yyv3616[:0] + yyc3616 = true } - } else if yyl3573 > 0 { - var yyrr3573, yyrl3573 int - var yyrt3573 bool - if yyl3573 > cap(yyv3573) { + } else if yyl3616 > 0 { + var yyrr3616, yyrl3616 int + var yyrt3616 bool + if yyl3616 > cap(yyv3616) { - yyrg3573 := len(yyv3573) > 0 - yyv23573 := yyv3573 - yyrl3573, yyrt3573 = z.DecInferLen(yyl3573, z.DecBasicHandle().MaxInitLen, 496) - if yyrt3573 { - if yyrl3573 <= cap(yyv3573) { - yyv3573 = yyv3573[:yyrl3573] + yyrg3616 := len(yyv3616) > 0 + yyv23616 := yyv3616 + yyrl3616, yyrt3616 = z.DecInferLen(yyl3616, z.DecBasicHandle().MaxInitLen, 496) + if yyrt3616 { + if yyrl3616 <= cap(yyv3616) { + yyv3616 = yyv3616[:yyrl3616] } else { - yyv3573 = make([]Pod, yyrl3573) + yyv3616 = make([]Pod, yyrl3616) } } else { - yyv3573 = make([]Pod, yyrl3573) + yyv3616 = make([]Pod, yyrl3616) } - yyc3573 = true - yyrr3573 = len(yyv3573) - if yyrg3573 { - copy(yyv3573, yyv23573) + yyc3616 = true + yyrr3616 = len(yyv3616) + if yyrg3616 { + copy(yyv3616, yyv23616) } - } else if yyl3573 != len(yyv3573) { - yyv3573 = yyv3573[:yyl3573] - yyc3573 = true + } else if yyl3616 != len(yyv3616) { + yyv3616 = yyv3616[:yyl3616] + yyc3616 = true } - yyj3573 := 0 - for ; yyj3573 < yyrr3573; yyj3573++ { - yyh3573.ElemContainerState(yyj3573) + yyj3616 := 0 + for ; yyj3616 < yyrr3616; yyj3616++ { + yyh3616.ElemContainerState(yyj3616) if r.TryDecodeAsNil() { - yyv3573[yyj3573] = Pod{} + yyv3616[yyj3616] = Pod{} } else { - yyv3574 := &yyv3573[yyj3573] - yyv3574.CodecDecodeSelf(d) + yyv3617 := &yyv3616[yyj3616] + yyv3617.CodecDecodeSelf(d) } } - if yyrt3573 { - for ; yyj3573 < yyl3573; yyj3573++ { - yyv3573 = append(yyv3573, Pod{}) - yyh3573.ElemContainerState(yyj3573) + if yyrt3616 { + for ; yyj3616 < yyl3616; yyj3616++ { + yyv3616 = append(yyv3616, Pod{}) + yyh3616.ElemContainerState(yyj3616) if r.TryDecodeAsNil() { - yyv3573[yyj3573] = Pod{} + yyv3616[yyj3616] = Pod{} } else { - yyv3575 := &yyv3573[yyj3573] - yyv3575.CodecDecodeSelf(d) + yyv3618 := &yyv3616[yyj3616] + yyv3618.CodecDecodeSelf(d) } } } } else { - yyj3573 := 0 - for ; !r.CheckBreak(); yyj3573++ { + yyj3616 := 0 + for ; !r.CheckBreak(); yyj3616++ { - if yyj3573 >= len(yyv3573) { - yyv3573 = append(yyv3573, Pod{}) // var yyz3573 Pod - yyc3573 = true + if yyj3616 >= len(yyv3616) { + yyv3616 = append(yyv3616, Pod{}) // var yyz3616 Pod + yyc3616 = true } - yyh3573.ElemContainerState(yyj3573) - if yyj3573 < len(yyv3573) { + yyh3616.ElemContainerState(yyj3616) + if yyj3616 < len(yyv3616) { if r.TryDecodeAsNil() { - yyv3573[yyj3573] = Pod{} + yyv3616[yyj3616] = Pod{} } else { - yyv3576 := &yyv3573[yyj3573] - yyv3576.CodecDecodeSelf(d) + yyv3619 := &yyv3616[yyj3616] + yyv3619.CodecDecodeSelf(d) } } else { @@ -44489,17 +45135,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3573 < len(yyv3573) { - yyv3573 = yyv3573[:yyj3573] - yyc3573 = true - } else if yyj3573 == 0 && yyv3573 == nil { - yyv3573 = []Pod{} - yyc3573 = true + if yyj3616 < len(yyv3616) { + yyv3616 = yyv3616[:yyj3616] + yyc3616 = true + } else if yyj3616 == 0 && yyv3616 == nil { + yyv3616 = []Pod{} + yyc3616 = true } } - yyh3573.End() - if yyc3573 { - *v = yyv3573 + yyh3616.End() + if yyc3616 { + *v = yyv3616 } } @@ -44508,10 +45154,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3577 := range v { + for _, yyv3620 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3578 := &yyv3577 - yy3578.CodecEncodeSelf(e) + yy3621 := &yyv3620 + yy3621.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44521,83 +45167,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3579 := *v - yyh3579, yyl3579 := z.DecSliceHelperStart() - var yyc3579 bool - if yyl3579 == 0 { - if yyv3579 == nil { - yyv3579 = []Volume{} - yyc3579 = true - } else if len(yyv3579) != 0 { - yyv3579 = yyv3579[:0] - yyc3579 = true + yyv3622 := *v + yyh3622, yyl3622 := z.DecSliceHelperStart() + var yyc3622 bool + if yyl3622 == 0 { + if yyv3622 == nil { + yyv3622 = []Volume{} + yyc3622 = true + } else if len(yyv3622) != 0 { + yyv3622 = yyv3622[:0] + yyc3622 = true } - } else if yyl3579 > 0 { - var yyrr3579, yyrl3579 int - var yyrt3579 bool - if yyl3579 > cap(yyv3579) { + } else if yyl3622 > 0 { + var yyrr3622, yyrl3622 int + var yyrt3622 bool + if yyl3622 > cap(yyv3622) { - yyrg3579 := len(yyv3579) > 0 - yyv23579 := yyv3579 - yyrl3579, yyrt3579 = z.DecInferLen(yyl3579, z.DecBasicHandle().MaxInitLen, 144) - if yyrt3579 { - if yyrl3579 <= cap(yyv3579) { - yyv3579 = yyv3579[:yyrl3579] + yyrg3622 := len(yyv3622) > 0 + yyv23622 := yyv3622 + yyrl3622, yyrt3622 = z.DecInferLen(yyl3622, z.DecBasicHandle().MaxInitLen, 152) + if yyrt3622 { + if yyrl3622 <= cap(yyv3622) { + yyv3622 = yyv3622[:yyrl3622] } else { - yyv3579 = make([]Volume, yyrl3579) + yyv3622 = make([]Volume, yyrl3622) } } else { - yyv3579 = make([]Volume, yyrl3579) + yyv3622 = make([]Volume, yyrl3622) } - yyc3579 = true - yyrr3579 = len(yyv3579) - if yyrg3579 { - copy(yyv3579, yyv23579) + yyc3622 = true + yyrr3622 = len(yyv3622) + if yyrg3622 { + copy(yyv3622, yyv23622) } - } else if yyl3579 != len(yyv3579) { - yyv3579 = yyv3579[:yyl3579] - yyc3579 = true + } else if yyl3622 != len(yyv3622) { + yyv3622 = yyv3622[:yyl3622] + yyc3622 = true } - yyj3579 := 0 - for ; yyj3579 < yyrr3579; yyj3579++ { - yyh3579.ElemContainerState(yyj3579) + yyj3622 := 0 + for ; yyj3622 < yyrr3622; yyj3622++ { + yyh3622.ElemContainerState(yyj3622) if r.TryDecodeAsNil() { - yyv3579[yyj3579] = Volume{} + yyv3622[yyj3622] = Volume{} } else { - yyv3580 := &yyv3579[yyj3579] - yyv3580.CodecDecodeSelf(d) + yyv3623 := &yyv3622[yyj3622] + yyv3623.CodecDecodeSelf(d) } } - if yyrt3579 { - for ; yyj3579 < yyl3579; yyj3579++ { - yyv3579 = append(yyv3579, Volume{}) - yyh3579.ElemContainerState(yyj3579) + if yyrt3622 { + for ; yyj3622 < yyl3622; yyj3622++ { + yyv3622 = append(yyv3622, Volume{}) + yyh3622.ElemContainerState(yyj3622) if r.TryDecodeAsNil() { - yyv3579[yyj3579] = Volume{} + yyv3622[yyj3622] = Volume{} } else { - yyv3581 := &yyv3579[yyj3579] - yyv3581.CodecDecodeSelf(d) + yyv3624 := &yyv3622[yyj3622] + yyv3624.CodecDecodeSelf(d) } } } } else { - yyj3579 := 0 - for ; !r.CheckBreak(); yyj3579++ { + yyj3622 := 0 + for ; !r.CheckBreak(); yyj3622++ { - if yyj3579 >= len(yyv3579) { - yyv3579 = append(yyv3579, Volume{}) // var yyz3579 Volume - yyc3579 = true + if yyj3622 >= len(yyv3622) { + yyv3622 = append(yyv3622, Volume{}) // var yyz3622 Volume + yyc3622 = true } - yyh3579.ElemContainerState(yyj3579) - if yyj3579 < len(yyv3579) { + yyh3622.ElemContainerState(yyj3622) + if yyj3622 < len(yyv3622) { if r.TryDecodeAsNil() { - yyv3579[yyj3579] = Volume{} + yyv3622[yyj3622] = Volume{} } else { - yyv3582 := &yyv3579[yyj3579] - yyv3582.CodecDecodeSelf(d) + yyv3625 := &yyv3622[yyj3622] + yyv3625.CodecDecodeSelf(d) } } else { @@ -44605,17 +45251,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3579 < len(yyv3579) { - yyv3579 = yyv3579[:yyj3579] - yyc3579 = true - } else if yyj3579 == 0 && yyv3579 == nil { - yyv3579 = []Volume{} - yyc3579 = true + if yyj3622 < len(yyv3622) { + yyv3622 = yyv3622[:yyj3622] + yyc3622 = true + } else if yyj3622 == 0 && yyv3622 == nil { + yyv3622 = []Volume{} + yyc3622 = true } } - yyh3579.End() - if yyc3579 { - *v = yyv3579 + yyh3622.End() + if yyc3622 { + *v = yyv3622 } } @@ -44624,10 +45270,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3583 := range v { + for _, yyv3626 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3584 := &yyv3583 - yy3584.CodecEncodeSelf(e) + yy3627 := &yyv3626 + yy3627.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44637,83 +45283,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3585 := *v - yyh3585, yyl3585 := z.DecSliceHelperStart() - var yyc3585 bool - if yyl3585 == 0 { - if yyv3585 == nil { - yyv3585 = []Container{} - yyc3585 = true - } else if len(yyv3585) != 0 { - yyv3585 = yyv3585[:0] - yyc3585 = true + yyv3628 := *v + yyh3628, yyl3628 := z.DecSliceHelperStart() + var yyc3628 bool + if yyl3628 == 0 { + if yyv3628 == nil { + yyv3628 = []Container{} + yyc3628 = true + } else if len(yyv3628) != 0 { + yyv3628 = yyv3628[:0] + yyc3628 = true } - } else if yyl3585 > 0 { - var yyrr3585, yyrl3585 int - var yyrt3585 bool - if yyl3585 > cap(yyv3585) { + } else if yyl3628 > 0 { + var yyrr3628, yyrl3628 int + var yyrt3628 bool + if yyl3628 > cap(yyv3628) { - yyrg3585 := len(yyv3585) > 0 - yyv23585 := yyv3585 - yyrl3585, yyrt3585 = z.DecInferLen(yyl3585, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3585 { - if yyrl3585 <= cap(yyv3585) { - yyv3585 = yyv3585[:yyrl3585] + yyrg3628 := len(yyv3628) > 0 + yyv23628 := yyv3628 + yyrl3628, yyrt3628 = z.DecInferLen(yyl3628, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3628 { + if yyrl3628 <= cap(yyv3628) { + yyv3628 = yyv3628[:yyrl3628] } else { - yyv3585 = make([]Container, yyrl3585) + yyv3628 = make([]Container, yyrl3628) } } else { - yyv3585 = make([]Container, yyrl3585) + yyv3628 = make([]Container, yyrl3628) } - yyc3585 = true - yyrr3585 = len(yyv3585) - if yyrg3585 { - copy(yyv3585, yyv23585) + yyc3628 = true + yyrr3628 = len(yyv3628) + if yyrg3628 { + copy(yyv3628, yyv23628) } - } else if yyl3585 != len(yyv3585) { - yyv3585 = yyv3585[:yyl3585] - yyc3585 = true + } else if yyl3628 != len(yyv3628) { + yyv3628 = yyv3628[:yyl3628] + yyc3628 = true } - yyj3585 := 0 - for ; yyj3585 < yyrr3585; yyj3585++ { - yyh3585.ElemContainerState(yyj3585) + yyj3628 := 0 + for ; yyj3628 < yyrr3628; yyj3628++ { + yyh3628.ElemContainerState(yyj3628) if r.TryDecodeAsNil() { - yyv3585[yyj3585] = Container{} + yyv3628[yyj3628] = Container{} } else { - yyv3586 := &yyv3585[yyj3585] - yyv3586.CodecDecodeSelf(d) + yyv3629 := &yyv3628[yyj3628] + yyv3629.CodecDecodeSelf(d) } } - if yyrt3585 { - for ; yyj3585 < yyl3585; yyj3585++ { - yyv3585 = append(yyv3585, Container{}) - yyh3585.ElemContainerState(yyj3585) + if yyrt3628 { + for ; yyj3628 < yyl3628; yyj3628++ { + yyv3628 = append(yyv3628, Container{}) + yyh3628.ElemContainerState(yyj3628) if r.TryDecodeAsNil() { - yyv3585[yyj3585] = Container{} + yyv3628[yyj3628] = Container{} } else { - yyv3587 := &yyv3585[yyj3585] - yyv3587.CodecDecodeSelf(d) + yyv3630 := &yyv3628[yyj3628] + yyv3630.CodecDecodeSelf(d) } } } } else { - yyj3585 := 0 - for ; !r.CheckBreak(); yyj3585++ { + yyj3628 := 0 + for ; !r.CheckBreak(); yyj3628++ { - if yyj3585 >= len(yyv3585) { - yyv3585 = append(yyv3585, Container{}) // var yyz3585 Container - yyc3585 = true + if yyj3628 >= len(yyv3628) { + yyv3628 = append(yyv3628, Container{}) // var yyz3628 Container + yyc3628 = true } - yyh3585.ElemContainerState(yyj3585) - if yyj3585 < len(yyv3585) { + yyh3628.ElemContainerState(yyj3628) + if yyj3628 < len(yyv3628) { if r.TryDecodeAsNil() { - yyv3585[yyj3585] = Container{} + yyv3628[yyj3628] = Container{} } else { - yyv3588 := &yyv3585[yyj3585] - yyv3588.CodecDecodeSelf(d) + yyv3631 := &yyv3628[yyj3628] + yyv3631.CodecDecodeSelf(d) } } else { @@ -44721,17 +45367,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3585 < len(yyv3585) { - yyv3585 = yyv3585[:yyj3585] - yyc3585 = true - } else if yyj3585 == 0 && yyv3585 == nil { - yyv3585 = []Container{} - yyc3585 = true + if yyj3628 < len(yyv3628) { + yyv3628 = yyv3628[:yyj3628] + yyc3628 = true + } else if yyj3628 == 0 && yyv3628 == nil { + yyv3628 = []Container{} + yyc3628 = true } } - yyh3585.End() - if yyc3585 { - *v = yyv3585 + yyh3628.End() + if yyc3628 { + *v = yyv3628 } } @@ -44740,10 +45386,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3589 := range v { + for _, yyv3632 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3590 := &yyv3589 - yy3590.CodecEncodeSelf(e) + yy3633 := &yyv3632 + yy3633.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44753,83 +45399,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3591 := *v - yyh3591, yyl3591 := z.DecSliceHelperStart() - var yyc3591 bool - if yyl3591 == 0 { - if yyv3591 == nil { - yyv3591 = []LocalObjectReference{} - yyc3591 = true - } else if len(yyv3591) != 0 { - yyv3591 = yyv3591[:0] - yyc3591 = true + yyv3634 := *v + yyh3634, yyl3634 := z.DecSliceHelperStart() + var yyc3634 bool + if yyl3634 == 0 { + if yyv3634 == nil { + yyv3634 = []LocalObjectReference{} + yyc3634 = true + } else if len(yyv3634) != 0 { + yyv3634 = yyv3634[:0] + yyc3634 = true } - } else if yyl3591 > 0 { - var yyrr3591, yyrl3591 int - var yyrt3591 bool - if yyl3591 > cap(yyv3591) { + } else if yyl3634 > 0 { + var yyrr3634, yyrl3634 int + var yyrt3634 bool + if yyl3634 > cap(yyv3634) { - yyrg3591 := len(yyv3591) > 0 - yyv23591 := yyv3591 - yyrl3591, yyrt3591 = z.DecInferLen(yyl3591, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3591 { - if yyrl3591 <= cap(yyv3591) { - yyv3591 = yyv3591[:yyrl3591] + yyrg3634 := len(yyv3634) > 0 + yyv23634 := yyv3634 + yyrl3634, yyrt3634 = z.DecInferLen(yyl3634, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3634 { + if yyrl3634 <= cap(yyv3634) { + yyv3634 = yyv3634[:yyrl3634] } else { - yyv3591 = make([]LocalObjectReference, yyrl3591) + yyv3634 = make([]LocalObjectReference, yyrl3634) } } else { - yyv3591 = make([]LocalObjectReference, yyrl3591) + yyv3634 = make([]LocalObjectReference, yyrl3634) } - yyc3591 = true - yyrr3591 = len(yyv3591) - if yyrg3591 { - copy(yyv3591, yyv23591) + yyc3634 = true + yyrr3634 = len(yyv3634) + if yyrg3634 { + copy(yyv3634, yyv23634) } - } else if yyl3591 != len(yyv3591) { - yyv3591 = yyv3591[:yyl3591] - yyc3591 = true + } else if yyl3634 != len(yyv3634) { + yyv3634 = yyv3634[:yyl3634] + yyc3634 = true } - yyj3591 := 0 - for ; yyj3591 < yyrr3591; yyj3591++ { - yyh3591.ElemContainerState(yyj3591) + yyj3634 := 0 + for ; yyj3634 < yyrr3634; yyj3634++ { + yyh3634.ElemContainerState(yyj3634) if r.TryDecodeAsNil() { - yyv3591[yyj3591] = LocalObjectReference{} + yyv3634[yyj3634] = LocalObjectReference{} } else { - yyv3592 := &yyv3591[yyj3591] - yyv3592.CodecDecodeSelf(d) + yyv3635 := &yyv3634[yyj3634] + yyv3635.CodecDecodeSelf(d) } } - if yyrt3591 { - for ; yyj3591 < yyl3591; yyj3591++ { - yyv3591 = append(yyv3591, LocalObjectReference{}) - yyh3591.ElemContainerState(yyj3591) + if yyrt3634 { + for ; yyj3634 < yyl3634; yyj3634++ { + yyv3634 = append(yyv3634, LocalObjectReference{}) + yyh3634.ElemContainerState(yyj3634) if r.TryDecodeAsNil() { - yyv3591[yyj3591] = LocalObjectReference{} + yyv3634[yyj3634] = LocalObjectReference{} } else { - yyv3593 := &yyv3591[yyj3591] - yyv3593.CodecDecodeSelf(d) + yyv3636 := &yyv3634[yyj3634] + yyv3636.CodecDecodeSelf(d) } } } } else { - yyj3591 := 0 - for ; !r.CheckBreak(); yyj3591++ { + yyj3634 := 0 + for ; !r.CheckBreak(); yyj3634++ { - if yyj3591 >= len(yyv3591) { - yyv3591 = append(yyv3591, LocalObjectReference{}) // var yyz3591 LocalObjectReference - yyc3591 = true + if yyj3634 >= len(yyv3634) { + yyv3634 = append(yyv3634, LocalObjectReference{}) // var yyz3634 LocalObjectReference + yyc3634 = true } - yyh3591.ElemContainerState(yyj3591) - if yyj3591 < len(yyv3591) { + yyh3634.ElemContainerState(yyj3634) + if yyj3634 < len(yyv3634) { if r.TryDecodeAsNil() { - yyv3591[yyj3591] = LocalObjectReference{} + yyv3634[yyj3634] = LocalObjectReference{} } else { - yyv3594 := &yyv3591[yyj3591] - yyv3594.CodecDecodeSelf(d) + yyv3637 := &yyv3634[yyj3634] + yyv3637.CodecDecodeSelf(d) } } else { @@ -44837,17 +45483,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3591 < len(yyv3591) { - yyv3591 = yyv3591[:yyj3591] - yyc3591 = true - } else if yyj3591 == 0 && yyv3591 == nil { - yyv3591 = []LocalObjectReference{} - yyc3591 = true + if yyj3634 < len(yyv3634) { + yyv3634 = yyv3634[:yyj3634] + yyc3634 = true + } else if yyj3634 == 0 && yyv3634 == nil { + yyv3634 = []LocalObjectReference{} + yyc3634 = true } } - yyh3591.End() - if yyc3591 { - *v = yyv3591 + yyh3634.End() + if yyc3634 { + *v = yyv3634 } } @@ -44856,10 +45502,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3595 := range v { + for _, yyv3638 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3596 := &yyv3595 - yy3596.CodecEncodeSelf(e) + yy3639 := &yyv3638 + yy3639.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44869,83 +45515,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3597 := *v - yyh3597, yyl3597 := z.DecSliceHelperStart() - var yyc3597 bool - if yyl3597 == 0 { - if yyv3597 == nil { - yyv3597 = []PodCondition{} - yyc3597 = true - } else if len(yyv3597) != 0 { - yyv3597 = yyv3597[:0] - yyc3597 = true + yyv3640 := *v + yyh3640, yyl3640 := z.DecSliceHelperStart() + var yyc3640 bool + if yyl3640 == 0 { + if yyv3640 == nil { + yyv3640 = []PodCondition{} + yyc3640 = true + } else if len(yyv3640) != 0 { + yyv3640 = yyv3640[:0] + yyc3640 = true } - } else if yyl3597 > 0 { - var yyrr3597, yyrl3597 int - var yyrt3597 bool - if yyl3597 > cap(yyv3597) { + } else if yyl3640 > 0 { + var yyrr3640, yyrl3640 int + var yyrt3640 bool + if yyl3640 > cap(yyv3640) { - yyrg3597 := len(yyv3597) > 0 - yyv23597 := yyv3597 - yyrl3597, yyrt3597 = z.DecInferLen(yyl3597, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3597 { - if yyrl3597 <= cap(yyv3597) { - yyv3597 = yyv3597[:yyrl3597] + yyrg3640 := len(yyv3640) > 0 + yyv23640 := yyv3640 + yyrl3640, yyrt3640 = z.DecInferLen(yyl3640, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3640 { + if yyrl3640 <= cap(yyv3640) { + yyv3640 = yyv3640[:yyrl3640] } else { - yyv3597 = make([]PodCondition, yyrl3597) + yyv3640 = make([]PodCondition, yyrl3640) } } else { - yyv3597 = make([]PodCondition, yyrl3597) + yyv3640 = make([]PodCondition, yyrl3640) } - yyc3597 = true - yyrr3597 = len(yyv3597) - if yyrg3597 { - copy(yyv3597, yyv23597) + yyc3640 = true + yyrr3640 = len(yyv3640) + if yyrg3640 { + copy(yyv3640, yyv23640) } - } else if yyl3597 != len(yyv3597) { - yyv3597 = yyv3597[:yyl3597] - yyc3597 = true + } else if yyl3640 != len(yyv3640) { + yyv3640 = yyv3640[:yyl3640] + yyc3640 = true } - yyj3597 := 0 - for ; yyj3597 < yyrr3597; yyj3597++ { - yyh3597.ElemContainerState(yyj3597) + yyj3640 := 0 + for ; yyj3640 < yyrr3640; yyj3640++ { + yyh3640.ElemContainerState(yyj3640) if r.TryDecodeAsNil() { - yyv3597[yyj3597] = PodCondition{} + yyv3640[yyj3640] = PodCondition{} } else { - yyv3598 := &yyv3597[yyj3597] - yyv3598.CodecDecodeSelf(d) + yyv3641 := &yyv3640[yyj3640] + yyv3641.CodecDecodeSelf(d) } } - if yyrt3597 { - for ; yyj3597 < yyl3597; yyj3597++ { - yyv3597 = append(yyv3597, PodCondition{}) - yyh3597.ElemContainerState(yyj3597) + if yyrt3640 { + for ; yyj3640 < yyl3640; yyj3640++ { + yyv3640 = append(yyv3640, PodCondition{}) + yyh3640.ElemContainerState(yyj3640) if r.TryDecodeAsNil() { - yyv3597[yyj3597] = PodCondition{} + yyv3640[yyj3640] = PodCondition{} } else { - yyv3599 := &yyv3597[yyj3597] - yyv3599.CodecDecodeSelf(d) + yyv3642 := &yyv3640[yyj3640] + yyv3642.CodecDecodeSelf(d) } } } } else { - yyj3597 := 0 - for ; !r.CheckBreak(); yyj3597++ { + yyj3640 := 0 + for ; !r.CheckBreak(); yyj3640++ { - if yyj3597 >= len(yyv3597) { - yyv3597 = append(yyv3597, PodCondition{}) // var yyz3597 PodCondition - yyc3597 = true + if yyj3640 >= len(yyv3640) { + yyv3640 = append(yyv3640, PodCondition{}) // var yyz3640 PodCondition + yyc3640 = true } - yyh3597.ElemContainerState(yyj3597) - if yyj3597 < len(yyv3597) { + yyh3640.ElemContainerState(yyj3640) + if yyj3640 < len(yyv3640) { if r.TryDecodeAsNil() { - yyv3597[yyj3597] = PodCondition{} + yyv3640[yyj3640] = PodCondition{} } else { - yyv3600 := &yyv3597[yyj3597] - yyv3600.CodecDecodeSelf(d) + yyv3643 := &yyv3640[yyj3640] + yyv3643.CodecDecodeSelf(d) } } else { @@ -44953,17 +45599,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3597 < len(yyv3597) { - yyv3597 = yyv3597[:yyj3597] - yyc3597 = true - } else if yyj3597 == 0 && yyv3597 == nil { - yyv3597 = []PodCondition{} - yyc3597 = true + if yyj3640 < len(yyv3640) { + yyv3640 = yyv3640[:yyj3640] + yyc3640 = true + } else if yyj3640 == 0 && yyv3640 == nil { + yyv3640 = []PodCondition{} + yyc3640 = true } } - yyh3597.End() - if yyc3597 { - *v = yyv3597 + yyh3640.End() + if yyc3640 { + *v = yyv3640 } } @@ -44972,10 +45618,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3601 := range v { + for _, yyv3644 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3602 := &yyv3601 - yy3602.CodecEncodeSelf(e) + yy3645 := &yyv3644 + yy3645.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44985,83 +45631,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3603 := *v - yyh3603, yyl3603 := z.DecSliceHelperStart() - var yyc3603 bool - if yyl3603 == 0 { - if yyv3603 == nil { - yyv3603 = []ContainerStatus{} - yyc3603 = true - } else if len(yyv3603) != 0 { - yyv3603 = yyv3603[:0] - yyc3603 = true + yyv3646 := *v + yyh3646, yyl3646 := z.DecSliceHelperStart() + var yyc3646 bool + if yyl3646 == 0 { + if yyv3646 == nil { + yyv3646 = []ContainerStatus{} + yyc3646 = true + } else if len(yyv3646) != 0 { + yyv3646 = yyv3646[:0] + yyc3646 = true } - } else if yyl3603 > 0 { - var yyrr3603, yyrl3603 int - var yyrt3603 bool - if yyl3603 > cap(yyv3603) { + } else if yyl3646 > 0 { + var yyrr3646, yyrl3646 int + var yyrt3646 bool + if yyl3646 > cap(yyv3646) { - yyrg3603 := len(yyv3603) > 0 - yyv23603 := yyv3603 - yyrl3603, yyrt3603 = z.DecInferLen(yyl3603, z.DecBasicHandle().MaxInitLen, 128) - if yyrt3603 { - if yyrl3603 <= cap(yyv3603) { - yyv3603 = yyv3603[:yyrl3603] + yyrg3646 := len(yyv3646) > 0 + yyv23646 := yyv3646 + yyrl3646, yyrt3646 = z.DecInferLen(yyl3646, z.DecBasicHandle().MaxInitLen, 128) + if yyrt3646 { + if yyrl3646 <= cap(yyv3646) { + yyv3646 = yyv3646[:yyrl3646] } else { - yyv3603 = make([]ContainerStatus, yyrl3603) + yyv3646 = make([]ContainerStatus, yyrl3646) } } else { - yyv3603 = make([]ContainerStatus, yyrl3603) + yyv3646 = make([]ContainerStatus, yyrl3646) } - yyc3603 = true - yyrr3603 = len(yyv3603) - if yyrg3603 { - copy(yyv3603, yyv23603) + yyc3646 = true + yyrr3646 = len(yyv3646) + if yyrg3646 { + copy(yyv3646, yyv23646) } - } else if yyl3603 != len(yyv3603) { - yyv3603 = yyv3603[:yyl3603] - yyc3603 = true + } else if yyl3646 != len(yyv3646) { + yyv3646 = yyv3646[:yyl3646] + yyc3646 = true } - yyj3603 := 0 - for ; yyj3603 < yyrr3603; yyj3603++ { - yyh3603.ElemContainerState(yyj3603) + yyj3646 := 0 + for ; yyj3646 < yyrr3646; yyj3646++ { + yyh3646.ElemContainerState(yyj3646) if r.TryDecodeAsNil() { - yyv3603[yyj3603] = ContainerStatus{} + yyv3646[yyj3646] = ContainerStatus{} } else { - yyv3604 := &yyv3603[yyj3603] - yyv3604.CodecDecodeSelf(d) + yyv3647 := &yyv3646[yyj3646] + yyv3647.CodecDecodeSelf(d) } } - if yyrt3603 { - for ; yyj3603 < yyl3603; yyj3603++ { - yyv3603 = append(yyv3603, ContainerStatus{}) - yyh3603.ElemContainerState(yyj3603) + if yyrt3646 { + for ; yyj3646 < yyl3646; yyj3646++ { + yyv3646 = append(yyv3646, ContainerStatus{}) + yyh3646.ElemContainerState(yyj3646) if r.TryDecodeAsNil() { - yyv3603[yyj3603] = ContainerStatus{} + yyv3646[yyj3646] = ContainerStatus{} } else { - yyv3605 := &yyv3603[yyj3603] - yyv3605.CodecDecodeSelf(d) + yyv3648 := &yyv3646[yyj3646] + yyv3648.CodecDecodeSelf(d) } } } } else { - yyj3603 := 0 - for ; !r.CheckBreak(); yyj3603++ { + yyj3646 := 0 + for ; !r.CheckBreak(); yyj3646++ { - if yyj3603 >= len(yyv3603) { - yyv3603 = append(yyv3603, ContainerStatus{}) // var yyz3603 ContainerStatus - yyc3603 = true + if yyj3646 >= len(yyv3646) { + yyv3646 = append(yyv3646, ContainerStatus{}) // var yyz3646 ContainerStatus + yyc3646 = true } - yyh3603.ElemContainerState(yyj3603) - if yyj3603 < len(yyv3603) { + yyh3646.ElemContainerState(yyj3646) + if yyj3646 < len(yyv3646) { if r.TryDecodeAsNil() { - yyv3603[yyj3603] = ContainerStatus{} + yyv3646[yyj3646] = ContainerStatus{} } else { - yyv3606 := &yyv3603[yyj3603] - yyv3606.CodecDecodeSelf(d) + yyv3649 := &yyv3646[yyj3646] + yyv3649.CodecDecodeSelf(d) } } else { @@ -45069,17 +45715,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3603 < len(yyv3603) { - yyv3603 = yyv3603[:yyj3603] - yyc3603 = true - } else if yyj3603 == 0 && yyv3603 == nil { - yyv3603 = []ContainerStatus{} - yyc3603 = true + if yyj3646 < len(yyv3646) { + yyv3646 = yyv3646[:yyj3646] + yyc3646 = true + } else if yyj3646 == 0 && yyv3646 == nil { + yyv3646 = []ContainerStatus{} + yyc3646 = true } } - yyh3603.End() - if yyc3603 { - *v = yyv3603 + yyh3646.End() + if yyc3646 { + *v = yyv3646 } } @@ -45088,10 +45734,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3607 := range v { + for _, yyv3650 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3608 := &yyv3607 - yy3608.CodecEncodeSelf(e) + yy3651 := &yyv3650 + yy3651.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45101,83 +45747,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3609 := *v - yyh3609, yyl3609 := z.DecSliceHelperStart() - var yyc3609 bool - if yyl3609 == 0 { - if yyv3609 == nil { - yyv3609 = []PodTemplate{} - yyc3609 = true - } else if len(yyv3609) != 0 { - yyv3609 = yyv3609[:0] - yyc3609 = true + yyv3652 := *v + yyh3652, yyl3652 := z.DecSliceHelperStart() + var yyc3652 bool + if yyl3652 == 0 { + if yyv3652 == nil { + yyv3652 = []PodTemplate{} + yyc3652 = true + } else if len(yyv3652) != 0 { + yyv3652 = yyv3652[:0] + yyc3652 = true } - } else if yyl3609 > 0 { - var yyrr3609, yyrl3609 int - var yyrt3609 bool - if yyl3609 > cap(yyv3609) { + } else if yyl3652 > 0 { + var yyrr3652, yyrl3652 int + var yyrt3652 bool + if yyl3652 > cap(yyv3652) { - yyrg3609 := len(yyv3609) > 0 - yyv23609 := yyv3609 - yyrl3609, yyrt3609 = z.DecInferLen(yyl3609, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3609 { - if yyrl3609 <= cap(yyv3609) { - yyv3609 = yyv3609[:yyrl3609] + yyrg3652 := len(yyv3652) > 0 + yyv23652 := yyv3652 + yyrl3652, yyrt3652 = z.DecInferLen(yyl3652, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3652 { + if yyrl3652 <= cap(yyv3652) { + yyv3652 = yyv3652[:yyrl3652] } else { - yyv3609 = make([]PodTemplate, yyrl3609) + yyv3652 = make([]PodTemplate, yyrl3652) } } else { - yyv3609 = make([]PodTemplate, yyrl3609) + yyv3652 = make([]PodTemplate, yyrl3652) } - yyc3609 = true - yyrr3609 = len(yyv3609) - if yyrg3609 { - copy(yyv3609, yyv23609) + yyc3652 = true + yyrr3652 = len(yyv3652) + if yyrg3652 { + copy(yyv3652, yyv23652) } - } else if yyl3609 != len(yyv3609) { - yyv3609 = yyv3609[:yyl3609] - yyc3609 = true + } else if yyl3652 != len(yyv3652) { + yyv3652 = yyv3652[:yyl3652] + yyc3652 = true } - yyj3609 := 0 - for ; yyj3609 < yyrr3609; yyj3609++ { - yyh3609.ElemContainerState(yyj3609) + yyj3652 := 0 + for ; yyj3652 < yyrr3652; yyj3652++ { + yyh3652.ElemContainerState(yyj3652) if r.TryDecodeAsNil() { - yyv3609[yyj3609] = PodTemplate{} + yyv3652[yyj3652] = PodTemplate{} } else { - yyv3610 := &yyv3609[yyj3609] - yyv3610.CodecDecodeSelf(d) + yyv3653 := &yyv3652[yyj3652] + yyv3653.CodecDecodeSelf(d) } } - if yyrt3609 { - for ; yyj3609 < yyl3609; yyj3609++ { - yyv3609 = append(yyv3609, PodTemplate{}) - yyh3609.ElemContainerState(yyj3609) + if yyrt3652 { + for ; yyj3652 < yyl3652; yyj3652++ { + yyv3652 = append(yyv3652, PodTemplate{}) + yyh3652.ElemContainerState(yyj3652) if r.TryDecodeAsNil() { - yyv3609[yyj3609] = PodTemplate{} + yyv3652[yyj3652] = PodTemplate{} } else { - yyv3611 := &yyv3609[yyj3609] - yyv3611.CodecDecodeSelf(d) + yyv3654 := &yyv3652[yyj3652] + yyv3654.CodecDecodeSelf(d) } } } } else { - yyj3609 := 0 - for ; !r.CheckBreak(); yyj3609++ { + yyj3652 := 0 + for ; !r.CheckBreak(); yyj3652++ { - if yyj3609 >= len(yyv3609) { - yyv3609 = append(yyv3609, PodTemplate{}) // var yyz3609 PodTemplate - yyc3609 = true + if yyj3652 >= len(yyv3652) { + yyv3652 = append(yyv3652, PodTemplate{}) // var yyz3652 PodTemplate + yyc3652 = true } - yyh3609.ElemContainerState(yyj3609) - if yyj3609 < len(yyv3609) { + yyh3652.ElemContainerState(yyj3652) + if yyj3652 < len(yyv3652) { if r.TryDecodeAsNil() { - yyv3609[yyj3609] = PodTemplate{} + yyv3652[yyj3652] = PodTemplate{} } else { - yyv3612 := &yyv3609[yyj3609] - yyv3612.CodecDecodeSelf(d) + yyv3655 := &yyv3652[yyj3652] + yyv3655.CodecDecodeSelf(d) } } else { @@ -45185,17 +45831,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3609 < len(yyv3609) { - yyv3609 = yyv3609[:yyj3609] - yyc3609 = true - } else if yyj3609 == 0 && yyv3609 == nil { - yyv3609 = []PodTemplate{} - yyc3609 = true + if yyj3652 < len(yyv3652) { + yyv3652 = yyv3652[:yyj3652] + yyc3652 = true + } else if yyj3652 == 0 && yyv3652 == nil { + yyv3652 = []PodTemplate{} + yyc3652 = true } } - yyh3609.End() - if yyc3609 { - *v = yyv3609 + yyh3652.End() + if yyc3652 { + *v = yyv3652 } } @@ -45204,10 +45850,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3613 := range v { + for _, yyv3656 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3614 := &yyv3613 - yy3614.CodecEncodeSelf(e) + yy3657 := &yyv3656 + yy3657.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45217,83 +45863,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3615 := *v - yyh3615, yyl3615 := z.DecSliceHelperStart() - var yyc3615 bool - if yyl3615 == 0 { - if yyv3615 == nil { - yyv3615 = []ReplicationController{} - yyc3615 = true - } else if len(yyv3615) != 0 { - yyv3615 = yyv3615[:0] - yyc3615 = true + yyv3658 := *v + yyh3658, yyl3658 := z.DecSliceHelperStart() + var yyc3658 bool + if yyl3658 == 0 { + if yyv3658 == nil { + yyv3658 = []ReplicationController{} + yyc3658 = true + } else if len(yyv3658) != 0 { + yyv3658 = yyv3658[:0] + yyc3658 = true } - } else if yyl3615 > 0 { - var yyrr3615, yyrl3615 int - var yyrt3615 bool - if yyl3615 > cap(yyv3615) { + } else if yyl3658 > 0 { + var yyrr3658, yyrl3658 int + var yyrt3658 bool + if yyl3658 > cap(yyv3658) { - yyrg3615 := len(yyv3615) > 0 - yyv23615 := yyv3615 - yyrl3615, yyrt3615 = z.DecInferLen(yyl3615, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3615 { - if yyrl3615 <= cap(yyv3615) { - yyv3615 = yyv3615[:yyrl3615] + yyrg3658 := len(yyv3658) > 0 + yyv23658 := yyv3658 + yyrl3658, yyrt3658 = z.DecInferLen(yyl3658, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3658 { + if yyrl3658 <= cap(yyv3658) { + yyv3658 = yyv3658[:yyrl3658] } else { - yyv3615 = make([]ReplicationController, yyrl3615) + yyv3658 = make([]ReplicationController, yyrl3658) } } else { - yyv3615 = make([]ReplicationController, yyrl3615) + yyv3658 = make([]ReplicationController, yyrl3658) } - yyc3615 = true - yyrr3615 = len(yyv3615) - if yyrg3615 { - copy(yyv3615, yyv23615) + yyc3658 = true + yyrr3658 = len(yyv3658) + if yyrg3658 { + copy(yyv3658, yyv23658) } - } else if yyl3615 != len(yyv3615) { - yyv3615 = yyv3615[:yyl3615] - yyc3615 = true + } else if yyl3658 != len(yyv3658) { + yyv3658 = yyv3658[:yyl3658] + yyc3658 = true } - yyj3615 := 0 - for ; yyj3615 < yyrr3615; yyj3615++ { - yyh3615.ElemContainerState(yyj3615) + yyj3658 := 0 + for ; yyj3658 < yyrr3658; yyj3658++ { + yyh3658.ElemContainerState(yyj3658) if r.TryDecodeAsNil() { - yyv3615[yyj3615] = ReplicationController{} + yyv3658[yyj3658] = ReplicationController{} } else { - yyv3616 := &yyv3615[yyj3615] - yyv3616.CodecDecodeSelf(d) + yyv3659 := &yyv3658[yyj3658] + yyv3659.CodecDecodeSelf(d) } } - if yyrt3615 { - for ; yyj3615 < yyl3615; yyj3615++ { - yyv3615 = append(yyv3615, ReplicationController{}) - yyh3615.ElemContainerState(yyj3615) + if yyrt3658 { + for ; yyj3658 < yyl3658; yyj3658++ { + yyv3658 = append(yyv3658, ReplicationController{}) + yyh3658.ElemContainerState(yyj3658) if r.TryDecodeAsNil() { - yyv3615[yyj3615] = ReplicationController{} + yyv3658[yyj3658] = ReplicationController{} } else { - yyv3617 := &yyv3615[yyj3615] - yyv3617.CodecDecodeSelf(d) + yyv3660 := &yyv3658[yyj3658] + yyv3660.CodecDecodeSelf(d) } } } } else { - yyj3615 := 0 - for ; !r.CheckBreak(); yyj3615++ { + yyj3658 := 0 + for ; !r.CheckBreak(); yyj3658++ { - if yyj3615 >= len(yyv3615) { - yyv3615 = append(yyv3615, ReplicationController{}) // var yyz3615 ReplicationController - yyc3615 = true + if yyj3658 >= len(yyv3658) { + yyv3658 = append(yyv3658, ReplicationController{}) // var yyz3658 ReplicationController + yyc3658 = true } - yyh3615.ElemContainerState(yyj3615) - if yyj3615 < len(yyv3615) { + yyh3658.ElemContainerState(yyj3658) + if yyj3658 < len(yyv3658) { if r.TryDecodeAsNil() { - yyv3615[yyj3615] = ReplicationController{} + yyv3658[yyj3658] = ReplicationController{} } else { - yyv3618 := &yyv3615[yyj3615] - yyv3618.CodecDecodeSelf(d) + yyv3661 := &yyv3658[yyj3658] + yyv3661.CodecDecodeSelf(d) } } else { @@ -45301,17 +45947,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3615 < len(yyv3615) { - yyv3615 = yyv3615[:yyj3615] - yyc3615 = true - } else if yyj3615 == 0 && yyv3615 == nil { - yyv3615 = []ReplicationController{} - yyc3615 = true + if yyj3658 < len(yyv3658) { + yyv3658 = yyv3658[:yyj3658] + yyc3658 = true + } else if yyj3658 == 0 && yyv3658 == nil { + yyv3658 = []ReplicationController{} + yyc3658 = true } } - yyh3615.End() - if yyc3615 { - *v = yyv3615 + yyh3658.End() + if yyc3658 { + *v = yyv3658 } } @@ -45320,10 +45966,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3619 := range v { + for _, yyv3662 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3620 := &yyv3619 - yy3620.CodecEncodeSelf(e) + yy3663 := &yyv3662 + yy3663.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45333,83 +45979,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3621 := *v - yyh3621, yyl3621 := z.DecSliceHelperStart() - var yyc3621 bool - if yyl3621 == 0 { - if yyv3621 == nil { - yyv3621 = []Service{} - yyc3621 = true - } else if len(yyv3621) != 0 { - yyv3621 = yyv3621[:0] - yyc3621 = true + yyv3664 := *v + yyh3664, yyl3664 := z.DecSliceHelperStart() + var yyc3664 bool + if yyl3664 == 0 { + if yyv3664 == nil { + yyv3664 = []Service{} + yyc3664 = true + } else if len(yyv3664) != 0 { + yyv3664 = yyv3664[:0] + yyc3664 = true } - } else if yyl3621 > 0 { - var yyrr3621, yyrl3621 int - var yyrt3621 bool - if yyl3621 > cap(yyv3621) { + } else if yyl3664 > 0 { + var yyrr3664, yyrl3664 int + var yyrt3664 bool + if yyl3664 > cap(yyv3664) { - yyrg3621 := len(yyv3621) > 0 - yyv23621 := yyv3621 - yyrl3621, yyrt3621 = z.DecInferLen(yyl3621, z.DecBasicHandle().MaxInitLen, 336) - if yyrt3621 { - if yyrl3621 <= cap(yyv3621) { - yyv3621 = yyv3621[:yyrl3621] + yyrg3664 := len(yyv3664) > 0 + yyv23664 := yyv3664 + yyrl3664, yyrt3664 = z.DecInferLen(yyl3664, z.DecBasicHandle().MaxInitLen, 336) + if yyrt3664 { + if yyrl3664 <= cap(yyv3664) { + yyv3664 = yyv3664[:yyrl3664] } else { - yyv3621 = make([]Service, yyrl3621) + yyv3664 = make([]Service, yyrl3664) } } else { - yyv3621 = make([]Service, yyrl3621) + yyv3664 = make([]Service, yyrl3664) } - yyc3621 = true - yyrr3621 = len(yyv3621) - if yyrg3621 { - copy(yyv3621, yyv23621) + yyc3664 = true + yyrr3664 = len(yyv3664) + if yyrg3664 { + copy(yyv3664, yyv23664) } - } else if yyl3621 != len(yyv3621) { - yyv3621 = yyv3621[:yyl3621] - yyc3621 = true + } else if yyl3664 != len(yyv3664) { + yyv3664 = yyv3664[:yyl3664] + yyc3664 = true } - yyj3621 := 0 - for ; yyj3621 < yyrr3621; yyj3621++ { - yyh3621.ElemContainerState(yyj3621) + yyj3664 := 0 + for ; yyj3664 < yyrr3664; yyj3664++ { + yyh3664.ElemContainerState(yyj3664) if r.TryDecodeAsNil() { - yyv3621[yyj3621] = Service{} + yyv3664[yyj3664] = Service{} } else { - yyv3622 := &yyv3621[yyj3621] - yyv3622.CodecDecodeSelf(d) + yyv3665 := &yyv3664[yyj3664] + yyv3665.CodecDecodeSelf(d) } } - if yyrt3621 { - for ; yyj3621 < yyl3621; yyj3621++ { - yyv3621 = append(yyv3621, Service{}) - yyh3621.ElemContainerState(yyj3621) + if yyrt3664 { + for ; yyj3664 < yyl3664; yyj3664++ { + yyv3664 = append(yyv3664, Service{}) + yyh3664.ElemContainerState(yyj3664) if r.TryDecodeAsNil() { - yyv3621[yyj3621] = Service{} + yyv3664[yyj3664] = Service{} } else { - yyv3623 := &yyv3621[yyj3621] - yyv3623.CodecDecodeSelf(d) + yyv3666 := &yyv3664[yyj3664] + yyv3666.CodecDecodeSelf(d) } } } } else { - yyj3621 := 0 - for ; !r.CheckBreak(); yyj3621++ { + yyj3664 := 0 + for ; !r.CheckBreak(); yyj3664++ { - if yyj3621 >= len(yyv3621) { - yyv3621 = append(yyv3621, Service{}) // var yyz3621 Service - yyc3621 = true + if yyj3664 >= len(yyv3664) { + yyv3664 = append(yyv3664, Service{}) // var yyz3664 Service + yyc3664 = true } - yyh3621.ElemContainerState(yyj3621) - if yyj3621 < len(yyv3621) { + yyh3664.ElemContainerState(yyj3664) + if yyj3664 < len(yyv3664) { if r.TryDecodeAsNil() { - yyv3621[yyj3621] = Service{} + yyv3664[yyj3664] = Service{} } else { - yyv3624 := &yyv3621[yyj3621] - yyv3624.CodecDecodeSelf(d) + yyv3667 := &yyv3664[yyj3664] + yyv3667.CodecDecodeSelf(d) } } else { @@ -45417,17 +46063,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3621 < len(yyv3621) { - yyv3621 = yyv3621[:yyj3621] - yyc3621 = true - } else if yyj3621 == 0 && yyv3621 == nil { - yyv3621 = []Service{} - yyc3621 = true + if yyj3664 < len(yyv3664) { + yyv3664 = yyv3664[:yyj3664] + yyc3664 = true + } else if yyj3664 == 0 && yyv3664 == nil { + yyv3664 = []Service{} + yyc3664 = true } } - yyh3621.End() - if yyc3621 { - *v = yyv3621 + yyh3664.End() + if yyc3664 { + *v = yyv3664 } } @@ -45436,10 +46082,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3625 := range v { + for _, yyv3668 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3626 := &yyv3625 - yy3626.CodecEncodeSelf(e) + yy3669 := &yyv3668 + yy3669.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45449,83 +46095,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3627 := *v - yyh3627, yyl3627 := z.DecSliceHelperStart() - var yyc3627 bool - if yyl3627 == 0 { - if yyv3627 == nil { - yyv3627 = []LoadBalancerIngress{} - yyc3627 = true - } else if len(yyv3627) != 0 { - yyv3627 = yyv3627[:0] - yyc3627 = true + yyv3670 := *v + yyh3670, yyl3670 := z.DecSliceHelperStart() + var yyc3670 bool + if yyl3670 == 0 { + if yyv3670 == nil { + yyv3670 = []LoadBalancerIngress{} + yyc3670 = true + } else if len(yyv3670) != 0 { + yyv3670 = yyv3670[:0] + yyc3670 = true } - } else if yyl3627 > 0 { - var yyrr3627, yyrl3627 int - var yyrt3627 bool - if yyl3627 > cap(yyv3627) { + } else if yyl3670 > 0 { + var yyrr3670, yyrl3670 int + var yyrt3670 bool + if yyl3670 > cap(yyv3670) { - yyrg3627 := len(yyv3627) > 0 - yyv23627 := yyv3627 - yyrl3627, yyrt3627 = z.DecInferLen(yyl3627, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3627 { - if yyrl3627 <= cap(yyv3627) { - yyv3627 = yyv3627[:yyrl3627] + yyrg3670 := len(yyv3670) > 0 + yyv23670 := yyv3670 + yyrl3670, yyrt3670 = z.DecInferLen(yyl3670, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3670 { + if yyrl3670 <= cap(yyv3670) { + yyv3670 = yyv3670[:yyrl3670] } else { - yyv3627 = make([]LoadBalancerIngress, yyrl3627) + yyv3670 = make([]LoadBalancerIngress, yyrl3670) } } else { - yyv3627 = make([]LoadBalancerIngress, yyrl3627) + yyv3670 = make([]LoadBalancerIngress, yyrl3670) } - yyc3627 = true - yyrr3627 = len(yyv3627) - if yyrg3627 { - copy(yyv3627, yyv23627) + yyc3670 = true + yyrr3670 = len(yyv3670) + if yyrg3670 { + copy(yyv3670, yyv23670) } - } else if yyl3627 != len(yyv3627) { - yyv3627 = yyv3627[:yyl3627] - yyc3627 = true + } else if yyl3670 != len(yyv3670) { + yyv3670 = yyv3670[:yyl3670] + yyc3670 = true } - yyj3627 := 0 - for ; yyj3627 < yyrr3627; yyj3627++ { - yyh3627.ElemContainerState(yyj3627) + yyj3670 := 0 + for ; yyj3670 < yyrr3670; yyj3670++ { + yyh3670.ElemContainerState(yyj3670) if r.TryDecodeAsNil() { - yyv3627[yyj3627] = LoadBalancerIngress{} + yyv3670[yyj3670] = LoadBalancerIngress{} } else { - yyv3628 := &yyv3627[yyj3627] - yyv3628.CodecDecodeSelf(d) + yyv3671 := &yyv3670[yyj3670] + yyv3671.CodecDecodeSelf(d) } } - if yyrt3627 { - for ; yyj3627 < yyl3627; yyj3627++ { - yyv3627 = append(yyv3627, LoadBalancerIngress{}) - yyh3627.ElemContainerState(yyj3627) + if yyrt3670 { + for ; yyj3670 < yyl3670; yyj3670++ { + yyv3670 = append(yyv3670, LoadBalancerIngress{}) + yyh3670.ElemContainerState(yyj3670) if r.TryDecodeAsNil() { - yyv3627[yyj3627] = LoadBalancerIngress{} + yyv3670[yyj3670] = LoadBalancerIngress{} } else { - yyv3629 := &yyv3627[yyj3627] - yyv3629.CodecDecodeSelf(d) + yyv3672 := &yyv3670[yyj3670] + yyv3672.CodecDecodeSelf(d) } } } } else { - yyj3627 := 0 - for ; !r.CheckBreak(); yyj3627++ { + yyj3670 := 0 + for ; !r.CheckBreak(); yyj3670++ { - if yyj3627 >= len(yyv3627) { - yyv3627 = append(yyv3627, LoadBalancerIngress{}) // var yyz3627 LoadBalancerIngress - yyc3627 = true + if yyj3670 >= len(yyv3670) { + yyv3670 = append(yyv3670, LoadBalancerIngress{}) // var yyz3670 LoadBalancerIngress + yyc3670 = true } - yyh3627.ElemContainerState(yyj3627) - if yyj3627 < len(yyv3627) { + yyh3670.ElemContainerState(yyj3670) + if yyj3670 < len(yyv3670) { if r.TryDecodeAsNil() { - yyv3627[yyj3627] = LoadBalancerIngress{} + yyv3670[yyj3670] = LoadBalancerIngress{} } else { - yyv3630 := &yyv3627[yyj3627] - yyv3630.CodecDecodeSelf(d) + yyv3673 := &yyv3670[yyj3670] + yyv3673.CodecDecodeSelf(d) } } else { @@ -45533,17 +46179,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3627 < len(yyv3627) { - yyv3627 = yyv3627[:yyj3627] - yyc3627 = true - } else if yyj3627 == 0 && yyv3627 == nil { - yyv3627 = []LoadBalancerIngress{} - yyc3627 = true + if yyj3670 < len(yyv3670) { + yyv3670 = yyv3670[:yyj3670] + yyc3670 = true + } else if yyj3670 == 0 && yyv3670 == nil { + yyv3670 = []LoadBalancerIngress{} + yyc3670 = true } } - yyh3627.End() - if yyc3627 { - *v = yyv3627 + yyh3670.End() + if yyc3670 { + *v = yyv3670 } } @@ -45552,10 +46198,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3631 := range v { + for _, yyv3674 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3632 := &yyv3631 - yy3632.CodecEncodeSelf(e) + yy3675 := &yyv3674 + yy3675.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45565,83 +46211,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3633 := *v - yyh3633, yyl3633 := z.DecSliceHelperStart() - var yyc3633 bool - if yyl3633 == 0 { - if yyv3633 == nil { - yyv3633 = []ServicePort{} - yyc3633 = true - } else if len(yyv3633) != 0 { - yyv3633 = yyv3633[:0] - yyc3633 = true + yyv3676 := *v + yyh3676, yyl3676 := z.DecSliceHelperStart() + var yyc3676 bool + if yyl3676 == 0 { + if yyv3676 == nil { + yyv3676 = []ServicePort{} + yyc3676 = true + } else if len(yyv3676) != 0 { + yyv3676 = yyv3676[:0] + yyc3676 = true } - } else if yyl3633 > 0 { - var yyrr3633, yyrl3633 int - var yyrt3633 bool - if yyl3633 > cap(yyv3633) { + } else if yyl3676 > 0 { + var yyrr3676, yyrl3676 int + var yyrt3676 bool + if yyl3676 > cap(yyv3676) { - yyrg3633 := len(yyv3633) > 0 - yyv23633 := yyv3633 - yyrl3633, yyrt3633 = z.DecInferLen(yyl3633, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3633 { - if yyrl3633 <= cap(yyv3633) { - yyv3633 = yyv3633[:yyrl3633] + yyrg3676 := len(yyv3676) > 0 + yyv23676 := yyv3676 + yyrl3676, yyrt3676 = z.DecInferLen(yyl3676, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3676 { + if yyrl3676 <= cap(yyv3676) { + yyv3676 = yyv3676[:yyrl3676] } else { - yyv3633 = make([]ServicePort, yyrl3633) + yyv3676 = make([]ServicePort, yyrl3676) } } else { - yyv3633 = make([]ServicePort, yyrl3633) + yyv3676 = make([]ServicePort, yyrl3676) } - yyc3633 = true - yyrr3633 = len(yyv3633) - if yyrg3633 { - copy(yyv3633, yyv23633) + yyc3676 = true + yyrr3676 = len(yyv3676) + if yyrg3676 { + copy(yyv3676, yyv23676) } - } else if yyl3633 != len(yyv3633) { - yyv3633 = yyv3633[:yyl3633] - yyc3633 = true + } else if yyl3676 != len(yyv3676) { + yyv3676 = yyv3676[:yyl3676] + yyc3676 = true } - yyj3633 := 0 - for ; yyj3633 < yyrr3633; yyj3633++ { - yyh3633.ElemContainerState(yyj3633) + yyj3676 := 0 + for ; yyj3676 < yyrr3676; yyj3676++ { + yyh3676.ElemContainerState(yyj3676) if r.TryDecodeAsNil() { - yyv3633[yyj3633] = ServicePort{} + yyv3676[yyj3676] = ServicePort{} } else { - yyv3634 := &yyv3633[yyj3633] - yyv3634.CodecDecodeSelf(d) + yyv3677 := &yyv3676[yyj3676] + yyv3677.CodecDecodeSelf(d) } } - if yyrt3633 { - for ; yyj3633 < yyl3633; yyj3633++ { - yyv3633 = append(yyv3633, ServicePort{}) - yyh3633.ElemContainerState(yyj3633) + if yyrt3676 { + for ; yyj3676 < yyl3676; yyj3676++ { + yyv3676 = append(yyv3676, ServicePort{}) + yyh3676.ElemContainerState(yyj3676) if r.TryDecodeAsNil() { - yyv3633[yyj3633] = ServicePort{} + yyv3676[yyj3676] = ServicePort{} } else { - yyv3635 := &yyv3633[yyj3633] - yyv3635.CodecDecodeSelf(d) + yyv3678 := &yyv3676[yyj3676] + yyv3678.CodecDecodeSelf(d) } } } } else { - yyj3633 := 0 - for ; !r.CheckBreak(); yyj3633++ { + yyj3676 := 0 + for ; !r.CheckBreak(); yyj3676++ { - if yyj3633 >= len(yyv3633) { - yyv3633 = append(yyv3633, ServicePort{}) // var yyz3633 ServicePort - yyc3633 = true + if yyj3676 >= len(yyv3676) { + yyv3676 = append(yyv3676, ServicePort{}) // var yyz3676 ServicePort + yyc3676 = true } - yyh3633.ElemContainerState(yyj3633) - if yyj3633 < len(yyv3633) { + yyh3676.ElemContainerState(yyj3676) + if yyj3676 < len(yyv3676) { if r.TryDecodeAsNil() { - yyv3633[yyj3633] = ServicePort{} + yyv3676[yyj3676] = ServicePort{} } else { - yyv3636 := &yyv3633[yyj3633] - yyv3636.CodecDecodeSelf(d) + yyv3679 := &yyv3676[yyj3676] + yyv3679.CodecDecodeSelf(d) } } else { @@ -45649,17 +46295,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3633 < len(yyv3633) { - yyv3633 = yyv3633[:yyj3633] - yyc3633 = true - } else if yyj3633 == 0 && yyv3633 == nil { - yyv3633 = []ServicePort{} - yyc3633 = true + if yyj3676 < len(yyv3676) { + yyv3676 = yyv3676[:yyj3676] + yyc3676 = true + } else if yyj3676 == 0 && yyv3676 == nil { + yyv3676 = []ServicePort{} + yyc3676 = true } } - yyh3633.End() - if yyc3633 { - *v = yyv3633 + yyh3676.End() + if yyc3676 { + *v = yyv3676 } } @@ -45668,10 +46314,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3637 := range v { + for _, yyv3680 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3638 := &yyv3637 - yy3638.CodecEncodeSelf(e) + yy3681 := &yyv3680 + yy3681.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45681,83 +46327,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3639 := *v - yyh3639, yyl3639 := z.DecSliceHelperStart() - var yyc3639 bool - if yyl3639 == 0 { - if yyv3639 == nil { - yyv3639 = []ObjectReference{} - yyc3639 = true - } else if len(yyv3639) != 0 { - yyv3639 = yyv3639[:0] - yyc3639 = true + yyv3682 := *v + yyh3682, yyl3682 := z.DecSliceHelperStart() + var yyc3682 bool + if yyl3682 == 0 { + if yyv3682 == nil { + yyv3682 = []ObjectReference{} + yyc3682 = true + } else if len(yyv3682) != 0 { + yyv3682 = yyv3682[:0] + yyc3682 = true } - } else if yyl3639 > 0 { - var yyrr3639, yyrl3639 int - var yyrt3639 bool - if yyl3639 > cap(yyv3639) { + } else if yyl3682 > 0 { + var yyrr3682, yyrl3682 int + var yyrt3682 bool + if yyl3682 > cap(yyv3682) { - yyrg3639 := len(yyv3639) > 0 - yyv23639 := yyv3639 - yyrl3639, yyrt3639 = z.DecInferLen(yyl3639, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3639 { - if yyrl3639 <= cap(yyv3639) { - yyv3639 = yyv3639[:yyrl3639] + yyrg3682 := len(yyv3682) > 0 + yyv23682 := yyv3682 + yyrl3682, yyrt3682 = z.DecInferLen(yyl3682, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3682 { + if yyrl3682 <= cap(yyv3682) { + yyv3682 = yyv3682[:yyrl3682] } else { - yyv3639 = make([]ObjectReference, yyrl3639) + yyv3682 = make([]ObjectReference, yyrl3682) } } else { - yyv3639 = make([]ObjectReference, yyrl3639) + yyv3682 = make([]ObjectReference, yyrl3682) } - yyc3639 = true - yyrr3639 = len(yyv3639) - if yyrg3639 { - copy(yyv3639, yyv23639) + yyc3682 = true + yyrr3682 = len(yyv3682) + if yyrg3682 { + copy(yyv3682, yyv23682) } - } else if yyl3639 != len(yyv3639) { - yyv3639 = yyv3639[:yyl3639] - yyc3639 = true + } else if yyl3682 != len(yyv3682) { + yyv3682 = yyv3682[:yyl3682] + yyc3682 = true } - yyj3639 := 0 - for ; yyj3639 < yyrr3639; yyj3639++ { - yyh3639.ElemContainerState(yyj3639) + yyj3682 := 0 + for ; yyj3682 < yyrr3682; yyj3682++ { + yyh3682.ElemContainerState(yyj3682) if r.TryDecodeAsNil() { - yyv3639[yyj3639] = ObjectReference{} + yyv3682[yyj3682] = ObjectReference{} } else { - yyv3640 := &yyv3639[yyj3639] - yyv3640.CodecDecodeSelf(d) + yyv3683 := &yyv3682[yyj3682] + yyv3683.CodecDecodeSelf(d) } } - if yyrt3639 { - for ; yyj3639 < yyl3639; yyj3639++ { - yyv3639 = append(yyv3639, ObjectReference{}) - yyh3639.ElemContainerState(yyj3639) + if yyrt3682 { + for ; yyj3682 < yyl3682; yyj3682++ { + yyv3682 = append(yyv3682, ObjectReference{}) + yyh3682.ElemContainerState(yyj3682) if r.TryDecodeAsNil() { - yyv3639[yyj3639] = ObjectReference{} + yyv3682[yyj3682] = ObjectReference{} } else { - yyv3641 := &yyv3639[yyj3639] - yyv3641.CodecDecodeSelf(d) + yyv3684 := &yyv3682[yyj3682] + yyv3684.CodecDecodeSelf(d) } } } } else { - yyj3639 := 0 - for ; !r.CheckBreak(); yyj3639++ { + yyj3682 := 0 + for ; !r.CheckBreak(); yyj3682++ { - if yyj3639 >= len(yyv3639) { - yyv3639 = append(yyv3639, ObjectReference{}) // var yyz3639 ObjectReference - yyc3639 = true + if yyj3682 >= len(yyv3682) { + yyv3682 = append(yyv3682, ObjectReference{}) // var yyz3682 ObjectReference + yyc3682 = true } - yyh3639.ElemContainerState(yyj3639) - if yyj3639 < len(yyv3639) { + yyh3682.ElemContainerState(yyj3682) + if yyj3682 < len(yyv3682) { if r.TryDecodeAsNil() { - yyv3639[yyj3639] = ObjectReference{} + yyv3682[yyj3682] = ObjectReference{} } else { - yyv3642 := &yyv3639[yyj3639] - yyv3642.CodecDecodeSelf(d) + yyv3685 := &yyv3682[yyj3682] + yyv3685.CodecDecodeSelf(d) } } else { @@ -45765,17 +46411,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3639 < len(yyv3639) { - yyv3639 = yyv3639[:yyj3639] - yyc3639 = true - } else if yyj3639 == 0 && yyv3639 == nil { - yyv3639 = []ObjectReference{} - yyc3639 = true + if yyj3682 < len(yyv3682) { + yyv3682 = yyv3682[:yyj3682] + yyc3682 = true + } else if yyj3682 == 0 && yyv3682 == nil { + yyv3682 = []ObjectReference{} + yyc3682 = true } } - yyh3639.End() - if yyc3639 { - *v = yyv3639 + yyh3682.End() + if yyc3682 { + *v = yyv3682 } } @@ -45784,10 +46430,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3643 := range v { + for _, yyv3686 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3644 := &yyv3643 - yy3644.CodecEncodeSelf(e) + yy3687 := &yyv3686 + yy3687.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45797,83 +46443,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3645 := *v - yyh3645, yyl3645 := z.DecSliceHelperStart() - var yyc3645 bool - if yyl3645 == 0 { - if yyv3645 == nil { - yyv3645 = []ServiceAccount{} - yyc3645 = true - } else if len(yyv3645) != 0 { - yyv3645 = yyv3645[:0] - yyc3645 = true + yyv3688 := *v + yyh3688, yyl3688 := z.DecSliceHelperStart() + var yyc3688 bool + if yyl3688 == 0 { + if yyv3688 == nil { + yyv3688 = []ServiceAccount{} + yyc3688 = true + } else if len(yyv3688) != 0 { + yyv3688 = yyv3688[:0] + yyc3688 = true } - } else if yyl3645 > 0 { - var yyrr3645, yyrl3645 int - var yyrt3645 bool - if yyl3645 > cap(yyv3645) { + } else if yyl3688 > 0 { + var yyrr3688, yyrl3688 int + var yyrt3688 bool + if yyl3688 > cap(yyv3688) { - yyrg3645 := len(yyv3645) > 0 - yyv23645 := yyv3645 - yyrl3645, yyrt3645 = z.DecInferLen(yyl3645, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3645 { - if yyrl3645 <= cap(yyv3645) { - yyv3645 = yyv3645[:yyrl3645] + yyrg3688 := len(yyv3688) > 0 + yyv23688 := yyv3688 + yyrl3688, yyrt3688 = z.DecInferLen(yyl3688, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3688 { + if yyrl3688 <= cap(yyv3688) { + yyv3688 = yyv3688[:yyrl3688] } else { - yyv3645 = make([]ServiceAccount, yyrl3645) + yyv3688 = make([]ServiceAccount, yyrl3688) } } else { - yyv3645 = make([]ServiceAccount, yyrl3645) + yyv3688 = make([]ServiceAccount, yyrl3688) } - yyc3645 = true - yyrr3645 = len(yyv3645) - if yyrg3645 { - copy(yyv3645, yyv23645) + yyc3688 = true + yyrr3688 = len(yyv3688) + if yyrg3688 { + copy(yyv3688, yyv23688) } - } else if yyl3645 != len(yyv3645) { - yyv3645 = yyv3645[:yyl3645] - yyc3645 = true + } else if yyl3688 != len(yyv3688) { + yyv3688 = yyv3688[:yyl3688] + yyc3688 = true } - yyj3645 := 0 - for ; yyj3645 < yyrr3645; yyj3645++ { - yyh3645.ElemContainerState(yyj3645) + yyj3688 := 0 + for ; yyj3688 < yyrr3688; yyj3688++ { + yyh3688.ElemContainerState(yyj3688) if r.TryDecodeAsNil() { - yyv3645[yyj3645] = ServiceAccount{} + yyv3688[yyj3688] = ServiceAccount{} } else { - yyv3646 := &yyv3645[yyj3645] - yyv3646.CodecDecodeSelf(d) + yyv3689 := &yyv3688[yyj3688] + yyv3689.CodecDecodeSelf(d) } } - if yyrt3645 { - for ; yyj3645 < yyl3645; yyj3645++ { - yyv3645 = append(yyv3645, ServiceAccount{}) - yyh3645.ElemContainerState(yyj3645) + if yyrt3688 { + for ; yyj3688 < yyl3688; yyj3688++ { + yyv3688 = append(yyv3688, ServiceAccount{}) + yyh3688.ElemContainerState(yyj3688) if r.TryDecodeAsNil() { - yyv3645[yyj3645] = ServiceAccount{} + yyv3688[yyj3688] = ServiceAccount{} } else { - yyv3647 := &yyv3645[yyj3645] - yyv3647.CodecDecodeSelf(d) + yyv3690 := &yyv3688[yyj3688] + yyv3690.CodecDecodeSelf(d) } } } } else { - yyj3645 := 0 - for ; !r.CheckBreak(); yyj3645++ { + yyj3688 := 0 + for ; !r.CheckBreak(); yyj3688++ { - if yyj3645 >= len(yyv3645) { - yyv3645 = append(yyv3645, ServiceAccount{}) // var yyz3645 ServiceAccount - yyc3645 = true + if yyj3688 >= len(yyv3688) { + yyv3688 = append(yyv3688, ServiceAccount{}) // var yyz3688 ServiceAccount + yyc3688 = true } - yyh3645.ElemContainerState(yyj3645) - if yyj3645 < len(yyv3645) { + yyh3688.ElemContainerState(yyj3688) + if yyj3688 < len(yyv3688) { if r.TryDecodeAsNil() { - yyv3645[yyj3645] = ServiceAccount{} + yyv3688[yyj3688] = ServiceAccount{} } else { - yyv3648 := &yyv3645[yyj3645] - yyv3648.CodecDecodeSelf(d) + yyv3691 := &yyv3688[yyj3688] + yyv3691.CodecDecodeSelf(d) } } else { @@ -45881,17 +46527,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3645 < len(yyv3645) { - yyv3645 = yyv3645[:yyj3645] - yyc3645 = true - } else if yyj3645 == 0 && yyv3645 == nil { - yyv3645 = []ServiceAccount{} - yyc3645 = true + if yyj3688 < len(yyv3688) { + yyv3688 = yyv3688[:yyj3688] + yyc3688 = true + } else if yyj3688 == 0 && yyv3688 == nil { + yyv3688 = []ServiceAccount{} + yyc3688 = true } } - yyh3645.End() - if yyc3645 { - *v = yyv3645 + yyh3688.End() + if yyc3688 { + *v = yyv3688 } } @@ -45900,10 +46546,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3649 := range v { + for _, yyv3692 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3650 := &yyv3649 - yy3650.CodecEncodeSelf(e) + yy3693 := &yyv3692 + yy3693.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45913,83 +46559,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3651 := *v - yyh3651, yyl3651 := z.DecSliceHelperStart() - var yyc3651 bool - if yyl3651 == 0 { - if yyv3651 == nil { - yyv3651 = []EndpointSubset{} - yyc3651 = true - } else if len(yyv3651) != 0 { - yyv3651 = yyv3651[:0] - yyc3651 = true + yyv3694 := *v + yyh3694, yyl3694 := z.DecSliceHelperStart() + var yyc3694 bool + if yyl3694 == 0 { + if yyv3694 == nil { + yyv3694 = []EndpointSubset{} + yyc3694 = true + } else if len(yyv3694) != 0 { + yyv3694 = yyv3694[:0] + yyc3694 = true } - } else if yyl3651 > 0 { - var yyrr3651, yyrl3651 int - var yyrt3651 bool - if yyl3651 > cap(yyv3651) { + } else if yyl3694 > 0 { + var yyrr3694, yyrl3694 int + var yyrt3694 bool + if yyl3694 > cap(yyv3694) { - yyrg3651 := len(yyv3651) > 0 - yyv23651 := yyv3651 - yyrl3651, yyrt3651 = z.DecInferLen(yyl3651, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3651 { - if yyrl3651 <= cap(yyv3651) { - yyv3651 = yyv3651[:yyrl3651] + yyrg3694 := len(yyv3694) > 0 + yyv23694 := yyv3694 + yyrl3694, yyrt3694 = z.DecInferLen(yyl3694, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3694 { + if yyrl3694 <= cap(yyv3694) { + yyv3694 = yyv3694[:yyrl3694] } else { - yyv3651 = make([]EndpointSubset, yyrl3651) + yyv3694 = make([]EndpointSubset, yyrl3694) } } else { - yyv3651 = make([]EndpointSubset, yyrl3651) + yyv3694 = make([]EndpointSubset, yyrl3694) } - yyc3651 = true - yyrr3651 = len(yyv3651) - if yyrg3651 { - copy(yyv3651, yyv23651) + yyc3694 = true + yyrr3694 = len(yyv3694) + if yyrg3694 { + copy(yyv3694, yyv23694) } - } else if yyl3651 != len(yyv3651) { - yyv3651 = yyv3651[:yyl3651] - yyc3651 = true + } else if yyl3694 != len(yyv3694) { + yyv3694 = yyv3694[:yyl3694] + yyc3694 = true } - yyj3651 := 0 - for ; yyj3651 < yyrr3651; yyj3651++ { - yyh3651.ElemContainerState(yyj3651) + yyj3694 := 0 + for ; yyj3694 < yyrr3694; yyj3694++ { + yyh3694.ElemContainerState(yyj3694) if r.TryDecodeAsNil() { - yyv3651[yyj3651] = EndpointSubset{} + yyv3694[yyj3694] = EndpointSubset{} } else { - yyv3652 := &yyv3651[yyj3651] - yyv3652.CodecDecodeSelf(d) + yyv3695 := &yyv3694[yyj3694] + yyv3695.CodecDecodeSelf(d) } } - if yyrt3651 { - for ; yyj3651 < yyl3651; yyj3651++ { - yyv3651 = append(yyv3651, EndpointSubset{}) - yyh3651.ElemContainerState(yyj3651) + if yyrt3694 { + for ; yyj3694 < yyl3694; yyj3694++ { + yyv3694 = append(yyv3694, EndpointSubset{}) + yyh3694.ElemContainerState(yyj3694) if r.TryDecodeAsNil() { - yyv3651[yyj3651] = EndpointSubset{} + yyv3694[yyj3694] = EndpointSubset{} } else { - yyv3653 := &yyv3651[yyj3651] - yyv3653.CodecDecodeSelf(d) + yyv3696 := &yyv3694[yyj3694] + yyv3696.CodecDecodeSelf(d) } } } } else { - yyj3651 := 0 - for ; !r.CheckBreak(); yyj3651++ { + yyj3694 := 0 + for ; !r.CheckBreak(); yyj3694++ { - if yyj3651 >= len(yyv3651) { - yyv3651 = append(yyv3651, EndpointSubset{}) // var yyz3651 EndpointSubset - yyc3651 = true + if yyj3694 >= len(yyv3694) { + yyv3694 = append(yyv3694, EndpointSubset{}) // var yyz3694 EndpointSubset + yyc3694 = true } - yyh3651.ElemContainerState(yyj3651) - if yyj3651 < len(yyv3651) { + yyh3694.ElemContainerState(yyj3694) + if yyj3694 < len(yyv3694) { if r.TryDecodeAsNil() { - yyv3651[yyj3651] = EndpointSubset{} + yyv3694[yyj3694] = EndpointSubset{} } else { - yyv3654 := &yyv3651[yyj3651] - yyv3654.CodecDecodeSelf(d) + yyv3697 := &yyv3694[yyj3694] + yyv3697.CodecDecodeSelf(d) } } else { @@ -45997,17 +46643,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3651 < len(yyv3651) { - yyv3651 = yyv3651[:yyj3651] - yyc3651 = true - } else if yyj3651 == 0 && yyv3651 == nil { - yyv3651 = []EndpointSubset{} - yyc3651 = true + if yyj3694 < len(yyv3694) { + yyv3694 = yyv3694[:yyj3694] + yyc3694 = true + } else if yyj3694 == 0 && yyv3694 == nil { + yyv3694 = []EndpointSubset{} + yyc3694 = true } } - yyh3651.End() - if yyc3651 { - *v = yyv3651 + yyh3694.End() + if yyc3694 { + *v = yyv3694 } } @@ -46016,10 +46662,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3655 := range v { + for _, yyv3698 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3656 := &yyv3655 - yy3656.CodecEncodeSelf(e) + yy3699 := &yyv3698 + yy3699.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46029,83 +46675,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3657 := *v - yyh3657, yyl3657 := z.DecSliceHelperStart() - var yyc3657 bool - if yyl3657 == 0 { - if yyv3657 == nil { - yyv3657 = []EndpointAddress{} - yyc3657 = true - } else if len(yyv3657) != 0 { - yyv3657 = yyv3657[:0] - yyc3657 = true + yyv3700 := *v + yyh3700, yyl3700 := z.DecSliceHelperStart() + var yyc3700 bool + if yyl3700 == 0 { + if yyv3700 == nil { + yyv3700 = []EndpointAddress{} + yyc3700 = true + } else if len(yyv3700) != 0 { + yyv3700 = yyv3700[:0] + yyc3700 = true } - } else if yyl3657 > 0 { - var yyrr3657, yyrl3657 int - var yyrt3657 bool - if yyl3657 > cap(yyv3657) { + } else if yyl3700 > 0 { + var yyrr3700, yyrl3700 int + var yyrt3700 bool + if yyl3700 > cap(yyv3700) { - yyrg3657 := len(yyv3657) > 0 - yyv23657 := yyv3657 - yyrl3657, yyrt3657 = z.DecInferLen(yyl3657, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3657 { - if yyrl3657 <= cap(yyv3657) { - yyv3657 = yyv3657[:yyrl3657] + yyrg3700 := len(yyv3700) > 0 + yyv23700 := yyv3700 + yyrl3700, yyrt3700 = z.DecInferLen(yyl3700, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3700 { + if yyrl3700 <= cap(yyv3700) { + yyv3700 = yyv3700[:yyrl3700] } else { - yyv3657 = make([]EndpointAddress, yyrl3657) + yyv3700 = make([]EndpointAddress, yyrl3700) } } else { - yyv3657 = make([]EndpointAddress, yyrl3657) + yyv3700 = make([]EndpointAddress, yyrl3700) } - yyc3657 = true - yyrr3657 = len(yyv3657) - if yyrg3657 { - copy(yyv3657, yyv23657) + yyc3700 = true + yyrr3700 = len(yyv3700) + if yyrg3700 { + copy(yyv3700, yyv23700) } - } else if yyl3657 != len(yyv3657) { - yyv3657 = yyv3657[:yyl3657] - yyc3657 = true + } else if yyl3700 != len(yyv3700) { + yyv3700 = yyv3700[:yyl3700] + yyc3700 = true } - yyj3657 := 0 - for ; yyj3657 < yyrr3657; yyj3657++ { - yyh3657.ElemContainerState(yyj3657) + yyj3700 := 0 + for ; yyj3700 < yyrr3700; yyj3700++ { + yyh3700.ElemContainerState(yyj3700) if r.TryDecodeAsNil() { - yyv3657[yyj3657] = EndpointAddress{} + yyv3700[yyj3700] = EndpointAddress{} } else { - yyv3658 := &yyv3657[yyj3657] - yyv3658.CodecDecodeSelf(d) + yyv3701 := &yyv3700[yyj3700] + yyv3701.CodecDecodeSelf(d) } } - if yyrt3657 { - for ; yyj3657 < yyl3657; yyj3657++ { - yyv3657 = append(yyv3657, EndpointAddress{}) - yyh3657.ElemContainerState(yyj3657) + if yyrt3700 { + for ; yyj3700 < yyl3700; yyj3700++ { + yyv3700 = append(yyv3700, EndpointAddress{}) + yyh3700.ElemContainerState(yyj3700) if r.TryDecodeAsNil() { - yyv3657[yyj3657] = EndpointAddress{} + yyv3700[yyj3700] = EndpointAddress{} } else { - yyv3659 := &yyv3657[yyj3657] - yyv3659.CodecDecodeSelf(d) + yyv3702 := &yyv3700[yyj3700] + yyv3702.CodecDecodeSelf(d) } } } } else { - yyj3657 := 0 - for ; !r.CheckBreak(); yyj3657++ { + yyj3700 := 0 + for ; !r.CheckBreak(); yyj3700++ { - if yyj3657 >= len(yyv3657) { - yyv3657 = append(yyv3657, EndpointAddress{}) // var yyz3657 EndpointAddress - yyc3657 = true + if yyj3700 >= len(yyv3700) { + yyv3700 = append(yyv3700, EndpointAddress{}) // var yyz3700 EndpointAddress + yyc3700 = true } - yyh3657.ElemContainerState(yyj3657) - if yyj3657 < len(yyv3657) { + yyh3700.ElemContainerState(yyj3700) + if yyj3700 < len(yyv3700) { if r.TryDecodeAsNil() { - yyv3657[yyj3657] = EndpointAddress{} + yyv3700[yyj3700] = EndpointAddress{} } else { - yyv3660 := &yyv3657[yyj3657] - yyv3660.CodecDecodeSelf(d) + yyv3703 := &yyv3700[yyj3700] + yyv3703.CodecDecodeSelf(d) } } else { @@ -46113,17 +46759,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3657 < len(yyv3657) { - yyv3657 = yyv3657[:yyj3657] - yyc3657 = true - } else if yyj3657 == 0 && yyv3657 == nil { - yyv3657 = []EndpointAddress{} - yyc3657 = true + if yyj3700 < len(yyv3700) { + yyv3700 = yyv3700[:yyj3700] + yyc3700 = true + } else if yyj3700 == 0 && yyv3700 == nil { + yyv3700 = []EndpointAddress{} + yyc3700 = true } } - yyh3657.End() - if yyc3657 { - *v = yyv3657 + yyh3700.End() + if yyc3700 { + *v = yyv3700 } } @@ -46132,10 +46778,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3661 := range v { + for _, yyv3704 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3662 := &yyv3661 - yy3662.CodecEncodeSelf(e) + yy3705 := &yyv3704 + yy3705.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46145,83 +46791,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3663 := *v - yyh3663, yyl3663 := z.DecSliceHelperStart() - var yyc3663 bool - if yyl3663 == 0 { - if yyv3663 == nil { - yyv3663 = []EndpointPort{} - yyc3663 = true - } else if len(yyv3663) != 0 { - yyv3663 = yyv3663[:0] - yyc3663 = true + yyv3706 := *v + yyh3706, yyl3706 := z.DecSliceHelperStart() + var yyc3706 bool + if yyl3706 == 0 { + if yyv3706 == nil { + yyv3706 = []EndpointPort{} + yyc3706 = true + } else if len(yyv3706) != 0 { + yyv3706 = yyv3706[:0] + yyc3706 = true } - } else if yyl3663 > 0 { - var yyrr3663, yyrl3663 int - var yyrt3663 bool - if yyl3663 > cap(yyv3663) { + } else if yyl3706 > 0 { + var yyrr3706, yyrl3706 int + var yyrt3706 bool + if yyl3706 > cap(yyv3706) { - yyrg3663 := len(yyv3663) > 0 - yyv23663 := yyv3663 - yyrl3663, yyrt3663 = z.DecInferLen(yyl3663, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3663 { - if yyrl3663 <= cap(yyv3663) { - yyv3663 = yyv3663[:yyrl3663] + yyrg3706 := len(yyv3706) > 0 + yyv23706 := yyv3706 + yyrl3706, yyrt3706 = z.DecInferLen(yyl3706, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3706 { + if yyrl3706 <= cap(yyv3706) { + yyv3706 = yyv3706[:yyrl3706] } else { - yyv3663 = make([]EndpointPort, yyrl3663) + yyv3706 = make([]EndpointPort, yyrl3706) } } else { - yyv3663 = make([]EndpointPort, yyrl3663) + yyv3706 = make([]EndpointPort, yyrl3706) } - yyc3663 = true - yyrr3663 = len(yyv3663) - if yyrg3663 { - copy(yyv3663, yyv23663) + yyc3706 = true + yyrr3706 = len(yyv3706) + if yyrg3706 { + copy(yyv3706, yyv23706) } - } else if yyl3663 != len(yyv3663) { - yyv3663 = yyv3663[:yyl3663] - yyc3663 = true + } else if yyl3706 != len(yyv3706) { + yyv3706 = yyv3706[:yyl3706] + yyc3706 = true } - yyj3663 := 0 - for ; yyj3663 < yyrr3663; yyj3663++ { - yyh3663.ElemContainerState(yyj3663) + yyj3706 := 0 + for ; yyj3706 < yyrr3706; yyj3706++ { + yyh3706.ElemContainerState(yyj3706) if r.TryDecodeAsNil() { - yyv3663[yyj3663] = EndpointPort{} + yyv3706[yyj3706] = EndpointPort{} } else { - yyv3664 := &yyv3663[yyj3663] - yyv3664.CodecDecodeSelf(d) + yyv3707 := &yyv3706[yyj3706] + yyv3707.CodecDecodeSelf(d) } } - if yyrt3663 { - for ; yyj3663 < yyl3663; yyj3663++ { - yyv3663 = append(yyv3663, EndpointPort{}) - yyh3663.ElemContainerState(yyj3663) + if yyrt3706 { + for ; yyj3706 < yyl3706; yyj3706++ { + yyv3706 = append(yyv3706, EndpointPort{}) + yyh3706.ElemContainerState(yyj3706) if r.TryDecodeAsNil() { - yyv3663[yyj3663] = EndpointPort{} + yyv3706[yyj3706] = EndpointPort{} } else { - yyv3665 := &yyv3663[yyj3663] - yyv3665.CodecDecodeSelf(d) + yyv3708 := &yyv3706[yyj3706] + yyv3708.CodecDecodeSelf(d) } } } } else { - yyj3663 := 0 - for ; !r.CheckBreak(); yyj3663++ { + yyj3706 := 0 + for ; !r.CheckBreak(); yyj3706++ { - if yyj3663 >= len(yyv3663) { - yyv3663 = append(yyv3663, EndpointPort{}) // var yyz3663 EndpointPort - yyc3663 = true + if yyj3706 >= len(yyv3706) { + yyv3706 = append(yyv3706, EndpointPort{}) // var yyz3706 EndpointPort + yyc3706 = true } - yyh3663.ElemContainerState(yyj3663) - if yyj3663 < len(yyv3663) { + yyh3706.ElemContainerState(yyj3706) + if yyj3706 < len(yyv3706) { if r.TryDecodeAsNil() { - yyv3663[yyj3663] = EndpointPort{} + yyv3706[yyj3706] = EndpointPort{} } else { - yyv3666 := &yyv3663[yyj3663] - yyv3666.CodecDecodeSelf(d) + yyv3709 := &yyv3706[yyj3706] + yyv3709.CodecDecodeSelf(d) } } else { @@ -46229,17 +46875,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3663 < len(yyv3663) { - yyv3663 = yyv3663[:yyj3663] - yyc3663 = true - } else if yyj3663 == 0 && yyv3663 == nil { - yyv3663 = []EndpointPort{} - yyc3663 = true + if yyj3706 < len(yyv3706) { + yyv3706 = yyv3706[:yyj3706] + yyc3706 = true + } else if yyj3706 == 0 && yyv3706 == nil { + yyv3706 = []EndpointPort{} + yyc3706 = true } } - yyh3663.End() - if yyc3663 { - *v = yyv3663 + yyh3706.End() + if yyc3706 { + *v = yyv3706 } } @@ -46248,10 +46894,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3667 := range v { + for _, yyv3710 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3668 := &yyv3667 - yy3668.CodecEncodeSelf(e) + yy3711 := &yyv3710 + yy3711.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46261,83 +46907,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3669 := *v - yyh3669, yyl3669 := z.DecSliceHelperStart() - var yyc3669 bool - if yyl3669 == 0 { - if yyv3669 == nil { - yyv3669 = []Endpoints{} - yyc3669 = true - } else if len(yyv3669) != 0 { - yyv3669 = yyv3669[:0] - yyc3669 = true + yyv3712 := *v + yyh3712, yyl3712 := z.DecSliceHelperStart() + var yyc3712 bool + if yyl3712 == 0 { + if yyv3712 == nil { + yyv3712 = []Endpoints{} + yyc3712 = true + } else if len(yyv3712) != 0 { + yyv3712 = yyv3712[:0] + yyc3712 = true } - } else if yyl3669 > 0 { - var yyrr3669, yyrl3669 int - var yyrt3669 bool - if yyl3669 > cap(yyv3669) { + } else if yyl3712 > 0 { + var yyrr3712, yyrl3712 int + var yyrt3712 bool + if yyl3712 > cap(yyv3712) { - yyrg3669 := len(yyv3669) > 0 - yyv23669 := yyv3669 - yyrl3669, yyrt3669 = z.DecInferLen(yyl3669, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3669 { - if yyrl3669 <= cap(yyv3669) { - yyv3669 = yyv3669[:yyrl3669] + yyrg3712 := len(yyv3712) > 0 + yyv23712 := yyv3712 + yyrl3712, yyrt3712 = z.DecInferLen(yyl3712, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3712 { + if yyrl3712 <= cap(yyv3712) { + yyv3712 = yyv3712[:yyrl3712] } else { - yyv3669 = make([]Endpoints, yyrl3669) + yyv3712 = make([]Endpoints, yyrl3712) } } else { - yyv3669 = make([]Endpoints, yyrl3669) + yyv3712 = make([]Endpoints, yyrl3712) } - yyc3669 = true - yyrr3669 = len(yyv3669) - if yyrg3669 { - copy(yyv3669, yyv23669) + yyc3712 = true + yyrr3712 = len(yyv3712) + if yyrg3712 { + copy(yyv3712, yyv23712) } - } else if yyl3669 != len(yyv3669) { - yyv3669 = yyv3669[:yyl3669] - yyc3669 = true + } else if yyl3712 != len(yyv3712) { + yyv3712 = yyv3712[:yyl3712] + yyc3712 = true } - yyj3669 := 0 - for ; yyj3669 < yyrr3669; yyj3669++ { - yyh3669.ElemContainerState(yyj3669) + yyj3712 := 0 + for ; yyj3712 < yyrr3712; yyj3712++ { + yyh3712.ElemContainerState(yyj3712) if r.TryDecodeAsNil() { - yyv3669[yyj3669] = Endpoints{} + yyv3712[yyj3712] = Endpoints{} } else { - yyv3670 := &yyv3669[yyj3669] - yyv3670.CodecDecodeSelf(d) + yyv3713 := &yyv3712[yyj3712] + yyv3713.CodecDecodeSelf(d) } } - if yyrt3669 { - for ; yyj3669 < yyl3669; yyj3669++ { - yyv3669 = append(yyv3669, Endpoints{}) - yyh3669.ElemContainerState(yyj3669) + if yyrt3712 { + for ; yyj3712 < yyl3712; yyj3712++ { + yyv3712 = append(yyv3712, Endpoints{}) + yyh3712.ElemContainerState(yyj3712) if r.TryDecodeAsNil() { - yyv3669[yyj3669] = Endpoints{} + yyv3712[yyj3712] = Endpoints{} } else { - yyv3671 := &yyv3669[yyj3669] - yyv3671.CodecDecodeSelf(d) + yyv3714 := &yyv3712[yyj3712] + yyv3714.CodecDecodeSelf(d) } } } } else { - yyj3669 := 0 - for ; !r.CheckBreak(); yyj3669++ { + yyj3712 := 0 + for ; !r.CheckBreak(); yyj3712++ { - if yyj3669 >= len(yyv3669) { - yyv3669 = append(yyv3669, Endpoints{}) // var yyz3669 Endpoints - yyc3669 = true + if yyj3712 >= len(yyv3712) { + yyv3712 = append(yyv3712, Endpoints{}) // var yyz3712 Endpoints + yyc3712 = true } - yyh3669.ElemContainerState(yyj3669) - if yyj3669 < len(yyv3669) { + yyh3712.ElemContainerState(yyj3712) + if yyj3712 < len(yyv3712) { if r.TryDecodeAsNil() { - yyv3669[yyj3669] = Endpoints{} + yyv3712[yyj3712] = Endpoints{} } else { - yyv3672 := &yyv3669[yyj3669] - yyv3672.CodecDecodeSelf(d) + yyv3715 := &yyv3712[yyj3712] + yyv3715.CodecDecodeSelf(d) } } else { @@ -46345,17 +46991,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3669 < len(yyv3669) { - yyv3669 = yyv3669[:yyj3669] - yyc3669 = true - } else if yyj3669 == 0 && yyv3669 == nil { - yyv3669 = []Endpoints{} - yyc3669 = true + if yyj3712 < len(yyv3712) { + yyv3712 = yyv3712[:yyj3712] + yyc3712 = true + } else if yyj3712 == 0 && yyv3712 == nil { + yyv3712 = []Endpoints{} + yyc3712 = true } } - yyh3669.End() - if yyc3669 { - *v = yyv3669 + yyh3712.End() + if yyc3712 { + *v = yyv3712 } } @@ -46364,10 +47010,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3673 := range v { + for _, yyv3716 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3674 := &yyv3673 - yy3674.CodecEncodeSelf(e) + yy3717 := &yyv3716 + yy3717.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46377,83 +47023,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3675 := *v - yyh3675, yyl3675 := z.DecSliceHelperStart() - var yyc3675 bool - if yyl3675 == 0 { - if yyv3675 == nil { - yyv3675 = []NodeCondition{} - yyc3675 = true - } else if len(yyv3675) != 0 { - yyv3675 = yyv3675[:0] - yyc3675 = true + yyv3718 := *v + yyh3718, yyl3718 := z.DecSliceHelperStart() + var yyc3718 bool + if yyl3718 == 0 { + if yyv3718 == nil { + yyv3718 = []NodeCondition{} + yyc3718 = true + } else if len(yyv3718) != 0 { + yyv3718 = yyv3718[:0] + yyc3718 = true } - } else if yyl3675 > 0 { - var yyrr3675, yyrl3675 int - var yyrt3675 bool - if yyl3675 > cap(yyv3675) { + } else if yyl3718 > 0 { + var yyrr3718, yyrl3718 int + var yyrt3718 bool + if yyl3718 > cap(yyv3718) { - yyrg3675 := len(yyv3675) > 0 - yyv23675 := yyv3675 - yyrl3675, yyrt3675 = z.DecInferLen(yyl3675, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3675 { - if yyrl3675 <= cap(yyv3675) { - yyv3675 = yyv3675[:yyrl3675] + yyrg3718 := len(yyv3718) > 0 + yyv23718 := yyv3718 + yyrl3718, yyrt3718 = z.DecInferLen(yyl3718, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3718 { + if yyrl3718 <= cap(yyv3718) { + yyv3718 = yyv3718[:yyrl3718] } else { - yyv3675 = make([]NodeCondition, yyrl3675) + yyv3718 = make([]NodeCondition, yyrl3718) } } else { - yyv3675 = make([]NodeCondition, yyrl3675) + yyv3718 = make([]NodeCondition, yyrl3718) } - yyc3675 = true - yyrr3675 = len(yyv3675) - if yyrg3675 { - copy(yyv3675, yyv23675) + yyc3718 = true + yyrr3718 = len(yyv3718) + if yyrg3718 { + copy(yyv3718, yyv23718) } - } else if yyl3675 != len(yyv3675) { - yyv3675 = yyv3675[:yyl3675] - yyc3675 = true + } else if yyl3718 != len(yyv3718) { + yyv3718 = yyv3718[:yyl3718] + yyc3718 = true } - yyj3675 := 0 - for ; yyj3675 < yyrr3675; yyj3675++ { - yyh3675.ElemContainerState(yyj3675) + yyj3718 := 0 + for ; yyj3718 < yyrr3718; yyj3718++ { + yyh3718.ElemContainerState(yyj3718) if r.TryDecodeAsNil() { - yyv3675[yyj3675] = NodeCondition{} + yyv3718[yyj3718] = NodeCondition{} } else { - yyv3676 := &yyv3675[yyj3675] - yyv3676.CodecDecodeSelf(d) + yyv3719 := &yyv3718[yyj3718] + yyv3719.CodecDecodeSelf(d) } } - if yyrt3675 { - for ; yyj3675 < yyl3675; yyj3675++ { - yyv3675 = append(yyv3675, NodeCondition{}) - yyh3675.ElemContainerState(yyj3675) + if yyrt3718 { + for ; yyj3718 < yyl3718; yyj3718++ { + yyv3718 = append(yyv3718, NodeCondition{}) + yyh3718.ElemContainerState(yyj3718) if r.TryDecodeAsNil() { - yyv3675[yyj3675] = NodeCondition{} + yyv3718[yyj3718] = NodeCondition{} } else { - yyv3677 := &yyv3675[yyj3675] - yyv3677.CodecDecodeSelf(d) + yyv3720 := &yyv3718[yyj3718] + yyv3720.CodecDecodeSelf(d) } } } } else { - yyj3675 := 0 - for ; !r.CheckBreak(); yyj3675++ { + yyj3718 := 0 + for ; !r.CheckBreak(); yyj3718++ { - if yyj3675 >= len(yyv3675) { - yyv3675 = append(yyv3675, NodeCondition{}) // var yyz3675 NodeCondition - yyc3675 = true + if yyj3718 >= len(yyv3718) { + yyv3718 = append(yyv3718, NodeCondition{}) // var yyz3718 NodeCondition + yyc3718 = true } - yyh3675.ElemContainerState(yyj3675) - if yyj3675 < len(yyv3675) { + yyh3718.ElemContainerState(yyj3718) + if yyj3718 < len(yyv3718) { if r.TryDecodeAsNil() { - yyv3675[yyj3675] = NodeCondition{} + yyv3718[yyj3718] = NodeCondition{} } else { - yyv3678 := &yyv3675[yyj3675] - yyv3678.CodecDecodeSelf(d) + yyv3721 := &yyv3718[yyj3718] + yyv3721.CodecDecodeSelf(d) } } else { @@ -46461,17 +47107,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj3675 < len(yyv3675) { - yyv3675 = yyv3675[:yyj3675] - yyc3675 = true - } else if yyj3675 == 0 && yyv3675 == nil { - yyv3675 = []NodeCondition{} - yyc3675 = true + if yyj3718 < len(yyv3718) { + yyv3718 = yyv3718[:yyj3718] + yyc3718 = true + } else if yyj3718 == 0 && yyv3718 == nil { + yyv3718 = []NodeCondition{} + yyc3718 = true } } - yyh3675.End() - if yyc3675 { - *v = yyv3675 + yyh3718.End() + if yyc3718 { + *v = yyv3718 } } @@ -46480,10 +47126,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3679 := range v { + for _, yyv3722 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3680 := &yyv3679 - yy3680.CodecEncodeSelf(e) + yy3723 := &yyv3722 + yy3723.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46493,83 +47139,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3681 := *v - yyh3681, yyl3681 := z.DecSliceHelperStart() - var yyc3681 bool - if yyl3681 == 0 { - if yyv3681 == nil { - yyv3681 = []NodeAddress{} - yyc3681 = true - } else if len(yyv3681) != 0 { - yyv3681 = yyv3681[:0] - yyc3681 = true + yyv3724 := *v + yyh3724, yyl3724 := z.DecSliceHelperStart() + var yyc3724 bool + if yyl3724 == 0 { + if yyv3724 == nil { + yyv3724 = []NodeAddress{} + yyc3724 = true + } else if len(yyv3724) != 0 { + yyv3724 = yyv3724[:0] + yyc3724 = true } - } else if yyl3681 > 0 { - var yyrr3681, yyrl3681 int - var yyrt3681 bool - if yyl3681 > cap(yyv3681) { + } else if yyl3724 > 0 { + var yyrr3724, yyrl3724 int + var yyrt3724 bool + if yyl3724 > cap(yyv3724) { - yyrg3681 := len(yyv3681) > 0 - yyv23681 := yyv3681 - yyrl3681, yyrt3681 = z.DecInferLen(yyl3681, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3681 { - if yyrl3681 <= cap(yyv3681) { - yyv3681 = yyv3681[:yyrl3681] + yyrg3724 := len(yyv3724) > 0 + yyv23724 := yyv3724 + yyrl3724, yyrt3724 = z.DecInferLen(yyl3724, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3724 { + if yyrl3724 <= cap(yyv3724) { + yyv3724 = yyv3724[:yyrl3724] } else { - yyv3681 = make([]NodeAddress, yyrl3681) + yyv3724 = make([]NodeAddress, yyrl3724) } } else { - yyv3681 = make([]NodeAddress, yyrl3681) + yyv3724 = make([]NodeAddress, yyrl3724) } - yyc3681 = true - yyrr3681 = len(yyv3681) - if yyrg3681 { - copy(yyv3681, yyv23681) + yyc3724 = true + yyrr3724 = len(yyv3724) + if yyrg3724 { + copy(yyv3724, yyv23724) } - } else if yyl3681 != len(yyv3681) { - yyv3681 = yyv3681[:yyl3681] - yyc3681 = true + } else if yyl3724 != len(yyv3724) { + yyv3724 = yyv3724[:yyl3724] + yyc3724 = true } - yyj3681 := 0 - for ; yyj3681 < yyrr3681; yyj3681++ { - yyh3681.ElemContainerState(yyj3681) + yyj3724 := 0 + for ; yyj3724 < yyrr3724; yyj3724++ { + yyh3724.ElemContainerState(yyj3724) if r.TryDecodeAsNil() { - yyv3681[yyj3681] = NodeAddress{} + yyv3724[yyj3724] = NodeAddress{} } else { - yyv3682 := &yyv3681[yyj3681] - yyv3682.CodecDecodeSelf(d) + yyv3725 := &yyv3724[yyj3724] + yyv3725.CodecDecodeSelf(d) } } - if yyrt3681 { - for ; yyj3681 < yyl3681; yyj3681++ { - yyv3681 = append(yyv3681, NodeAddress{}) - yyh3681.ElemContainerState(yyj3681) + if yyrt3724 { + for ; yyj3724 < yyl3724; yyj3724++ { + yyv3724 = append(yyv3724, NodeAddress{}) + yyh3724.ElemContainerState(yyj3724) if r.TryDecodeAsNil() { - yyv3681[yyj3681] = NodeAddress{} + yyv3724[yyj3724] = NodeAddress{} } else { - yyv3683 := &yyv3681[yyj3681] - yyv3683.CodecDecodeSelf(d) + yyv3726 := &yyv3724[yyj3724] + yyv3726.CodecDecodeSelf(d) } } } } else { - yyj3681 := 0 - for ; !r.CheckBreak(); yyj3681++ { + yyj3724 := 0 + for ; !r.CheckBreak(); yyj3724++ { - if yyj3681 >= len(yyv3681) { - yyv3681 = append(yyv3681, NodeAddress{}) // var yyz3681 NodeAddress - yyc3681 = true + if yyj3724 >= len(yyv3724) { + yyv3724 = append(yyv3724, NodeAddress{}) // var yyz3724 NodeAddress + yyc3724 = true } - yyh3681.ElemContainerState(yyj3681) - if yyj3681 < len(yyv3681) { + yyh3724.ElemContainerState(yyj3724) + if yyj3724 < len(yyv3724) { if r.TryDecodeAsNil() { - yyv3681[yyj3681] = NodeAddress{} + yyv3724[yyj3724] = NodeAddress{} } else { - yyv3684 := &yyv3681[yyj3681] - yyv3684.CodecDecodeSelf(d) + yyv3727 := &yyv3724[yyj3724] + yyv3727.CodecDecodeSelf(d) } } else { @@ -46577,17 +47223,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj3681 < len(yyv3681) { - yyv3681 = yyv3681[:yyj3681] - yyc3681 = true - } else if yyj3681 == 0 && yyv3681 == nil { - yyv3681 = []NodeAddress{} - yyc3681 = true + if yyj3724 < len(yyv3724) { + yyv3724 = yyv3724[:yyj3724] + yyc3724 = true + } else if yyj3724 == 0 && yyv3724 == nil { + yyv3724 = []NodeAddress{} + yyc3724 = true } } - yyh3681.End() - if yyc3681 { - *v = yyv3681 + yyh3724.End() + if yyc3724 { + *v = yyv3724 } } @@ -46596,19 +47242,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3685, yyv3685 := range v { + for yyk3728, yyv3728 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3685.CodecEncodeSelf(e) + yyk3728.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3686 := &yyv3685 - yym3687 := z.EncBinary() - _ = yym3687 + yy3729 := &yyv3728 + yym3730 := z.EncBinary() + _ = yym3730 if false { - } else if z.HasExtensions() && z.EncExt(yy3686) { - } else if !yym3687 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3686) + } else if z.HasExtensions() && z.EncExt(yy3729) { + } else if !yym3730 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3729) } else { - z.EncFallback(yy3686) + z.EncFallback(yy3729) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46619,86 +47265,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3688 := *v - yyl3688 := r.ReadMapStart() - yybh3688 := z.DecBasicHandle() - if yyv3688 == nil { - yyrl3688, _ := z.DecInferLen(yyl3688, yybh3688.MaxInitLen, 40) - yyv3688 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3688) - *v = yyv3688 + yyv3731 := *v + yyl3731 := r.ReadMapStart() + yybh3731 := z.DecBasicHandle() + if yyv3731 == nil { + yyrl3731, _ := z.DecInferLen(yyl3731, yybh3731.MaxInitLen, 40) + yyv3731 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3731) + *v = yyv3731 } - var yymk3688 ResourceName - var yymv3688 pkg3_resource.Quantity - var yymg3688 bool - if yybh3688.MapValueReset { - yymg3688 = true + var yymk3731 ResourceName + var yymv3731 pkg3_resource.Quantity + var yymg3731 bool + if yybh3731.MapValueReset { + yymg3731 = true } - if yyl3688 > 0 { - for yyj3688 := 0; yyj3688 < yyl3688; yyj3688++ { + if yyl3731 > 0 { + for yyj3731 := 0; yyj3731 < yyl3731; yyj3731++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3688 = "" + yymk3731 = "" } else { - yymk3688 = ResourceName(r.DecodeString()) + yymk3731 = ResourceName(r.DecodeString()) } - if yymg3688 { - yymv3688 = yyv3688[yymk3688] + if yymg3731 { + yymv3731 = yyv3731[yymk3731] } else { - yymv3688 = pkg3_resource.Quantity{} + yymv3731 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3688 = pkg3_resource.Quantity{} + yymv3731 = pkg3_resource.Quantity{} } else { - yyv3690 := &yymv3688 - yym3691 := z.DecBinary() - _ = yym3691 + yyv3733 := &yymv3731 + yym3734 := z.DecBinary() + _ = yym3734 if false { - } else if z.HasExtensions() && z.DecExt(yyv3690) { - } else if !yym3691 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3690) + } else if z.HasExtensions() && z.DecExt(yyv3733) { + } else if !yym3734 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3733) } else { - z.DecFallback(yyv3690, false) + z.DecFallback(yyv3733, false) } } - if yyv3688 != nil { - yyv3688[yymk3688] = yymv3688 + if yyv3731 != nil { + yyv3731[yymk3731] = yymv3731 } } - } else if yyl3688 < 0 { - for yyj3688 := 0; !r.CheckBreak(); yyj3688++ { + } else if yyl3731 < 0 { + for yyj3731 := 0; !r.CheckBreak(); yyj3731++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3688 = "" + yymk3731 = "" } else { - yymk3688 = ResourceName(r.DecodeString()) + yymk3731 = ResourceName(r.DecodeString()) } - if yymg3688 { - yymv3688 = yyv3688[yymk3688] + if yymg3731 { + yymv3731 = yyv3731[yymk3731] } else { - yymv3688 = pkg3_resource.Quantity{} + yymv3731 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3688 = pkg3_resource.Quantity{} + yymv3731 = pkg3_resource.Quantity{} } else { - yyv3693 := &yymv3688 - yym3694 := z.DecBinary() - _ = yym3694 + yyv3736 := &yymv3731 + yym3737 := z.DecBinary() + _ = yym3737 if false { - } else if z.HasExtensions() && z.DecExt(yyv3693) { - } else if !yym3694 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3693) + } else if z.HasExtensions() && z.DecExt(yyv3736) { + } else if !yym3737 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3736) } else { - z.DecFallback(yyv3693, false) + z.DecFallback(yyv3736, false) } } - if yyv3688 != nil { - yyv3688[yymk3688] = yymv3688 + if yyv3731 != nil { + yyv3731[yymk3731] = yymv3731 } } } // else len==0: TODO: Should we clear map entries? @@ -46710,10 +47356,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3695 := range v { + for _, yyv3738 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3696 := &yyv3695 - yy3696.CodecEncodeSelf(e) + yy3739 := &yyv3738 + yy3739.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46723,83 +47369,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3697 := *v - yyh3697, yyl3697 := z.DecSliceHelperStart() - var yyc3697 bool - if yyl3697 == 0 { - if yyv3697 == nil { - yyv3697 = []Node{} - yyc3697 = true - } else if len(yyv3697) != 0 { - yyv3697 = yyv3697[:0] - yyc3697 = true + yyv3740 := *v + yyh3740, yyl3740 := z.DecSliceHelperStart() + var yyc3740 bool + if yyl3740 == 0 { + if yyv3740 == nil { + yyv3740 = []Node{} + yyc3740 = true + } else if len(yyv3740) != 0 { + yyv3740 = yyv3740[:0] + yyc3740 = true } - } else if yyl3697 > 0 { - var yyrr3697, yyrl3697 int - var yyrt3697 bool - if yyl3697 > cap(yyv3697) { + } else if yyl3740 > 0 { + var yyrr3740, yyrl3740 int + var yyrt3740 bool + if yyl3740 > cap(yyv3740) { - yyrg3697 := len(yyv3697) > 0 - yyv23697 := yyv3697 - yyrl3697, yyrt3697 = z.DecInferLen(yyl3697, z.DecBasicHandle().MaxInitLen, 464) - if yyrt3697 { - if yyrl3697 <= cap(yyv3697) { - yyv3697 = yyv3697[:yyrl3697] + yyrg3740 := len(yyv3740) > 0 + yyv23740 := yyv3740 + yyrl3740, yyrt3740 = z.DecInferLen(yyl3740, z.DecBasicHandle().MaxInitLen, 464) + if yyrt3740 { + if yyrl3740 <= cap(yyv3740) { + yyv3740 = yyv3740[:yyrl3740] } else { - yyv3697 = make([]Node, yyrl3697) + yyv3740 = make([]Node, yyrl3740) } } else { - yyv3697 = make([]Node, yyrl3697) + yyv3740 = make([]Node, yyrl3740) } - yyc3697 = true - yyrr3697 = len(yyv3697) - if yyrg3697 { - copy(yyv3697, yyv23697) + yyc3740 = true + yyrr3740 = len(yyv3740) + if yyrg3740 { + copy(yyv3740, yyv23740) } - } else if yyl3697 != len(yyv3697) { - yyv3697 = yyv3697[:yyl3697] - yyc3697 = true + } else if yyl3740 != len(yyv3740) { + yyv3740 = yyv3740[:yyl3740] + yyc3740 = true } - yyj3697 := 0 - for ; yyj3697 < yyrr3697; yyj3697++ { - yyh3697.ElemContainerState(yyj3697) + yyj3740 := 0 + for ; yyj3740 < yyrr3740; yyj3740++ { + yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3697[yyj3697] = Node{} + yyv3740[yyj3740] = Node{} } else { - yyv3698 := &yyv3697[yyj3697] - yyv3698.CodecDecodeSelf(d) + yyv3741 := &yyv3740[yyj3740] + yyv3741.CodecDecodeSelf(d) } } - if yyrt3697 { - for ; yyj3697 < yyl3697; yyj3697++ { - yyv3697 = append(yyv3697, Node{}) - yyh3697.ElemContainerState(yyj3697) + if yyrt3740 { + for ; yyj3740 < yyl3740; yyj3740++ { + yyv3740 = append(yyv3740, Node{}) + yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3697[yyj3697] = Node{} + yyv3740[yyj3740] = Node{} } else { - yyv3699 := &yyv3697[yyj3697] - yyv3699.CodecDecodeSelf(d) + yyv3742 := &yyv3740[yyj3740] + yyv3742.CodecDecodeSelf(d) } } } } else { - yyj3697 := 0 - for ; !r.CheckBreak(); yyj3697++ { + yyj3740 := 0 + for ; !r.CheckBreak(); yyj3740++ { - if yyj3697 >= len(yyv3697) { - yyv3697 = append(yyv3697, Node{}) // var yyz3697 Node - yyc3697 = true + if yyj3740 >= len(yyv3740) { + yyv3740 = append(yyv3740, Node{}) // var yyz3740 Node + yyc3740 = true } - yyh3697.ElemContainerState(yyj3697) - if yyj3697 < len(yyv3697) { + yyh3740.ElemContainerState(yyj3740) + if yyj3740 < len(yyv3740) { if r.TryDecodeAsNil() { - yyv3697[yyj3697] = Node{} + yyv3740[yyj3740] = Node{} } else { - yyv3700 := &yyv3697[yyj3697] - yyv3700.CodecDecodeSelf(d) + yyv3743 := &yyv3740[yyj3740] + yyv3743.CodecDecodeSelf(d) } } else { @@ -46807,17 +47453,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3697 < len(yyv3697) { - yyv3697 = yyv3697[:yyj3697] - yyc3697 = true - } else if yyj3697 == 0 && yyv3697 == nil { - yyv3697 = []Node{} - yyc3697 = true + if yyj3740 < len(yyv3740) { + yyv3740 = yyv3740[:yyj3740] + yyc3740 = true + } else if yyj3740 == 0 && yyv3740 == nil { + yyv3740 = []Node{} + yyc3740 = true } } - yyh3697.End() - if yyc3697 { - *v = yyv3697 + yyh3740.End() + if yyc3740 { + *v = yyv3740 } } @@ -46826,9 +47472,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3701 := range v { + for _, yyv3744 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3701.CodecEncodeSelf(e) + yyv3744.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46838,75 +47484,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3702 := *v - yyh3702, yyl3702 := z.DecSliceHelperStart() - var yyc3702 bool - if yyl3702 == 0 { - if yyv3702 == nil { - yyv3702 = []FinalizerName{} - yyc3702 = true - } else if len(yyv3702) != 0 { - yyv3702 = yyv3702[:0] - yyc3702 = true + yyv3745 := *v + yyh3745, yyl3745 := z.DecSliceHelperStart() + var yyc3745 bool + if yyl3745 == 0 { + if yyv3745 == nil { + yyv3745 = []FinalizerName{} + yyc3745 = true + } else if len(yyv3745) != 0 { + yyv3745 = yyv3745[:0] + yyc3745 = true } - } else if yyl3702 > 0 { - var yyrr3702, yyrl3702 int - var yyrt3702 bool - if yyl3702 > cap(yyv3702) { + } else if yyl3745 > 0 { + var yyrr3745, yyrl3745 int + var yyrt3745 bool + if yyl3745 > cap(yyv3745) { - yyrl3702, yyrt3702 = z.DecInferLen(yyl3702, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3702 { - if yyrl3702 <= cap(yyv3702) { - yyv3702 = yyv3702[:yyrl3702] + yyrl3745, yyrt3745 = z.DecInferLen(yyl3745, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3745 { + if yyrl3745 <= cap(yyv3745) { + yyv3745 = yyv3745[:yyrl3745] } else { - yyv3702 = make([]FinalizerName, yyrl3702) + yyv3745 = make([]FinalizerName, yyrl3745) } } else { - yyv3702 = make([]FinalizerName, yyrl3702) + yyv3745 = make([]FinalizerName, yyrl3745) } - yyc3702 = true - yyrr3702 = len(yyv3702) - } else if yyl3702 != len(yyv3702) { - yyv3702 = yyv3702[:yyl3702] - yyc3702 = true + yyc3745 = true + yyrr3745 = len(yyv3745) + } else if yyl3745 != len(yyv3745) { + yyv3745 = yyv3745[:yyl3745] + yyc3745 = true } - yyj3702 := 0 - for ; yyj3702 < yyrr3702; yyj3702++ { - yyh3702.ElemContainerState(yyj3702) + yyj3745 := 0 + for ; yyj3745 < yyrr3745; yyj3745++ { + yyh3745.ElemContainerState(yyj3745) if r.TryDecodeAsNil() { - yyv3702[yyj3702] = "" + yyv3745[yyj3745] = "" } else { - yyv3702[yyj3702] = FinalizerName(r.DecodeString()) + yyv3745[yyj3745] = FinalizerName(r.DecodeString()) } } - if yyrt3702 { - for ; yyj3702 < yyl3702; yyj3702++ { - yyv3702 = append(yyv3702, "") - yyh3702.ElemContainerState(yyj3702) + if yyrt3745 { + for ; yyj3745 < yyl3745; yyj3745++ { + yyv3745 = append(yyv3745, "") + yyh3745.ElemContainerState(yyj3745) if r.TryDecodeAsNil() { - yyv3702[yyj3702] = "" + yyv3745[yyj3745] = "" } else { - yyv3702[yyj3702] = FinalizerName(r.DecodeString()) + yyv3745[yyj3745] = FinalizerName(r.DecodeString()) } } } } else { - yyj3702 := 0 - for ; !r.CheckBreak(); yyj3702++ { + yyj3745 := 0 + for ; !r.CheckBreak(); yyj3745++ { - if yyj3702 >= len(yyv3702) { - yyv3702 = append(yyv3702, "") // var yyz3702 FinalizerName - yyc3702 = true + if yyj3745 >= len(yyv3745) { + yyv3745 = append(yyv3745, "") // var yyz3745 FinalizerName + yyc3745 = true } - yyh3702.ElemContainerState(yyj3702) - if yyj3702 < len(yyv3702) { + yyh3745.ElemContainerState(yyj3745) + if yyj3745 < len(yyv3745) { if r.TryDecodeAsNil() { - yyv3702[yyj3702] = "" + yyv3745[yyj3745] = "" } else { - yyv3702[yyj3702] = FinalizerName(r.DecodeString()) + yyv3745[yyj3745] = FinalizerName(r.DecodeString()) } } else { @@ -46914,17 +47560,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3702 < len(yyv3702) { - yyv3702 = yyv3702[:yyj3702] - yyc3702 = true - } else if yyj3702 == 0 && yyv3702 == nil { - yyv3702 = []FinalizerName{} - yyc3702 = true + if yyj3745 < len(yyv3745) { + yyv3745 = yyv3745[:yyj3745] + yyc3745 = true + } else if yyj3745 == 0 && yyv3745 == nil { + yyv3745 = []FinalizerName{} + yyc3745 = true } } - yyh3702.End() - if yyc3702 { - *v = yyv3702 + yyh3745.End() + if yyc3745 { + *v = yyv3745 } } @@ -46933,10 +47579,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3706 := range v { + for _, yyv3749 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3707 := &yyv3706 - yy3707.CodecEncodeSelf(e) + yy3750 := &yyv3749 + yy3750.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46946,83 +47592,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3708 := *v - yyh3708, yyl3708 := z.DecSliceHelperStart() - var yyc3708 bool - if yyl3708 == 0 { - if yyv3708 == nil { - yyv3708 = []Namespace{} - yyc3708 = true - } else if len(yyv3708) != 0 { - yyv3708 = yyv3708[:0] - yyc3708 = true + yyv3751 := *v + yyh3751, yyl3751 := z.DecSliceHelperStart() + var yyc3751 bool + if yyl3751 == 0 { + if yyv3751 == nil { + yyv3751 = []Namespace{} + yyc3751 = true + } else if len(yyv3751) != 0 { + yyv3751 = yyv3751[:0] + yyc3751 = true } - } else if yyl3708 > 0 { - var yyrr3708, yyrl3708 int - var yyrt3708 bool - if yyl3708 > cap(yyv3708) { + } else if yyl3751 > 0 { + var yyrr3751, yyrl3751 int + var yyrt3751 bool + if yyl3751 > cap(yyv3751) { - yyrg3708 := len(yyv3708) > 0 - yyv23708 := yyv3708 - yyrl3708, yyrt3708 = z.DecInferLen(yyl3708, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3708 { - if yyrl3708 <= cap(yyv3708) { - yyv3708 = yyv3708[:yyrl3708] + yyrg3751 := len(yyv3751) > 0 + yyv23751 := yyv3751 + yyrl3751, yyrt3751 = z.DecInferLen(yyl3751, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3751 { + if yyrl3751 <= cap(yyv3751) { + yyv3751 = yyv3751[:yyrl3751] } else { - yyv3708 = make([]Namespace, yyrl3708) + yyv3751 = make([]Namespace, yyrl3751) } } else { - yyv3708 = make([]Namespace, yyrl3708) + yyv3751 = make([]Namespace, yyrl3751) } - yyc3708 = true - yyrr3708 = len(yyv3708) - if yyrg3708 { - copy(yyv3708, yyv23708) + yyc3751 = true + yyrr3751 = len(yyv3751) + if yyrg3751 { + copy(yyv3751, yyv23751) } - } else if yyl3708 != len(yyv3708) { - yyv3708 = yyv3708[:yyl3708] - yyc3708 = true + } else if yyl3751 != len(yyv3751) { + yyv3751 = yyv3751[:yyl3751] + yyc3751 = true } - yyj3708 := 0 - for ; yyj3708 < yyrr3708; yyj3708++ { - yyh3708.ElemContainerState(yyj3708) + yyj3751 := 0 + for ; yyj3751 < yyrr3751; yyj3751++ { + yyh3751.ElemContainerState(yyj3751) if r.TryDecodeAsNil() { - yyv3708[yyj3708] = Namespace{} + yyv3751[yyj3751] = Namespace{} } else { - yyv3709 := &yyv3708[yyj3708] - yyv3709.CodecDecodeSelf(d) + yyv3752 := &yyv3751[yyj3751] + yyv3752.CodecDecodeSelf(d) } } - if yyrt3708 { - for ; yyj3708 < yyl3708; yyj3708++ { - yyv3708 = append(yyv3708, Namespace{}) - yyh3708.ElemContainerState(yyj3708) + if yyrt3751 { + for ; yyj3751 < yyl3751; yyj3751++ { + yyv3751 = append(yyv3751, Namespace{}) + yyh3751.ElemContainerState(yyj3751) if r.TryDecodeAsNil() { - yyv3708[yyj3708] = Namespace{} + yyv3751[yyj3751] = Namespace{} } else { - yyv3710 := &yyv3708[yyj3708] - yyv3710.CodecDecodeSelf(d) + yyv3753 := &yyv3751[yyj3751] + yyv3753.CodecDecodeSelf(d) } } } } else { - yyj3708 := 0 - for ; !r.CheckBreak(); yyj3708++ { + yyj3751 := 0 + for ; !r.CheckBreak(); yyj3751++ { - if yyj3708 >= len(yyv3708) { - yyv3708 = append(yyv3708, Namespace{}) // var yyz3708 Namespace - yyc3708 = true + if yyj3751 >= len(yyv3751) { + yyv3751 = append(yyv3751, Namespace{}) // var yyz3751 Namespace + yyc3751 = true } - yyh3708.ElemContainerState(yyj3708) - if yyj3708 < len(yyv3708) { + yyh3751.ElemContainerState(yyj3751) + if yyj3751 < len(yyv3751) { if r.TryDecodeAsNil() { - yyv3708[yyj3708] = Namespace{} + yyv3751[yyj3751] = Namespace{} } else { - yyv3711 := &yyv3708[yyj3708] - yyv3711.CodecDecodeSelf(d) + yyv3754 := &yyv3751[yyj3751] + yyv3754.CodecDecodeSelf(d) } } else { @@ -47030,741 +47676,21 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3708 < len(yyv3708) { - yyv3708 = yyv3708[:yyj3708] - yyc3708 = true - } else if yyj3708 == 0 && yyv3708 == nil { - yyv3708 = []Namespace{} - yyc3708 = true + if yyj3751 < len(yyv3751) { + yyv3751 = yyv3751[:yyj3751] + yyc3751 = true + } else if yyj3751 == 0 && yyv3751 == nil { + yyv3751 = []Namespace{} + yyc3751 = true } } - yyh3708.End() - if yyc3708 { - *v = yyv3708 + yyh3751.End() + if yyc3751 { + *v = yyv3751 } } 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 _, yyv3712 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3713 := &yyv3712 - yy3713.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 - - yyv3714 := *v - yyh3714, yyl3714 := z.DecSliceHelperStart() - var yyc3714 bool - if yyl3714 == 0 { - if yyv3714 == nil { - yyv3714 = []Event{} - yyc3714 = true - } else if len(yyv3714) != 0 { - yyv3714 = yyv3714[:0] - yyc3714 = true - } - } else if yyl3714 > 0 { - var yyrr3714, yyrl3714 int - var yyrt3714 bool - if yyl3714 > cap(yyv3714) { - - yyrg3714 := len(yyv3714) > 0 - yyv23714 := yyv3714 - yyrl3714, yyrt3714 = z.DecInferLen(yyl3714, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3714 { - if yyrl3714 <= cap(yyv3714) { - yyv3714 = yyv3714[:yyrl3714] - } else { - yyv3714 = make([]Event, yyrl3714) - } - } else { - yyv3714 = make([]Event, yyrl3714) - } - yyc3714 = true - yyrr3714 = len(yyv3714) - if yyrg3714 { - copy(yyv3714, yyv23714) - } - } else if yyl3714 != len(yyv3714) { - yyv3714 = yyv3714[:yyl3714] - yyc3714 = true - } - yyj3714 := 0 - for ; yyj3714 < yyrr3714; yyj3714++ { - yyh3714.ElemContainerState(yyj3714) - if r.TryDecodeAsNil() { - yyv3714[yyj3714] = Event{} - } else { - yyv3715 := &yyv3714[yyj3714] - yyv3715.CodecDecodeSelf(d) - } - - } - if yyrt3714 { - for ; yyj3714 < yyl3714; yyj3714++ { - yyv3714 = append(yyv3714, Event{}) - yyh3714.ElemContainerState(yyj3714) - if r.TryDecodeAsNil() { - yyv3714[yyj3714] = Event{} - } else { - yyv3716 := &yyv3714[yyj3714] - yyv3716.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3714 := 0 - for ; !r.CheckBreak(); yyj3714++ { - - if yyj3714 >= len(yyv3714) { - yyv3714 = append(yyv3714, Event{}) // var yyz3714 Event - yyc3714 = true - } - yyh3714.ElemContainerState(yyj3714) - if yyj3714 < len(yyv3714) { - if r.TryDecodeAsNil() { - yyv3714[yyj3714] = Event{} - } else { - yyv3717 := &yyv3714[yyj3714] - yyv3717.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3714 < len(yyv3714) { - yyv3714 = yyv3714[:yyj3714] - yyc3714 = true - } else if yyj3714 == 0 && yyv3714 == nil { - yyv3714 = []Event{} - yyc3714 = true - } - } - yyh3714.End() - if yyc3714 { - *v = yyv3714 - } -} - -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 _, yyv3718 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv3718 == nil { - r.EncodeNil() - } else { - yym3719 := z.EncBinary() - _ = yym3719 - if false { - } else if z.HasExtensions() && z.EncExt(yyv3718) { - } else { - z.EncFallback(yyv3718) - } - } - } - 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 - - yyv3720 := *v - yyh3720, yyl3720 := z.DecSliceHelperStart() - var yyc3720 bool - if yyl3720 == 0 { - if yyv3720 == nil { - yyv3720 = []pkg8_runtime.Object{} - yyc3720 = true - } else if len(yyv3720) != 0 { - yyv3720 = yyv3720[:0] - yyc3720 = true - } - } else if yyl3720 > 0 { - var yyrr3720, yyrl3720 int - var yyrt3720 bool - if yyl3720 > cap(yyv3720) { - - yyrg3720 := len(yyv3720) > 0 - yyv23720 := yyv3720 - yyrl3720, yyrt3720 = z.DecInferLen(yyl3720, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3720 { - if yyrl3720 <= cap(yyv3720) { - yyv3720 = yyv3720[:yyrl3720] - } else { - yyv3720 = make([]pkg8_runtime.Object, yyrl3720) - } - } else { - yyv3720 = make([]pkg8_runtime.Object, yyrl3720) - } - yyc3720 = true - yyrr3720 = len(yyv3720) - if yyrg3720 { - copy(yyv3720, yyv23720) - } - } else if yyl3720 != len(yyv3720) { - yyv3720 = yyv3720[:yyl3720] - yyc3720 = true - } - yyj3720 := 0 - for ; yyj3720 < yyrr3720; yyj3720++ { - yyh3720.ElemContainerState(yyj3720) - if r.TryDecodeAsNil() { - yyv3720[yyj3720] = nil - } else { - yyv3721 := &yyv3720[yyj3720] - yym3722 := z.DecBinary() - _ = yym3722 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3721) { - } else { - z.DecFallback(yyv3721, true) - } - } - - } - if yyrt3720 { - for ; yyj3720 < yyl3720; yyj3720++ { - yyv3720 = append(yyv3720, nil) - yyh3720.ElemContainerState(yyj3720) - if r.TryDecodeAsNil() { - yyv3720[yyj3720] = nil - } else { - yyv3723 := &yyv3720[yyj3720] - yym3724 := z.DecBinary() - _ = yym3724 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3723) { - } else { - z.DecFallback(yyv3723, true) - } - } - - } - } - - } else { - yyj3720 := 0 - for ; !r.CheckBreak(); yyj3720++ { - - if yyj3720 >= len(yyv3720) { - yyv3720 = append(yyv3720, nil) // var yyz3720 pkg8_runtime.Object - yyc3720 = true - } - yyh3720.ElemContainerState(yyj3720) - if yyj3720 < len(yyv3720) { - if r.TryDecodeAsNil() { - yyv3720[yyj3720] = nil - } else { - yyv3725 := &yyv3720[yyj3720] - yym3726 := z.DecBinary() - _ = yym3726 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3725) { - } else { - z.DecFallback(yyv3725, true) - } - } - - } else { - z.DecSwallow() - } - - } - if yyj3720 < len(yyv3720) { - yyv3720 = yyv3720[:yyj3720] - yyc3720 = true - } else if yyj3720 == 0 && yyv3720 == nil { - yyv3720 = []pkg8_runtime.Object{} - yyc3720 = true - } - } - yyh3720.End() - if yyc3720 { - *v = yyv3720 - } -} - -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 _, yyv3727 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3728 := &yyv3727 - yy3728.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 - - yyv3729 := *v - yyh3729, yyl3729 := z.DecSliceHelperStart() - var yyc3729 bool - if yyl3729 == 0 { - if yyv3729 == nil { - yyv3729 = []LimitRangeItem{} - yyc3729 = true - } else if len(yyv3729) != 0 { - yyv3729 = yyv3729[:0] - yyc3729 = true - } - } else if yyl3729 > 0 { - var yyrr3729, yyrl3729 int - var yyrt3729 bool - if yyl3729 > cap(yyv3729) { - - yyrg3729 := len(yyv3729) > 0 - yyv23729 := yyv3729 - yyrl3729, yyrt3729 = z.DecInferLen(yyl3729, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3729 { - if yyrl3729 <= cap(yyv3729) { - yyv3729 = yyv3729[:yyrl3729] - } else { - yyv3729 = make([]LimitRangeItem, yyrl3729) - } - } else { - yyv3729 = make([]LimitRangeItem, yyrl3729) - } - yyc3729 = true - yyrr3729 = len(yyv3729) - if yyrg3729 { - copy(yyv3729, yyv23729) - } - } else if yyl3729 != len(yyv3729) { - yyv3729 = yyv3729[:yyl3729] - yyc3729 = true - } - yyj3729 := 0 - for ; yyj3729 < yyrr3729; yyj3729++ { - yyh3729.ElemContainerState(yyj3729) - if r.TryDecodeAsNil() { - yyv3729[yyj3729] = LimitRangeItem{} - } else { - yyv3730 := &yyv3729[yyj3729] - yyv3730.CodecDecodeSelf(d) - } - - } - if yyrt3729 { - for ; yyj3729 < yyl3729; yyj3729++ { - yyv3729 = append(yyv3729, LimitRangeItem{}) - yyh3729.ElemContainerState(yyj3729) - if r.TryDecodeAsNil() { - yyv3729[yyj3729] = LimitRangeItem{} - } else { - yyv3731 := &yyv3729[yyj3729] - yyv3731.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3729 := 0 - for ; !r.CheckBreak(); yyj3729++ { - - if yyj3729 >= len(yyv3729) { - yyv3729 = append(yyv3729, LimitRangeItem{}) // var yyz3729 LimitRangeItem - yyc3729 = true - } - yyh3729.ElemContainerState(yyj3729) - if yyj3729 < len(yyv3729) { - if r.TryDecodeAsNil() { - yyv3729[yyj3729] = LimitRangeItem{} - } else { - yyv3732 := &yyv3729[yyj3729] - yyv3732.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3729 < len(yyv3729) { - yyv3729 = yyv3729[:yyj3729] - yyc3729 = true - } else if yyj3729 == 0 && yyv3729 == nil { - yyv3729 = []LimitRangeItem{} - yyc3729 = true - } - } - yyh3729.End() - if yyc3729 { - *v = yyv3729 - } -} - -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 _, yyv3733 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3734 := &yyv3733 - yy3734.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 - - yyv3735 := *v - yyh3735, yyl3735 := z.DecSliceHelperStart() - var yyc3735 bool - if yyl3735 == 0 { - if yyv3735 == nil { - yyv3735 = []LimitRange{} - yyc3735 = true - } else if len(yyv3735) != 0 { - yyv3735 = yyv3735[:0] - yyc3735 = true - } - } else if yyl3735 > 0 { - var yyrr3735, yyrl3735 int - var yyrt3735 bool - if yyl3735 > cap(yyv3735) { - - yyrg3735 := len(yyv3735) > 0 - yyv23735 := yyv3735 - yyrl3735, yyrt3735 = z.DecInferLen(yyl3735, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3735 { - if yyrl3735 <= cap(yyv3735) { - yyv3735 = yyv3735[:yyrl3735] - } else { - yyv3735 = make([]LimitRange, yyrl3735) - } - } else { - yyv3735 = make([]LimitRange, yyrl3735) - } - yyc3735 = true - yyrr3735 = len(yyv3735) - if yyrg3735 { - copy(yyv3735, yyv23735) - } - } else if yyl3735 != len(yyv3735) { - yyv3735 = yyv3735[:yyl3735] - yyc3735 = true - } - yyj3735 := 0 - for ; yyj3735 < yyrr3735; yyj3735++ { - yyh3735.ElemContainerState(yyj3735) - if r.TryDecodeAsNil() { - yyv3735[yyj3735] = LimitRange{} - } else { - yyv3736 := &yyv3735[yyj3735] - yyv3736.CodecDecodeSelf(d) - } - - } - if yyrt3735 { - for ; yyj3735 < yyl3735; yyj3735++ { - yyv3735 = append(yyv3735, LimitRange{}) - yyh3735.ElemContainerState(yyj3735) - if r.TryDecodeAsNil() { - yyv3735[yyj3735] = LimitRange{} - } else { - yyv3737 := &yyv3735[yyj3735] - yyv3737.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3735 := 0 - for ; !r.CheckBreak(); yyj3735++ { - - if yyj3735 >= len(yyv3735) { - yyv3735 = append(yyv3735, LimitRange{}) // var yyz3735 LimitRange - yyc3735 = true - } - yyh3735.ElemContainerState(yyj3735) - if yyj3735 < len(yyv3735) { - if r.TryDecodeAsNil() { - yyv3735[yyj3735] = LimitRange{} - } else { - yyv3738 := &yyv3735[yyj3735] - yyv3738.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3735 < len(yyv3735) { - yyv3735 = yyv3735[:yyj3735] - yyc3735 = true - } else if yyj3735 == 0 && yyv3735 == nil { - yyv3735 = []LimitRange{} - yyc3735 = true - } - } - yyh3735.End() - if yyc3735 { - *v = yyv3735 - } -} - -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 _, yyv3739 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3740 := &yyv3739 - yy3740.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 - - yyv3741 := *v - yyh3741, yyl3741 := z.DecSliceHelperStart() - var yyc3741 bool - if yyl3741 == 0 { - if yyv3741 == nil { - yyv3741 = []ResourceQuota{} - yyc3741 = true - } else if len(yyv3741) != 0 { - yyv3741 = yyv3741[:0] - yyc3741 = true - } - } else if yyl3741 > 0 { - var yyrr3741, yyrl3741 int - var yyrt3741 bool - if yyl3741 > cap(yyv3741) { - - yyrg3741 := len(yyv3741) > 0 - yyv23741 := yyv3741 - yyrl3741, yyrt3741 = z.DecInferLen(yyl3741, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3741 { - if yyrl3741 <= cap(yyv3741) { - yyv3741 = yyv3741[:yyrl3741] - } else { - yyv3741 = make([]ResourceQuota, yyrl3741) - } - } else { - yyv3741 = make([]ResourceQuota, yyrl3741) - } - yyc3741 = true - yyrr3741 = len(yyv3741) - if yyrg3741 { - copy(yyv3741, yyv23741) - } - } else if yyl3741 != len(yyv3741) { - yyv3741 = yyv3741[:yyl3741] - yyc3741 = true - } - yyj3741 := 0 - for ; yyj3741 < yyrr3741; yyj3741++ { - yyh3741.ElemContainerState(yyj3741) - if r.TryDecodeAsNil() { - yyv3741[yyj3741] = ResourceQuota{} - } else { - yyv3742 := &yyv3741[yyj3741] - yyv3742.CodecDecodeSelf(d) - } - - } - if yyrt3741 { - for ; yyj3741 < yyl3741; yyj3741++ { - yyv3741 = append(yyv3741, ResourceQuota{}) - yyh3741.ElemContainerState(yyj3741) - if r.TryDecodeAsNil() { - yyv3741[yyj3741] = ResourceQuota{} - } else { - yyv3743 := &yyv3741[yyj3741] - yyv3743.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3741 := 0 - for ; !r.CheckBreak(); yyj3741++ { - - if yyj3741 >= len(yyv3741) { - yyv3741 = append(yyv3741, ResourceQuota{}) // var yyz3741 ResourceQuota - yyc3741 = true - } - yyh3741.ElemContainerState(yyj3741) - if yyj3741 < len(yyv3741) { - if r.TryDecodeAsNil() { - yyv3741[yyj3741] = ResourceQuota{} - } else { - yyv3744 := &yyv3741[yyj3741] - yyv3744.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3741 < len(yyv3741) { - yyv3741 = yyv3741[:yyj3741] - yyc3741 = true - } else if yyj3741 == 0 && yyv3741 == nil { - yyv3741 = []ResourceQuota{} - yyc3741 = true - } - } - yyh3741.End() - if yyc3741 { - *v = yyv3741 - } -} - -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 yyk3745, yyv3745 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3746 := z.EncBinary() - _ = yym3746 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3745)) - } - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3745 == nil { - r.EncodeNil() - } else { - yym3747 := z.EncBinary() - _ = yym3747 - if false { - } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3745)) - } - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3748 := *v - yyl3748 := r.ReadMapStart() - yybh3748 := z.DecBasicHandle() - if yyv3748 == nil { - yyrl3748, _ := z.DecInferLen(yyl3748, yybh3748.MaxInitLen, 40) - yyv3748 = make(map[string][]uint8, yyrl3748) - *v = yyv3748 - } - var yymk3748 string - var yymv3748 []uint8 - var yymg3748 bool - if yybh3748.MapValueReset { - yymg3748 = true - } - if yyl3748 > 0 { - for yyj3748 := 0; yyj3748 < yyl3748; yyj3748++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3748 = "" - } else { - yymk3748 = string(r.DecodeString()) - } - - if yymg3748 { - yymv3748 = yyv3748[yymk3748] - } else { - yymv3748 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3748 = nil - } else { - yyv3750 := &yymv3748 - yym3751 := z.DecBinary() - _ = yym3751 - if false { - } else { - *yyv3750 = r.DecodeBytes(*(*[]byte)(yyv3750), false, false) - } - } - - if yyv3748 != nil { - yyv3748[yymk3748] = yymv3748 - } - } - } else if yyl3748 < 0 { - for yyj3748 := 0; !r.CheckBreak(); yyj3748++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3748 = "" - } else { - yymk3748 = string(r.DecodeString()) - } - - if yymg3748 { - yymv3748 = yyv3748[yymk3748] - } else { - yymv3748 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3748 = nil - } else { - yyv3753 := &yymv3748 - yym3754 := z.DecBinary() - _ = yym3754 - if false { - } else { - *yyv3753 = r.DecodeBytes(*(*[]byte)(yyv3753), false, false) - } - } - - if yyv3748 != nil { - yyv3748[yymk3748] = yymv3748 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -47777,7 +47703,7 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47787,7 +47713,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { var yyc3757 bool if yyl3757 == 0 { if yyv3757 == nil { - yyv3757 = []Secret{} + yyv3757 = []Event{} yyc3757 = true } else if len(yyv3757) != 0 { yyv3757 = yyv3757[:0] @@ -47800,15 +47726,15 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { yyrg3757 := len(yyv3757) > 0 yyv23757 := yyv3757 - yyrl3757, yyrt3757 = z.DecInferLen(yyl3757, z.DecBasicHandle().MaxInitLen, 216) + yyrl3757, yyrt3757 = z.DecInferLen(yyl3757, z.DecBasicHandle().MaxInitLen, 440) if yyrt3757 { if yyrl3757 <= cap(yyv3757) { yyv3757 = yyv3757[:yyrl3757] } else { - yyv3757 = make([]Secret, yyrl3757) + yyv3757 = make([]Event, yyrl3757) } } else { - yyv3757 = make([]Secret, yyrl3757) + yyv3757 = make([]Event, yyrl3757) } yyc3757 = true yyrr3757 = len(yyv3757) @@ -47823,7 +47749,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { for ; yyj3757 < yyrr3757; yyj3757++ { yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3757[yyj3757] = Secret{} + yyv3757[yyj3757] = Event{} } else { yyv3758 := &yyv3757[yyj3757] yyv3758.CodecDecodeSelf(d) @@ -47832,10 +47758,10 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } if yyrt3757 { for ; yyj3757 < yyl3757; yyj3757++ { - yyv3757 = append(yyv3757, Secret{}) + yyv3757 = append(yyv3757, Event{}) yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3757[yyj3757] = Secret{} + yyv3757[yyj3757] = Event{} } else { yyv3759 := &yyv3757[yyj3757] yyv3759.CodecDecodeSelf(d) @@ -47849,13 +47775,13 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj3757++ { if yyj3757 >= len(yyv3757) { - yyv3757 = append(yyv3757, Secret{}) // var yyz3757 Secret + yyv3757 = append(yyv3757, Event{}) // var yyz3757 Event yyc3757 = true } yyh3757.ElemContainerState(yyj3757) if yyj3757 < len(yyv3757) { if r.TryDecodeAsNil() { - yyv3757[yyj3757] = Secret{} + yyv3757[yyj3757] = Event{} } else { yyv3760 := &yyv3757[yyj3757] yyv3760.CodecDecodeSelf(d) @@ -47870,7 +47796,7 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { yyv3757 = yyv3757[:yyj3757] yyc3757 = true } else if yyj3757 == 0 && yyv3757 == nil { - yyv3757 = []Secret{} + yyv3757 = []Event{} yyc3757 = true } } @@ -47880,20 +47806,29 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { +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 _, yyv3761 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3762 := &yyv3761 - yy3762.CodecEncodeSelf(e) + if yyv3761 == nil { + r.EncodeNil() + } else { + yym3762 := z.EncBinary() + _ = yym3762 + if false { + } else if z.HasExtensions() && z.EncExt(yyv3761) { + } else { + z.EncFallback(yyv3761) + } + } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -47903,7 +47838,7 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * var yyc3763 bool if yyl3763 == 0 { if yyv3763 == nil { - yyv3763 = []ComponentCondition{} + yyv3763 = []pkg8_runtime.Object{} yyc3763 = true } else if len(yyv3763) != 0 { yyv3763 = yyv3763[:0] @@ -47916,15 +47851,15 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * yyrg3763 := len(yyv3763) > 0 yyv23763 := yyv3763 - yyrl3763, yyrt3763 = z.DecInferLen(yyl3763, z.DecBasicHandle().MaxInitLen, 64) + yyrl3763, yyrt3763 = z.DecInferLen(yyl3763, z.DecBasicHandle().MaxInitLen, 16) if yyrt3763 { if yyrl3763 <= cap(yyv3763) { yyv3763 = yyv3763[:yyrl3763] } else { - yyv3763 = make([]ComponentCondition, yyrl3763) + yyv3763 = make([]pkg8_runtime.Object, yyrl3763) } } else { - yyv3763 = make([]ComponentCondition, yyrl3763) + yyv3763 = make([]pkg8_runtime.Object, yyrl3763) } yyc3763 = true yyrr3763 = len(yyv3763) @@ -47939,22 +47874,34 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * for ; yyj3763 < yyrr3763; yyj3763++ { yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3763[yyj3763] = ComponentCondition{} + yyv3763[yyj3763] = nil } else { yyv3764 := &yyv3763[yyj3763] - yyv3764.CodecDecodeSelf(d) + yym3765 := z.DecBinary() + _ = yym3765 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3764) { + } else { + z.DecFallback(yyv3764, true) + } } } if yyrt3763 { for ; yyj3763 < yyl3763; yyj3763++ { - yyv3763 = append(yyv3763, ComponentCondition{}) + yyv3763 = append(yyv3763, nil) yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3763[yyj3763] = ComponentCondition{} + yyv3763[yyj3763] = nil } else { - yyv3765 := &yyv3763[yyj3763] - yyv3765.CodecDecodeSelf(d) + yyv3766 := &yyv3763[yyj3763] + yym3767 := z.DecBinary() + _ = yym3767 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3766) { + } else { + z.DecFallback(yyv3766, true) + } } } @@ -47965,16 +47912,22 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * for ; !r.CheckBreak(); yyj3763++ { if yyj3763 >= len(yyv3763) { - yyv3763 = append(yyv3763, ComponentCondition{}) // var yyz3763 ComponentCondition + yyv3763 = append(yyv3763, nil) // var yyz3763 pkg8_runtime.Object yyc3763 = true } yyh3763.ElemContainerState(yyj3763) if yyj3763 < len(yyv3763) { if r.TryDecodeAsNil() { - yyv3763[yyj3763] = ComponentCondition{} + yyv3763[yyj3763] = nil } else { - yyv3766 := &yyv3763[yyj3763] - yyv3766.CodecDecodeSelf(d) + yyv3768 := &yyv3763[yyj3763] + yym3769 := z.DecBinary() + _ = yym3769 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3768) { + } else { + z.DecFallback(yyv3768, true) + } } } else { @@ -47986,7 +47939,7 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * yyv3763 = yyv3763[:yyj3763] yyc3763 = true } else if yyj3763 == 0 && yyv3763 == nil { - yyv3763 = []ComponentCondition{} + yyv3763 = []pkg8_runtime.Object{} yyc3763 = true } } @@ -47996,15 +47949,708 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } +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 _, yyv3770 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3771 := &yyv3770 + yy3771.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 + + yyv3772 := *v + yyh3772, yyl3772 := z.DecSliceHelperStart() + var yyc3772 bool + if yyl3772 == 0 { + if yyv3772 == nil { + yyv3772 = []LimitRangeItem{} + yyc3772 = true + } else if len(yyv3772) != 0 { + yyv3772 = yyv3772[:0] + yyc3772 = true + } + } else if yyl3772 > 0 { + var yyrr3772, yyrl3772 int + var yyrt3772 bool + if yyl3772 > cap(yyv3772) { + + yyrg3772 := len(yyv3772) > 0 + yyv23772 := yyv3772 + yyrl3772, yyrt3772 = z.DecInferLen(yyl3772, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3772 { + if yyrl3772 <= cap(yyv3772) { + yyv3772 = yyv3772[:yyrl3772] + } else { + yyv3772 = make([]LimitRangeItem, yyrl3772) + } + } else { + yyv3772 = make([]LimitRangeItem, yyrl3772) + } + yyc3772 = true + yyrr3772 = len(yyv3772) + if yyrg3772 { + copy(yyv3772, yyv23772) + } + } else if yyl3772 != len(yyv3772) { + yyv3772 = yyv3772[:yyl3772] + yyc3772 = true + } + yyj3772 := 0 + for ; yyj3772 < yyrr3772; yyj3772++ { + yyh3772.ElemContainerState(yyj3772) + if r.TryDecodeAsNil() { + yyv3772[yyj3772] = LimitRangeItem{} + } else { + yyv3773 := &yyv3772[yyj3772] + yyv3773.CodecDecodeSelf(d) + } + + } + if yyrt3772 { + for ; yyj3772 < yyl3772; yyj3772++ { + yyv3772 = append(yyv3772, LimitRangeItem{}) + yyh3772.ElemContainerState(yyj3772) + if r.TryDecodeAsNil() { + yyv3772[yyj3772] = LimitRangeItem{} + } else { + yyv3774 := &yyv3772[yyj3772] + yyv3774.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3772 := 0 + for ; !r.CheckBreak(); yyj3772++ { + + if yyj3772 >= len(yyv3772) { + yyv3772 = append(yyv3772, LimitRangeItem{}) // var yyz3772 LimitRangeItem + yyc3772 = true + } + yyh3772.ElemContainerState(yyj3772) + if yyj3772 < len(yyv3772) { + if r.TryDecodeAsNil() { + yyv3772[yyj3772] = LimitRangeItem{} + } else { + yyv3775 := &yyv3772[yyj3772] + yyv3775.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3772 < len(yyv3772) { + yyv3772 = yyv3772[:yyj3772] + yyc3772 = true + } else if yyj3772 == 0 && yyv3772 == nil { + yyv3772 = []LimitRangeItem{} + yyc3772 = true + } + } + yyh3772.End() + if yyc3772 { + *v = yyv3772 + } +} + +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 _, yyv3776 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3777 := &yyv3776 + yy3777.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 + + yyv3778 := *v + yyh3778, yyl3778 := z.DecSliceHelperStart() + var yyc3778 bool + if yyl3778 == 0 { + if yyv3778 == nil { + yyv3778 = []LimitRange{} + yyc3778 = true + } else if len(yyv3778) != 0 { + yyv3778 = yyv3778[:0] + yyc3778 = true + } + } else if yyl3778 > 0 { + var yyrr3778, yyrl3778 int + var yyrt3778 bool + if yyl3778 > cap(yyv3778) { + + yyrg3778 := len(yyv3778) > 0 + yyv23778 := yyv3778 + yyrl3778, yyrt3778 = z.DecInferLen(yyl3778, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3778 { + if yyrl3778 <= cap(yyv3778) { + yyv3778 = yyv3778[:yyrl3778] + } else { + yyv3778 = make([]LimitRange, yyrl3778) + } + } else { + yyv3778 = make([]LimitRange, yyrl3778) + } + yyc3778 = true + yyrr3778 = len(yyv3778) + if yyrg3778 { + copy(yyv3778, yyv23778) + } + } else if yyl3778 != len(yyv3778) { + yyv3778 = yyv3778[:yyl3778] + yyc3778 = true + } + yyj3778 := 0 + for ; yyj3778 < yyrr3778; yyj3778++ { + yyh3778.ElemContainerState(yyj3778) + if r.TryDecodeAsNil() { + yyv3778[yyj3778] = LimitRange{} + } else { + yyv3779 := &yyv3778[yyj3778] + yyv3779.CodecDecodeSelf(d) + } + + } + if yyrt3778 { + for ; yyj3778 < yyl3778; yyj3778++ { + yyv3778 = append(yyv3778, LimitRange{}) + yyh3778.ElemContainerState(yyj3778) + if r.TryDecodeAsNil() { + yyv3778[yyj3778] = LimitRange{} + } else { + yyv3780 := &yyv3778[yyj3778] + yyv3780.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3778 := 0 + for ; !r.CheckBreak(); yyj3778++ { + + if yyj3778 >= len(yyv3778) { + yyv3778 = append(yyv3778, LimitRange{}) // var yyz3778 LimitRange + yyc3778 = true + } + yyh3778.ElemContainerState(yyj3778) + if yyj3778 < len(yyv3778) { + if r.TryDecodeAsNil() { + yyv3778[yyj3778] = LimitRange{} + } else { + yyv3781 := &yyv3778[yyj3778] + yyv3781.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3778 < len(yyv3778) { + yyv3778 = yyv3778[:yyj3778] + yyc3778 = true + } else if yyj3778 == 0 && yyv3778 == nil { + yyv3778 = []LimitRange{} + yyc3778 = true + } + } + yyh3778.End() + if yyc3778 { + *v = yyv3778 + } +} + +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 _, yyv3782 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3783 := &yyv3782 + yy3783.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 + + yyv3784 := *v + yyh3784, yyl3784 := z.DecSliceHelperStart() + var yyc3784 bool + if yyl3784 == 0 { + if yyv3784 == nil { + yyv3784 = []ResourceQuota{} + yyc3784 = true + } else if len(yyv3784) != 0 { + yyv3784 = yyv3784[:0] + yyc3784 = true + } + } else if yyl3784 > 0 { + var yyrr3784, yyrl3784 int + var yyrt3784 bool + if yyl3784 > cap(yyv3784) { + + yyrg3784 := len(yyv3784) > 0 + yyv23784 := yyv3784 + yyrl3784, yyrt3784 = z.DecInferLen(yyl3784, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3784 { + if yyrl3784 <= cap(yyv3784) { + yyv3784 = yyv3784[:yyrl3784] + } else { + yyv3784 = make([]ResourceQuota, yyrl3784) + } + } else { + yyv3784 = make([]ResourceQuota, yyrl3784) + } + yyc3784 = true + yyrr3784 = len(yyv3784) + if yyrg3784 { + copy(yyv3784, yyv23784) + } + } else if yyl3784 != len(yyv3784) { + yyv3784 = yyv3784[:yyl3784] + yyc3784 = true + } + yyj3784 := 0 + for ; yyj3784 < yyrr3784; yyj3784++ { + yyh3784.ElemContainerState(yyj3784) + if r.TryDecodeAsNil() { + yyv3784[yyj3784] = ResourceQuota{} + } else { + yyv3785 := &yyv3784[yyj3784] + yyv3785.CodecDecodeSelf(d) + } + + } + if yyrt3784 { + for ; yyj3784 < yyl3784; yyj3784++ { + yyv3784 = append(yyv3784, ResourceQuota{}) + yyh3784.ElemContainerState(yyj3784) + if r.TryDecodeAsNil() { + yyv3784[yyj3784] = ResourceQuota{} + } else { + yyv3786 := &yyv3784[yyj3784] + yyv3786.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3784 := 0 + for ; !r.CheckBreak(); yyj3784++ { + + if yyj3784 >= len(yyv3784) { + yyv3784 = append(yyv3784, ResourceQuota{}) // var yyz3784 ResourceQuota + yyc3784 = true + } + yyh3784.ElemContainerState(yyj3784) + if yyj3784 < len(yyv3784) { + if r.TryDecodeAsNil() { + yyv3784[yyj3784] = ResourceQuota{} + } else { + yyv3787 := &yyv3784[yyj3784] + yyv3787.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3784 < len(yyv3784) { + yyv3784 = yyv3784[:yyj3784] + yyc3784 = true + } else if yyj3784 == 0 && yyv3784 == nil { + yyv3784 = []ResourceQuota{} + yyc3784 = true + } + } + yyh3784.End() + if yyc3784 { + *v = yyv3784 + } +} + +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 yyk3788, yyv3788 := range v { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + yym3789 := z.EncBinary() + _ = yym3789 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyk3788)) + } + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyv3788 == nil { + r.EncodeNil() + } else { + yym3790 := z.EncBinary() + _ = yym3790 + if false { + } else { + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3788)) + } + } + } + z.EncSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3791 := *v + yyl3791 := r.ReadMapStart() + yybh3791 := z.DecBasicHandle() + if yyv3791 == nil { + yyrl3791, _ := z.DecInferLen(yyl3791, yybh3791.MaxInitLen, 40) + yyv3791 = make(map[string][]uint8, yyrl3791) + *v = yyv3791 + } + var yymk3791 string + var yymv3791 []uint8 + var yymg3791 bool + if yybh3791.MapValueReset { + yymg3791 = true + } + if yyl3791 > 0 { + for yyj3791 := 0; yyj3791 < yyl3791; yyj3791++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3791 = "" + } else { + yymk3791 = string(r.DecodeString()) + } + + if yymg3791 { + yymv3791 = yyv3791[yymk3791] + } else { + yymv3791 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3791 = nil + } else { + yyv3793 := &yymv3791 + yym3794 := z.DecBinary() + _ = yym3794 + if false { + } else { + *yyv3793 = r.DecodeBytes(*(*[]byte)(yyv3793), false, false) + } + } + + if yyv3791 != nil { + yyv3791[yymk3791] = yymv3791 + } + } + } else if yyl3791 < 0 { + for yyj3791 := 0; !r.CheckBreak(); yyj3791++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3791 = "" + } else { + yymk3791 = string(r.DecodeString()) + } + + if yymg3791 { + yymv3791 = yyv3791[yymk3791] + } else { + yymv3791 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3791 = nil + } else { + yyv3796 := &yymv3791 + yym3797 := z.DecBinary() + _ = yym3797 + if false { + } else { + *yyv3796 = r.DecodeBytes(*(*[]byte)(yyv3796), false, false) + } + } + + if yyv3791 != nil { + yyv3791[yymk3791] = yymv3791 + } + } + } // else len==0: TODO: Should we clear map entries? + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3798 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3799 := &yyv3798 + yy3799.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3800 := *v + yyh3800, yyl3800 := z.DecSliceHelperStart() + var yyc3800 bool + if yyl3800 == 0 { + if yyv3800 == nil { + yyv3800 = []Secret{} + yyc3800 = true + } else if len(yyv3800) != 0 { + yyv3800 = yyv3800[:0] + yyc3800 = true + } + } else if yyl3800 > 0 { + var yyrr3800, yyrl3800 int + var yyrt3800 bool + if yyl3800 > cap(yyv3800) { + + yyrg3800 := len(yyv3800) > 0 + yyv23800 := yyv3800 + yyrl3800, yyrt3800 = z.DecInferLen(yyl3800, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3800 { + if yyrl3800 <= cap(yyv3800) { + yyv3800 = yyv3800[:yyrl3800] + } else { + yyv3800 = make([]Secret, yyrl3800) + } + } else { + yyv3800 = make([]Secret, yyrl3800) + } + yyc3800 = true + yyrr3800 = len(yyv3800) + if yyrg3800 { + copy(yyv3800, yyv23800) + } + } else if yyl3800 != len(yyv3800) { + yyv3800 = yyv3800[:yyl3800] + yyc3800 = true + } + yyj3800 := 0 + for ; yyj3800 < yyrr3800; yyj3800++ { + yyh3800.ElemContainerState(yyj3800) + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = Secret{} + } else { + yyv3801 := &yyv3800[yyj3800] + yyv3801.CodecDecodeSelf(d) + } + + } + if yyrt3800 { + for ; yyj3800 < yyl3800; yyj3800++ { + yyv3800 = append(yyv3800, Secret{}) + yyh3800.ElemContainerState(yyj3800) + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = Secret{} + } else { + yyv3802 := &yyv3800[yyj3800] + yyv3802.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3800 := 0 + for ; !r.CheckBreak(); yyj3800++ { + + if yyj3800 >= len(yyv3800) { + yyv3800 = append(yyv3800, Secret{}) // var yyz3800 Secret + yyc3800 = true + } + yyh3800.ElemContainerState(yyj3800) + if yyj3800 < len(yyv3800) { + if r.TryDecodeAsNil() { + yyv3800[yyj3800] = Secret{} + } else { + yyv3803 := &yyv3800[yyj3800] + yyv3803.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3800 < len(yyv3800) { + yyv3800 = yyv3800[:yyj3800] + yyc3800 = true + } else if yyj3800 == 0 && yyv3800 == nil { + yyv3800 = []Secret{} + yyc3800 = true + } + } + yyh3800.End() + if yyc3800 { + *v = yyv3800 + } +} + +func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3804 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3805 := &yyv3804 + yy3805.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3806 := *v + yyh3806, yyl3806 := z.DecSliceHelperStart() + var yyc3806 bool + if yyl3806 == 0 { + if yyv3806 == nil { + yyv3806 = []ComponentCondition{} + yyc3806 = true + } else if len(yyv3806) != 0 { + yyv3806 = yyv3806[:0] + yyc3806 = true + } + } else if yyl3806 > 0 { + var yyrr3806, yyrl3806 int + var yyrt3806 bool + if yyl3806 > cap(yyv3806) { + + yyrg3806 := len(yyv3806) > 0 + yyv23806 := yyv3806 + yyrl3806, yyrt3806 = z.DecInferLen(yyl3806, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3806 { + if yyrl3806 <= cap(yyv3806) { + yyv3806 = yyv3806[:yyrl3806] + } else { + yyv3806 = make([]ComponentCondition, yyrl3806) + } + } else { + yyv3806 = make([]ComponentCondition, yyrl3806) + } + yyc3806 = true + yyrr3806 = len(yyv3806) + if yyrg3806 { + copy(yyv3806, yyv23806) + } + } else if yyl3806 != len(yyv3806) { + yyv3806 = yyv3806[:yyl3806] + yyc3806 = true + } + yyj3806 := 0 + for ; yyj3806 < yyrr3806; yyj3806++ { + yyh3806.ElemContainerState(yyj3806) + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ComponentCondition{} + } else { + yyv3807 := &yyv3806[yyj3806] + yyv3807.CodecDecodeSelf(d) + } + + } + if yyrt3806 { + for ; yyj3806 < yyl3806; yyj3806++ { + yyv3806 = append(yyv3806, ComponentCondition{}) + yyh3806.ElemContainerState(yyj3806) + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ComponentCondition{} + } else { + yyv3808 := &yyv3806[yyj3806] + yyv3808.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3806 := 0 + for ; !r.CheckBreak(); yyj3806++ { + + if yyj3806 >= len(yyv3806) { + yyv3806 = append(yyv3806, ComponentCondition{}) // var yyz3806 ComponentCondition + yyc3806 = true + } + yyh3806.ElemContainerState(yyj3806) + if yyj3806 < len(yyv3806) { + if r.TryDecodeAsNil() { + yyv3806[yyj3806] = ComponentCondition{} + } else { + yyv3809 := &yyv3806[yyj3806] + yyv3809.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3806 < len(yyv3806) { + yyv3806 = yyv3806[:yyj3806] + yyc3806 = true + } else if yyj3806 == 0 && yyv3806 == nil { + yyv3806 = []ComponentCondition{} + yyc3806 = true + } + } + yyh3806.End() + if yyc3806 { + *v = yyv3806 + } +} + func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3767 := range v { + for _, yyv3810 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3768 := &yyv3767 - yy3768.CodecEncodeSelf(e) + yy3811 := &yyv3810 + yy3811.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48014,83 +48660,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3769 := *v - yyh3769, yyl3769 := z.DecSliceHelperStart() - var yyc3769 bool - if yyl3769 == 0 { - if yyv3769 == nil { - yyv3769 = []ComponentStatus{} - yyc3769 = true - } else if len(yyv3769) != 0 { - yyv3769 = yyv3769[:0] - yyc3769 = true + yyv3812 := *v + yyh3812, yyl3812 := z.DecSliceHelperStart() + var yyc3812 bool + if yyl3812 == 0 { + if yyv3812 == nil { + yyv3812 = []ComponentStatus{} + yyc3812 = true + } else if len(yyv3812) != 0 { + yyv3812 = yyv3812[:0] + yyc3812 = true } - } else if yyl3769 > 0 { - var yyrr3769, yyrl3769 int - var yyrt3769 bool - if yyl3769 > cap(yyv3769) { + } else if yyl3812 > 0 { + var yyrr3812, yyrl3812 int + var yyrt3812 bool + if yyl3812 > cap(yyv3812) { - yyrg3769 := len(yyv3769) > 0 - yyv23769 := yyv3769 - yyrl3769, yyrt3769 = z.DecInferLen(yyl3769, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3769 { - if yyrl3769 <= cap(yyv3769) { - yyv3769 = yyv3769[:yyrl3769] + yyrg3812 := len(yyv3812) > 0 + yyv23812 := yyv3812 + yyrl3812, yyrt3812 = z.DecInferLen(yyl3812, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3812 { + if yyrl3812 <= cap(yyv3812) { + yyv3812 = yyv3812[:yyrl3812] } else { - yyv3769 = make([]ComponentStatus, yyrl3769) + yyv3812 = make([]ComponentStatus, yyrl3812) } } else { - yyv3769 = make([]ComponentStatus, yyrl3769) + yyv3812 = make([]ComponentStatus, yyrl3812) } - yyc3769 = true - yyrr3769 = len(yyv3769) - if yyrg3769 { - copy(yyv3769, yyv23769) + yyc3812 = true + yyrr3812 = len(yyv3812) + if yyrg3812 { + copy(yyv3812, yyv23812) } - } else if yyl3769 != len(yyv3769) { - yyv3769 = yyv3769[:yyl3769] - yyc3769 = true + } else if yyl3812 != len(yyv3812) { + yyv3812 = yyv3812[:yyl3812] + yyc3812 = true } - yyj3769 := 0 - for ; yyj3769 < yyrr3769; yyj3769++ { - yyh3769.ElemContainerState(yyj3769) + yyj3812 := 0 + for ; yyj3812 < yyrr3812; yyj3812++ { + yyh3812.ElemContainerState(yyj3812) if r.TryDecodeAsNil() { - yyv3769[yyj3769] = ComponentStatus{} + yyv3812[yyj3812] = ComponentStatus{} } else { - yyv3770 := &yyv3769[yyj3769] - yyv3770.CodecDecodeSelf(d) + yyv3813 := &yyv3812[yyj3812] + yyv3813.CodecDecodeSelf(d) } } - if yyrt3769 { - for ; yyj3769 < yyl3769; yyj3769++ { - yyv3769 = append(yyv3769, ComponentStatus{}) - yyh3769.ElemContainerState(yyj3769) + if yyrt3812 { + for ; yyj3812 < yyl3812; yyj3812++ { + yyv3812 = append(yyv3812, ComponentStatus{}) + yyh3812.ElemContainerState(yyj3812) if r.TryDecodeAsNil() { - yyv3769[yyj3769] = ComponentStatus{} + yyv3812[yyj3812] = ComponentStatus{} } else { - yyv3771 := &yyv3769[yyj3769] - yyv3771.CodecDecodeSelf(d) + yyv3814 := &yyv3812[yyj3812] + yyv3814.CodecDecodeSelf(d) } } } } else { - yyj3769 := 0 - for ; !r.CheckBreak(); yyj3769++ { + yyj3812 := 0 + for ; !r.CheckBreak(); yyj3812++ { - if yyj3769 >= len(yyv3769) { - yyv3769 = append(yyv3769, ComponentStatus{}) // var yyz3769 ComponentStatus - yyc3769 = true + if yyj3812 >= len(yyv3812) { + yyv3812 = append(yyv3812, ComponentStatus{}) // var yyz3812 ComponentStatus + yyc3812 = true } - yyh3769.ElemContainerState(yyj3769) - if yyj3769 < len(yyv3769) { + yyh3812.ElemContainerState(yyj3812) + if yyj3812 < len(yyv3812) { if r.TryDecodeAsNil() { - yyv3769[yyj3769] = ComponentStatus{} + yyv3812[yyj3812] = ComponentStatus{} } else { - yyv3772 := &yyv3769[yyj3769] - yyv3772.CodecDecodeSelf(d) + yyv3815 := &yyv3812[yyj3812] + yyv3815.CodecDecodeSelf(d) } } else { @@ -48098,16 +48744,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3769 < len(yyv3769) { - yyv3769 = yyv3769[:yyj3769] - yyc3769 = true - } else if yyj3769 == 0 && yyv3769 == nil { - yyv3769 = []ComponentStatus{} - yyc3769 = true + if yyj3812 < len(yyv3812) { + yyv3812 = yyv3812[:yyj3812] + yyc3812 = true + } else if yyj3812 == 0 && yyv3812 == nil { + yyv3812 = []ComponentStatus{} + yyc3812 = true } } - yyh3769.End() - if yyc3769 { - *v = yyv3769 + yyh3812.End() + if yyc3812 { + *v = yyv3812 } } diff --git a/pkg/api/types.go b/pkg/api/types.go index d84e97e26b..744a498c54 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -198,6 +198,10 @@ type VolumeSource struct { PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"` // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime RBD *RBDVolumeSource `json:"rbd,omitempty"` + // 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. + FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` + // Cinder represents a cinder volume attached and mounted on kubelets host machine Cinder *CinderVolumeSource `json:"cinder,omitempty"` @@ -236,6 +240,9 @@ type PersistentVolumeSource struct { // ISCSIVolumeSource represents an ISCSI resource that is attached to a // kubelet's host machine and then exposed to the pod. ISCSI *ISCSIVolumeSource `json:"iscsi,omitempty"` + // 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. + FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` // Cinder represents a cinder volume attached and mounted on kubelets host machine Cinder *CinderVolumeSource `json:"cinder,omitempty"` // CephFS represents a Ceph FS mount on the host that shares a pod's lifetime @@ -490,6 +497,24 @@ type FCVolumeSource struct { ReadOnly bool `json:"readOnly,omitempty"` } +// 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. +type FlexVolumeSource struct { + // Driver is the name of the driver to use for this volume. + Driver string `json:"driver"` + // Required: Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs" + FSType string `json:"fsType,omitempty"` + // Optional: SecretRef is reference to the authentication secret for User, default is empty. + SecretRef *LocalObjectReference `json:"secretRef,omitempty"` + // Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + ReadOnly bool `json:"readOnly,omitempty"` + // Optional: Extra driver options if any. + Options map[string]string `json:"options,omitempty"` +} + // Represents a Persistent Disk resource in AWS. // // An AWS EBS disk must exist and be formatted before mounting to a container. diff --git a/pkg/api/v1/conversion_generated.go b/pkg/api/v1/conversion_generated.go index 1f2a637f48..fcd74651a4 100644 --- a/pkg/api/v1/conversion_generated.go +++ b/pkg/api/v1/conversion_generated.go @@ -793,6 +793,36 @@ func convert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource, out return autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in, out, s) } +func autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSource, out *FlexVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.FlexVolumeSource))(in) + } + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(LocalObjectReference) + if err := convert_api_LocalObjectReference_To_v1_LocalObjectReference(in.SecretRef, out.SecretRef, s); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + +func convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSource, out *FlexVolumeSource, s conversion.Scope) error { + return autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in, out, s) +} + func autoconvert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource(in *api.FlockerVolumeSource, out *FlockerVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.FlockerVolumeSource))(in) @@ -1788,6 +1818,14 @@ func autoconvert_api_PersistentVolumeSource_To_v1_PersistentVolumeSource(in *api } else { out.ISCSI = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(CinderVolumeSource) if err := convert_api_CinderVolumeSource_To_v1_CinderVolumeSource(in.Cinder, out.Cinder, s); err != nil { @@ -3019,6 +3057,14 @@ func autoconvert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out * } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(CinderVolumeSource) if err := convert_api_CinderVolumeSource_To_v1_CinderVolumeSource(in.Cinder, out.Cinder, s); err != nil { @@ -3864,6 +3910,36 @@ func convert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out *ap return autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in, out, s) } +func autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in *FlexVolumeSource, out *api.FlexVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*FlexVolumeSource))(in) + } + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(api.LocalObjectReference) + if err := convert_v1_LocalObjectReference_To_api_LocalObjectReference(in.SecretRef, out.SecretRef, s); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + +func convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in *FlexVolumeSource, out *api.FlexVolumeSource, s conversion.Scope) error { + return autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in, out, s) +} + func autoconvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource(in *FlockerVolumeSource, out *api.FlockerVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*FlockerVolumeSource))(in) @@ -4891,6 +4967,14 @@ func autoconvert_v1_PersistentVolumeSource_To_api_PersistentVolumeSource(in *Per } else { out.Flocker = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(api.FlexVolumeSource) + if err := convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } return nil } @@ -6093,6 +6177,14 @@ func autoconvert_v1_VolumeSource_To_api_VolumeSource(in *VolumeSource, out *api. } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(api.FlexVolumeSource) + if err := convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(api.CinderVolumeSource) if err := convert_v1_CinderVolumeSource_To_api_CinderVolumeSource(in.Cinder, out.Cinder, s); err != nil { @@ -6174,6 +6266,7 @@ func init() { autoconvert_api_Event_To_v1_Event, autoconvert_api_ExecAction_To_v1_ExecAction, autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource, + autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource, autoconvert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource, autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolumeSource, autoconvert_api_GitRepoVolumeSource_To_v1_GitRepoVolumeSource, @@ -6294,6 +6387,7 @@ func init() { autoconvert_v1_ExecAction_To_api_ExecAction, autoconvert_v1_ExportOptions_To_unversioned_ExportOptions, autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource, + autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource, autoconvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource, autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolumeSource, autoconvert_v1_GitRepoVolumeSource_To_api_GitRepoVolumeSource, diff --git a/pkg/api/v1/deep_copy_generated.go b/pkg/api/v1/deep_copy_generated.go index ad7fa7dac7..d426a5419e 100644 --- a/pkg/api/v1/deep_copy_generated.go +++ b/pkg/api/v1/deep_copy_generated.go @@ -616,6 +616,29 @@ func deepCopy_v1_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conve return nil } +func deepCopy_v1_FlexVolumeSource(in FlexVolumeSource, out *FlexVolumeSource, c *conversion.Cloner) error { + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(LocalObjectReference) + if err := deepCopy_v1_LocalObjectReference(*in.SecretRef, out.SecretRef, c); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + func deepCopy_v1_FlockerVolumeSource(in FlockerVolumeSource, out *FlockerVolumeSource, c *conversion.Cloner) error { out.DatasetName = in.DatasetName return nil @@ -1357,6 +1380,14 @@ func deepCopy_v1_PersistentVolumeSource(in PersistentVolumeSource, out *Persiste } else { out.Flocker = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := deepCopy_v1_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } return nil } @@ -2325,6 +2356,14 @@ func deepCopy_v1_VolumeSource(in VolumeSource, out *VolumeSource, c *conversion. } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(FlexVolumeSource) + if err := deepCopy_v1_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(CinderVolumeSource) if err := deepCopy_v1_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil { @@ -2426,6 +2465,7 @@ func init() { deepCopy_v1_ExecAction, deepCopy_v1_ExportOptions, deepCopy_v1_FCVolumeSource, + deepCopy_v1_FlexVolumeSource, deepCopy_v1_FlockerVolumeSource, deepCopy_v1_GCEPersistentDiskVolumeSource, deepCopy_v1_GitRepoVolumeSource, diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index cbcf0b5b75..f8d234c2d5 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 [17]bool + var yyq82 [18]bool _, _, _ = yysep82, yyq82, yy2arr82 const yyr82 bool = false yyq82[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil @@ -956,14 +956,15 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { yyq82[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil yyq82[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil yyq82[11] = x.VolumeSource.RBD != nil && x.RBD != nil - yyq82[12] = x.VolumeSource.Cinder != nil && x.Cinder != nil - yyq82[13] = x.VolumeSource.CephFS != nil && x.CephFS != nil - yyq82[14] = x.VolumeSource.Flocker != nil && x.Flocker != nil - yyq82[15] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil - yyq82[16] = x.VolumeSource.FC != nil && x.FC != nil + yyq82[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq82[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil + yyq82[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil + 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 var yynn82 int if yyr82 || yy2arr82 { - r.EncodeArrayStart(17) + r.EncodeArrayStart(18) } else { yynn82 = 1 for _, b := range yyq82 { @@ -1401,7 +1402,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } var yyn97 bool - if x.VolumeSource.Cinder == nil { + if x.VolumeSource.FlexVolume == nil { yyn97 = true goto LABEL97 } @@ -1412,10 +1413,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[12] { - if x.Cinder == nil { + if x.FlexVolume == nil { r.EncodeNil() } else { - x.Cinder.CodecEncodeSelf(e) + x.FlexVolume.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1424,21 +1425,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn97 { r.EncodeNil() } else { - if x.Cinder == nil { + if x.FlexVolume == nil { r.EncodeNil() } else { - x.Cinder.CodecEncodeSelf(e) + x.FlexVolume.CodecEncodeSelf(e) } } } } var yyn98 bool - if x.VolumeSource.CephFS == nil { + if x.VolumeSource.Cinder == nil { yyn98 = true goto LABEL98 } @@ -1449,10 +1450,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[13] { - if x.CephFS == nil { + if x.Cinder == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.Cinder.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1461,21 +1462,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn98 { r.EncodeNil() } else { - if x.CephFS == nil { + if x.Cinder == nil { r.EncodeNil() } else { - x.CephFS.CodecEncodeSelf(e) + x.Cinder.CodecEncodeSelf(e) } } } } var yyn99 bool - if x.VolumeSource.Flocker == nil { + if x.VolumeSource.CephFS == nil { yyn99 = true goto LABEL99 } @@ -1486,10 +1487,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[14] { - if x.Flocker == nil { + if x.CephFS == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.CephFS.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1498,21 +1499,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flocker")) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn99 { r.EncodeNil() } else { - if x.Flocker == nil { + if x.CephFS == nil { r.EncodeNil() } else { - x.Flocker.CodecEncodeSelf(e) + x.CephFS.CodecEncodeSelf(e) } } } } var yyn100 bool - if x.VolumeSource.DownwardAPI == nil { + if x.VolumeSource.Flocker == nil { yyn100 = true goto LABEL100 } @@ -1523,10 +1524,10 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[15] { - if x.DownwardAPI == nil { + if x.Flocker == nil { r.EncodeNil() } else { - x.DownwardAPI.CodecEncodeSelf(e) + x.Flocker.CodecEncodeSelf(e) } } else { r.EncodeNil() @@ -1535,21 +1536,21 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq82[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) + r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn100 { r.EncodeNil() } else { - if x.DownwardAPI == nil { + if x.Flocker == nil { r.EncodeNil() } else { - x.DownwardAPI.CodecEncodeSelf(e) + x.Flocker.CodecEncodeSelf(e) } } } } var yyn101 bool - if x.VolumeSource.FC == nil { + if x.VolumeSource.DownwardAPI == nil { yyn101 = true goto LABEL101 } @@ -1560,6 +1561,43 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq82[16] { + if x.DownwardAPI == nil { + r.EncodeNil() + } else { + x.DownwardAPI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq82[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn101 { + r.EncodeNil() + } else { + if x.DownwardAPI == nil { + r.EncodeNil() + } else { + x.DownwardAPI.CodecEncodeSelf(e) + } + } + } + } + var yyn102 bool + if x.VolumeSource.FC == nil { + yyn102 = true + goto LABEL102 + } + LABEL102: + if yyr82 || yy2arr82 { + if yyn102 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[17] { if x.FC == nil { r.EncodeNil() } else { @@ -1570,11 +1608,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq82[16] { + if yyq82[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn101 { + if yyn102 { r.EncodeNil() } else { if x.FC == nil { @@ -1598,25 +1636,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym102 := z.DecBinary() - _ = yym102 + yym103 := z.DecBinary() + _ = yym103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct103 := r.ContainerType() - if yyct103 == codecSelferValueTypeMap1234 { - yyl103 := r.ReadMapStart() - if yyl103 == 0 { + yyct104 := r.ContainerType() + if yyct104 == codecSelferValueTypeMap1234 { + yyl104 := r.ReadMapStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl103, d) + x.codecDecodeSelfFromMap(yyl104, d) } - } else if yyct103 == codecSelferValueTypeArray1234 { - yyl103 := r.ReadArrayStart() - if yyl103 == 0 { + } else if yyct104 == codecSelferValueTypeArray1234 { + yyl104 := r.ReadArrayStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl103, d) + x.codecDecodeSelfFromArray(yyl104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1628,12 +1666,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys104Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys104Slc - var yyhl104 bool = l >= 0 - for yyj104 := 0; ; yyj104++ { - if yyhl104 { - if yyj104 >= l { + var yys105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys105Slc + var yyhl105 bool = l >= 0 + for yyj105 := 0; ; yyj105++ { + if yyhl105 { + if yyj105 >= l { break } } else { @@ -1642,10 +1680,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys104Slc = r.DecodeBytes(yys104Slc, true, true) - yys104 := string(yys104Slc) + yys105Slc = r.DecodeBytes(yys105Slc, true, true) + yys105 := string(yys105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys104 { + switch yys105 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1806,6 +1844,20 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + case "flexVolume": + if x.VolumeSource.FlexVolume == nil { + x.VolumeSource.FlexVolume = new(FlexVolumeSource) + } + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) @@ -1877,9 +1929,9 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys104) - } // end switch yys104 - } // end for yyj104 + z.DecStructFieldNotFound(-1, yys105) + } // end switch yys105 + } // end for yyj105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1887,16 +1939,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj122 int - var yyb122 bool - var yyhl122 bool = l >= 0 - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + var yyj124 int + var yyb124 bool + var yyhl124 bool = l >= 0 + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1909,13 +1961,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1933,13 +1985,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1957,13 +2009,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1981,13 +2033,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2005,13 +2057,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2029,13 +2081,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2053,13 +2105,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2077,13 +2129,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2101,13 +2153,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2125,13 +2177,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2149,13 +2201,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2170,16 +2222,40 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + if x.VolumeSource.FlexVolume == nil { + x.VolumeSource.FlexVolume = new(FlexVolumeSource) + } + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l + } else { + yyb124 = r.CheckBreak() + } + if yyb124 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2197,13 +2273,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2221,13 +2297,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2245,13 +2321,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2269,13 +2345,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2291,17 +2367,17 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } for { - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb122 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb122 { + if yyb124 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj122-1, "") + z.DecStructFieldNotFound(yyj124-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2313,48 +2389,49 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym140 := z.EncBinary() - _ = yym140 + yym143 := z.EncBinary() + _ = yym143 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep141 := !z.EncBinary() - yy2arr141 := z.EncBasicHandle().StructToArray - var yyq141 [16]bool - _, _, _ = yysep141, yyq141, yy2arr141 - const yyr141 bool = false - yyq141[0] = x.HostPath != nil - yyq141[1] = x.EmptyDir != nil - yyq141[2] = x.GCEPersistentDisk != nil - yyq141[3] = x.AWSElasticBlockStore != nil - yyq141[4] = x.GitRepo != nil - yyq141[5] = x.Secret != nil - yyq141[6] = x.NFS != nil - yyq141[7] = x.ISCSI != nil - yyq141[8] = x.Glusterfs != nil - yyq141[9] = x.PersistentVolumeClaim != nil - yyq141[10] = x.RBD != nil - yyq141[11] = x.Cinder != nil - yyq141[12] = x.CephFS != nil - yyq141[13] = x.Flocker != nil - yyq141[14] = x.DownwardAPI != nil - yyq141[15] = x.FC != nil - var yynn141 int - if yyr141 || yy2arr141 { - r.EncodeArrayStart(16) + 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) } else { - yynn141 = 0 - for _, b := range yyq141 { + yynn144 = 0 + for _, b := range yyq144 { if b { - yynn141++ + yynn144++ } } - r.EncodeMapStart(yynn141) - yynn141 = 0 + r.EncodeMapStart(yynn144) + yynn144 = 0 } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[0] { + if yyq144[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2364,7 +2441,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[0] { + if yyq144[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2375,9 +2452,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[1] { + if yyq144[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2387,7 +2464,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[1] { + if yyq144[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2398,9 +2475,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[2] { + if yyq144[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2410,7 +2487,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[2] { + if yyq144[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2421,9 +2498,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[3] { + if yyq144[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2433,7 +2510,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[3] { + if yyq144[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2444,9 +2521,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[4] { + if yyq144[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2456,7 +2533,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[4] { + if yyq144[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2467,9 +2544,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[5] { + if yyq144[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2479,7 +2556,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[5] { + if yyq144[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2490,9 +2567,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[6] { + if yyq144[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2502,7 +2579,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[6] { + if yyq144[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2513,9 +2590,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[7] { + if yyq144[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2525,7 +2602,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[7] { + if yyq144[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2536,9 +2613,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[8] { + if yyq144[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2548,7 +2625,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[8] { + if yyq144[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2559,9 +2636,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[9] { + if yyq144[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -2571,7 +2648,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[9] { + if yyq144[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2582,9 +2659,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[10] { + if yyq144[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -2594,7 +2671,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[10] { + if yyq144[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2605,9 +2682,32 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[11] { + if yyq144[11] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq144[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + if yyr144 || yy2arr144 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq144[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -2617,7 +2717,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[11] { + if yyq144[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2628,9 +2728,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[12] { + if yyq144[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -2640,7 +2740,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[12] { + if yyq144[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2651,9 +2751,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[13] { + if yyq144[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -2663,7 +2763,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[13] { + if yyq144[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2674,9 +2774,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[14] { + if yyq144[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -2686,7 +2786,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[14] { + if yyq144[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2697,9 +2797,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq141[15] { + if yyq144[16] { if x.FC == nil { r.EncodeNil() } else { @@ -2709,7 +2809,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq141[15] { + if yyq144[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2720,7 +2820,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr141 || yy2arr141 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2733,25 +2833,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym158 := z.DecBinary() - _ = yym158 + yym162 := z.DecBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct159 := r.ContainerType() - if yyct159 == codecSelferValueTypeMap1234 { - yyl159 := r.ReadMapStart() - if yyl159 == 0 { + yyct163 := r.ContainerType() + if yyct163 == codecSelferValueTypeMap1234 { + yyl163 := r.ReadMapStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl159, d) + x.codecDecodeSelfFromMap(yyl163, d) } - } else if yyct159 == codecSelferValueTypeArray1234 { - yyl159 := r.ReadArrayStart() - if yyl159 == 0 { + } else if yyct163 == codecSelferValueTypeArray1234 { + yyl163 := r.ReadArrayStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl159, d) + x.codecDecodeSelfFromArray(yyl163, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2763,12 +2863,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys160Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys160Slc - var yyhl160 bool = l >= 0 - for yyj160 := 0; ; yyj160++ { - if yyhl160 { - if yyj160 >= l { + var yys164Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys164Slc + var yyhl164 bool = l >= 0 + for yyj164 := 0; ; yyj164++ { + if yyhl164 { + if yyj164 >= l { break } } else { @@ -2777,10 +2877,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys160Slc = r.DecodeBytes(yys160Slc, true, true) - yys160 := string(yys160Slc) + yys164Slc = r.DecodeBytes(yys164Slc, true, true) + yys164 := string(yys164Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys160 { + switch yys164 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -2902,6 +3002,17 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } + case "flexVolume": + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "cinder": if r.TryDecodeAsNil() { if x.Cinder != nil { @@ -2958,9 +3069,9 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys160) - } // end switch yys160 - } // end for yyj160 + z.DecStructFieldNotFound(-1, yys164) + } // end switch yys164 + } // end for yyj164 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2968,16 +3079,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj177 int - var yyb177 bool - var yyhl177 bool = l >= 0 - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + var yyj182 int + var yyb182 bool + var yyhl182 bool = l >= 0 + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2992,13 +3103,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3013,13 +3124,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3034,13 +3145,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3055,13 +3166,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3076,13 +3187,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3097,13 +3208,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3118,13 +3229,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3139,13 +3250,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3160,13 +3271,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3181,13 +3292,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3202,13 +3313,34 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l + } else { + yyb182 = r.CheckBreak() + } + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3223,13 +3355,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3244,13 +3376,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3265,13 +3397,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3286,13 +3418,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3308,17 +3440,17 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FC.CodecDecodeSelf(d) } for { - yyj177++ - if yyhl177 { - yyb177 = yyj177 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb177 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb177 { + if yyb182 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj177-1, "") + z.DecStructFieldNotFound(yyj182-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3330,34 +3462,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym194 := z.EncBinary() - _ = yym194 + yym200 := z.EncBinary() + _ = yym200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep195 := !z.EncBinary() - yy2arr195 := z.EncBasicHandle().StructToArray - var yyq195 [2]bool - _, _, _ = yysep195, yyq195, yy2arr195 - const yyr195 bool = false - yyq195[1] = x.ReadOnly != false - var yynn195 int - if yyr195 || yy2arr195 { + 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 { r.EncodeArrayStart(2) } else { - yynn195 = 1 - for _, b := range yyq195 { + yynn201 = 1 + for _, b := range yyq201 { if b { - yynn195++ + yynn201++ } } - r.EncodeMapStart(yynn195) - yynn195 = 0 + r.EncodeMapStart(yynn201) + yynn201 = 0 } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym197 := z.EncBinary() - _ = yym197 + yym203 := z.EncBinary() + _ = yym203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -3366,18 +3498,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym198 := z.EncBinary() - _ = yym198 + yym204 := z.EncBinary() + _ = yym204 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq195[1] { - yym200 := z.EncBinary() - _ = yym200 + if yyq201[1] { + yym206 := z.EncBinary() + _ = yym206 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -3386,19 +3518,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq195[1] { + if yyq201[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym201 := z.EncBinary() - _ = yym201 + yym207 := z.EncBinary() + _ = yym207 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr195 || yy2arr195 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3411,25 +3543,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym202 := z.DecBinary() - _ = yym202 + yym208 := z.DecBinary() + _ = yym208 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct203 := r.ContainerType() - if yyct203 == codecSelferValueTypeMap1234 { - yyl203 := r.ReadMapStart() - if yyl203 == 0 { + yyct209 := r.ContainerType() + if yyct209 == codecSelferValueTypeMap1234 { + yyl209 := r.ReadMapStart() + if yyl209 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl203, d) + x.codecDecodeSelfFromMap(yyl209, d) } - } else if yyct203 == codecSelferValueTypeArray1234 { - yyl203 := r.ReadArrayStart() - if yyl203 == 0 { + } else if yyct209 == codecSelferValueTypeArray1234 { + yyl209 := r.ReadArrayStart() + if yyl209 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl203, d) + x.codecDecodeSelfFromArray(yyl209, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3441,12 +3573,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys204Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys204Slc - var yyhl204 bool = l >= 0 - for yyj204 := 0; ; yyj204++ { - if yyhl204 { - if yyj204 >= l { + var yys210Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys210Slc + var yyhl210 bool = l >= 0 + for yyj210 := 0; ; yyj210++ { + if yyhl210 { + if yyj210 >= l { break } } else { @@ -3455,10 +3587,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys204Slc = r.DecodeBytes(yys204Slc, true, true) - yys204 := string(yys204Slc) + yys210Slc = r.DecodeBytes(yys210Slc, true, true) + yys210 := string(yys210Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys204 { + switch yys210 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -3472,9 +3604,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys204) - } // end switch yys204 - } // end for yyj204 + z.DecStructFieldNotFound(-1, yys210) + } // end switch yys210 + } // end for yyj210 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3482,16 +3614,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj207 int - var yyb207 bool - var yyhl207 bool = l >= 0 - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + var yyj213 int + var yyb213 bool + var yyhl213 bool = l >= 0 + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb207 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb207 { + if yyb213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3501,13 +3633,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb207 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb207 { + if yyb213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3518,17 +3650,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb207 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb207 { + if yyb213 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj207-1, "") + z.DecStructFieldNotFound(yyj213-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3540,43 +3672,44 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym210 := z.EncBinary() - _ = yym210 + yym216 := z.EncBinary() + _ = yym216 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep211 := !z.EncBinary() - yy2arr211 := z.EncBasicHandle().StructToArray - var yyq211 [11]bool - _, _, _ = yysep211, yyq211, yy2arr211 - const yyr211 bool = false - yyq211[0] = x.GCEPersistentDisk != nil - yyq211[1] = x.AWSElasticBlockStore != nil - yyq211[2] = x.HostPath != nil - yyq211[3] = x.Glusterfs != nil - yyq211[4] = x.NFS != nil - yyq211[5] = x.RBD != nil - yyq211[6] = x.ISCSI != nil - yyq211[7] = x.Cinder != nil - yyq211[8] = x.CephFS != nil - yyq211[9] = x.FC != nil - yyq211[10] = x.Flocker != nil - var yynn211 int - if yyr211 || yy2arr211 { - r.EncodeArrayStart(11) + 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) } else { - yynn211 = 0 - for _, b := range yyq211 { + yynn217 = 0 + for _, b := range yyq217 { if b { - yynn211++ + yynn217++ } } - r.EncodeMapStart(yynn211) - yynn211 = 0 + r.EncodeMapStart(yynn217) + yynn217 = 0 } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[0] { + if yyq217[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -3586,7 +3719,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[0] { + if yyq217[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3597,9 +3730,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[1] { + if yyq217[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -3609,7 +3742,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[1] { + if yyq217[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3620,9 +3753,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[2] { + if yyq217[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -3632,7 +3765,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[2] { + if yyq217[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3643,9 +3776,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[3] { + if yyq217[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -3655,7 +3788,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[3] { + if yyq217[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3666,9 +3799,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[4] { + if yyq217[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -3678,7 +3811,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[4] { + if yyq217[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3689,9 +3822,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[5] { + if yyq217[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -3701,7 +3834,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[5] { + if yyq217[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3712,9 +3845,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[6] { + if yyq217[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -3724,7 +3857,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[6] { + if yyq217[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3735,9 +3868,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[7] { + if yyq217[7] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3747,7 +3880,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[7] { + if yyq217[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3758,9 +3891,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[8] { + if yyq217[8] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3770,7 +3903,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[8] { + if yyq217[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3781,9 +3914,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[9] { + if yyq217[9] { if x.FC == nil { r.EncodeNil() } else { @@ -3793,7 +3926,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[9] { + if yyq217[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3804,9 +3937,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq211[10] { + if yyq217[10] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3816,7 +3949,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq211[10] { + if yyq217[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3827,7 +3960,30 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr211 || yy2arr211 { + if yyr217 || yy2arr217 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq217[11] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq217[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + if yyr217 || yy2arr217 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3840,25 +3996,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym223 := z.DecBinary() - _ = yym223 + yym230 := z.DecBinary() + _ = yym230 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct224 := r.ContainerType() - if yyct224 == codecSelferValueTypeMap1234 { - yyl224 := r.ReadMapStart() - if yyl224 == 0 { + yyct231 := r.ContainerType() + if yyct231 == codecSelferValueTypeMap1234 { + yyl231 := r.ReadMapStart() + if yyl231 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl224, d) + x.codecDecodeSelfFromMap(yyl231, d) } - } else if yyct224 == codecSelferValueTypeArray1234 { - yyl224 := r.ReadArrayStart() - if yyl224 == 0 { + } else if yyct231 == codecSelferValueTypeArray1234 { + yyl231 := r.ReadArrayStart() + if yyl231 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl224, d) + x.codecDecodeSelfFromArray(yyl231, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3870,12 +4026,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys225Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys225Slc - var yyhl225 bool = l >= 0 - for yyj225 := 0; ; yyj225++ { - if yyhl225 { - if yyj225 >= l { + var yys232Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys232Slc + var yyhl232 bool = l >= 0 + for yyj232 := 0; ; yyj232++ { + if yyhl232 { + if yyj232 >= l { break } } else { @@ -3884,10 +4040,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys225Slc = r.DecodeBytes(yys225Slc, true, true) - yys225 := string(yys225Slc) + yys232Slc = r.DecodeBytes(yys232Slc, true, true) + yys232 := string(yys232Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys225 { + switch yys232 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -4009,10 +4165,21 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } x.Flocker.CodecDecodeSelf(d) } + case "flexVolume": + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys225) - } // end switch yys225 - } // end for yyj225 + z.DecStructFieldNotFound(-1, yys232) + } // end switch yys232 + } // end for yyj232 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4020,16 +4187,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj237 int - var yyb237 bool - var yyhl237 bool = l >= 0 - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + var yyj245 int + var yyb245 bool + var yyhl245 bool = l >= 0 + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4044,13 +4211,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4065,13 +4232,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4086,13 +4253,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4107,13 +4274,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4128,13 +4295,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4149,13 +4316,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4170,13 +4337,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4191,13 +4358,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4212,13 +4379,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4233,13 +4400,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb237 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb237 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4254,18 +4421,39 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - for { - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l - } else { - yyb237 = r.CheckBreak() + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l + } else { + yyb245 = r.CheckBreak() + } + if yyb245 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil } - if yyb237 { + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } + for { + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l + } else { + yyb245 = r.CheckBreak() + } + if yyb245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj237-1, "") + z.DecStructFieldNotFound(yyj245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4277,39 +4465,39 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym249 := z.EncBinary() - _ = yym249 + yym258 := z.EncBinary() + _ = yym258 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep250 := !z.EncBinary() - yy2arr250 := z.EncBasicHandle().StructToArray - var yyq250 [5]bool - _, _, _ = yysep250, yyq250, yy2arr250 - const yyr250 bool = false - yyq250[0] = x.Kind != "" - yyq250[1] = x.APIVersion != "" - yyq250[2] = true - yyq250[3] = true - yyq250[4] = true - var yynn250 int - if yyr250 || yy2arr250 { + yysep259 := !z.EncBinary() + yy2arr259 := z.EncBasicHandle().StructToArray + var yyq259 [5]bool + _, _, _ = yysep259, yyq259, yy2arr259 + const yyr259 bool = false + yyq259[0] = x.Kind != "" + yyq259[1] = x.APIVersion != "" + yyq259[2] = true + yyq259[3] = true + yyq259[4] = true + var yynn259 int + if yyr259 || yy2arr259 { r.EncodeArrayStart(5) } else { - yynn250 = 0 - for _, b := range yyq250 { + yynn259 = 0 + for _, b := range yyq259 { if b { - yynn250++ + yynn259++ } } - r.EncodeMapStart(yynn250) - yynn250 = 0 + r.EncodeMapStart(yynn259) + yynn259 = 0 } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[0] { - yym252 := z.EncBinary() - _ = yym252 + if yyq259[0] { + yym261 := z.EncBinary() + _ = yym261 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4318,23 +4506,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq250[0] { + if yyq259[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 + yym262 := z.EncBinary() + _ = yym262 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[1] { - yym255 := z.EncBinary() - _ = yym255 + if yyq259[1] { + yym264 := z.EncBinary() + _ = yym264 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4343,70 +4531,70 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq250[1] { + if yyq259[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym256 := z.EncBinary() - _ = yym256 + yym265 := z.EncBinary() + _ = yym265 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[2] { - yy258 := &x.ObjectMeta - yy258.CodecEncodeSelf(e) + if yyq259[2] { + yy267 := &x.ObjectMeta + yy267.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[2] { + if yyq259[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy259 := &x.ObjectMeta - yy259.CodecEncodeSelf(e) + yy268 := &x.ObjectMeta + yy268.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[3] { - yy261 := &x.Spec - yy261.CodecEncodeSelf(e) + if yyq259[3] { + yy270 := &x.Spec + yy270.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[3] { + if yyq259[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.Spec - yy262.CodecEncodeSelf(e) + yy271 := &x.Spec + yy271.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq250[4] { - yy264 := &x.Status - yy264.CodecEncodeSelf(e) + if yyq259[4] { + yy273 := &x.Status + yy273.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq250[4] { + if yyq259[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy265 := &x.Status - yy265.CodecEncodeSelf(e) + yy274 := &x.Status + yy274.CodecEncodeSelf(e) } } - if yyr250 || yy2arr250 { + if yyr259 || yy2arr259 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4419,25 +4607,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym266 := z.DecBinary() - _ = yym266 + yym275 := z.DecBinary() + _ = yym275 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct267 := r.ContainerType() - if yyct267 == codecSelferValueTypeMap1234 { - yyl267 := r.ReadMapStart() - if yyl267 == 0 { + yyct276 := r.ContainerType() + if yyct276 == codecSelferValueTypeMap1234 { + yyl276 := r.ReadMapStart() + if yyl276 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl267, d) + x.codecDecodeSelfFromMap(yyl276, d) } - } else if yyct267 == codecSelferValueTypeArray1234 { - yyl267 := r.ReadArrayStart() - if yyl267 == 0 { + } else if yyct276 == codecSelferValueTypeArray1234 { + yyl276 := r.ReadArrayStart() + if yyl276 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl267, d) + x.codecDecodeSelfFromArray(yyl276, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4449,12 +4637,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys268Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys268Slc - var yyhl268 bool = l >= 0 - for yyj268 := 0; ; yyj268++ { - if yyhl268 { - if yyj268 >= l { + var yys277Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys277Slc + var yyhl277 bool = l >= 0 + for yyj277 := 0; ; yyj277++ { + if yyhl277 { + if yyj277 >= l { break } } else { @@ -4463,10 +4651,10 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys268Slc = r.DecodeBytes(yys268Slc, true, true) - yys268 := string(yys268Slc) + yys277Slc = r.DecodeBytes(yys277Slc, true, true) + yys277 := string(yys277Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys268 { + switch yys277 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4483,27 +4671,27 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv271 := &x.ObjectMeta - yyv271.CodecDecodeSelf(d) + yyv280 := &x.ObjectMeta + yyv280.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv272 := &x.Spec - yyv272.CodecDecodeSelf(d) + yyv281 := &x.Spec + yyv281.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv273 := &x.Status - yyv273.CodecDecodeSelf(d) + yyv282 := &x.Status + yyv282.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys268) - } // end switch yys268 - } // end for yyj268 + z.DecStructFieldNotFound(-1, yys277) + } // end switch yys277 + } // end for yyj277 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4511,16 +4699,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj274 int - var yyb274 bool - var yyhl274 bool = l >= 0 - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + var yyj283 int + var yyb283 bool + var yyhl283 bool = l >= 0 + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4530,13 +4718,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4546,13 +4734,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4560,16 +4748,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv277 := &x.ObjectMeta - yyv277.CodecDecodeSelf(d) + yyv286 := &x.ObjectMeta + yyv286.CodecDecodeSelf(d) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4577,16 +4765,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv278 := &x.Spec - yyv278.CodecDecodeSelf(d) + yyv287 := &x.Spec + yyv287.CodecDecodeSelf(d) } - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4594,21 +4782,21 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv279 := &x.Status - yyv279.CodecDecodeSelf(d) + yyv288 := &x.Status + yyv288.CodecDecodeSelf(d) } for { - yyj274++ - if yyhl274 { - yyb274 = yyj274 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb274 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb274 { + if yyb283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj274-1, "") + z.DecStructFieldNotFound(yyj283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4620,47 +4808,48 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym280 := z.EncBinary() - _ = yym280 + yym289 := z.EncBinary() + _ = yym289 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep281 := !z.EncBinary() - yy2arr281 := z.EncBasicHandle().StructToArray - var yyq281 [15]bool - _, _, _ = yysep281, yyq281, yy2arr281 - const yyr281 bool = false - yyq281[0] = len(x.Capacity) != 0 - yyq281[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq281[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq281[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq281[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq281[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq281[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq281[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq281[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq281[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq281[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq281[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq281[12] = len(x.AccessModes) != 0 - yyq281[13] = x.ClaimRef != nil - yyq281[14] = x.PersistentVolumeReclaimPolicy != "" - var yynn281 int - if yyr281 || yy2arr281 { - r.EncodeArrayStart(15) + 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] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq290[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq290[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq290[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq290[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq290[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq290[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq290[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq290[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq290[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq290[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq290[12] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq290[13] = len(x.AccessModes) != 0 + yyq290[14] = x.ClaimRef != nil + yyq290[15] = x.PersistentVolumeReclaimPolicy != "" + var yynn290 int + if yyr290 || yy2arr290 { + r.EncodeArrayStart(16) } else { - yynn281 = 0 - for _, b := range yyq281 { + yynn290 = 0 + for _, b := range yyq290 { if b { - yynn281++ + yynn290++ } } - r.EncodeMapStart(yynn281) - yynn281 = 0 + r.EncodeMapStart(yynn290) + yynn290 = 0 } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[0] { + if yyq290[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -4670,7 +4859,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq281[0] { + if yyq290[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4681,388 +4870,388 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn283 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn283 = true - goto LABEL283 - } - LABEL283: - if yyr281 || yy2arr281 { - if yyn283 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[1] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn283 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn284 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn284 = true - goto LABEL284 - } - LABEL284: - if yyr281 || yy2arr281 { - if yyn284 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[2] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn284 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn285 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn285 = true - goto LABEL285 - } - LABEL285: - if yyr281 || yy2arr281 { - if yyn285 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[3] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn285 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn286 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn286 = true - goto LABEL286 - } - LABEL286: - if yyr281 || yy2arr281 { - if yyn286 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[4] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn286 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn287 bool - if x.PersistentVolumeSource.NFS == nil { - yyn287 = true - goto LABEL287 - } - LABEL287: - if yyr281 || yy2arr281 { - if yyn287 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[5] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn287 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn288 bool - if x.PersistentVolumeSource.RBD == nil { - yyn288 = true - goto LABEL288 - } - LABEL288: - if yyr281 || yy2arr281 { - if yyn288 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[6] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn288 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn289 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn289 = true - goto LABEL289 - } - LABEL289: - if yyr281 || yy2arr281 { - if yyn289 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[7] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn289 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn290 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn290 = true - goto LABEL290 - } - LABEL290: - if yyr281 || yy2arr281 { - if yyn290 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[8] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn290 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } - var yyn291 bool - if x.PersistentVolumeSource.CephFS == nil { - yyn291 = true - goto LABEL291 - } - LABEL291: - if yyr281 || yy2arr281 { - if yyn291 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[9] { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq281[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn291 { - r.EncodeNil() - } else { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } - } - } var yyn292 bool - if x.PersistentVolumeSource.FC == nil { + if x.PersistentVolumeSource.GCEPersistentDisk == nil { yyn292 = true goto LABEL292 } LABEL292: - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { if yyn292 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[10] { - if x.FC == nil { + if yyq290[1] { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } else { r.EncodeNil() } } } else { - if yyq281[10] { + if yyq290[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if yyn292 { r.EncodeNil() } else { - if x.FC == nil { + if x.GCEPersistentDisk == nil { r.EncodeNil() } else { - x.FC.CodecEncodeSelf(e) + x.GCEPersistentDisk.CodecEncodeSelf(e) } } } } var yyn293 bool - if x.PersistentVolumeSource.Flocker == nil { + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { yyn293 = true goto LABEL293 } LABEL293: - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { if yyn293 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[11] { + if yyq290[2] { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn293 { + r.EncodeNil() + } else { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } + } + } + var yyn294 bool + if x.PersistentVolumeSource.HostPath == nil { + yyn294 = true + goto LABEL294 + } + LABEL294: + if yyr290 || yy2arr290 { + if yyn294 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[3] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn294 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn295 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn295 = true + goto LABEL295 + } + LABEL295: + if yyr290 || yy2arr290 { + if yyn295 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[4] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn295 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn296 bool + if x.PersistentVolumeSource.NFS == nil { + yyn296 = true + goto LABEL296 + } + LABEL296: + if yyr290 || yy2arr290 { + if yyn296 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[5] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn296 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn297 bool + if x.PersistentVolumeSource.RBD == nil { + yyn297 = true + goto LABEL297 + } + LABEL297: + if yyr290 || yy2arr290 { + if yyn297 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[6] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn297 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn298 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn298 = true + goto LABEL298 + } + LABEL298: + if yyr290 || yy2arr290 { + if yyn298 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[7] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn298 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn299 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn299 = true + goto LABEL299 + } + LABEL299: + if yyr290 || yy2arr290 { + if yyn299 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[8] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn299 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn300 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn300 = true + goto LABEL300 + } + LABEL300: + if yyr290 || yy2arr290 { + if yyn300 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[9] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn300 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn301 bool + if x.PersistentVolumeSource.FC == nil { + yyn301 = true + goto LABEL301 + } + LABEL301: + if yyr290 || yy2arr290 { + if yyn301 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[10] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn301 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn302 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn302 = true + goto LABEL302 + } + LABEL302: + if yyr290 || yy2arr290 { + if yyn302 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[11] { if x.Flocker == nil { r.EncodeNil() } else { @@ -5073,11 +5262,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq281[11] { + if yyq290[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn293 { + if yyn302 { r.EncodeNil() } else { if x.Flocker == nil { @@ -5088,14 +5277,51 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + var yyn303 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn303 = true + goto LABEL303 + } + LABEL303: + if yyr290 || yy2arr290 { + if yyn303 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq290[12] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq290[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn303 { + r.EncodeNil() + } else { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + } + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[12] { + if yyq290[13] { if x.AccessModes == nil { r.EncodeNil() } else { - yym295 := z.EncBinary() - _ = yym295 + yym305 := z.EncBinary() + _ = yym305 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5105,15 +5331,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq281[12] { + if yyq290[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym296 := z.EncBinary() - _ = yym296 + yym306 := z.EncBinary() + _ = yym306 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5121,9 +5347,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[13] { + if yyq290[14] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -5133,7 +5359,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq281[13] { + if yyq290[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5144,22 +5370,22 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq281[14] { + if yyq290[15] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq281[14] { + if yyq290[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - if yyr281 || yy2arr281 { + if yyr290 || yy2arr290 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5172,25 +5398,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym299 := z.DecBinary() - _ = yym299 + yym309 := z.DecBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct300 := r.ContainerType() - if yyct300 == codecSelferValueTypeMap1234 { - yyl300 := r.ReadMapStart() - if yyl300 == 0 { + yyct310 := r.ContainerType() + if yyct310 == codecSelferValueTypeMap1234 { + yyl310 := r.ReadMapStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl300, d) + x.codecDecodeSelfFromMap(yyl310, d) } - } else if yyct300 == codecSelferValueTypeArray1234 { - yyl300 := r.ReadArrayStart() - if yyl300 == 0 { + } else if yyct310 == codecSelferValueTypeArray1234 { + yyl310 := r.ReadArrayStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl300, d) + x.codecDecodeSelfFromArray(yyl310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5202,12 +5428,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys301Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys301Slc - var yyhl301 bool = l >= 0 - for yyj301 := 0; ; yyj301++ { - if yyhl301 { - if yyj301 >= l { + var yys311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys311Slc + var yyhl311 bool = l >= 0 + for yyj311 := 0; ; yyj311++ { + if yyhl311 { + if yyj311 >= l { break } } else { @@ -5216,16 +5442,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys301Slc = r.DecodeBytes(yys301Slc, true, true) - yys301 := string(yys301Slc) + yys311Slc = r.DecodeBytes(yys311Slc, true, true) + yys311 := string(yys311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys301 { + switch yys311 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv302 := &x.Capacity - yyv302.CodecDecodeSelf(d) + yyv312 := &x.Capacity + yyv312.CodecDecodeSelf(d) } case "gcePersistentDisk": if x.PersistentVolumeSource.GCEPersistentDisk == nil { @@ -5381,16 +5607,30 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.Flocker.CodecDecodeSelf(d) } + case "flexVolume": + if x.PersistentVolumeSource.FlexVolume == nil { + x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) + } + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv314 := &x.AccessModes - yym315 := z.DecBinary() - _ = yym315 + yyv325 := &x.AccessModes + yym326 := z.DecBinary() + _ = yym326 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv314), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv325), d) } } case "claimRef": @@ -5411,9 +5651,9 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys301) - } // end switch yys301 - } // end for yyj301 + z.DecStructFieldNotFound(-1, yys311) + } // end switch yys311 + } // end for yyj311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5421,16 +5661,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj318 int - var yyb318 bool - var yyhl318 bool = l >= 0 - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + var yyj329 int + var yyb329 bool + var yyhl329 bool = l >= 0 + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5438,19 +5678,19 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv319 := &x.Capacity - yyv319.CodecDecodeSelf(d) + yyv330 := &x.Capacity + yyv330.CodecDecodeSelf(d) } if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5468,13 +5708,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5492,13 +5732,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5516,13 +5756,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5540,13 +5780,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5564,13 +5804,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5588,13 +5828,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5612,13 +5852,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5636,13 +5876,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5660,13 +5900,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5684,13 +5924,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5705,13 +5945,37 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.Flocker.CodecDecodeSelf(d) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l - } else { - yyb318 = r.CheckBreak() + if x.PersistentVolumeSource.FlexVolume == nil { + x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - if yyb318 { + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l + } else { + yyb329 = r.CheckBreak() + } + if yyb329 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.FlexVolume != nil { + x.FlexVolume = nil + } + } else { + if x.FlexVolume == nil { + x.FlexVolume = new(FlexVolumeSource) + } + x.FlexVolume.CodecDecodeSelf(d) + } + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l + } else { + yyb329 = r.CheckBreak() + } + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5719,21 +5983,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv331 := &x.AccessModes - yym332 := z.DecBinary() - _ = yym332 + yyv343 := &x.AccessModes + yym344 := z.DecBinary() + _ = yym344 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv331), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv343), d) } } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5748,13 +6012,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ClaimRef.CodecDecodeSelf(d) } - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5765,17 +6029,17 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) } for { - yyj318++ - if yyhl318 { - yyb318 = yyj318 > l + yyj329++ + if yyhl329 { + yyb329 = yyj329 > l } else { - yyb318 = r.CheckBreak() + yyb329 = r.CheckBreak() } - if yyb318 { + if yyb329 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj318-1, "") + z.DecStructFieldNotFound(yyj329-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5784,8 +6048,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym335 := z.EncBinary() - _ = yym335 + yym347 := z.EncBinary() + _ = yym347 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -5797,8 +6061,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym336 := z.DecBinary() - _ = yym336 + yym348 := z.DecBinary() + _ = yym348 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -5813,52 +6077,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym337 := z.EncBinary() - _ = yym337 + yym349 := z.EncBinary() + _ = yym349 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep338 := !z.EncBinary() - yy2arr338 := z.EncBasicHandle().StructToArray - var yyq338 [3]bool - _, _, _ = yysep338, yyq338, yy2arr338 - const yyr338 bool = false - yyq338[0] = x.Phase != "" - yyq338[1] = x.Message != "" - yyq338[2] = x.Reason != "" - var yynn338 int - if yyr338 || yy2arr338 { + 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 { r.EncodeArrayStart(3) } else { - yynn338 = 0 - for _, b := range yyq338 { + yynn350 = 0 + for _, b := range yyq350 { if b { - yynn338++ + yynn350++ } } - r.EncodeMapStart(yynn338) - yynn338 = 0 + r.EncodeMapStart(yynn350) + yynn350 = 0 } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[0] { + if yyq350[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[0] { + if yyq350[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[1] { - yym341 := z.EncBinary() - _ = yym341 + if yyq350[1] { + yym353 := z.EncBinary() + _ = yym353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -5867,23 +6131,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[1] { + if yyq350[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym342 := z.EncBinary() - _ = yym342 + yym354 := z.EncBinary() + _ = yym354 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq338[2] { - yym344 := z.EncBinary() - _ = yym344 + if yyq350[2] { + yym356 := z.EncBinary() + _ = yym356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -5892,19 +6156,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq338[2] { + if yyq350[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym345 := z.EncBinary() - _ = yym345 + yym357 := z.EncBinary() + _ = yym357 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr338 || yy2arr338 { + if yyr350 || yy2arr350 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5917,25 +6181,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym346 := z.DecBinary() - _ = yym346 + yym358 := z.DecBinary() + _ = yym358 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct347 := r.ContainerType() - if yyct347 == codecSelferValueTypeMap1234 { - yyl347 := r.ReadMapStart() - if yyl347 == 0 { + yyct359 := r.ContainerType() + if yyct359 == codecSelferValueTypeMap1234 { + yyl359 := r.ReadMapStart() + if yyl359 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl347, d) + x.codecDecodeSelfFromMap(yyl359, d) } - } else if yyct347 == codecSelferValueTypeArray1234 { - yyl347 := r.ReadArrayStart() - if yyl347 == 0 { + } else if yyct359 == codecSelferValueTypeArray1234 { + yyl359 := r.ReadArrayStart() + if yyl359 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl347, d) + x.codecDecodeSelfFromArray(yyl359, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5947,12 +6211,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys348Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys348Slc - var yyhl348 bool = l >= 0 - for yyj348 := 0; ; yyj348++ { - if yyhl348 { - if yyj348 >= l { + var yys360Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys360Slc + var yyhl360 bool = l >= 0 + for yyj360 := 0; ; yyj360++ { + if yyhl360 { + if yyj360 >= l { break } } else { @@ -5961,10 +6225,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys348Slc = r.DecodeBytes(yys348Slc, true, true) - yys348 := string(yys348Slc) + yys360Slc = r.DecodeBytes(yys360Slc, true, true) + yys360 := string(yys360Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys348 { + switch yys360 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -5984,9 +6248,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys348) - } // end switch yys348 - } // end for yyj348 + z.DecStructFieldNotFound(-1, yys360) + } // end switch yys360 + } // end for yyj360 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5994,16 +6258,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj352 int - var yyb352 bool - var yyhl352 bool = l >= 0 - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + var yyj364 int + var yyb364 bool + var yyhl364 bool = l >= 0 + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6013,13 +6277,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6029,13 +6293,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6046,17 +6310,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj352++ - if yyhl352 { - yyb352 = yyj352 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb352 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb352 { + if yyb364 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj352-1, "") + z.DecStructFieldNotFound(yyj364-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6068,37 +6332,37 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym356 := z.EncBinary() - _ = yym356 + yym368 := z.EncBinary() + _ = yym368 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep357 := !z.EncBinary() - yy2arr357 := z.EncBasicHandle().StructToArray - var yyq357 [4]bool - _, _, _ = yysep357, yyq357, yy2arr357 - const yyr357 bool = false - yyq357[0] = x.Kind != "" - yyq357[1] = x.APIVersion != "" - yyq357[2] = true - var yynn357 int - if yyr357 || yy2arr357 { + yysep369 := !z.EncBinary() + yy2arr369 := z.EncBasicHandle().StructToArray + var yyq369 [4]bool + _, _, _ = yysep369, yyq369, yy2arr369 + const yyr369 bool = false + yyq369[0] = x.Kind != "" + yyq369[1] = x.APIVersion != "" + yyq369[2] = true + var yynn369 int + if yyr369 || yy2arr369 { r.EncodeArrayStart(4) } else { - yynn357 = 1 - for _, b := range yyq357 { + yynn369 = 1 + for _, b := range yyq369 { if b { - yynn357++ + yynn369++ } } - r.EncodeMapStart(yynn357) - yynn357 = 0 + r.EncodeMapStart(yynn369) + yynn369 = 0 } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[0] { - yym359 := z.EncBinary() - _ = yym359 + if yyq369[0] { + yym371 := z.EncBinary() + _ = yym371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6107,23 +6371,23 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq357[0] { + if yyq369[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym360 := z.EncBinary() - _ = yym360 + yym372 := z.EncBinary() + _ = yym372 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[1] { - yym362 := z.EncBinary() - _ = yym362 + if yyq369[1] { + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6132,54 +6396,54 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq357[1] { + if yyq369[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym363 := z.EncBinary() - _ = yym363 + yym375 := z.EncBinary() + _ = yym375 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq357[2] { - yy365 := &x.ListMeta - yym366 := z.EncBinary() - _ = yym366 + if yyq369[2] { + yy377 := &x.ListMeta + yym378 := z.EncBinary() + _ = yym378 if false { - } else if z.HasExtensions() && z.EncExt(yy365) { + } else if z.HasExtensions() && z.EncExt(yy377) { } else { - z.EncFallback(yy365) + z.EncFallback(yy377) } } else { r.EncodeNil() } } else { - if yyq357[2] { + if yyq369[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy367 := &x.ListMeta - yym368 := z.EncBinary() - _ = yym368 + yy379 := &x.ListMeta + yym380 := z.EncBinary() + _ = yym380 if false { - } else if z.HasExtensions() && z.EncExt(yy367) { + } else if z.HasExtensions() && z.EncExt(yy379) { } else { - z.EncFallback(yy367) + z.EncFallback(yy379) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym370 := z.EncBinary() - _ = yym370 + yym382 := z.EncBinary() + _ = yym382 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -6192,15 +6456,15 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym371 := z.EncBinary() - _ = yym371 + yym383 := z.EncBinary() + _ = yym383 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr357 || yy2arr357 { + if yyr369 || yy2arr369 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6213,25 +6477,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym372 := z.DecBinary() - _ = yym372 + yym384 := z.DecBinary() + _ = yym384 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct373 := r.ContainerType() - if yyct373 == codecSelferValueTypeMap1234 { - yyl373 := r.ReadMapStart() - if yyl373 == 0 { + yyct385 := r.ContainerType() + if yyct385 == codecSelferValueTypeMap1234 { + yyl385 := r.ReadMapStart() + if yyl385 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl373, d) + x.codecDecodeSelfFromMap(yyl385, d) } - } else if yyct373 == codecSelferValueTypeArray1234 { - yyl373 := r.ReadArrayStart() - if yyl373 == 0 { + } else if yyct385 == codecSelferValueTypeArray1234 { + yyl385 := r.ReadArrayStart() + if yyl385 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl373, d) + x.codecDecodeSelfFromArray(yyl385, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6243,12 +6507,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys374Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys374Slc - var yyhl374 bool = l >= 0 - for yyj374 := 0; ; yyj374++ { - if yyhl374 { - if yyj374 >= l { + var yys386Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys386Slc + var yyhl386 bool = l >= 0 + for yyj386 := 0; ; yyj386++ { + if yyhl386 { + if yyj386 >= l { break } } else { @@ -6257,10 +6521,10 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys374Slc = r.DecodeBytes(yys374Slc, true, true) - yys374 := string(yys374Slc) + yys386Slc = r.DecodeBytes(yys386Slc, true, true) + yys386 := string(yys386Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys374 { + switch yys386 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6277,31 +6541,31 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv377 := &x.ListMeta - yym378 := z.DecBinary() - _ = yym378 + yyv389 := &x.ListMeta + yym390 := z.DecBinary() + _ = yym390 if false { - } else if z.HasExtensions() && z.DecExt(yyv377) { + } else if z.HasExtensions() && z.DecExt(yyv389) { } else { - z.DecFallback(yyv377, false) + z.DecFallback(yyv389, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv379 := &x.Items - yym380 := z.DecBinary() - _ = yym380 + yyv391 := &x.Items + yym392 := z.DecBinary() + _ = yym392 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv379), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv391), d) } } default: - z.DecStructFieldNotFound(-1, yys374) - } // end switch yys374 - } // end for yyj374 + z.DecStructFieldNotFound(-1, yys386) + } // end switch yys386 + } // end for yyj386 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6309,16 +6573,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj381 int - var yyb381 bool - var yyhl381 bool = l >= 0 - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + var yyj393 int + var yyb393 bool + var yyhl393 bool = l >= 0 + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6328,13 +6592,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6344,13 +6608,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6358,22 +6622,22 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv384 := &x.ListMeta - yym385 := z.DecBinary() - _ = yym385 + yyv396 := &x.ListMeta + yym397 := z.DecBinary() + _ = yym397 if false { - } else if z.HasExtensions() && z.DecExt(yyv384) { + } else if z.HasExtensions() && z.DecExt(yyv396) { } else { - z.DecFallback(yyv384, false) + z.DecFallback(yyv396, false) } } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6381,26 +6645,26 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Items = nil } else { - yyv386 := &x.Items - yym387 := z.DecBinary() - _ = yym387 + yyv398 := &x.Items + yym399 := z.DecBinary() + _ = yym399 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv386), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv398), d) } } for { - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj393++ + if yyhl393 { + yyb393 = yyj393 > l } else { - yyb381 = r.CheckBreak() + yyb393 = r.CheckBreak() } - if yyb381 { + if yyb393 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj381-1, "") + z.DecStructFieldNotFound(yyj393-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6412,39 +6676,39 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym388 := z.EncBinary() - _ = yym388 + yym400 := z.EncBinary() + _ = yym400 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep389 := !z.EncBinary() - yy2arr389 := z.EncBasicHandle().StructToArray - var yyq389 [5]bool - _, _, _ = yysep389, yyq389, yy2arr389 - const yyr389 bool = false - yyq389[0] = x.Kind != "" - yyq389[1] = x.APIVersion != "" - yyq389[2] = true - yyq389[3] = true - yyq389[4] = true - var yynn389 int - if yyr389 || yy2arr389 { + yysep401 := !z.EncBinary() + yy2arr401 := z.EncBasicHandle().StructToArray + var yyq401 [5]bool + _, _, _ = yysep401, yyq401, yy2arr401 + const yyr401 bool = false + yyq401[0] = x.Kind != "" + yyq401[1] = x.APIVersion != "" + yyq401[2] = true + yyq401[3] = true + yyq401[4] = true + var yynn401 int + if yyr401 || yy2arr401 { r.EncodeArrayStart(5) } else { - yynn389 = 0 - for _, b := range yyq389 { + yynn401 = 0 + for _, b := range yyq401 { if b { - yynn389++ + yynn401++ } } - r.EncodeMapStart(yynn389) - yynn389 = 0 + r.EncodeMapStart(yynn401) + yynn401 = 0 } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[0] { - yym391 := z.EncBinary() - _ = yym391 + if yyq401[0] { + yym403 := z.EncBinary() + _ = yym403 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6453,23 +6717,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq389[0] { + if yyq401[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym392 := z.EncBinary() - _ = yym392 + yym404 := z.EncBinary() + _ = yym404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[1] { - yym394 := z.EncBinary() - _ = yym394 + if yyq401[1] { + yym406 := z.EncBinary() + _ = yym406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6478,70 +6742,70 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq389[1] { + if yyq401[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym395 := z.EncBinary() - _ = yym395 + yym407 := z.EncBinary() + _ = yym407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[2] { - yy397 := &x.ObjectMeta - yy397.CodecEncodeSelf(e) + if yyq401[2] { + yy409 := &x.ObjectMeta + yy409.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[2] { + if yyq401[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy398 := &x.ObjectMeta - yy398.CodecEncodeSelf(e) + yy410 := &x.ObjectMeta + yy410.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[3] { - yy400 := &x.Spec - yy400.CodecEncodeSelf(e) + if yyq401[3] { + yy412 := &x.Spec + yy412.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[3] { + if yyq401[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy401 := &x.Spec - yy401.CodecEncodeSelf(e) + yy413 := &x.Spec + yy413.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq389[4] { - yy403 := &x.Status - yy403.CodecEncodeSelf(e) + if yyq401[4] { + yy415 := &x.Status + yy415.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq389[4] { + if yyq401[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy404 := &x.Status - yy404.CodecEncodeSelf(e) + yy416 := &x.Status + yy416.CodecEncodeSelf(e) } } - if yyr389 || yy2arr389 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6554,25 +6818,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym405 := z.DecBinary() - _ = yym405 + yym417 := z.DecBinary() + _ = yym417 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct406 := r.ContainerType() - if yyct406 == codecSelferValueTypeMap1234 { - yyl406 := r.ReadMapStart() - if yyl406 == 0 { + yyct418 := r.ContainerType() + if yyct418 == codecSelferValueTypeMap1234 { + yyl418 := r.ReadMapStart() + if yyl418 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl406, d) + x.codecDecodeSelfFromMap(yyl418, d) } - } else if yyct406 == codecSelferValueTypeArray1234 { - yyl406 := r.ReadArrayStart() - if yyl406 == 0 { + } else if yyct418 == codecSelferValueTypeArray1234 { + yyl418 := r.ReadArrayStart() + if yyl418 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl406, d) + x.codecDecodeSelfFromArray(yyl418, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6584,12 +6848,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys407Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys407Slc - var yyhl407 bool = l >= 0 - for yyj407 := 0; ; yyj407++ { - if yyhl407 { - if yyj407 >= l { + var yys419Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys419Slc + var yyhl419 bool = l >= 0 + for yyj419 := 0; ; yyj419++ { + if yyhl419 { + if yyj419 >= l { break } } else { @@ -6598,10 +6862,10 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys407Slc = r.DecodeBytes(yys407Slc, true, true) - yys407 := string(yys407Slc) + yys419Slc = r.DecodeBytes(yys419Slc, true, true) + yys419 := string(yys419Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys407 { + switch yys419 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6618,27 +6882,27 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv410 := &x.ObjectMeta - yyv410.CodecDecodeSelf(d) + yyv422 := &x.ObjectMeta + yyv422.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv411 := &x.Spec - yyv411.CodecDecodeSelf(d) + yyv423 := &x.Spec + yyv423.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv412 := &x.Status - yyv412.CodecDecodeSelf(d) + yyv424 := &x.Status + yyv424.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys407) - } // end switch yys407 - } // end for yyj407 + z.DecStructFieldNotFound(-1, yys419) + } // end switch yys419 + } // end for yyj419 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6646,16 +6910,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj413 int - var yyb413 bool - var yyhl413 bool = l >= 0 - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + var yyj425 int + var yyb425 bool + var yyhl425 bool = l >= 0 + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6665,13 +6929,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6681,13 +6945,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6695,16 +6959,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv416 := &x.ObjectMeta - yyv416.CodecDecodeSelf(d) + yyv428 := &x.ObjectMeta + yyv428.CodecDecodeSelf(d) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6712,16 +6976,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv417 := &x.Spec - yyv417.CodecDecodeSelf(d) + yyv429 := &x.Spec + yyv429.CodecDecodeSelf(d) } - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6729,21 +6993,21 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv418 := &x.Status - yyv418.CodecDecodeSelf(d) + yyv430 := &x.Status + yyv430.CodecDecodeSelf(d) } for { - yyj413++ - if yyhl413 { - yyb413 = yyj413 > l + yyj425++ + if yyhl425 { + yyb425 = yyj425 > l } else { - yyb413 = r.CheckBreak() + yyb425 = r.CheckBreak() } - if yyb413 { + if yyb425 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj413-1, "") + z.DecStructFieldNotFound(yyj425-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6755,37 +7019,37 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym419 := z.EncBinary() - _ = yym419 + yym431 := z.EncBinary() + _ = yym431 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep420 := !z.EncBinary() - yy2arr420 := z.EncBasicHandle().StructToArray - var yyq420 [4]bool - _, _, _ = yysep420, yyq420, yy2arr420 - const yyr420 bool = false - yyq420[0] = x.Kind != "" - yyq420[1] = x.APIVersion != "" - yyq420[2] = true - var yynn420 int - if yyr420 || yy2arr420 { + yysep432 := !z.EncBinary() + yy2arr432 := z.EncBasicHandle().StructToArray + var yyq432 [4]bool + _, _, _ = yysep432, yyq432, yy2arr432 + const yyr432 bool = false + yyq432[0] = x.Kind != "" + yyq432[1] = x.APIVersion != "" + yyq432[2] = true + var yynn432 int + if yyr432 || yy2arr432 { r.EncodeArrayStart(4) } else { - yynn420 = 1 - for _, b := range yyq420 { + yynn432 = 1 + for _, b := range yyq432 { if b { - yynn420++ + yynn432++ } } - r.EncodeMapStart(yynn420) - yynn420 = 0 + r.EncodeMapStart(yynn432) + yynn432 = 0 } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[0] { - yym422 := z.EncBinary() - _ = yym422 + if yyq432[0] { + yym434 := z.EncBinary() + _ = yym434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6794,23 +7058,23 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq420[0] { + if yyq432[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym423 := z.EncBinary() - _ = yym423 + yym435 := z.EncBinary() + _ = yym435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[1] { - yym425 := z.EncBinary() - _ = yym425 + if yyq432[1] { + yym437 := z.EncBinary() + _ = yym437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6819,54 +7083,54 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq420[1] { + if yyq432[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym426 := z.EncBinary() - _ = yym426 + yym438 := z.EncBinary() + _ = yym438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[2] { - yy428 := &x.ListMeta - yym429 := z.EncBinary() - _ = yym429 + if yyq432[2] { + yy440 := &x.ListMeta + yym441 := z.EncBinary() + _ = yym441 if false { - } else if z.HasExtensions() && z.EncExt(yy428) { + } else if z.HasExtensions() && z.EncExt(yy440) { } else { - z.EncFallback(yy428) + z.EncFallback(yy440) } } else { r.EncodeNil() } } else { - if yyq420[2] { + if yyq432[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy430 := &x.ListMeta - yym431 := z.EncBinary() - _ = yym431 + yy442 := &x.ListMeta + yym443 := z.EncBinary() + _ = yym443 if false { - } else if z.HasExtensions() && z.EncExt(yy430) { + } else if z.HasExtensions() && z.EncExt(yy442) { } else { - z.EncFallback(yy430) + z.EncFallback(yy442) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym433 := z.EncBinary() - _ = yym433 + yym445 := z.EncBinary() + _ = yym445 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -6879,15 +7143,15 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym434 := z.EncBinary() - _ = yym434 + yym446 := z.EncBinary() + _ = yym446 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr420 || yy2arr420 { + if yyr432 || yy2arr432 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6900,25 +7164,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym435 := z.DecBinary() - _ = yym435 + yym447 := z.DecBinary() + _ = yym447 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct436 := r.ContainerType() - if yyct436 == codecSelferValueTypeMap1234 { - yyl436 := r.ReadMapStart() - if yyl436 == 0 { + yyct448 := r.ContainerType() + if yyct448 == codecSelferValueTypeMap1234 { + yyl448 := r.ReadMapStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl436, d) + x.codecDecodeSelfFromMap(yyl448, d) } - } else if yyct436 == codecSelferValueTypeArray1234 { - yyl436 := r.ReadArrayStart() - if yyl436 == 0 { + } else if yyct448 == codecSelferValueTypeArray1234 { + yyl448 := r.ReadArrayStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl436, d) + x.codecDecodeSelfFromArray(yyl448, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6930,12 +7194,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys437Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys437Slc - var yyhl437 bool = l >= 0 - for yyj437 := 0; ; yyj437++ { - if yyhl437 { - if yyj437 >= l { + var yys449Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys449Slc + var yyhl449 bool = l >= 0 + for yyj449 := 0; ; yyj449++ { + if yyhl449 { + if yyj449 >= l { break } } else { @@ -6944,10 +7208,10 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys437Slc = r.DecodeBytes(yys437Slc, true, true) - yys437 := string(yys437Slc) + yys449Slc = r.DecodeBytes(yys449Slc, true, true) + yys449 := string(yys449Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys437 { + switch yys449 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6964,31 +7228,31 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv440 := &x.ListMeta - yym441 := z.DecBinary() - _ = yym441 + yyv452 := &x.ListMeta + yym453 := z.DecBinary() + _ = yym453 if false { - } else if z.HasExtensions() && z.DecExt(yyv440) { + } else if z.HasExtensions() && z.DecExt(yyv452) { } else { - z.DecFallback(yyv440, false) + z.DecFallback(yyv452, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv442 := &x.Items - yym443 := z.DecBinary() - _ = yym443 + yyv454 := &x.Items + yym455 := z.DecBinary() + _ = yym455 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv442), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv454), d) } } default: - z.DecStructFieldNotFound(-1, yys437) - } // end switch yys437 - } // end for yyj437 + z.DecStructFieldNotFound(-1, yys449) + } // end switch yys449 + } // end for yyj449 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6996,16 +7260,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj444 int - var yyb444 bool - var yyhl444 bool = l >= 0 - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + var yyj456 int + var yyb456 bool + var yyhl456 bool = l >= 0 + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7015,13 +7279,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7031,13 +7295,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7045,22 +7309,22 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv447 := &x.ListMeta - yym448 := z.DecBinary() - _ = yym448 + yyv459 := &x.ListMeta + yym460 := z.DecBinary() + _ = yym460 if false { - } else if z.HasExtensions() && z.DecExt(yyv447) { + } else if z.HasExtensions() && z.DecExt(yyv459) { } else { - z.DecFallback(yyv447, false) + z.DecFallback(yyv459, false) } } - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7068,26 +7332,26 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv449 := &x.Items - yym450 := z.DecBinary() - _ = yym450 + yyv461 := &x.Items + yym462 := z.DecBinary() + _ = yym462 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv449), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv461), d) } } for { - yyj444++ - if yyhl444 { - yyb444 = yyj444 > l + yyj456++ + if yyhl456 { + yyb456 = yyj456 > l } else { - yyb444 = r.CheckBreak() + yyb456 = r.CheckBreak() } - if yyb444 { + if yyb456 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj444-1, "") + z.DecStructFieldNotFound(yyj456-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7099,40 +7363,40 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym451 := z.EncBinary() - _ = yym451 + yym463 := z.EncBinary() + _ = yym463 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep452 := !z.EncBinary() - yy2arr452 := z.EncBasicHandle().StructToArray - var yyq452 [3]bool - _, _, _ = yysep452, yyq452, yy2arr452 - const yyr452 bool = false - yyq452[0] = len(x.AccessModes) != 0 - yyq452[1] = true - yyq452[2] = x.VolumeName != "" - var yynn452 int - if yyr452 || yy2arr452 { + 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 { r.EncodeArrayStart(3) } else { - yynn452 = 0 - for _, b := range yyq452 { + yynn464 = 0 + for _, b := range yyq464 { if b { - yynn452++ + yynn464++ } } - r.EncodeMapStart(yynn452) - yynn452 = 0 + r.EncodeMapStart(yynn464) + yynn464 = 0 } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[0] { + if yyq464[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym454 := z.EncBinary() - _ = yym454 + yym466 := z.EncBinary() + _ = yym466 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7142,15 +7406,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq452[0] { + if yyq464[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym455 := z.EncBinary() - _ = yym455 + yym467 := z.EncBinary() + _ = yym467 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7158,28 +7422,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[1] { - yy457 := &x.Resources - yy457.CodecEncodeSelf(e) + if yyq464[1] { + yy469 := &x.Resources + yy469.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq452[1] { + if yyq464[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy458 := &x.Resources - yy458.CodecEncodeSelf(e) + yy470 := &x.Resources + yy470.CodecEncodeSelf(e) } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq452[2] { - yym460 := z.EncBinary() - _ = yym460 + if yyq464[2] { + yym472 := z.EncBinary() + _ = yym472 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -7188,19 +7452,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq452[2] { + if yyq464[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym461 := z.EncBinary() - _ = yym461 + yym473 := z.EncBinary() + _ = yym473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr452 || yy2arr452 { + if yyr464 || yy2arr464 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7213,25 +7477,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym462 := z.DecBinary() - _ = yym462 + yym474 := z.DecBinary() + _ = yym474 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct463 := r.ContainerType() - if yyct463 == codecSelferValueTypeMap1234 { - yyl463 := r.ReadMapStart() - if yyl463 == 0 { + yyct475 := r.ContainerType() + if yyct475 == codecSelferValueTypeMap1234 { + yyl475 := r.ReadMapStart() + if yyl475 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl463, d) + x.codecDecodeSelfFromMap(yyl475, d) } - } else if yyct463 == codecSelferValueTypeArray1234 { - yyl463 := r.ReadArrayStart() - if yyl463 == 0 { + } else if yyct475 == codecSelferValueTypeArray1234 { + yyl475 := r.ReadArrayStart() + if yyl475 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl463, d) + x.codecDecodeSelfFromArray(yyl475, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7243,12 +7507,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys464Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys464Slc - var yyhl464 bool = l >= 0 - for yyj464 := 0; ; yyj464++ { - if yyhl464 { - if yyj464 >= l { + var yys476Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys476Slc + var yyhl476 bool = l >= 0 + for yyj476 := 0; ; yyj476++ { + if yyhl476 { + if yyj476 >= l { break } } else { @@ -7257,28 +7521,28 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys464Slc = r.DecodeBytes(yys464Slc, true, true) - yys464 := string(yys464Slc) + yys476Slc = r.DecodeBytes(yys476Slc, true, true) + yys476 := string(yys476Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys464 { + switch yys476 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv465 := &x.AccessModes - yym466 := z.DecBinary() - _ = yym466 + yyv477 := &x.AccessModes + yym478 := z.DecBinary() + _ = yym478 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv465), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv477), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv467 := &x.Resources - yyv467.CodecDecodeSelf(d) + yyv479 := &x.Resources + yyv479.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -7287,9 +7551,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys464) - } // end switch yys464 - } // end for yyj464 + z.DecStructFieldNotFound(-1, yys476) + } // end switch yys476 + } // end for yyj476 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7297,16 +7561,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj469 int - var yyb469 bool - var yyhl469 bool = l >= 0 - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + var yyj481 int + var yyb481 bool + var yyhl481 bool = l >= 0 + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7314,21 +7578,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv470 := &x.AccessModes - yym471 := z.DecBinary() - _ = yym471 + yyv482 := &x.AccessModes + yym483 := z.DecBinary() + _ = yym483 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv470), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv482), d) } } - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7336,16 +7600,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv472 := &x.Resources - yyv472.CodecDecodeSelf(d) + yyv484 := &x.Resources + yyv484.CodecDecodeSelf(d) } - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7356,17 +7620,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj469++ - if yyhl469 { - yyb469 = yyj469 > l + yyj481++ + if yyhl481 { + yyb481 = yyj481 > l } else { - yyb469 = r.CheckBreak() + yyb481 = r.CheckBreak() } - if yyb469 { + if yyb481 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj469-1, "") + z.DecStructFieldNotFound(yyj481-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7378,55 +7642,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym474 := z.EncBinary() - _ = yym474 + yym486 := z.EncBinary() + _ = yym486 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep475 := !z.EncBinary() - yy2arr475 := z.EncBasicHandle().StructToArray - var yyq475 [3]bool - _, _, _ = yysep475, yyq475, yy2arr475 - const yyr475 bool = false - yyq475[0] = x.Phase != "" - yyq475[1] = len(x.AccessModes) != 0 - yyq475[2] = len(x.Capacity) != 0 - var yynn475 int - if yyr475 || yy2arr475 { + 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 { r.EncodeArrayStart(3) } else { - yynn475 = 0 - for _, b := range yyq475 { + yynn487 = 0 + for _, b := range yyq487 { if b { - yynn475++ + yynn487++ } } - r.EncodeMapStart(yynn475) - yynn475 = 0 + r.EncodeMapStart(yynn487) + yynn487 = 0 } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[0] { + if yyq487[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq475[0] { + if yyq487[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[1] { + if yyq487[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym478 := z.EncBinary() - _ = yym478 + yym490 := z.EncBinary() + _ = yym490 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7436,15 +7700,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq475[1] { + if yyq487[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym479 := z.EncBinary() - _ = yym479 + yym491 := z.EncBinary() + _ = yym491 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -7452,9 +7716,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq475[2] { + if yyq487[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -7464,7 +7728,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq475[2] { + if yyq487[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7475,7 +7739,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr475 || yy2arr475 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7488,25 +7752,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym481 := z.DecBinary() - _ = yym481 + yym493 := z.DecBinary() + _ = yym493 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct482 := r.ContainerType() - if yyct482 == codecSelferValueTypeMap1234 { - yyl482 := r.ReadMapStart() - if yyl482 == 0 { + yyct494 := r.ContainerType() + if yyct494 == codecSelferValueTypeMap1234 { + yyl494 := r.ReadMapStart() + if yyl494 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl482, d) + x.codecDecodeSelfFromMap(yyl494, d) } - } else if yyct482 == codecSelferValueTypeArray1234 { - yyl482 := r.ReadArrayStart() - if yyl482 == 0 { + } else if yyct494 == codecSelferValueTypeArray1234 { + yyl494 := r.ReadArrayStart() + if yyl494 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl482, d) + x.codecDecodeSelfFromArray(yyl494, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7518,12 +7782,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys483Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys483Slc - var yyhl483 bool = l >= 0 - for yyj483 := 0; ; yyj483++ { - if yyhl483 { - if yyj483 >= l { + var yys495Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys495Slc + var yyhl495 bool = l >= 0 + for yyj495 := 0; ; yyj495++ { + if yyhl495 { + if yyj495 >= l { break } } else { @@ -7532,10 +7796,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys483Slc = r.DecodeBytes(yys483Slc, true, true) - yys483 := string(yys483Slc) + yys495Slc = r.DecodeBytes(yys495Slc, true, true) + yys495 := string(yys495Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys483 { + switch yys495 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7546,25 +7810,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv485 := &x.AccessModes - yym486 := z.DecBinary() - _ = yym486 + yyv497 := &x.AccessModes + yym498 := z.DecBinary() + _ = yym498 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv485), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv497), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv487 := &x.Capacity - yyv487.CodecDecodeSelf(d) + yyv499 := &x.Capacity + yyv499.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys483) - } // end switch yys483 - } // end for yyj483 + z.DecStructFieldNotFound(-1, yys495) + } // end switch yys495 + } // end for yyj495 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7572,16 +7836,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj488 int - var yyb488 bool - var yyhl488 bool = l >= 0 - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + var yyj500 int + var yyb500 bool + var yyhl500 bool = l >= 0 + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7591,13 +7855,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7605,21 +7869,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv490 := &x.AccessModes - yym491 := z.DecBinary() - _ = yym491 + yyv502 := &x.AccessModes + yym503 := z.DecBinary() + _ = yym503 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv490), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv502), d) } } - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7627,21 +7891,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv492 := &x.Capacity - yyv492.CodecDecodeSelf(d) + yyv504 := &x.Capacity + yyv504.CodecDecodeSelf(d) } for { - yyj488++ - if yyhl488 { - yyb488 = yyj488 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb488 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb488 { + if yyb500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj488-1, "") + z.DecStructFieldNotFound(yyj500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7650,8 +7914,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym493 := z.EncBinary() - _ = yym493 + yym505 := z.EncBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7663,8 +7927,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym494 := z.DecBinary() - _ = yym494 + yym506 := z.DecBinary() + _ = yym506 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7676,8 +7940,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym495 := z.EncBinary() - _ = yym495 + yym507 := z.EncBinary() + _ = yym507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7689,8 +7953,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym496 := z.DecBinary() - _ = yym496 + yym508 := z.DecBinary() + _ = yym508 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7702,8 +7966,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym497 := z.EncBinary() - _ = yym497 + yym509 := z.EncBinary() + _ = yym509 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7715,8 +7979,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym498 := z.DecBinary() - _ = yym498 + yym510 := z.DecBinary() + _ = yym510 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7731,33 +7995,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym499 := z.EncBinary() - _ = yym499 + yym511 := z.EncBinary() + _ = yym511 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep500 := !z.EncBinary() - yy2arr500 := z.EncBasicHandle().StructToArray - var yyq500 [1]bool - _, _, _ = yysep500, yyq500, yy2arr500 - const yyr500 bool = false - var yynn500 int - if yyr500 || yy2arr500 { + yysep512 := !z.EncBinary() + yy2arr512 := z.EncBasicHandle().StructToArray + var yyq512 [1]bool + _, _, _ = yysep512, yyq512, yy2arr512 + const yyr512 bool = false + var yynn512 int + if yyr512 || yy2arr512 { r.EncodeArrayStart(1) } else { - yynn500 = 1 - for _, b := range yyq500 { + yynn512 = 1 + for _, b := range yyq512 { if b { - yynn500++ + yynn512++ } } - r.EncodeMapStart(yynn500) - yynn500 = 0 + r.EncodeMapStart(yynn512) + yynn512 = 0 } - if yyr500 || yy2arr500 { + if yyr512 || yy2arr512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym502 := z.EncBinary() - _ = yym502 + yym514 := z.EncBinary() + _ = yym514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -7766,14 +8030,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym503 := z.EncBinary() - _ = yym503 + yym515 := z.EncBinary() + _ = yym515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr500 || yy2arr500 { + if yyr512 || yy2arr512 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7786,25 +8050,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym504 := z.DecBinary() - _ = yym504 + yym516 := z.DecBinary() + _ = yym516 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct505 := r.ContainerType() - if yyct505 == codecSelferValueTypeMap1234 { - yyl505 := r.ReadMapStart() - if yyl505 == 0 { + yyct517 := r.ContainerType() + if yyct517 == codecSelferValueTypeMap1234 { + yyl517 := r.ReadMapStart() + if yyl517 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl505, d) + x.codecDecodeSelfFromMap(yyl517, d) } - } else if yyct505 == codecSelferValueTypeArray1234 { - yyl505 := r.ReadArrayStart() - if yyl505 == 0 { + } else if yyct517 == codecSelferValueTypeArray1234 { + yyl517 := r.ReadArrayStart() + if yyl517 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl505, d) + x.codecDecodeSelfFromArray(yyl517, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7816,12 +8080,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys506Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys506Slc - var yyhl506 bool = l >= 0 - for yyj506 := 0; ; yyj506++ { - if yyhl506 { - if yyj506 >= l { + var yys518Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys518Slc + var yyhl518 bool = l >= 0 + for yyj518 := 0; ; yyj518++ { + if yyhl518 { + if yyj518 >= l { break } } else { @@ -7830,10 +8094,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys506Slc = r.DecodeBytes(yys506Slc, true, true) - yys506 := string(yys506Slc) + yys518Slc = r.DecodeBytes(yys518Slc, true, true) + yys518 := string(yys518Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys506 { + switch yys518 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -7841,9 +8105,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys506) - } // end switch yys506 - } // end for yyj506 + z.DecStructFieldNotFound(-1, yys518) + } // end switch yys518 + } // end for yyj518 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7851,16 +8115,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj508 int - var yyb508 bool - var yyhl508 bool = l >= 0 - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + var yyj520 int + var yyb520 bool + var yyhl520 bool = l >= 0 + yyj520++ + if yyhl520 { + yyb520 = yyj520 > l } else { - yyb508 = r.CheckBreak() + yyb520 = r.CheckBreak() } - if yyb508 { + if yyb520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7871,17 +8135,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + yyj520++ + if yyhl520 { + yyb520 = yyj520 > l } else { - yyb508 = r.CheckBreak() + yyb520 = r.CheckBreak() } - if yyb508 { + if yyb520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj508-1, "") + z.DecStructFieldNotFound(yyj520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7893,46 +8157,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym510 := z.EncBinary() - _ = yym510 + yym522 := z.EncBinary() + _ = yym522 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep511 := !z.EncBinary() - yy2arr511 := z.EncBasicHandle().StructToArray - var yyq511 [1]bool - _, _, _ = yysep511, yyq511, yy2arr511 - const yyr511 bool = false - yyq511[0] = x.Medium != "" - var yynn511 int - if yyr511 || yy2arr511 { + 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 { r.EncodeArrayStart(1) } else { - yynn511 = 0 - for _, b := range yyq511 { + yynn523 = 0 + for _, b := range yyq523 { if b { - yynn511++ + yynn523++ } } - r.EncodeMapStart(yynn511) - yynn511 = 0 + r.EncodeMapStart(yynn523) + yynn523 = 0 } - if yyr511 || yy2arr511 { + if yyr523 || yy2arr523 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq511[0] { + if yyq523[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq511[0] { + if yyq523[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr511 || yy2arr511 { + if yyr523 || yy2arr523 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7945,25 +8209,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym513 := z.DecBinary() - _ = yym513 + yym525 := z.DecBinary() + _ = yym525 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct514 := r.ContainerType() - if yyct514 == codecSelferValueTypeMap1234 { - yyl514 := r.ReadMapStart() - if yyl514 == 0 { + yyct526 := r.ContainerType() + if yyct526 == codecSelferValueTypeMap1234 { + yyl526 := r.ReadMapStart() + if yyl526 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl514, d) + x.codecDecodeSelfFromMap(yyl526, d) } - } else if yyct514 == codecSelferValueTypeArray1234 { - yyl514 := r.ReadArrayStart() - if yyl514 == 0 { + } else if yyct526 == codecSelferValueTypeArray1234 { + yyl526 := r.ReadArrayStart() + if yyl526 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl514, d) + x.codecDecodeSelfFromArray(yyl526, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7975,12 +8239,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys515Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys515Slc - var yyhl515 bool = l >= 0 - for yyj515 := 0; ; yyj515++ { - if yyhl515 { - if yyj515 >= l { + var yys527Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys527Slc + var yyhl527 bool = l >= 0 + for yyj527 := 0; ; yyj527++ { + if yyhl527 { + if yyj527 >= l { break } } else { @@ -7989,10 +8253,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys515Slc = r.DecodeBytes(yys515Slc, true, true) - yys515 := string(yys515Slc) + yys527Slc = r.DecodeBytes(yys527Slc, true, true) + yys527 := string(yys527Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys515 { + switch yys527 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -8000,9 +8264,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys515) - } // end switch yys515 - } // end for yyj515 + z.DecStructFieldNotFound(-1, yys527) + } // end switch yys527 + } // end for yyj527 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8010,16 +8274,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj517 int - var yyb517 bool - var yyhl517 bool = l >= 0 - yyj517++ - if yyhl517 { - yyb517 = yyj517 > l + var yyj529 int + var yyb529 bool + var yyhl529 bool = l >= 0 + yyj529++ + if yyhl529 { + yyb529 = yyj529 > l } else { - yyb517 = r.CheckBreak() + yyb529 = r.CheckBreak() } - if yyb517 { + if yyb529 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8030,17 +8294,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj517++ - if yyhl517 { - yyb517 = yyj517 > l + yyj529++ + if yyhl529 { + yyb529 = yyj529 > l } else { - yyb517 = r.CheckBreak() + yyb529 = r.CheckBreak() } - if yyb517 { + if yyb529 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj517-1, "") + z.DecStructFieldNotFound(yyj529-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8052,34 +8316,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym519 := z.EncBinary() - _ = yym519 + yym531 := z.EncBinary() + _ = yym531 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep520 := !z.EncBinary() - yy2arr520 := z.EncBasicHandle().StructToArray - var yyq520 [3]bool - _, _, _ = yysep520, yyq520, yy2arr520 - const yyr520 bool = false - yyq520[2] = x.ReadOnly != false - var yynn520 int - if yyr520 || yy2arr520 { + 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 { r.EncodeArrayStart(3) } else { - yynn520 = 2 - for _, b := range yyq520 { + yynn532 = 2 + for _, b := range yyq532 { if b { - yynn520++ + yynn532++ } } - r.EncodeMapStart(yynn520) - yynn520 = 0 + r.EncodeMapStart(yynn532) + yynn532 = 0 } - if yyr520 || yy2arr520 { + if yyr532 || yy2arr532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym522 := z.EncBinary() - _ = yym522 + yym534 := z.EncBinary() + _ = yym534 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -8088,17 +8352,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym523 := z.EncBinary() - _ = yym523 + yym535 := z.EncBinary() + _ = yym535 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr520 || yy2arr520 { + if yyr532 || yy2arr532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym525 := z.EncBinary() - _ = yym525 + yym537 := z.EncBinary() + _ = yym537 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8107,18 +8371,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym526 := z.EncBinary() - _ = yym526 + yym538 := z.EncBinary() + _ = yym538 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr520 || yy2arr520 { + if yyr532 || yy2arr532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq520[2] { - yym528 := z.EncBinary() - _ = yym528 + if yyq532[2] { + yym540 := z.EncBinary() + _ = yym540 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8127,19 +8391,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq520[2] { + if yyq532[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym529 := z.EncBinary() - _ = yym529 + yym541 := z.EncBinary() + _ = yym541 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr520 || yy2arr520 { + if yyr532 || yy2arr532 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8152,25 +8416,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym530 := z.DecBinary() - _ = yym530 + yym542 := z.DecBinary() + _ = yym542 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct531 := r.ContainerType() - if yyct531 == codecSelferValueTypeMap1234 { - yyl531 := r.ReadMapStart() - if yyl531 == 0 { + yyct543 := r.ContainerType() + if yyct543 == codecSelferValueTypeMap1234 { + yyl543 := r.ReadMapStart() + if yyl543 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl531, d) + x.codecDecodeSelfFromMap(yyl543, d) } - } else if yyct531 == codecSelferValueTypeArray1234 { - yyl531 := r.ReadArrayStart() - if yyl531 == 0 { + } else if yyct543 == codecSelferValueTypeArray1234 { + yyl543 := r.ReadArrayStart() + if yyl543 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl531, d) + x.codecDecodeSelfFromArray(yyl543, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8182,12 +8446,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys532Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys532Slc - var yyhl532 bool = l >= 0 - for yyj532 := 0; ; yyj532++ { - if yyhl532 { - if yyj532 >= l { + var yys544Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys544Slc + var yyhl544 bool = l >= 0 + for yyj544 := 0; ; yyj544++ { + if yyhl544 { + if yyj544 >= l { break } } else { @@ -8196,10 +8460,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys532Slc = r.DecodeBytes(yys532Slc, true, true) - yys532 := string(yys532Slc) + yys544Slc = r.DecodeBytes(yys544Slc, true, true) + yys544 := string(yys544Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys532 { + switch yys544 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -8219,9 +8483,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys532) - } // end switch yys532 - } // end for yyj532 + z.DecStructFieldNotFound(-1, yys544) + } // end switch yys544 + } // end for yyj544 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8229,16 +8493,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj536 int - var yyb536 bool - var yyhl536 bool = l >= 0 - yyj536++ - if yyhl536 { - yyb536 = yyj536 > l + var yyj548 int + var yyb548 bool + var yyhl548 bool = l >= 0 + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb536 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb536 { + if yyb548 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8248,13 +8512,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj536++ - if yyhl536 { - yyb536 = yyj536 > l + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb536 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb536 { + if yyb548 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8264,13 +8528,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj536++ - if yyhl536 { - yyb536 = yyj536 > l + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb536 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb536 { + if yyb548 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8281,17 +8545,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj536++ - if yyhl536 { - yyb536 = yyj536 > l + yyj548++ + if yyhl548 { + yyb548 = yyj548 > l } else { - yyb536 = r.CheckBreak() + yyb548 = r.CheckBreak() } - if yyb536 { + if yyb548 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj536-1, "") + z.DecStructFieldNotFound(yyj548-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8303,38 +8567,38 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym540 := z.EncBinary() - _ = yym540 + yym552 := z.EncBinary() + _ = yym552 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep541 := !z.EncBinary() - yy2arr541 := z.EncBasicHandle().StructToArray - var yyq541 [8]bool - _, _, _ = yysep541, yyq541, yy2arr541 - const yyr541 bool = false - yyq541[2] = x.FSType != "" - yyq541[7] = x.ReadOnly != false - var yynn541 int - if yyr541 || yy2arr541 { + 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 { r.EncodeArrayStart(8) } else { - yynn541 = 6 - for _, b := range yyq541 { + yynn553 = 6 + for _, b := range yyq553 { if b { - yynn541++ + yynn553++ } } - r.EncodeMapStart(yynn541) - yynn541 = 0 + r.EncodeMapStart(yynn553) + yynn553 = 0 } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym543 := z.EncBinary() - _ = yym543 + yym555 := z.EncBinary() + _ = yym555 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -8347,18 +8611,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym544 := z.EncBinary() - _ = yym544 + yym556 := z.EncBinary() + _ = yym556 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym546 := z.EncBinary() - _ = yym546 + yym558 := z.EncBinary() + _ = yym558 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -8367,18 +8631,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym547 := z.EncBinary() - _ = yym547 + yym559 := z.EncBinary() + _ = yym559 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq541[2] { - yym549 := z.EncBinary() - _ = yym549 + if yyq553[2] { + yym561 := z.EncBinary() + _ = yym561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8387,22 +8651,22 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq541[2] { + if yyq553[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym550 := z.EncBinary() - _ = yym550 + yym562 := z.EncBinary() + _ = yym562 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym552 := z.EncBinary() - _ = yym552 + yym564 := z.EncBinary() + _ = yym564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -8411,17 +8675,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym553 := z.EncBinary() - _ = yym553 + yym565 := z.EncBinary() + _ = yym565 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym555 := z.EncBinary() - _ = yym555 + yym567 := z.EncBinary() + _ = yym567 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -8430,17 +8694,17 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym556 := z.EncBinary() - _ = yym556 + yym568 := z.EncBinary() + _ = yym568 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym558 := z.EncBinary() - _ = yym558 + yym570 := z.EncBinary() + _ = yym570 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -8449,14 +8713,14 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym559 := z.EncBinary() - _ = yym559 + yym571 := z.EncBinary() + _ = yym571 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SecretRef == nil { r.EncodeNil() @@ -8473,11 +8737,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { x.SecretRef.CodecEncodeSelf(e) } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq541[7] { - yym562 := z.EncBinary() - _ = yym562 + if yyq553[7] { + yym574 := z.EncBinary() + _ = yym574 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8486,19 +8750,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq541[7] { + if yyq553[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym563 := z.EncBinary() - _ = yym563 + yym575 := z.EncBinary() + _ = yym575 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr541 || yy2arr541 { + if yyr553 || yy2arr553 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8511,25 +8775,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym564 := z.DecBinary() - _ = yym564 + yym576 := z.DecBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct565 := r.ContainerType() - if yyct565 == codecSelferValueTypeMap1234 { - yyl565 := r.ReadMapStart() - if yyl565 == 0 { + yyct577 := r.ContainerType() + if yyct577 == codecSelferValueTypeMap1234 { + yyl577 := r.ReadMapStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl565, d) + x.codecDecodeSelfFromMap(yyl577, d) } - } else if yyct565 == codecSelferValueTypeArray1234 { - yyl565 := r.ReadArrayStart() - if yyl565 == 0 { + } else if yyct577 == codecSelferValueTypeArray1234 { + yyl577 := r.ReadArrayStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl565, d) + x.codecDecodeSelfFromArray(yyl577, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8541,12 +8805,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys566Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys566Slc - var yyhl566 bool = l >= 0 - for yyj566 := 0; ; yyj566++ { - if yyhl566 { - if yyj566 >= l { + var yys578Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys578Slc + var yyhl578 bool = l >= 0 + for yyj578 := 0; ; yyj578++ { + if yyhl578 { + if yyj578 >= l { break } } else { @@ -8555,20 +8819,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys566Slc = r.DecodeBytes(yys566Slc, true, true) - yys566 := string(yys566Slc) + yys578Slc = r.DecodeBytes(yys578Slc, true, true) + yys578 := string(yys578Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys566 { + switch yys578 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv567 := &x.CephMonitors - yym568 := z.DecBinary() - _ = yym568 + yyv579 := &x.CephMonitors + yym580 := z.DecBinary() + _ = yym580 if false { } else { - z.F.DecSliceStringX(yyv567, false, d) + z.F.DecSliceStringX(yyv579, false, d) } } case "image": @@ -8619,9 +8883,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys566) - } // end switch yys566 - } // end for yyj566 + z.DecStructFieldNotFound(-1, yys578) + } // end switch yys578 + } // end for yyj578 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8629,16 +8893,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj576 int - var yyb576 bool - var yyhl576 bool = l >= 0 - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + var yyj588 int + var yyb588 bool + var yyhl588 bool = l >= 0 + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8646,21 +8910,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv577 := &x.CephMonitors - yym578 := z.DecBinary() - _ = yym578 + yyv589 := &x.CephMonitors + yym590 := z.DecBinary() + _ = yym590 if false { } else { - z.F.DecSliceStringX(yyv577, false, d) + z.F.DecSliceStringX(yyv589, false, d) } } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8670,13 +8934,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8686,13 +8950,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8702,13 +8966,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8718,13 +8982,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8734,13 +8998,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8755,13 +9019,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8772,17 +9036,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj576++ - if yyhl576 { - yyb576 = yyj576 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb576 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb576 { + if yyb588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj576-1, "") + z.DecStructFieldNotFound(yyj588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8794,35 +9058,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym586 := z.EncBinary() - _ = yym586 + yym598 := z.EncBinary() + _ = yym598 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep587 := !z.EncBinary() - yy2arr587 := z.EncBasicHandle().StructToArray - var yyq587 [3]bool - _, _, _ = yysep587, yyq587, yy2arr587 - const yyr587 bool = false - yyq587[1] = x.FSType != "" - yyq587[2] = x.ReadOnly != false - var yynn587 int - if yyr587 || yy2arr587 { + 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 { r.EncodeArrayStart(3) } else { - yynn587 = 1 - for _, b := range yyq587 { + yynn599 = 1 + for _, b := range yyq599 { if b { - yynn587++ + yynn599++ } } - r.EncodeMapStart(yynn587) - yynn587 = 0 + r.EncodeMapStart(yynn599) + yynn599 = 0 } - if yyr587 || yy2arr587 { + if yyr599 || yy2arr599 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym589 := z.EncBinary() - _ = yym589 + yym601 := z.EncBinary() + _ = yym601 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -8831,18 +9095,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym590 := z.EncBinary() - _ = yym590 + yym602 := z.EncBinary() + _ = yym602 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr587 || yy2arr587 { + if yyr599 || yy2arr599 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq587[1] { - yym592 := z.EncBinary() - _ = yym592 + if yyq599[1] { + yym604 := z.EncBinary() + _ = yym604 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -8851,23 +9115,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq587[1] { + if yyq599[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym593 := z.EncBinary() - _ = yym593 + yym605 := z.EncBinary() + _ = yym605 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr587 || yy2arr587 { + if yyr599 || yy2arr599 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq587[2] { - yym595 := z.EncBinary() - _ = yym595 + if yyq599[2] { + yym607 := z.EncBinary() + _ = yym607 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -8876,19 +9140,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq587[2] { + if yyq599[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym596 := z.EncBinary() - _ = yym596 + yym608 := z.EncBinary() + _ = yym608 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr587 || yy2arr587 { + if yyr599 || yy2arr599 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8901,25 +9165,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym597 := z.DecBinary() - _ = yym597 + yym609 := z.DecBinary() + _ = yym609 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct598 := r.ContainerType() - if yyct598 == codecSelferValueTypeMap1234 { - yyl598 := r.ReadMapStart() - if yyl598 == 0 { + yyct610 := r.ContainerType() + if yyct610 == codecSelferValueTypeMap1234 { + yyl610 := r.ReadMapStart() + if yyl610 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl598, d) + x.codecDecodeSelfFromMap(yyl610, d) } - } else if yyct598 == codecSelferValueTypeArray1234 { - yyl598 := r.ReadArrayStart() - if yyl598 == 0 { + } else if yyct610 == codecSelferValueTypeArray1234 { + yyl610 := r.ReadArrayStart() + if yyl610 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl598, d) + x.codecDecodeSelfFromArray(yyl610, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8931,12 +9195,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys599Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys599Slc - var yyhl599 bool = l >= 0 - for yyj599 := 0; ; yyj599++ { - if yyhl599 { - if yyj599 >= l { + var yys611Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys611Slc + var yyhl611 bool = l >= 0 + for yyj611 := 0; ; yyj611++ { + if yyhl611 { + if yyj611 >= l { break } } else { @@ -8945,10 +9209,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys599Slc = r.DecodeBytes(yys599Slc, true, true) - yys599 := string(yys599Slc) + yys611Slc = r.DecodeBytes(yys611Slc, true, true) + yys611 := string(yys611Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys599 { + switch yys611 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -8968,9 +9232,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys599) - } // end switch yys599 - } // end for yyj599 + z.DecStructFieldNotFound(-1, yys611) + } // end switch yys611 + } // end for yyj611 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8978,16 +9242,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj603 int - var yyb603 bool - var yyhl603 bool = l >= 0 - yyj603++ - if yyhl603 { - yyb603 = yyj603 > l + var yyj615 int + var yyb615 bool + var yyhl615 bool = l >= 0 + yyj615++ + if yyhl615 { + yyb615 = yyj615 > l } else { - yyb603 = r.CheckBreak() + yyb615 = r.CheckBreak() } - if yyb603 { + if yyb615 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8997,13 +9261,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj603++ - if yyhl603 { - yyb603 = yyj603 > l + yyj615++ + if yyhl615 { + yyb615 = yyj615 > l } else { - yyb603 = r.CheckBreak() + yyb615 = r.CheckBreak() } - if yyb603 { + if yyb615 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9013,13 +9277,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj603++ - if yyhl603 { - yyb603 = yyj603 > l + yyj615++ + if yyhl615 { + yyb615 = yyj615 > l } else { - yyb603 = r.CheckBreak() + yyb615 = r.CheckBreak() } - if yyb603 { + if yyb615 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9030,17 +9294,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj603++ - if yyhl603 { - yyb603 = yyj603 > l + yyj615++ + if yyhl615 { + yyb615 = yyj615 > l } else { - yyb603 = r.CheckBreak() + yyb615 = r.CheckBreak() } - if yyb603 { + if yyb615 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj603-1, "") + z.DecStructFieldNotFound(yyj615-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9052,40 +9316,40 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym607 := z.EncBinary() - _ = yym607 + yym619 := z.EncBinary() + _ = yym619 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep608 := !z.EncBinary() - yy2arr608 := z.EncBasicHandle().StructToArray - var yyq608 [5]bool - _, _, _ = yysep608, yyq608, yy2arr608 - const yyr608 bool = false - yyq608[1] = x.User != "" - yyq608[2] = x.SecretFile != "" - yyq608[3] = x.SecretRef != nil - yyq608[4] = x.ReadOnly != false - var yynn608 int - if yyr608 || yy2arr608 { + yysep620 := !z.EncBinary() + yy2arr620 := z.EncBasicHandle().StructToArray + var yyq620 [5]bool + _, _, _ = yysep620, yyq620, yy2arr620 + const yyr620 bool = false + yyq620[1] = x.User != "" + yyq620[2] = x.SecretFile != "" + yyq620[3] = x.SecretRef != nil + yyq620[4] = x.ReadOnly != false + var yynn620 int + if yyr620 || yy2arr620 { r.EncodeArrayStart(5) } else { - yynn608 = 1 - for _, b := range yyq608 { + yynn620 = 1 + for _, b := range yyq620 { if b { - yynn608++ + yynn620++ } } - r.EncodeMapStart(yynn608) - yynn608 = 0 + r.EncodeMapStart(yynn620) + yynn620 = 0 } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym610 := z.EncBinary() - _ = yym610 + yym622 := z.EncBinary() + _ = yym622 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -9098,19 +9362,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym611 := z.EncBinary() - _ = yym611 + yym623 := z.EncBinary() + _ = yym623 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[1] { - yym613 := z.EncBinary() - _ = yym613 + if yyq620[1] { + yym625 := z.EncBinary() + _ = yym625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -9119,23 +9383,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq608[1] { + if yyq620[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym614 := z.EncBinary() - _ = yym614 + yym626 := z.EncBinary() + _ = yym626 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[2] { - yym616 := z.EncBinary() - _ = yym616 + if yyq620[2] { + yym628 := z.EncBinary() + _ = yym628 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -9144,21 +9408,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq608[2] { + if yyq620[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym617 := z.EncBinary() - _ = yym617 + yym629 := z.EncBinary() + _ = yym629 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[3] { + if yyq620[3] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -9168,7 +9432,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq608[3] { + if yyq620[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -9179,11 +9443,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[4] { - yym620 := z.EncBinary() - _ = yym620 + if yyq620[4] { + yym632 := z.EncBinary() + _ = yym632 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9192,19 +9456,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq608[4] { + if yyq620[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym621 := z.EncBinary() - _ = yym621 + yym633 := z.EncBinary() + _ = yym633 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr608 || yy2arr608 { + if yyr620 || yy2arr620 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9217,25 +9481,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym622 := z.DecBinary() - _ = yym622 + yym634 := z.DecBinary() + _ = yym634 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct623 := r.ContainerType() - if yyct623 == codecSelferValueTypeMap1234 { - yyl623 := r.ReadMapStart() - if yyl623 == 0 { + yyct635 := r.ContainerType() + if yyct635 == codecSelferValueTypeMap1234 { + yyl635 := r.ReadMapStart() + if yyl635 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl623, d) + x.codecDecodeSelfFromMap(yyl635, d) } - } else if yyct623 == codecSelferValueTypeArray1234 { - yyl623 := r.ReadArrayStart() - if yyl623 == 0 { + } else if yyct635 == codecSelferValueTypeArray1234 { + yyl635 := r.ReadArrayStart() + if yyl635 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl623, d) + x.codecDecodeSelfFromArray(yyl635, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9247,12 +9511,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys624Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys624Slc - var yyhl624 bool = l >= 0 - for yyj624 := 0; ; yyj624++ { - if yyhl624 { - if yyj624 >= l { + var yys636Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys636Slc + var yyhl636 bool = l >= 0 + for yyj636 := 0; ; yyj636++ { + if yyhl636 { + if yyj636 >= l { break } } else { @@ -9261,20 +9525,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys624Slc = r.DecodeBytes(yys624Slc, true, true) - yys624 := string(yys624Slc) + yys636Slc = r.DecodeBytes(yys636Slc, true, true) + yys636 := string(yys636Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys624 { + switch yys636 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv625 := &x.Monitors - yym626 := z.DecBinary() - _ = yym626 + yyv637 := &x.Monitors + yym638 := z.DecBinary() + _ = yym638 if false { } else { - z.F.DecSliceStringX(yyv625, false, d) + z.F.DecSliceStringX(yyv637, false, d) } } case "user": @@ -9307,9 +9571,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys624) - } // end switch yys624 - } // end for yyj624 + z.DecStructFieldNotFound(-1, yys636) + } // end switch yys636 + } // end for yyj636 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9317,16 +9581,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj631 int - var yyb631 bool - var yyhl631 bool = l >= 0 - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + var yyj643 int + var yyb643 bool + var yyhl643 bool = l >= 0 + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9334,21 +9598,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv632 := &x.Monitors - yym633 := z.DecBinary() - _ = yym633 + yyv644 := &x.Monitors + yym645 := z.DecBinary() + _ = yym645 if false { } else { - z.F.DecSliceStringX(yyv632, false, d) + z.F.DecSliceStringX(yyv644, false, d) } } - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9358,13 +9622,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9374,13 +9638,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9395,13 +9659,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9412,17 +9676,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj631++ - if yyhl631 { - yyb631 = yyj631 > l + yyj643++ + if yyhl643 { + yyb643 = yyj643 > l } else { - yyb631 = r.CheckBreak() + yyb643 = r.CheckBreak() } - if yyb631 { + if yyb643 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj631-1, "") + z.DecStructFieldNotFound(yyj643-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9434,33 +9698,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym638 := z.EncBinary() - _ = yym638 + yym650 := z.EncBinary() + _ = yym650 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep639 := !z.EncBinary() - yy2arr639 := z.EncBasicHandle().StructToArray - var yyq639 [1]bool - _, _, _ = yysep639, yyq639, yy2arr639 - const yyr639 bool = false - var yynn639 int - if yyr639 || yy2arr639 { + yysep651 := !z.EncBinary() + yy2arr651 := z.EncBasicHandle().StructToArray + var yyq651 [1]bool + _, _, _ = yysep651, yyq651, yy2arr651 + const yyr651 bool = false + var yynn651 int + if yyr651 || yy2arr651 { r.EncodeArrayStart(1) } else { - yynn639 = 1 - for _, b := range yyq639 { + yynn651 = 1 + for _, b := range yyq651 { if b { - yynn639++ + yynn651++ } } - r.EncodeMapStart(yynn639) - yynn639 = 0 + r.EncodeMapStart(yynn651) + yynn651 = 0 } - if yyr639 || yy2arr639 { + if yyr651 || yy2arr651 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym641 := z.EncBinary() - _ = yym641 + yym653 := z.EncBinary() + _ = yym653 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -9469,14 +9733,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym642 := z.EncBinary() - _ = yym642 + yym654 := z.EncBinary() + _ = yym654 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr639 || yy2arr639 { + if yyr651 || yy2arr651 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9489,25 +9753,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym643 := z.DecBinary() - _ = yym643 + yym655 := z.DecBinary() + _ = yym655 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct644 := r.ContainerType() - if yyct644 == codecSelferValueTypeMap1234 { - yyl644 := r.ReadMapStart() - if yyl644 == 0 { + yyct656 := r.ContainerType() + if yyct656 == codecSelferValueTypeMap1234 { + yyl656 := r.ReadMapStart() + if yyl656 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl644, d) + x.codecDecodeSelfFromMap(yyl656, d) } - } else if yyct644 == codecSelferValueTypeArray1234 { - yyl644 := r.ReadArrayStart() - if yyl644 == 0 { + } else if yyct656 == codecSelferValueTypeArray1234 { + yyl656 := r.ReadArrayStart() + if yyl656 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl644, d) + x.codecDecodeSelfFromArray(yyl656, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9519,12 +9783,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys645Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys645Slc - var yyhl645 bool = l >= 0 - for yyj645 := 0; ; yyj645++ { - if yyhl645 { - if yyj645 >= l { + var yys657Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys657Slc + var yyhl657 bool = l >= 0 + for yyj657 := 0; ; yyj657++ { + if yyhl657 { + if yyj657 >= l { break } } else { @@ -9533,10 +9797,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys645Slc = r.DecodeBytes(yys645Slc, true, true) - yys645 := string(yys645Slc) + yys657Slc = r.DecodeBytes(yys657Slc, true, true) + yys657 := string(yys657Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys645 { + switch yys657 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -9544,9 +9808,9 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys645) - } // end switch yys645 - } // end for yyj645 + z.DecStructFieldNotFound(-1, yys657) + } // end switch yys657 + } // end for yyj657 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9554,16 +9818,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod 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 } @@ -9574,17 +9838,17 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.DatasetName = string(r.DecodeString()) } 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) } @@ -9593,8 +9857,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym649 := z.EncBinary() - _ = yym649 + yym661 := z.EncBinary() + _ = yym661 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9606,8 +9870,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym650 := z.DecBinary() - _ = yym650 + yym662 := z.DecBinary() + _ = yym662 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9619,8 +9883,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym651 := z.EncBinary() - _ = yym651 + yym663 := z.EncBinary() + _ = yym663 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9632,8 +9896,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym652 := z.DecBinary() - _ = yym652 + yym664 := z.DecBinary() + _ = yym664 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9648,35 +9912,35 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym653 := z.EncBinary() - _ = yym653 + yym665 := z.EncBinary() + _ = yym665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep654 := !z.EncBinary() - yy2arr654 := z.EncBasicHandle().StructToArray - var yyq654 [4]bool - _, _, _ = yysep654, yyq654, yy2arr654 - const yyr654 bool = false - yyq654[2] = x.Partition != 0 - yyq654[3] = x.ReadOnly != false - var yynn654 int - if yyr654 || yy2arr654 { + yysep666 := !z.EncBinary() + yy2arr666 := z.EncBasicHandle().StructToArray + var yyq666 [4]bool + _, _, _ = yysep666, yyq666, yy2arr666 + const yyr666 bool = false + yyq666[2] = x.Partition != 0 + yyq666[3] = x.ReadOnly != false + var yynn666 int + if yyr666 || yy2arr666 { r.EncodeArrayStart(4) } else { - yynn654 = 2 - for _, b := range yyq654 { + yynn666 = 2 + for _, b := range yyq666 { if b { - yynn654++ + yynn666++ } } - r.EncodeMapStart(yynn654) - yynn654 = 0 + r.EncodeMapStart(yynn666) + yynn666 = 0 } - if yyr654 || yy2arr654 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym656 := z.EncBinary() - _ = yym656 + yym668 := z.EncBinary() + _ = yym668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -9685,17 +9949,17 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym657 := z.EncBinary() - _ = yym657 + yym669 := z.EncBinary() + _ = yym669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr654 || yy2arr654 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym659 := z.EncBinary() - _ = yym659 + yym671 := z.EncBinary() + _ = yym671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9704,18 +9968,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym660 := z.EncBinary() - _ = yym660 + yym672 := z.EncBinary() + _ = yym672 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr654 || yy2arr654 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq654[2] { - yym662 := z.EncBinary() - _ = yym662 + if yyq666[2] { + yym674 := z.EncBinary() + _ = yym674 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -9724,23 +9988,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq654[2] { + if yyq666[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym663 := z.EncBinary() - _ = yym663 + yym675 := z.EncBinary() + _ = yym675 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr654 || yy2arr654 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq654[3] { - yym665 := z.EncBinary() - _ = yym665 + if yyq666[3] { + yym677 := z.EncBinary() + _ = yym677 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9749,19 +10013,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq654[3] { + if yyq666[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym666 := z.EncBinary() - _ = yym666 + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr654 || yy2arr654 { + if yyr666 || yy2arr666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9774,25 +10038,25 @@ func (x *GCEPersistentDiskVolumeSource) 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 { - yyct668 := r.ContainerType() - if yyct668 == codecSelferValueTypeMap1234 { - yyl668 := r.ReadMapStart() - if yyl668 == 0 { + yyct680 := r.ContainerType() + if yyct680 == codecSelferValueTypeMap1234 { + yyl680 := r.ReadMapStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl668, d) + x.codecDecodeSelfFromMap(yyl680, d) } - } else if yyct668 == codecSelferValueTypeArray1234 { - yyl668 := r.ReadArrayStart() - if yyl668 == 0 { + } else if yyct680 == codecSelferValueTypeArray1234 { + yyl680 := r.ReadArrayStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl668, d) + x.codecDecodeSelfFromArray(yyl680, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9804,12 +10068,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys669Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys669Slc - var yyhl669 bool = l >= 0 - for yyj669 := 0; ; yyj669++ { - if yyhl669 { - if yyj669 >= l { + var yys681Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys681Slc + var yyhl681 bool = l >= 0 + for yyj681 := 0; ; yyj681++ { + if yyhl681 { + if yyj681 >= l { break } } else { @@ -9818,10 +10082,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys669Slc = r.DecodeBytes(yys669Slc, true, true) - yys669 := string(yys669Slc) + yys681Slc = r.DecodeBytes(yys681Slc, true, true) + yys681 := string(yys681Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys669 { + switch yys681 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -9847,9 +10111,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys669) - } // end switch yys669 - } // end for yyj669 + z.DecStructFieldNotFound(-1, yys681) + } // end switch yys681 + } // end for yyj681 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9857,16 +10121,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj674 int - var yyb674 bool - var yyhl674 bool = l >= 0 - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + var yyj686 int + var yyb686 bool + var yyhl686 bool = l >= 0 + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb674 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb674 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9876,13 +10140,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb674 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb674 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9892,13 +10156,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb674 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb674 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9908,13 +10172,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int32(r.DecodeInt(32)) } - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb674 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb674 { + if yyb686 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9925,17 +10189,399 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj686++ + if yyhl686 { + yyb686 = yyj686 > l } else { - yyb674 = r.CheckBreak() + yyb686 = r.CheckBreak() } - if yyb674 { + if yyb686 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj674-1, "") + z.DecStructFieldNotFound(yyj686-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym691 := z.EncBinary() + _ = yym691 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep692 := !z.EncBinary() + yy2arr692 := z.EncBasicHandle().StructToArray + var yyq692 [5]bool + _, _, _ = yysep692, yyq692, yy2arr692 + const yyr692 bool = false + yyq692[1] = x.FSType != "" + yyq692[2] = x.SecretRef != nil + yyq692[3] = x.ReadOnly != false + yyq692[4] = len(x.Options) != 0 + var yynn692 int + if yyr692 || yy2arr692 { + r.EncodeArrayStart(5) + } else { + yynn692 = 1 + for _, b := range yyq692 { + if b { + yynn692++ + } + } + r.EncodeMapStart(yynn692) + yynn692 = 0 + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym694 := z.EncBinary() + _ = yym694 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("driver")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym695 := z.EncBinary() + _ = yym695 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) + } + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq692[1] { + yym697 := z.EncBinary() + _ = yym697 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq692[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fsType")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym698 := z.EncBinary() + _ = yym698 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) + } + } + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq692[2] { + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq692[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq692[3] { + yym701 := z.EncBinary() + _ = yym701 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq692[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("readOnly")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym702 := z.EncBinary() + _ = yym702 + if false { + } else { + r.EncodeBool(bool(x.ReadOnly)) + } + } + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq692[4] { + if x.Options == nil { + r.EncodeNil() + } else { + yym704 := z.EncBinary() + _ = yym704 + if false { + } else { + z.F.EncMapStringStringV(x.Options, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq692[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("options")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Options == nil { + r.EncodeNil() + } else { + yym705 := z.EncBinary() + _ = yym705 + if false { + } else { + z.F.EncMapStringStringV(x.Options, false, e) + } + } + } + } + if yyr692 || yy2arr692 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym706 := z.DecBinary() + _ = yym706 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct707 := r.ContainerType() + if yyct707 == codecSelferValueTypeMap1234 { + yyl707 := r.ReadMapStart() + if yyl707 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl707, d) + } + } else if yyct707 == codecSelferValueTypeArray1234 { + yyl707 := r.ReadArrayStart() + if yyl707 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl707, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys708Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys708Slc + var yyhl708 bool = l >= 0 + for yyj708 := 0; ; yyj708++ { + if yyhl708 { + if yyj708 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys708Slc = r.DecodeBytes(yys708Slc, true, true) + yys708 := string(yys708Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys708 { + case "driver": + if r.TryDecodeAsNil() { + x.Driver = "" + } else { + x.Driver = string(r.DecodeString()) + } + case "fsType": + if r.TryDecodeAsNil() { + x.FSType = "" + } else { + x.FSType = string(r.DecodeString()) + } + case "secretRef": + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + case "readOnly": + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + case "options": + if r.TryDecodeAsNil() { + x.Options = nil + } else { + yyv713 := &x.Options + yym714 := z.DecBinary() + _ = yym714 + if false { + } else { + z.F.DecMapStringStringX(yyv713, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys708) + } // end switch yys708 + } // end for yyj708 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj715 int + var yyb715 bool + var yyhl715 bool = l >= 0 + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Driver = "" + } else { + x.Driver = string(r.DecodeString()) + } + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FSType = "" + } else { + x.FSType = string(r.DecodeString()) + } + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadOnly = false + } else { + x.ReadOnly = bool(r.DecodeBool()) + } + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Options = nil + } else { + yyv720 := &x.Options + yym721 := z.DecBinary() + _ = yym721 + if false { + } else { + z.F.DecMapStringStringX(yyv720, false, d) + } + } + for { + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l + } else { + yyb715 = r.CheckBreak() + } + if yyb715 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj715-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9947,35 +10593,35 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym679 := z.EncBinary() - _ = yym679 + yym722 := z.EncBinary() + _ = yym722 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep680 := !z.EncBinary() - yy2arr680 := z.EncBasicHandle().StructToArray - var yyq680 [4]bool - _, _, _ = yysep680, yyq680, yy2arr680 - const yyr680 bool = false - yyq680[2] = x.Partition != 0 - yyq680[3] = x.ReadOnly != false - var yynn680 int - if yyr680 || yy2arr680 { + yysep723 := !z.EncBinary() + yy2arr723 := z.EncBasicHandle().StructToArray + var yyq723 [4]bool + _, _, _ = yysep723, yyq723, yy2arr723 + const yyr723 bool = false + yyq723[2] = x.Partition != 0 + yyq723[3] = x.ReadOnly != false + var yynn723 int + if yyr723 || yy2arr723 { r.EncodeArrayStart(4) } else { - yynn680 = 2 - for _, b := range yyq680 { + yynn723 = 2 + for _, b := range yyq723 { if b { - yynn680++ + yynn723++ } } - r.EncodeMapStart(yynn680) - yynn680 = 0 + r.EncodeMapStart(yynn723) + yynn723 = 0 } - if yyr680 || yy2arr680 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym682 := z.EncBinary() - _ = yym682 + yym725 := z.EncBinary() + _ = yym725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -9984,17 +10630,17 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym683 := z.EncBinary() - _ = yym683 + yym726 := z.EncBinary() + _ = yym726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr680 || yy2arr680 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym685 := z.EncBinary() - _ = yym685 + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10003,18 +10649,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym686 := z.EncBinary() - _ = yym686 + yym729 := z.EncBinary() + _ = yym729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr680 || yy2arr680 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq680[2] { - yym688 := z.EncBinary() - _ = yym688 + if yyq723[2] { + yym731 := z.EncBinary() + _ = yym731 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -10023,23 +10669,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq680[2] { + if yyq723[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym689 := z.EncBinary() - _ = yym689 + yym732 := z.EncBinary() + _ = yym732 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr680 || yy2arr680 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq680[3] { - yym691 := z.EncBinary() - _ = yym691 + if yyq723[3] { + yym734 := z.EncBinary() + _ = yym734 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10048,19 +10694,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq680[3] { + if yyq723[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym692 := z.EncBinary() - _ = yym692 + yym735 := z.EncBinary() + _ = yym735 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr680 || yy2arr680 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10073,25 +10719,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym693 := z.DecBinary() - _ = yym693 + yym736 := z.DecBinary() + _ = yym736 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct694 := r.ContainerType() - if yyct694 == codecSelferValueTypeMap1234 { - yyl694 := r.ReadMapStart() - if yyl694 == 0 { + yyct737 := r.ContainerType() + if yyct737 == codecSelferValueTypeMap1234 { + yyl737 := r.ReadMapStart() + if yyl737 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl694, d) + x.codecDecodeSelfFromMap(yyl737, d) } - } else if yyct694 == codecSelferValueTypeArray1234 { - yyl694 := r.ReadArrayStart() - if yyl694 == 0 { + } else if yyct737 == codecSelferValueTypeArray1234 { + yyl737 := r.ReadArrayStart() + if yyl737 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl694, d) + x.codecDecodeSelfFromArray(yyl737, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10103,12 +10749,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys695Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys695Slc - var yyhl695 bool = l >= 0 - for yyj695 := 0; ; yyj695++ { - if yyhl695 { - if yyj695 >= l { + var yys738Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys738Slc + var yyhl738 bool = l >= 0 + for yyj738 := 0; ; yyj738++ { + if yyhl738 { + if yyj738 >= l { break } } else { @@ -10117,10 +10763,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys695Slc = r.DecodeBytes(yys695Slc, true, true) - yys695 := string(yys695Slc) + yys738Slc = r.DecodeBytes(yys738Slc, true, true) + yys738 := string(yys738Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys695 { + switch yys738 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -10146,9 +10792,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys695) - } // end switch yys695 - } // end for yyj695 + z.DecStructFieldNotFound(-1, yys738) + } // end switch yys738 + } // end for yyj738 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10156,16 +10802,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj700 int - var yyb700 bool - var yyhl700 bool = l >= 0 - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + var yyj743 int + var yyb743 bool + var yyhl743 bool = l >= 0 + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb700 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb700 { + if yyb743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10175,13 +10821,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb700 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb700 { + if yyb743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10191,13 +10837,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb700 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb700 { + if yyb743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10207,13 +10853,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int32(r.DecodeInt(32)) } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb700 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb700 { + if yyb743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10224,17 +10870,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb700 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb700 { + if yyb743 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj700-1, "") + z.DecStructFieldNotFound(yyj743-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10246,35 +10892,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym705 := z.EncBinary() - _ = yym705 + yym748 := z.EncBinary() + _ = yym748 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep706 := !z.EncBinary() - yy2arr706 := z.EncBasicHandle().StructToArray - var yyq706 [3]bool - _, _, _ = yysep706, yyq706, yy2arr706 - const yyr706 bool = false - yyq706[1] = x.Revision != "" - yyq706[2] = x.Directory != "" - var yynn706 int - if yyr706 || yy2arr706 { + yysep749 := !z.EncBinary() + yy2arr749 := z.EncBasicHandle().StructToArray + var yyq749 [3]bool + _, _, _ = yysep749, yyq749, yy2arr749 + const yyr749 bool = false + yyq749[1] = x.Revision != "" + yyq749[2] = x.Directory != "" + var yynn749 int + if yyr749 || yy2arr749 { r.EncodeArrayStart(3) } else { - yynn706 = 1 - for _, b := range yyq706 { + yynn749 = 1 + for _, b := range yyq749 { if b { - yynn706++ + yynn749++ } } - r.EncodeMapStart(yynn706) - yynn706 = 0 + r.EncodeMapStart(yynn749) + yynn749 = 0 } - if yyr706 || yy2arr706 { + if yyr749 || yy2arr749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym708 := z.EncBinary() - _ = yym708 + yym751 := z.EncBinary() + _ = yym751 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -10283,18 +10929,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym709 := z.EncBinary() - _ = yym709 + yym752 := z.EncBinary() + _ = yym752 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr706 || yy2arr706 { + if yyr749 || yy2arr749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq706[1] { - yym711 := z.EncBinary() - _ = yym711 + if yyq749[1] { + yym754 := z.EncBinary() + _ = yym754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -10303,23 +10949,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq706[1] { + if yyq749[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym712 := z.EncBinary() - _ = yym712 + yym755 := z.EncBinary() + _ = yym755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr706 || yy2arr706 { + if yyr749 || yy2arr749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq706[2] { - yym714 := z.EncBinary() - _ = yym714 + if yyq749[2] { + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -10328,19 +10974,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq706[2] { + if yyq749[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym715 := z.EncBinary() - _ = yym715 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr706 || yy2arr706 { + if yyr749 || yy2arr749 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10353,25 +10999,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym716 := z.DecBinary() - _ = yym716 + yym759 := z.DecBinary() + _ = yym759 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct717 := r.ContainerType() - if yyct717 == codecSelferValueTypeMap1234 { - yyl717 := r.ReadMapStart() - if yyl717 == 0 { + yyct760 := r.ContainerType() + if yyct760 == codecSelferValueTypeMap1234 { + yyl760 := r.ReadMapStart() + if yyl760 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl717, d) + x.codecDecodeSelfFromMap(yyl760, d) } - } else if yyct717 == codecSelferValueTypeArray1234 { - yyl717 := r.ReadArrayStart() - if yyl717 == 0 { + } else if yyct760 == codecSelferValueTypeArray1234 { + yyl760 := r.ReadArrayStart() + if yyl760 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl717, d) + x.codecDecodeSelfFromArray(yyl760, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10383,12 +11029,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys718Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys718Slc - var yyhl718 bool = l >= 0 - for yyj718 := 0; ; yyj718++ { - if yyhl718 { - if yyj718 >= l { + var yys761Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys761Slc + var yyhl761 bool = l >= 0 + for yyj761 := 0; ; yyj761++ { + if yyhl761 { + if yyj761 >= l { break } } else { @@ -10397,10 +11043,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys718Slc = r.DecodeBytes(yys718Slc, true, true) - yys718 := string(yys718Slc) + yys761Slc = r.DecodeBytes(yys761Slc, true, true) + yys761 := string(yys761Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys718 { + switch yys761 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -10420,9 +11066,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys718) - } // end switch yys718 - } // end for yyj718 + z.DecStructFieldNotFound(-1, yys761) + } // end switch yys761 + } // end for yyj761 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10430,16 +11076,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj722 int - var yyb722 bool - var yyhl722 bool = l >= 0 - yyj722++ - if yyhl722 { - yyb722 = yyj722 > l + var yyj765 int + var yyb765 bool + var yyhl765 bool = l >= 0 + yyj765++ + if yyhl765 { + yyb765 = yyj765 > l } else { - yyb722 = r.CheckBreak() + yyb765 = r.CheckBreak() } - if yyb722 { + if yyb765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10449,13 +11095,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj722++ - if yyhl722 { - yyb722 = yyj722 > l + yyj765++ + if yyhl765 { + yyb765 = yyj765 > l } else { - yyb722 = r.CheckBreak() + yyb765 = r.CheckBreak() } - if yyb722 { + if yyb765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10465,13 +11111,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj722++ - if yyhl722 { - yyb722 = yyj722 > l + yyj765++ + if yyhl765 { + yyb765 = yyj765 > l } else { - yyb722 = r.CheckBreak() + yyb765 = r.CheckBreak() } - if yyb722 { + if yyb765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10482,17 +11128,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj722++ - if yyhl722 { - yyb722 = yyj722 > l + yyj765++ + if yyhl765 { + yyb765 = yyj765 > l } else { - yyb722 = r.CheckBreak() + yyb765 = r.CheckBreak() } - if yyb722 { + if yyb765 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj722-1, "") + z.DecStructFieldNotFound(yyj765-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10504,33 +11150,33 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym726 := z.EncBinary() - _ = yym726 + yym769 := z.EncBinary() + _ = yym769 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep727 := !z.EncBinary() - yy2arr727 := z.EncBasicHandle().StructToArray - var yyq727 [1]bool - _, _, _ = yysep727, yyq727, yy2arr727 - const yyr727 bool = false - var yynn727 int - if yyr727 || yy2arr727 { + yysep770 := !z.EncBinary() + yy2arr770 := z.EncBasicHandle().StructToArray + var yyq770 [1]bool + _, _, _ = yysep770, yyq770, yy2arr770 + const yyr770 bool = false + var yynn770 int + if yyr770 || yy2arr770 { r.EncodeArrayStart(1) } else { - yynn727 = 1 - for _, b := range yyq727 { + yynn770 = 1 + for _, b := range yyq770 { if b { - yynn727++ + yynn770++ } } - r.EncodeMapStart(yynn727) - yynn727 = 0 + r.EncodeMapStart(yynn770) + yynn770 = 0 } - if yyr727 || yy2arr727 { + if yyr770 || yy2arr770 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym729 := z.EncBinary() - _ = yym729 + yym772 := z.EncBinary() + _ = yym772 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -10539,14 +11185,14 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym730 := z.EncBinary() - _ = yym730 + yym773 := z.EncBinary() + _ = yym773 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr727 || yy2arr727 { + if yyr770 || yy2arr770 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10559,25 +11205,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym731 := z.DecBinary() - _ = yym731 + yym774 := z.DecBinary() + _ = yym774 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct732 := r.ContainerType() - if yyct732 == codecSelferValueTypeMap1234 { - yyl732 := r.ReadMapStart() - if yyl732 == 0 { + yyct775 := r.ContainerType() + if yyct775 == codecSelferValueTypeMap1234 { + yyl775 := r.ReadMapStart() + if yyl775 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl732, d) + x.codecDecodeSelfFromMap(yyl775, d) } - } else if yyct732 == codecSelferValueTypeArray1234 { - yyl732 := r.ReadArrayStart() - if yyl732 == 0 { + } else if yyct775 == codecSelferValueTypeArray1234 { + yyl775 := r.ReadArrayStart() + if yyl775 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl732, d) + x.codecDecodeSelfFromArray(yyl775, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10589,12 +11235,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys733Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys733Slc - var yyhl733 bool = l >= 0 - for yyj733 := 0; ; yyj733++ { - if yyhl733 { - if yyj733 >= l { + var yys776Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys776Slc + var yyhl776 bool = l >= 0 + for yyj776 := 0; ; yyj776++ { + if yyhl776 { + if yyj776 >= l { break } } else { @@ -10603,10 +11249,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys733Slc = r.DecodeBytes(yys733Slc, true, true) - yys733 := string(yys733Slc) + yys776Slc = r.DecodeBytes(yys776Slc, true, true) + yys776 := string(yys776Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys733 { + switch yys776 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -10614,9 +11260,9 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys733) - } // end switch yys733 - } // end for yyj733 + z.DecStructFieldNotFound(-1, yys776) + } // end switch yys776 + } // end for yyj776 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10624,16 +11270,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode 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 yyj778 int + var yyb778 bool + var yyhl778 bool = l >= 0 + yyj778++ + if yyhl778 { + yyb778 = yyj778 > l } else { - yyb735 = r.CheckBreak() + yyb778 = r.CheckBreak() } - if yyb735 { + if yyb778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10644,17 +11290,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.SecretName = string(r.DecodeString()) } for { - yyj735++ - if yyhl735 { - yyb735 = yyj735 > l + yyj778++ + if yyhl778 { + yyb778 = yyj778 > l } else { - yyb735 = r.CheckBreak() + yyb778 = r.CheckBreak() } - if yyb735 { + if yyb778 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj735-1, "") + z.DecStructFieldNotFound(yyj778-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10666,34 +11312,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym737 := z.EncBinary() - _ = yym737 + yym780 := z.EncBinary() + _ = yym780 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep738 := !z.EncBinary() - yy2arr738 := z.EncBasicHandle().StructToArray - var yyq738 [3]bool - _, _, _ = yysep738, yyq738, yy2arr738 - const yyr738 bool = false - yyq738[2] = x.ReadOnly != false - var yynn738 int - if yyr738 || yy2arr738 { + yysep781 := !z.EncBinary() + yy2arr781 := z.EncBasicHandle().StructToArray + var yyq781 [3]bool + _, _, _ = yysep781, yyq781, yy2arr781 + const yyr781 bool = false + yyq781[2] = x.ReadOnly != false + var yynn781 int + if yyr781 || yy2arr781 { r.EncodeArrayStart(3) } else { - yynn738 = 2 - for _, b := range yyq738 { + yynn781 = 2 + for _, b := range yyq781 { if b { - yynn738++ + yynn781++ } } - r.EncodeMapStart(yynn738) - yynn738 = 0 + r.EncodeMapStart(yynn781) + yynn781 = 0 } - if yyr738 || yy2arr738 { + if yyr781 || yy2arr781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym740 := z.EncBinary() - _ = yym740 + yym783 := z.EncBinary() + _ = yym783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -10702,17 +11348,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym741 := z.EncBinary() - _ = yym741 + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr738 || yy2arr738 { + if yyr781 || yy2arr781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym743 := z.EncBinary() - _ = yym743 + yym786 := z.EncBinary() + _ = yym786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10721,18 +11367,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym744 := z.EncBinary() - _ = yym744 + yym787 := z.EncBinary() + _ = yym787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr738 || yy2arr738 { + if yyr781 || yy2arr781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[2] { - yym746 := z.EncBinary() - _ = yym746 + if yyq781[2] { + yym789 := z.EncBinary() + _ = yym789 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10741,19 +11387,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq738[2] { + if yyq781[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym747 := z.EncBinary() - _ = yym747 + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr738 || yy2arr738 { + if yyr781 || yy2arr781 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10766,25 +11412,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym748 := z.DecBinary() - _ = yym748 + yym791 := z.DecBinary() + _ = yym791 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct749 := r.ContainerType() - if yyct749 == codecSelferValueTypeMap1234 { - yyl749 := r.ReadMapStart() - if yyl749 == 0 { + yyct792 := r.ContainerType() + if yyct792 == codecSelferValueTypeMap1234 { + yyl792 := r.ReadMapStart() + if yyl792 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl749, d) + x.codecDecodeSelfFromMap(yyl792, d) } - } else if yyct749 == codecSelferValueTypeArray1234 { - yyl749 := r.ReadArrayStart() - if yyl749 == 0 { + } else if yyct792 == codecSelferValueTypeArray1234 { + yyl792 := r.ReadArrayStart() + if yyl792 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl749, d) + x.codecDecodeSelfFromArray(yyl792, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10796,12 +11442,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys750Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys750Slc - var yyhl750 bool = l >= 0 - for yyj750 := 0; ; yyj750++ { - if yyhl750 { - if yyj750 >= 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 { @@ -10810,10 +11456,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys750Slc = r.DecodeBytes(yys750Slc, true, true) - yys750 := string(yys750Slc) + yys793Slc = r.DecodeBytes(yys793Slc, true, true) + yys793 := string(yys793Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys750 { + switch yys793 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -10833,9 +11479,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys750) - } // end switch yys750 - } // end for yyj750 + z.DecStructFieldNotFound(-1, yys793) + } // end switch yys793 + } // end for yyj793 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10843,16 +11489,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj754 int - var yyb754 bool - var yyhl754 bool = l >= 0 - yyj754++ - if yyhl754 { - yyb754 = yyj754 > l + var yyj797 int + var yyb797 bool + var yyhl797 bool = l >= 0 + yyj797++ + if yyhl797 { + yyb797 = yyj797 > l } else { - yyb754 = r.CheckBreak() + yyb797 = r.CheckBreak() } - if yyb754 { + if yyb797 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10862,13 +11508,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj754++ - if yyhl754 { - yyb754 = yyj754 > l + yyj797++ + if yyhl797 { + yyb797 = yyj797 > l } else { - yyb754 = r.CheckBreak() + yyb797 = r.CheckBreak() } - if yyb754 { + if yyb797 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10878,13 +11524,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj754++ - if yyhl754 { - yyb754 = yyj754 > l + yyj797++ + if yyhl797 { + yyb797 = yyj797 > l } else { - yyb754 = r.CheckBreak() + yyb797 = r.CheckBreak() } - if yyb754 { + if yyb797 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10895,17 +11541,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj754++ - if yyhl754 { - yyb754 = yyj754 > l + yyj797++ + if yyhl797 { + yyb797 = yyj797 > l } else { - yyb754 = r.CheckBreak() + yyb797 = r.CheckBreak() } - if yyb754 { + if yyb797 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj754-1, "") + z.DecStructFieldNotFound(yyj797-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10917,35 +11563,35 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym758 := z.EncBinary() - _ = yym758 + yym801 := z.EncBinary() + _ = yym801 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep759 := !z.EncBinary() - yy2arr759 := z.EncBasicHandle().StructToArray - var yyq759 [6]bool - _, _, _ = yysep759, yyq759, yy2arr759 - const yyr759 bool = false - yyq759[3] = x.ISCSIInterface != "" - yyq759[5] = x.ReadOnly != false - var yynn759 int - if yyr759 || yy2arr759 { + yysep802 := !z.EncBinary() + yy2arr802 := z.EncBasicHandle().StructToArray + var yyq802 [6]bool + _, _, _ = yysep802, yyq802, yy2arr802 + const yyr802 bool = false + yyq802[3] = x.ISCSIInterface != "" + yyq802[5] = x.ReadOnly != false + var yynn802 int + if yyr802 || yy2arr802 { r.EncodeArrayStart(6) } else { - yynn759 = 4 - for _, b := range yyq759 { + yynn802 = 4 + for _, b := range yyq802 { if b { - yynn759++ + yynn802++ } } - r.EncodeMapStart(yynn759) - yynn759 = 0 + r.EncodeMapStart(yynn802) + yynn802 = 0 } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym761 := z.EncBinary() - _ = yym761 + yym804 := z.EncBinary() + _ = yym804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -10954,17 +11600,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym762 := z.EncBinary() - _ = yym762 + yym805 := z.EncBinary() + _ = yym805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym764 := z.EncBinary() - _ = yym764 + yym807 := z.EncBinary() + _ = yym807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -10973,17 +11619,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym765 := z.EncBinary() - _ = yym765 + yym808 := z.EncBinary() + _ = yym808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym767 := z.EncBinary() - _ = yym767 + yym810 := z.EncBinary() + _ = yym810 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -10992,18 +11638,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym768 := z.EncBinary() - _ = yym768 + yym811 := z.EncBinary() + _ = yym811 if false { } else { r.EncodeInt(int64(x.Lun)) } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq759[3] { - yym770 := z.EncBinary() - _ = yym770 + if yyq802[3] { + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -11012,22 +11658,22 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq759[3] { + if yyq802[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym771 := z.EncBinary() - _ = yym771 + yym814 := z.EncBinary() + _ = yym814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym773 := z.EncBinary() - _ = yym773 + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11036,18 +11682,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym774 := z.EncBinary() - _ = yym774 + yym817 := z.EncBinary() + _ = yym817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq759[5] { - yym776 := z.EncBinary() - _ = yym776 + if yyq802[5] { + yym819 := z.EncBinary() + _ = yym819 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11056,19 +11702,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq759[5] { + if yyq802[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym777 := z.EncBinary() - _ = yym777 + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr759 || yy2arr759 { + if yyr802 || yy2arr802 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11081,25 +11727,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym778 := z.DecBinary() - _ = yym778 + yym821 := z.DecBinary() + _ = yym821 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct779 := r.ContainerType() - if yyct779 == codecSelferValueTypeMap1234 { - yyl779 := r.ReadMapStart() - if yyl779 == 0 { + yyct822 := r.ContainerType() + if yyct822 == codecSelferValueTypeMap1234 { + yyl822 := r.ReadMapStart() + if yyl822 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl779, d) + x.codecDecodeSelfFromMap(yyl822, d) } - } else if yyct779 == codecSelferValueTypeArray1234 { - yyl779 := r.ReadArrayStart() - if yyl779 == 0 { + } else if yyct822 == codecSelferValueTypeArray1234 { + yyl822 := r.ReadArrayStart() + if yyl822 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl779, d) + x.codecDecodeSelfFromArray(yyl822, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11111,12 +11757,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys780Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys780Slc - var yyhl780 bool = l >= 0 - for yyj780 := 0; ; yyj780++ { - if yyhl780 { - if yyj780 >= l { + var yys823Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys823Slc + var yyhl823 bool = l >= 0 + for yyj823 := 0; ; yyj823++ { + if yyhl823 { + if yyj823 >= l { break } } else { @@ -11125,10 +11771,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys780Slc = r.DecodeBytes(yys780Slc, true, true) - yys780 := string(yys780Slc) + yys823Slc = r.DecodeBytes(yys823Slc, true, true) + yys823 := string(yys823Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys780 { + switch yys823 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -11166,9 +11812,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys780) - } // end switch yys780 - } // end for yyj780 + z.DecStructFieldNotFound(-1, yys823) + } // end switch yys823 + } // end for yyj823 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11176,16 +11822,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj787 int - var yyb787 bool - var yyhl787 bool = l >= 0 - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + var yyj830 int + var yyb830 bool + var yyhl830 bool = l >= 0 + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11195,13 +11841,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11211,13 +11857,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11227,13 +11873,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int32(r.DecodeInt(32)) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11243,13 +11889,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11259,13 +11905,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11276,17 +11922,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj830++ + if yyhl830 { + yyb830 = yyj830 > l } else { - yyb787 = r.CheckBreak() + yyb830 = r.CheckBreak() } - if yyb787 { + if yyb830 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj787-1, "") + z.DecStructFieldNotFound(yyj830-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11298,37 +11944,37 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym794 := z.EncBinary() - _ = yym794 + yym837 := z.EncBinary() + _ = yym837 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep795 := !z.EncBinary() - yy2arr795 := z.EncBasicHandle().StructToArray - var yyq795 [4]bool - _, _, _ = yysep795, yyq795, yy2arr795 - const yyr795 bool = false - yyq795[3] = x.ReadOnly != false - var yynn795 int - if yyr795 || yy2arr795 { + yysep838 := !z.EncBinary() + yy2arr838 := z.EncBasicHandle().StructToArray + var yyq838 [4]bool + _, _, _ = yysep838, yyq838, yy2arr838 + const yyr838 bool = false + yyq838[3] = x.ReadOnly != false + var yynn838 int + if yyr838 || yy2arr838 { r.EncodeArrayStart(4) } else { - yynn795 = 3 - for _, b := range yyq795 { + yynn838 = 3 + for _, b := range yyq838 { if b { - yynn795++ + yynn838++ } } - r.EncodeMapStart(yynn795) - yynn795 = 0 + r.EncodeMapStart(yynn838) + yynn838 = 0 } - if yyr795 || yy2arr795 { + if yyr838 || yy2arr838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym797 := z.EncBinary() - _ = yym797 + yym840 := z.EncBinary() + _ = yym840 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -11341,25 +11987,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym798 := z.EncBinary() - _ = yym798 + yym841 := z.EncBinary() + _ = yym841 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr795 || yy2arr795 { + if yyr838 || yy2arr838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy800 := *x.Lun - yym801 := z.EncBinary() - _ = yym801 + yy843 := *x.Lun + yym844 := z.EncBinary() + _ = yym844 if false { } else { - r.EncodeInt(int64(yy800)) + r.EncodeInt(int64(yy843)) } } } else { @@ -11369,19 +12015,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy802 := *x.Lun - yym803 := z.EncBinary() - _ = yym803 + yy845 := *x.Lun + yym846 := z.EncBinary() + _ = yym846 if false { } else { - r.EncodeInt(int64(yy802)) + r.EncodeInt(int64(yy845)) } } } - if yyr795 || yy2arr795 { + if yyr838 || yy2arr838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym805 := z.EncBinary() - _ = yym805 + yym848 := z.EncBinary() + _ = yym848 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11390,18 +12036,18 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym806 := z.EncBinary() - _ = yym806 + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } - if yyr795 || yy2arr795 { + if yyr838 || yy2arr838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[3] { - yym808 := z.EncBinary() - _ = yym808 + if yyq838[3] { + yym851 := z.EncBinary() + _ = yym851 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11410,19 +12056,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq795[3] { + if yyq838[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym809 := z.EncBinary() - _ = yym809 + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr795 || yy2arr795 { + if yyr838 || yy2arr838 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11435,25 +12081,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym810 := z.DecBinary() - _ = yym810 + yym853 := z.DecBinary() + _ = yym853 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct811 := r.ContainerType() - if yyct811 == codecSelferValueTypeMap1234 { - yyl811 := r.ReadMapStart() - if yyl811 == 0 { + yyct854 := r.ContainerType() + if yyct854 == codecSelferValueTypeMap1234 { + yyl854 := r.ReadMapStart() + if yyl854 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl811, d) + x.codecDecodeSelfFromMap(yyl854, d) } - } else if yyct811 == codecSelferValueTypeArray1234 { - yyl811 := r.ReadArrayStart() - if yyl811 == 0 { + } else if yyct854 == codecSelferValueTypeArray1234 { + yyl854 := r.ReadArrayStart() + if yyl854 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl811, d) + x.codecDecodeSelfFromArray(yyl854, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11465,12 +12111,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys812Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys812Slc - var yyhl812 bool = l >= 0 - for yyj812 := 0; ; yyj812++ { - if yyhl812 { - if yyj812 >= l { + var yys855Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys855Slc + var yyhl855 bool = l >= 0 + for yyj855 := 0; ; yyj855++ { + if yyhl855 { + if yyj855 >= l { break } } else { @@ -11479,20 +12125,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys812Slc = r.DecodeBytes(yys812Slc, true, true) - yys812 := string(yys812Slc) + yys855Slc = r.DecodeBytes(yys855Slc, true, true) + yys855 := string(yys855Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys812 { + switch yys855 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv813 := &x.TargetWWNs - yym814 := z.DecBinary() - _ = yym814 + yyv856 := &x.TargetWWNs + yym857 := z.DecBinary() + _ = yym857 if false { } else { - z.F.DecSliceStringX(yyv813, false, d) + z.F.DecSliceStringX(yyv856, false, d) } } case "lun": @@ -11504,8 +12150,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym816 := z.DecBinary() - _ = yym816 + yym859 := z.DecBinary() + _ = yym859 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -11524,9 +12170,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys812) - } // end switch yys812 - } // end for yyj812 + z.DecStructFieldNotFound(-1, yys855) + } // end switch yys855 + } // end for yyj855 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11534,16 +12180,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj819 int - var yyb819 bool - var yyhl819 bool = l >= 0 - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + var yyj862 int + var yyb862 bool + var yyhl862 bool = l >= 0 + yyj862++ + if yyhl862 { + yyb862 = yyj862 > l } else { - yyb819 = r.CheckBreak() + yyb862 = r.CheckBreak() } - if yyb819 { + if yyb862 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11551,21 +12197,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv820 := &x.TargetWWNs - yym821 := z.DecBinary() - _ = yym821 + yyv863 := &x.TargetWWNs + yym864 := z.DecBinary() + _ = yym864 if false { } else { - z.F.DecSliceStringX(yyv820, false, d) + z.F.DecSliceStringX(yyv863, false, d) } } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj862++ + if yyhl862 { + yyb862 = yyj862 > l } else { - yyb819 = r.CheckBreak() + yyb862 = r.CheckBreak() } - if yyb819 { + if yyb862 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11578,20 +12224,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym823 := z.DecBinary() - _ = yym823 + yym866 := z.DecBinary() + _ = yym866 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj862++ + if yyhl862 { + yyb862 = yyj862 > l } else { - yyb819 = r.CheckBreak() + yyb862 = r.CheckBreak() } - if yyb819 { + if yyb862 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11601,13 +12247,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj862++ + if yyhl862 { + yyb862 = yyj862 > l } else { - yyb819 = r.CheckBreak() + yyb862 = r.CheckBreak() } - if yyb819 { + if yyb862 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11618,17 +12264,17 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj862++ + if yyhl862 { + yyb862 = yyj862 > l } else { - yyb819 = r.CheckBreak() + yyb862 = r.CheckBreak() } - if yyb819 { + if yyb862 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj819-1, "") + z.DecStructFieldNotFound(yyj862-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11640,38 +12286,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym826 := z.EncBinary() - _ = yym826 + yym869 := z.EncBinary() + _ = yym869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep827 := !z.EncBinary() - yy2arr827 := z.EncBasicHandle().StructToArray - var yyq827 [5]bool - _, _, _ = yysep827, yyq827, yy2arr827 - const yyr827 bool = false - yyq827[0] = x.Name != "" - yyq827[1] = x.HostPort != 0 - yyq827[3] = x.Protocol != "" - yyq827[4] = x.HostIP != "" - var yynn827 int - if yyr827 || yy2arr827 { + yysep870 := !z.EncBinary() + yy2arr870 := z.EncBasicHandle().StructToArray + var yyq870 [5]bool + _, _, _ = yysep870, yyq870, yy2arr870 + const yyr870 bool = false + yyq870[0] = x.Name != "" + yyq870[1] = x.HostPort != 0 + yyq870[3] = x.Protocol != "" + yyq870[4] = x.HostIP != "" + var yynn870 int + if yyr870 || yy2arr870 { r.EncodeArrayStart(5) } else { - yynn827 = 1 - for _, b := range yyq827 { + yynn870 = 1 + for _, b := range yyq870 { if b { - yynn827++ + yynn870++ } } - r.EncodeMapStart(yynn827) - yynn827 = 0 + r.EncodeMapStart(yynn870) + yynn870 = 0 } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq827[0] { - yym829 := z.EncBinary() - _ = yym829 + if yyq870[0] { + yym872 := z.EncBinary() + _ = yym872 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -11680,23 +12326,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq827[0] { + if yyq870[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym830 := z.EncBinary() - _ = yym830 + yym873 := z.EncBinary() + _ = yym873 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq827[1] { - yym832 := z.EncBinary() - _ = yym832 + if yyq870[1] { + yym875 := z.EncBinary() + _ = yym875 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -11705,22 +12351,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq827[1] { + if yyq870[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym833 := z.EncBinary() - _ = yym833 + yym876 := z.EncBinary() + _ = yym876 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym835 := z.EncBinary() - _ = yym835 + yym878 := z.EncBinary() + _ = yym878 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -11729,33 +12375,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym836 := z.EncBinary() - _ = yym836 + yym879 := z.EncBinary() + _ = yym879 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq827[3] { + if yyq870[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq827[3] { + if yyq870[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq827[4] { - yym839 := z.EncBinary() - _ = yym839 + if yyq870[4] { + yym882 := z.EncBinary() + _ = yym882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -11764,19 +12410,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq827[4] { + if yyq870[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym840 := z.EncBinary() - _ = yym840 + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr827 || yy2arr827 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11789,25 +12435,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym841 := z.DecBinary() - _ = yym841 + yym884 := z.DecBinary() + _ = yym884 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct842 := r.ContainerType() - if yyct842 == codecSelferValueTypeMap1234 { - yyl842 := r.ReadMapStart() - if yyl842 == 0 { + yyct885 := r.ContainerType() + if yyct885 == codecSelferValueTypeMap1234 { + yyl885 := r.ReadMapStart() + if yyl885 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl842, d) + x.codecDecodeSelfFromMap(yyl885, d) } - } else if yyct842 == codecSelferValueTypeArray1234 { - yyl842 := r.ReadArrayStart() - if yyl842 == 0 { + } else if yyct885 == codecSelferValueTypeArray1234 { + yyl885 := r.ReadArrayStart() + if yyl885 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl842, d) + x.codecDecodeSelfFromArray(yyl885, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11819,12 +12465,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys843Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys843Slc - var yyhl843 bool = l >= 0 - for yyj843 := 0; ; yyj843++ { - if yyhl843 { - if yyj843 >= l { + var yys886Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys886Slc + var yyhl886 bool = l >= 0 + for yyj886 := 0; ; yyj886++ { + if yyhl886 { + if yyj886 >= l { break } } else { @@ -11833,10 +12479,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys843Slc = r.DecodeBytes(yys843Slc, true, true) - yys843 := string(yys843Slc) + yys886Slc = r.DecodeBytes(yys886Slc, true, true) + yys886 := string(yys886Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys843 { + switch yys886 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -11868,9 +12514,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys843) - } // end switch yys843 - } // end for yyj843 + z.DecStructFieldNotFound(-1, yys886) + } // end switch yys886 + } // end for yyj886 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11878,16 +12524,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj849 int - var yyb849 bool - var yyhl849 bool = l >= 0 - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + var yyj892 int + var yyb892 bool + var yyhl892 bool = l >= 0 + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11897,13 +12543,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11913,13 +12559,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11929,13 +12575,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11945,13 +12591,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11962,17 +12608,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj849++ - if yyhl849 { - yyb849 = yyj849 > l + yyj892++ + if yyhl892 { + yyb892 = yyj892 > l } else { - yyb849 = r.CheckBreak() + yyb892 = r.CheckBreak() } - if yyb849 { + if yyb892 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj849-1, "") + z.DecStructFieldNotFound(yyj892-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11984,34 +12630,34 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym855 := z.EncBinary() - _ = yym855 + yym898 := z.EncBinary() + _ = yym898 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep856 := !z.EncBinary() - yy2arr856 := z.EncBasicHandle().StructToArray - var yyq856 [3]bool - _, _, _ = yysep856, yyq856, yy2arr856 - const yyr856 bool = false - yyq856[1] = x.ReadOnly != false - var yynn856 int - if yyr856 || yy2arr856 { + yysep899 := !z.EncBinary() + yy2arr899 := z.EncBasicHandle().StructToArray + var yyq899 [3]bool + _, _, _ = yysep899, yyq899, yy2arr899 + const yyr899 bool = false + yyq899[1] = x.ReadOnly != false + var yynn899 int + if yyr899 || yy2arr899 { r.EncodeArrayStart(3) } else { - yynn856 = 2 - for _, b := range yyq856 { + yynn899 = 2 + for _, b := range yyq899 { if b { - yynn856++ + yynn899++ } } - r.EncodeMapStart(yynn856) - yynn856 = 0 + r.EncodeMapStart(yynn899) + yynn899 = 0 } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym858 := z.EncBinary() - _ = yym858 + yym901 := z.EncBinary() + _ = yym901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12020,18 +12666,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym859 := z.EncBinary() - _ = yym859 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[1] { - yym861 := z.EncBinary() - _ = yym861 + if yyq899[1] { + yym904 := z.EncBinary() + _ = yym904 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12040,22 +12686,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq856[1] { + if yyq899[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym862 := z.EncBinary() - _ = yym862 + yym905 := z.EncBinary() + _ = yym905 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym864 := z.EncBinary() - _ = yym864 + yym907 := z.EncBinary() + _ = yym907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -12064,14 +12710,14 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym865 := z.EncBinary() - _ = yym865 + yym908 := z.EncBinary() + _ = yym908 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr856 || yy2arr856 { + if yyr899 || yy2arr899 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12084,25 +12730,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym866 := z.DecBinary() - _ = yym866 + yym909 := z.DecBinary() + _ = yym909 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct867 := r.ContainerType() - if yyct867 == codecSelferValueTypeMap1234 { - yyl867 := r.ReadMapStart() - if yyl867 == 0 { + yyct910 := r.ContainerType() + if yyct910 == codecSelferValueTypeMap1234 { + yyl910 := r.ReadMapStart() + if yyl910 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl867, d) + x.codecDecodeSelfFromMap(yyl910, d) } - } else if yyct867 == codecSelferValueTypeArray1234 { - yyl867 := r.ReadArrayStart() - if yyl867 == 0 { + } else if yyct910 == codecSelferValueTypeArray1234 { + yyl910 := r.ReadArrayStart() + if yyl910 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl867, d) + x.codecDecodeSelfFromArray(yyl910, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12114,12 +12760,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys868Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys868Slc - var yyhl868 bool = l >= 0 - for yyj868 := 0; ; yyj868++ { - if yyhl868 { - if yyj868 >= l { + var yys911Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys911Slc + var yyhl911 bool = l >= 0 + for yyj911 := 0; ; yyj911++ { + if yyhl911 { + if yyj911 >= l { break } } else { @@ -12128,10 +12774,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys868Slc = r.DecodeBytes(yys868Slc, true, true) - yys868 := string(yys868Slc) + yys911Slc = r.DecodeBytes(yys911Slc, true, true) + yys911 := string(yys911Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys868 { + switch yys911 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12151,9 +12797,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys868) - } // end switch yys868 - } // end for yyj868 + z.DecStructFieldNotFound(-1, yys911) + } // end switch yys911 + } // end for yyj911 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12161,16 +12807,16 @@ func (x *VolumeMount) 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 + var yyj915 int + var yyb915 bool + var yyhl915 bool = l >= 0 + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l } else { - yyb872 = r.CheckBreak() + yyb915 = r.CheckBreak() } - if yyb872 { + if yyb915 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12180,13 +12826,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj872++ - if yyhl872 { - yyb872 = yyj872 > l + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l } else { - yyb872 = r.CheckBreak() + yyb915 = r.CheckBreak() } - if yyb872 { + if yyb915 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12196,13 +12842,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj872++ - if yyhl872 { - yyb872 = yyj872 > l + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l } else { - yyb872 = r.CheckBreak() + yyb915 = r.CheckBreak() } - if yyb872 { + if yyb915 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12213,17 +12859,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.MountPath = string(r.DecodeString()) } for { - yyj872++ - if yyhl872 { - yyb872 = yyj872 > l + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l } else { - yyb872 = r.CheckBreak() + yyb915 = r.CheckBreak() } - if yyb872 { + if yyb915 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj872-1, "") + z.DecStructFieldNotFound(yyj915-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12235,35 +12881,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym876 := z.EncBinary() - _ = yym876 + yym919 := z.EncBinary() + _ = yym919 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep877 := !z.EncBinary() - yy2arr877 := z.EncBasicHandle().StructToArray - var yyq877 [3]bool - _, _, _ = yysep877, yyq877, yy2arr877 - const yyr877 bool = false - yyq877[1] = x.Value != "" - yyq877[2] = x.ValueFrom != nil - var yynn877 int - if yyr877 || yy2arr877 { + yysep920 := !z.EncBinary() + yy2arr920 := z.EncBasicHandle().StructToArray + var yyq920 [3]bool + _, _, _ = yysep920, yyq920, yy2arr920 + const yyr920 bool = false + yyq920[1] = x.Value != "" + yyq920[2] = x.ValueFrom != nil + var yynn920 int + if yyr920 || yy2arr920 { r.EncodeArrayStart(3) } else { - yynn877 = 1 - for _, b := range yyq877 { + yynn920 = 1 + for _, b := range yyq920 { if b { - yynn877++ + yynn920++ } } - r.EncodeMapStart(yynn877) - yynn877 = 0 + r.EncodeMapStart(yynn920) + yynn920 = 0 } - if yyr877 || yy2arr877 { + if yyr920 || yy2arr920 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym879 := z.EncBinary() - _ = yym879 + yym922 := z.EncBinary() + _ = yym922 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -12272,18 +12918,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym880 := z.EncBinary() - _ = yym880 + yym923 := z.EncBinary() + _ = yym923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr877 || yy2arr877 { + if yyr920 || yy2arr920 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq877[1] { - yym882 := z.EncBinary() - _ = yym882 + if yyq920[1] { + yym925 := z.EncBinary() + _ = yym925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -12292,21 +12938,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq877[1] { + if yyq920[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym883 := z.EncBinary() - _ = yym883 + yym926 := z.EncBinary() + _ = yym926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr877 || yy2arr877 { + if yyr920 || yy2arr920 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq877[2] { + if yyq920[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -12316,7 +12962,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq877[2] { + if yyq920[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12327,7 +12973,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr877 || yy2arr877 { + if yyr920 || yy2arr920 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12340,25 +12986,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym885 := z.DecBinary() - _ = yym885 + yym928 := z.DecBinary() + _ = yym928 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct886 := r.ContainerType() - if yyct886 == codecSelferValueTypeMap1234 { - yyl886 := r.ReadMapStart() - if yyl886 == 0 { + yyct929 := r.ContainerType() + if yyct929 == codecSelferValueTypeMap1234 { + yyl929 := r.ReadMapStart() + if yyl929 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl886, d) + x.codecDecodeSelfFromMap(yyl929, d) } - } else if yyct886 == codecSelferValueTypeArray1234 { - yyl886 := r.ReadArrayStart() - if yyl886 == 0 { + } else if yyct929 == codecSelferValueTypeArray1234 { + yyl929 := r.ReadArrayStart() + if yyl929 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl886, d) + x.codecDecodeSelfFromArray(yyl929, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12370,12 +13016,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys887Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys887Slc - var yyhl887 bool = l >= 0 - for yyj887 := 0; ; yyj887++ { - if yyhl887 { - if yyj887 >= l { + var yys930Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys930Slc + var yyhl930 bool = l >= 0 + for yyj930 := 0; ; yyj930++ { + if yyhl930 { + if yyj930 >= l { break } } else { @@ -12384,10 +13030,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys887Slc = r.DecodeBytes(yys887Slc, true, true) - yys887 := string(yys887Slc) + yys930Slc = r.DecodeBytes(yys930Slc, true, true) + yys930 := string(yys930Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys887 { + switch yys930 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -12412,9 +13058,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys887) - } // end switch yys887 - } // end for yyj887 + z.DecStructFieldNotFound(-1, yys930) + } // end switch yys930 + } // end for yyj930 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12422,16 +13068,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj891 int - var yyb891 bool - var yyhl891 bool = l >= 0 - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + var yyj934 int + var yyb934 bool + var yyhl934 bool = l >= 0 + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb891 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb891 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12441,13 +13087,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb891 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb891 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12457,13 +13103,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb891 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb891 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12479,17 +13125,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb891 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb891 { + if yyb934 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj891-1, "") + z.DecStructFieldNotFound(yyj934-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12501,30 +13147,30 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym895 := z.EncBinary() - _ = yym895 + yym938 := z.EncBinary() + _ = yym938 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep896 := !z.EncBinary() - yy2arr896 := z.EncBasicHandle().StructToArray - var yyq896 [1]bool - _, _, _ = yysep896, yyq896, yy2arr896 - const yyr896 bool = false - var yynn896 int - if yyr896 || yy2arr896 { + yysep939 := !z.EncBinary() + yy2arr939 := z.EncBasicHandle().StructToArray + var yyq939 [1]bool + _, _, _ = yysep939, yyq939, yy2arr939 + const yyr939 bool = false + var yynn939 int + if yyr939 || yy2arr939 { r.EncodeArrayStart(1) } else { - yynn896 = 1 - for _, b := range yyq896 { + yynn939 = 1 + for _, b := range yyq939 { if b { - yynn896++ + yynn939++ } } - r.EncodeMapStart(yynn896) - yynn896 = 0 + r.EncodeMapStart(yynn939) + yynn939 = 0 } - if yyr896 || yy2arr896 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldRef == nil { r.EncodeNil() @@ -12541,7 +13187,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { x.FieldRef.CodecEncodeSelf(e) } } - if yyr896 || yy2arr896 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12554,25 +13200,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym898 := z.DecBinary() - _ = yym898 + yym941 := z.DecBinary() + _ = yym941 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct899 := r.ContainerType() - if yyct899 == codecSelferValueTypeMap1234 { - yyl899 := r.ReadMapStart() - if yyl899 == 0 { + yyct942 := r.ContainerType() + if yyct942 == codecSelferValueTypeMap1234 { + yyl942 := r.ReadMapStart() + if yyl942 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl899, d) + x.codecDecodeSelfFromMap(yyl942, d) } - } else if yyct899 == codecSelferValueTypeArray1234 { - yyl899 := r.ReadArrayStart() - if yyl899 == 0 { + } else if yyct942 == codecSelferValueTypeArray1234 { + yyl942 := r.ReadArrayStart() + if yyl942 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl899, d) + x.codecDecodeSelfFromArray(yyl942, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12584,12 +13230,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys900Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys900Slc - var yyhl900 bool = l >= 0 - for yyj900 := 0; ; yyj900++ { - if yyhl900 { - if yyj900 >= l { + var yys943Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys943Slc + var yyhl943 bool = l >= 0 + for yyj943 := 0; ; yyj943++ { + if yyhl943 { + if yyj943 >= l { break } } else { @@ -12598,10 +13244,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys900Slc = r.DecodeBytes(yys900Slc, true, true) - yys900 := string(yys900Slc) + yys943Slc = r.DecodeBytes(yys943Slc, true, true) + yys943 := string(yys943Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys900 { + switch yys943 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -12614,9 +13260,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys900) - } // end switch yys900 - } // end for yyj900 + z.DecStructFieldNotFound(-1, yys943) + } // end switch yys943 + } // end for yyj943 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12624,16 +13270,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj902 int - var yyb902 bool - var yyhl902 bool = l >= 0 - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + var yyj945 int + var yyb945 bool + var yyhl945 bool = l >= 0 + yyj945++ + if yyhl945 { + yyb945 = yyj945 > l } else { - yyb902 = r.CheckBreak() + yyb945 = r.CheckBreak() } - if yyb902 { + if yyb945 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12649,17 +13295,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FieldRef.CodecDecodeSelf(d) } for { - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + yyj945++ + if yyhl945 { + yyb945 = yyj945 > l } else { - yyb902 = r.CheckBreak() + yyb945 = r.CheckBreak() } - if yyb902 { + if yyb945 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj902-1, "") + z.DecStructFieldNotFound(yyj945-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12671,35 +13317,35 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym904 := z.EncBinary() - _ = yym904 + yym947 := z.EncBinary() + _ = yym947 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep905 := !z.EncBinary() - yy2arr905 := z.EncBasicHandle().StructToArray - var yyq905 [2]bool - _, _, _ = yysep905, yyq905, yy2arr905 - const yyr905 bool = false - yyq905[0] = x.APIVersion != "" - var yynn905 int - if yyr905 || yy2arr905 { + yysep948 := !z.EncBinary() + yy2arr948 := z.EncBasicHandle().StructToArray + var yyq948 [2]bool + _, _, _ = yysep948, yyq948, yy2arr948 + const yyr948 bool = false + yyq948[0] = x.APIVersion != "" + var yynn948 int + if yyr948 || yy2arr948 { r.EncodeArrayStart(2) } else { - yynn905 = 1 - for _, b := range yyq905 { + yynn948 = 1 + for _, b := range yyq948 { if b { - yynn905++ + yynn948++ } } - r.EncodeMapStart(yynn905) - yynn905 = 0 + r.EncodeMapStart(yynn948) + yynn948 = 0 } - if yyr905 || yy2arr905 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq905[0] { - yym907 := z.EncBinary() - _ = yym907 + if yyq948[0] { + yym950 := z.EncBinary() + _ = yym950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12708,22 +13354,22 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq905[0] { + if yyq948[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym908 := z.EncBinary() - _ = yym908 + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr905 || yy2arr905 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym910 := z.EncBinary() - _ = yym910 + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -12732,14 +13378,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym911 := z.EncBinary() - _ = yym911 + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr905 || yy2arr905 { + if yyr948 || yy2arr948 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12752,25 +13398,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym912 := z.DecBinary() - _ = yym912 + yym955 := z.DecBinary() + _ = yym955 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct913 := r.ContainerType() - if yyct913 == codecSelferValueTypeMap1234 { - yyl913 := r.ReadMapStart() - if yyl913 == 0 { + yyct956 := r.ContainerType() + if yyct956 == codecSelferValueTypeMap1234 { + yyl956 := r.ReadMapStart() + if yyl956 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl913, d) + x.codecDecodeSelfFromMap(yyl956, d) } - } else if yyct913 == codecSelferValueTypeArray1234 { - yyl913 := r.ReadArrayStart() - if yyl913 == 0 { + } else if yyct956 == codecSelferValueTypeArray1234 { + yyl956 := r.ReadArrayStart() + if yyl956 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl913, d) + x.codecDecodeSelfFromArray(yyl956, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12782,12 +13428,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys914Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys914Slc - var yyhl914 bool = l >= 0 - for yyj914 := 0; ; yyj914++ { - if yyhl914 { - if yyj914 >= l { + var yys957Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys957Slc + var yyhl957 bool = l >= 0 + for yyj957 := 0; ; yyj957++ { + if yyhl957 { + if yyj957 >= l { break } } else { @@ -12796,10 +13442,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys914Slc = r.DecodeBytes(yys914Slc, true, true) - yys914 := string(yys914Slc) + yys957Slc = r.DecodeBytes(yys957Slc, true, true) + yys957 := string(yys957Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys914 { + switch yys957 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -12813,9 +13459,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys914) - } // end switch yys914 - } // end for yyj914 + z.DecStructFieldNotFound(-1, yys957) + } // end switch yys957 + } // end for yyj957 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12823,16 +13469,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj917 int - var yyb917 bool - var yyhl917 bool = l >= 0 - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l + var yyj960 int + var yyb960 bool + var yyhl960 bool = l >= 0 + yyj960++ + if yyhl960 { + yyb960 = yyj960 > l } else { - yyb917 = r.CheckBreak() + yyb960 = r.CheckBreak() } - if yyb917 { + if yyb960 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12842,13 +13488,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l + yyj960++ + if yyhl960 { + yyb960 = yyj960 > l } else { - yyb917 = r.CheckBreak() + yyb960 = r.CheckBreak() } - if yyb917 { + if yyb960 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12859,17 +13505,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l + yyj960++ + if yyhl960 { + yyb960 = yyj960 > l } else { - yyb917 = r.CheckBreak() + yyb960 = r.CheckBreak() } - if yyb917 { + if yyb960 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj917-1, "") + z.DecStructFieldNotFound(yyj960-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12881,37 +13527,37 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym920 := z.EncBinary() - _ = yym920 + yym963 := z.EncBinary() + _ = yym963 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep921 := !z.EncBinary() - yy2arr921 := z.EncBasicHandle().StructToArray - var yyq921 [4]bool - _, _, _ = yysep921, yyq921, yy2arr921 - const yyr921 bool = false - yyq921[0] = x.Path != "" - yyq921[2] = x.Host != "" - yyq921[3] = x.Scheme != "" - var yynn921 int - if yyr921 || yy2arr921 { + yysep964 := !z.EncBinary() + yy2arr964 := z.EncBasicHandle().StructToArray + var yyq964 [4]bool + _, _, _ = yysep964, yyq964, yy2arr964 + const yyr964 bool = false + yyq964[0] = x.Path != "" + yyq964[2] = x.Host != "" + yyq964[3] = x.Scheme != "" + var yynn964 int + if yyr964 || yy2arr964 { r.EncodeArrayStart(4) } else { - yynn921 = 1 - for _, b := range yyq921 { + yynn964 = 1 + for _, b := range yyq964 { if b { - yynn921++ + yynn964++ } } - r.EncodeMapStart(yynn921) - yynn921 = 0 + r.EncodeMapStart(yynn964) + yynn964 = 0 } - if yyr921 || yy2arr921 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq921[0] { - yym923 := z.EncBinary() - _ = yym923 + if yyq964[0] { + yym966 := z.EncBinary() + _ = yym966 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -12920,50 +13566,50 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq921[0] { + if yyq964[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym924 := z.EncBinary() - _ = yym924 + yym967 := z.EncBinary() + _ = yym967 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr921 || yy2arr921 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy926 := &x.Port - yym927 := z.EncBinary() - _ = yym927 + yy969 := &x.Port + yym970 := z.EncBinary() + _ = yym970 if false { - } else if z.HasExtensions() && z.EncExt(yy926) { - } else if !yym927 && z.IsJSONHandle() { - z.EncJSONMarshal(yy926) + } else if z.HasExtensions() && z.EncExt(yy969) { + } else if !yym970 && z.IsJSONHandle() { + z.EncJSONMarshal(yy969) } else { - z.EncFallback(yy926) + z.EncFallback(yy969) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy928 := &x.Port - yym929 := z.EncBinary() - _ = yym929 + yy971 := &x.Port + yym972 := z.EncBinary() + _ = yym972 if false { - } else if z.HasExtensions() && z.EncExt(yy928) { - } else if !yym929 && z.IsJSONHandle() { - z.EncJSONMarshal(yy928) + } else if z.HasExtensions() && z.EncExt(yy971) { + } else if !yym972 && z.IsJSONHandle() { + z.EncJSONMarshal(yy971) } else { - z.EncFallback(yy928) + z.EncFallback(yy971) } } - if yyr921 || yy2arr921 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq921[2] { - yym931 := z.EncBinary() - _ = yym931 + if yyq964[2] { + yym974 := z.EncBinary() + _ = yym974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -12972,34 +13618,34 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq921[2] { + if yyq964[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym932 := z.EncBinary() - _ = yym932 + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr921 || yy2arr921 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq921[3] { + if yyq964[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq921[3] { + if yyq964[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr921 || yy2arr921 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13012,25 +13658,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym934 := z.DecBinary() - _ = yym934 + yym977 := z.DecBinary() + _ = yym977 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct935 := r.ContainerType() - if yyct935 == codecSelferValueTypeMap1234 { - yyl935 := r.ReadMapStart() - if yyl935 == 0 { + yyct978 := r.ContainerType() + if yyct978 == codecSelferValueTypeMap1234 { + yyl978 := r.ReadMapStart() + if yyl978 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl935, d) + x.codecDecodeSelfFromMap(yyl978, d) } - } else if yyct935 == codecSelferValueTypeArray1234 { - yyl935 := r.ReadArrayStart() - if yyl935 == 0 { + } else if yyct978 == codecSelferValueTypeArray1234 { + yyl978 := r.ReadArrayStart() + if yyl978 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl935, d) + x.codecDecodeSelfFromArray(yyl978, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13042,12 +13688,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys936Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys936Slc - var yyhl936 bool = l >= 0 - for yyj936 := 0; ; yyj936++ { - if yyhl936 { - if yyj936 >= l { + var yys979Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys979Slc + var yyhl979 bool = l >= 0 + for yyj979 := 0; ; yyj979++ { + if yyhl979 { + if yyj979 >= l { break } } else { @@ -13056,10 +13702,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys936Slc = r.DecodeBytes(yys936Slc, true, true) - yys936 := string(yys936Slc) + yys979Slc = r.DecodeBytes(yys979Slc, true, true) + yys979 := string(yys979Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys936 { + switch yys979 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13070,15 +13716,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv938 := &x.Port - yym939 := z.DecBinary() - _ = yym939 + yyv981 := &x.Port + yym982 := z.DecBinary() + _ = yym982 if false { - } else if z.HasExtensions() && z.DecExt(yyv938) { - } else if !yym939 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv938) + } else if z.HasExtensions() && z.DecExt(yyv981) { + } else if !yym982 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv981) } else { - z.DecFallback(yyv938, false) + z.DecFallback(yyv981, false) } } case "host": @@ -13094,9 +13740,9 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Scheme = URIScheme(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys936) - } // end switch yys936 - } // end for yyj936 + z.DecStructFieldNotFound(-1, yys979) + } // end switch yys979 + } // end for yyj979 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13104,16 +13750,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj942 int - var yyb942 bool - var yyhl942 bool = l >= 0 - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l + var yyj985 int + var yyb985 bool + var yyhl985 bool = l >= 0 + yyj985++ + if yyhl985 { + yyb985 = yyj985 > l } else { - yyb942 = r.CheckBreak() + yyb985 = r.CheckBreak() } - if yyb942 { + if yyb985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13123,13 +13769,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l + yyj985++ + if yyhl985 { + yyb985 = yyj985 > l } else { - yyb942 = r.CheckBreak() + yyb985 = r.CheckBreak() } - if yyb942 { + if yyb985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13137,24 +13783,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv944 := &x.Port - yym945 := z.DecBinary() - _ = yym945 + yyv987 := &x.Port + yym988 := z.DecBinary() + _ = yym988 if false { - } else if z.HasExtensions() && z.DecExt(yyv944) { - } else if !yym945 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv944) + } else if z.HasExtensions() && z.DecExt(yyv987) { + } else if !yym988 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv987) } else { - z.DecFallback(yyv944, false) + z.DecFallback(yyv987, false) } } - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l + yyj985++ + if yyhl985 { + yyb985 = yyj985 > l } else { - yyb942 = r.CheckBreak() + yyb985 = r.CheckBreak() } - if yyb942 { + if yyb985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13164,13 +13810,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l + yyj985++ + if yyhl985 { + yyb985 = yyj985 > l } else { - yyb942 = r.CheckBreak() + yyb985 = r.CheckBreak() } - if yyb942 { + if yyb985 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13181,17 +13827,17 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Scheme = URIScheme(r.DecodeString()) } for { - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l + yyj985++ + if yyhl985 { + yyb985 = yyj985 > l } else { - yyb942 = r.CheckBreak() + yyb985 = r.CheckBreak() } - if yyb942 { + if yyb985 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj942-1, "") + z.DecStructFieldNotFound(yyj985-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13200,8 +13846,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym948 := z.EncBinary() - _ = yym948 + yym991 := z.EncBinary() + _ = yym991 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13213,8 +13859,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym949 := z.DecBinary() - _ = yym949 + yym992 := z.DecBinary() + _ = yym992 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13229,57 +13875,57 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym950 := z.EncBinary() - _ = yym950 + yym993 := z.EncBinary() + _ = yym993 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep951 := !z.EncBinary() - yy2arr951 := z.EncBasicHandle().StructToArray - var yyq951 [1]bool - _, _, _ = yysep951, yyq951, yy2arr951 - const yyr951 bool = false - var yynn951 int - if yyr951 || yy2arr951 { + yysep994 := !z.EncBinary() + yy2arr994 := z.EncBasicHandle().StructToArray + var yyq994 [1]bool + _, _, _ = yysep994, yyq994, yy2arr994 + const yyr994 bool = false + var yynn994 int + if yyr994 || yy2arr994 { r.EncodeArrayStart(1) } else { - yynn951 = 1 - for _, b := range yyq951 { + yynn994 = 1 + for _, b := range yyq994 { if b { - yynn951++ + yynn994++ } } - r.EncodeMapStart(yynn951) - yynn951 = 0 + r.EncodeMapStart(yynn994) + yynn994 = 0 } - if yyr951 || yy2arr951 { + if yyr994 || yy2arr994 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy953 := &x.Port - yym954 := z.EncBinary() - _ = yym954 + yy996 := &x.Port + yym997 := z.EncBinary() + _ = yym997 if false { - } else if z.HasExtensions() && z.EncExt(yy953) { - } else if !yym954 && z.IsJSONHandle() { - z.EncJSONMarshal(yy953) + } else if z.HasExtensions() && z.EncExt(yy996) { + } else if !yym997 && z.IsJSONHandle() { + z.EncJSONMarshal(yy996) } else { - z.EncFallback(yy953) + z.EncFallback(yy996) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy955 := &x.Port - yym956 := z.EncBinary() - _ = yym956 + yy998 := &x.Port + yym999 := z.EncBinary() + _ = yym999 if false { - } else if z.HasExtensions() && z.EncExt(yy955) { - } else if !yym956 && z.IsJSONHandle() { - z.EncJSONMarshal(yy955) + } else if z.HasExtensions() && z.EncExt(yy998) { + } else if !yym999 && z.IsJSONHandle() { + z.EncJSONMarshal(yy998) } else { - z.EncFallback(yy955) + z.EncFallback(yy998) } } - if yyr951 || yy2arr951 { + if yyr994 || yy2arr994 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13292,25 +13938,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym957 := z.DecBinary() - _ = yym957 + yym1000 := z.DecBinary() + _ = yym1000 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct958 := r.ContainerType() - if yyct958 == codecSelferValueTypeMap1234 { - yyl958 := r.ReadMapStart() - if yyl958 == 0 { + yyct1001 := r.ContainerType() + if yyct1001 == codecSelferValueTypeMap1234 { + yyl1001 := r.ReadMapStart() + if yyl1001 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl958, d) + x.codecDecodeSelfFromMap(yyl1001, d) } - } else if yyct958 == codecSelferValueTypeArray1234 { - yyl958 := r.ReadArrayStart() - if yyl958 == 0 { + } else if yyct1001 == codecSelferValueTypeArray1234 { + yyl1001 := r.ReadArrayStart() + if yyl1001 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl958, d) + x.codecDecodeSelfFromArray(yyl1001, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13322,12 +13968,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys959Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys959Slc - var yyhl959 bool = l >= 0 - for yyj959 := 0; ; yyj959++ { - if yyhl959 { - if yyj959 >= l { + var yys1002Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1002Slc + var yyhl1002 bool = l >= 0 + for yyj1002 := 0; ; yyj1002++ { + if yyhl1002 { + if yyj1002 >= l { break } } else { @@ -13336,29 +13982,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys959Slc = r.DecodeBytes(yys959Slc, true, true) - yys959 := string(yys959Slc) + yys1002Slc = r.DecodeBytes(yys1002Slc, true, true) + yys1002 := string(yys1002Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys959 { + switch yys1002 { case "port": if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv960 := &x.Port - yym961 := z.DecBinary() - _ = yym961 + yyv1003 := &x.Port + yym1004 := z.DecBinary() + _ = yym1004 if false { - } else if z.HasExtensions() && z.DecExt(yyv960) { - } else if !yym961 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv960) + } else if z.HasExtensions() && z.DecExt(yyv1003) { + } else if !yym1004 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1003) } else { - z.DecFallback(yyv960, false) + z.DecFallback(yyv1003, false) } } default: - z.DecStructFieldNotFound(-1, yys959) - } // end switch yys959 - } // end for yyj959 + z.DecStructFieldNotFound(-1, yys1002) + } // end switch yys1002 + } // end for yyj1002 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13366,16 +14012,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj962 int - var yyb962 bool - var yyhl962 bool = l >= 0 - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + var yyj1005 int + var yyb1005 bool + var yyhl1005 bool = l >= 0 + yyj1005++ + if yyhl1005 { + yyb1005 = yyj1005 > l } else { - yyb962 = r.CheckBreak() + yyb1005 = r.CheckBreak() } - if yyb962 { + if yyb1005 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13383,29 +14029,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg5_intstr.IntOrString{} } else { - yyv963 := &x.Port - yym964 := z.DecBinary() - _ = yym964 + yyv1006 := &x.Port + yym1007 := z.DecBinary() + _ = yym1007 if false { - } else if z.HasExtensions() && z.DecExt(yyv963) { - } else if !yym964 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv963) + } else if z.HasExtensions() && z.DecExt(yyv1006) { + } else if !yym1007 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1006) } else { - z.DecFallback(yyv963, false) + z.DecFallback(yyv1006, false) } } for { - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj1005++ + if yyhl1005 { + yyb1005 = yyj1005 > l } else { - yyb962 = r.CheckBreak() + yyb1005 = r.CheckBreak() } - if yyb962 { + if yyb1005 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj962-1, "") + z.DecStructFieldNotFound(yyj1005-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13417,38 +14063,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym965 := z.EncBinary() - _ = yym965 + yym1008 := z.EncBinary() + _ = yym1008 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep966 := !z.EncBinary() - yy2arr966 := z.EncBasicHandle().StructToArray - var yyq966 [1]bool - _, _, _ = yysep966, yyq966, yy2arr966 - const yyr966 bool = false - yyq966[0] = len(x.Command) != 0 - var yynn966 int - if yyr966 || yy2arr966 { + yysep1009 := !z.EncBinary() + yy2arr1009 := z.EncBasicHandle().StructToArray + var yyq1009 [1]bool + _, _, _ = yysep1009, yyq1009, yy2arr1009 + const yyr1009 bool = false + yyq1009[0] = len(x.Command) != 0 + var yynn1009 int + if yyr1009 || yy2arr1009 { r.EncodeArrayStart(1) } else { - yynn966 = 0 - for _, b := range yyq966 { + yynn1009 = 0 + for _, b := range yyq1009 { if b { - yynn966++ + yynn1009++ } } - r.EncodeMapStart(yynn966) - yynn966 = 0 + r.EncodeMapStart(yynn1009) + yynn1009 = 0 } - if yyr966 || yy2arr966 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq966[0] { + if yyq1009[0] { if x.Command == nil { r.EncodeNil() } else { - yym968 := z.EncBinary() - _ = yym968 + yym1011 := z.EncBinary() + _ = yym1011 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -13458,15 +14104,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq966[0] { + if yyq1009[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym969 := z.EncBinary() - _ = yym969 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -13474,7 +14120,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr966 || yy2arr966 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13487,25 +14133,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym970 := z.DecBinary() - _ = yym970 + yym1013 := z.DecBinary() + _ = yym1013 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct971 := r.ContainerType() - if yyct971 == codecSelferValueTypeMap1234 { - yyl971 := r.ReadMapStart() - if yyl971 == 0 { + yyct1014 := r.ContainerType() + if yyct1014 == codecSelferValueTypeMap1234 { + yyl1014 := r.ReadMapStart() + if yyl1014 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl971, d) + x.codecDecodeSelfFromMap(yyl1014, d) } - } else if yyct971 == codecSelferValueTypeArray1234 { - yyl971 := r.ReadArrayStart() - if yyl971 == 0 { + } else if yyct1014 == codecSelferValueTypeArray1234 { + yyl1014 := r.ReadArrayStart() + if yyl1014 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl971, d) + x.codecDecodeSelfFromArray(yyl1014, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13517,12 +14163,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys972Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys972Slc - var yyhl972 bool = l >= 0 - for yyj972 := 0; ; yyj972++ { - if yyhl972 { - if yyj972 >= l { + var yys1015Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1015Slc + var yyhl1015 bool = l >= 0 + for yyj1015 := 0; ; yyj1015++ { + if yyhl1015 { + if yyj1015 >= l { break } } else { @@ -13531,26 +14177,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys972Slc = r.DecodeBytes(yys972Slc, true, true) - yys972 := string(yys972Slc) + yys1015Slc = r.DecodeBytes(yys1015Slc, true, true) + yys1015 := string(yys1015Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys972 { + switch yys1015 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv973 := &x.Command - yym974 := z.DecBinary() - _ = yym974 + yyv1016 := &x.Command + yym1017 := z.DecBinary() + _ = yym1017 if false { } else { - z.F.DecSliceStringX(yyv973, false, d) + z.F.DecSliceStringX(yyv1016, false, d) } } default: - z.DecStructFieldNotFound(-1, yys972) - } // end switch yys972 - } // end for yyj972 + z.DecStructFieldNotFound(-1, yys1015) + } // end switch yys1015 + } // end for yyj1015 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13558,16 +14204,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj975 int - var yyb975 bool - var yyhl975 bool = l >= 0 - yyj975++ - if yyhl975 { - yyb975 = yyj975 > l + var yyj1018 int + var yyb1018 bool + var yyhl1018 bool = l >= 0 + yyj1018++ + if yyhl1018 { + yyb1018 = yyj1018 > l } else { - yyb975 = r.CheckBreak() + yyb1018 = r.CheckBreak() } - if yyb975 { + if yyb1018 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13575,26 +14221,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv976 := &x.Command - yym977 := z.DecBinary() - _ = yym977 + yyv1019 := &x.Command + yym1020 := z.DecBinary() + _ = yym1020 if false { } else { - z.F.DecSliceStringX(yyv976, false, d) + z.F.DecSliceStringX(yyv1019, false, d) } } for { - yyj975++ - if yyhl975 { - yyb975 = yyj975 > l + yyj1018++ + if yyhl1018 { + yyb1018 = yyj1018 > l } else { - yyb975 = r.CheckBreak() + yyb1018 = r.CheckBreak() } - if yyb975 { + if yyb1018 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj975-1, "") + z.DecStructFieldNotFound(yyj1018-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13606,49 +14252,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym978 := z.EncBinary() - _ = yym978 + yym1021 := z.EncBinary() + _ = yym1021 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep979 := !z.EncBinary() - yy2arr979 := z.EncBasicHandle().StructToArray - var yyq979 [8]bool - _, _, _ = yysep979, yyq979, yy2arr979 - const yyr979 bool = false - yyq979[0] = x.Handler.Exec != nil && x.Exec != nil - yyq979[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq979[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - yyq979[3] = x.InitialDelaySeconds != 0 - yyq979[4] = x.TimeoutSeconds != 0 - yyq979[5] = x.PeriodSeconds != 0 - yyq979[6] = x.SuccessThreshold != 0 - yyq979[7] = x.FailureThreshold != 0 - var yynn979 int - if yyr979 || yy2arr979 { + yysep1022 := !z.EncBinary() + yy2arr1022 := z.EncBasicHandle().StructToArray + var yyq1022 [8]bool + _, _, _ = yysep1022, yyq1022, yy2arr1022 + const yyr1022 bool = false + yyq1022[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1022[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1022[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1022[3] = x.InitialDelaySeconds != 0 + yyq1022[4] = x.TimeoutSeconds != 0 + yyq1022[5] = x.PeriodSeconds != 0 + yyq1022[6] = x.SuccessThreshold != 0 + yyq1022[7] = x.FailureThreshold != 0 + var yynn1022 int + if yyr1022 || yy2arr1022 { r.EncodeArrayStart(8) } else { - yynn979 = 0 - for _, b := range yyq979 { + yynn1022 = 0 + for _, b := range yyq1022 { if b { - yynn979++ + yynn1022++ } } - r.EncodeMapStart(yynn979) - yynn979 = 0 + r.EncodeMapStart(yynn1022) + yynn1022 = 0 } - var yyn980 bool + var yyn1023 bool if x.Handler.Exec == nil { - yyn980 = true - goto LABEL980 + yyn1023 = true + goto LABEL1023 } - LABEL980: - if yyr979 || yy2arr979 { - if yyn980 { + LABEL1023: + if yyr1022 || yy2arr1022 { + if yyn1023 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[0] { + if yyq1022[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -13659,11 +14305,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq979[0] { + if yyq1022[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn980 { + if yyn1023 { r.EncodeNil() } else { if x.Exec == nil { @@ -13674,18 +14320,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn981 bool + var yyn1024 bool if x.Handler.HTTPGet == nil { - yyn981 = true - goto LABEL981 + yyn1024 = true + goto LABEL1024 } - LABEL981: - if yyr979 || yy2arr979 { - if yyn981 { + LABEL1024: + if yyr1022 || yy2arr1022 { + if yyn1024 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[1] { + if yyq1022[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -13696,11 +14342,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq979[1] { + if yyq1022[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn981 { + if yyn1024 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -13711,18 +14357,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn982 bool + var yyn1025 bool if x.Handler.TCPSocket == nil { - yyn982 = true - goto LABEL982 + yyn1025 = true + goto LABEL1025 } - LABEL982: - if yyr979 || yy2arr979 { - if yyn982 { + LABEL1025: + if yyr1022 || yy2arr1022 { + if yyn1025 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[2] { + if yyq1022[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -13733,11 +14379,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq979[2] { + if yyq1022[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn982 { + if yyn1025 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -13748,11 +14394,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[3] { - yym984 := z.EncBinary() - _ = yym984 + if yyq1022[3] { + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -13761,23 +14407,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq979[3] { + if yyq1022[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym985 := z.EncBinary() - _ = yym985 + yym1028 := z.EncBinary() + _ = yym1028 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[4] { - yym987 := z.EncBinary() - _ = yym987 + if yyq1022[4] { + yym1030 := z.EncBinary() + _ = yym1030 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) @@ -13786,23 +14432,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq979[4] { + if yyq1022[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym988 := z.EncBinary() - _ = yym988 + yym1031 := z.EncBinary() + _ = yym1031 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[5] { - yym990 := z.EncBinary() - _ = yym990 + if yyq1022[5] { + yym1033 := z.EncBinary() + _ = yym1033 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) @@ -13811,23 +14457,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq979[5] { + if yyq1022[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym991 := z.EncBinary() - _ = yym991 + yym1034 := z.EncBinary() + _ = yym1034 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[6] { - yym993 := z.EncBinary() - _ = yym993 + if yyq1022[6] { + yym1036 := z.EncBinary() + _ = yym1036 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) @@ -13836,23 +14482,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq979[6] { + if yyq1022[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym994 := z.EncBinary() - _ = yym994 + yym1037 := z.EncBinary() + _ = yym1037 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq979[7] { - yym996 := z.EncBinary() - _ = yym996 + if yyq1022[7] { + yym1039 := z.EncBinary() + _ = yym1039 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) @@ -13861,19 +14507,19 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq979[7] { + if yyq1022[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym997 := z.EncBinary() - _ = yym997 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - if yyr979 || yy2arr979 { + if yyr1022 || yy2arr1022 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13886,25 +14532,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym998 := z.DecBinary() - _ = yym998 + yym1041 := z.DecBinary() + _ = yym1041 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct999 := r.ContainerType() - if yyct999 == codecSelferValueTypeMap1234 { - yyl999 := r.ReadMapStart() - if yyl999 == 0 { + yyct1042 := r.ContainerType() + if yyct1042 == codecSelferValueTypeMap1234 { + yyl1042 := r.ReadMapStart() + if yyl1042 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl999, d) + x.codecDecodeSelfFromMap(yyl1042, d) } - } else if yyct999 == codecSelferValueTypeArray1234 { - yyl999 := r.ReadArrayStart() - if yyl999 == 0 { + } else if yyct1042 == codecSelferValueTypeArray1234 { + yyl1042 := r.ReadArrayStart() + if yyl1042 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl999, d) + x.codecDecodeSelfFromArray(yyl1042, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13916,12 +14562,12 @@ func (x *Probe) 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 yys1043Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1043Slc + var yyhl1043 bool = l >= 0 + for yyj1043 := 0; ; yyj1043++ { + if yyhl1043 { + if yyj1043 >= l { break } } else { @@ -13930,10 +14576,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1000Slc = r.DecodeBytes(yys1000Slc, true, true) - yys1000 := string(yys1000Slc) + yys1043Slc = r.DecodeBytes(yys1043Slc, true, true) + yys1043 := string(yys1043Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1000 { + switch yys1043 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -14007,9 +14653,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1000) - } // end switch yys1000 - } // end for yyj1000 + z.DecStructFieldNotFound(-1, yys1043) + } // end switch yys1043 + } // end for yyj1043 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14017,19 +14663,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1009 int - var yyb1009 bool - var yyhl1009 bool = l >= 0 + var yyj1052 int + var yyb1052 bool + var yyhl1052 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14047,13 +14693,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14071,13 +14717,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14092,13 +14738,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14108,13 +14754,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int32(r.DecodeInt(32)) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14124,13 +14770,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int32(r.DecodeInt(32)) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14140,13 +14786,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int32(r.DecodeInt(32)) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14156,13 +14802,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int32(r.DecodeInt(32)) } - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14173,17 +14819,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } for { - yyj1009++ - if yyhl1009 { - yyb1009 = yyj1009 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb1009 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb1009 { + if yyb1052 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1009-1, "") + z.DecStructFieldNotFound(yyj1052-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14192,8 +14838,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1018 := z.EncBinary() - _ = yym1018 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14205,8 +14851,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1019 := z.DecBinary() - _ = yym1019 + yym1062 := z.DecBinary() + _ = yym1062 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14218,8 +14864,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1020 := z.EncBinary() - _ = yym1020 + yym1063 := z.EncBinary() + _ = yym1063 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14231,8 +14877,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1021 := z.DecBinary() - _ = yym1021 + yym1064 := z.DecBinary() + _ = yym1064 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14247,39 +14893,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1022 := z.EncBinary() - _ = yym1022 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1023 := !z.EncBinary() - yy2arr1023 := z.EncBasicHandle().StructToArray - var yyq1023 [2]bool - _, _, _ = yysep1023, yyq1023, yy2arr1023 - const yyr1023 bool = false - yyq1023[0] = len(x.Add) != 0 - yyq1023[1] = len(x.Drop) != 0 - var yynn1023 int - if yyr1023 || yy2arr1023 { + yysep1066 := !z.EncBinary() + yy2arr1066 := z.EncBasicHandle().StructToArray + var yyq1066 [2]bool + _, _, _ = yysep1066, yyq1066, yy2arr1066 + const yyr1066 bool = false + yyq1066[0] = len(x.Add) != 0 + yyq1066[1] = len(x.Drop) != 0 + var yynn1066 int + if yyr1066 || yy2arr1066 { r.EncodeArrayStart(2) } else { - yynn1023 = 0 - for _, b := range yyq1023 { + yynn1066 = 0 + for _, b := range yyq1066 { if b { - yynn1023++ + yynn1066++ } } - r.EncodeMapStart(yynn1023) - yynn1023 = 0 + r.EncodeMapStart(yynn1066) + yynn1066 = 0 } - if yyr1023 || yy2arr1023 { + if yyr1066 || yy2arr1066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[0] { + if yyq1066[0] { if x.Add == nil { r.EncodeNil() } else { - yym1025 := z.EncBinary() - _ = yym1025 + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -14289,15 +14935,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1023[0] { + if yyq1066[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1026 := z.EncBinary() - _ = yym1026 + yym1069 := z.EncBinary() + _ = yym1069 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -14305,14 +14951,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1023 || yy2arr1023 { + if yyr1066 || yy2arr1066 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[1] { + if yyq1066[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1028 := z.EncBinary() - _ = yym1028 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -14322,15 +14968,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1023[1] { + if yyq1066[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1029 := z.EncBinary() - _ = yym1029 + yym1072 := z.EncBinary() + _ = yym1072 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -14338,7 +14984,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1023 || yy2arr1023 { + if yyr1066 || yy2arr1066 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14351,25 +14997,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1030 := z.DecBinary() - _ = yym1030 + yym1073 := z.DecBinary() + _ = yym1073 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1031 := r.ContainerType() - if yyct1031 == codecSelferValueTypeMap1234 { - yyl1031 := r.ReadMapStart() - if yyl1031 == 0 { + yyct1074 := r.ContainerType() + if yyct1074 == codecSelferValueTypeMap1234 { + yyl1074 := r.ReadMapStart() + if yyl1074 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1031, d) + x.codecDecodeSelfFromMap(yyl1074, d) } - } else if yyct1031 == codecSelferValueTypeArray1234 { - yyl1031 := r.ReadArrayStart() - if yyl1031 == 0 { + } else if yyct1074 == codecSelferValueTypeArray1234 { + yyl1074 := r.ReadArrayStart() + if yyl1074 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1031, d) + x.codecDecodeSelfFromArray(yyl1074, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14381,12 +15027,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1032Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1032Slc - var yyhl1032 bool = l >= 0 - for yyj1032 := 0; ; yyj1032++ { - if yyhl1032 { - if yyj1032 >= l { + var yys1075Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1075Slc + var yyhl1075 bool = l >= 0 + for yyj1075 := 0; ; yyj1075++ { + if yyhl1075 { + if yyj1075 >= l { break } } else { @@ -14395,38 +15041,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1032Slc = r.DecodeBytes(yys1032Slc, true, true) - yys1032 := string(yys1032Slc) + yys1075Slc = r.DecodeBytes(yys1075Slc, true, true) + yys1075 := string(yys1075Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1032 { + switch yys1075 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1033 := &x.Add - yym1034 := z.DecBinary() - _ = yym1034 + yyv1076 := &x.Add + yym1077 := z.DecBinary() + _ = yym1077 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1033), d) + h.decSliceCapability((*[]Capability)(yyv1076), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1035 := &x.Drop - yym1036 := z.DecBinary() - _ = yym1036 + yyv1078 := &x.Drop + yym1079 := z.DecBinary() + _ = yym1079 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1035), d) + h.decSliceCapability((*[]Capability)(yyv1078), d) } } default: - z.DecStructFieldNotFound(-1, yys1032) - } // end switch yys1032 - } // end for yyj1032 + z.DecStructFieldNotFound(-1, yys1075) + } // end switch yys1075 + } // end for yyj1075 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14434,16 +15080,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1037 int - var yyb1037 bool - var yyhl1037 bool = l >= 0 - yyj1037++ - if yyhl1037 { - yyb1037 = yyj1037 > l + var yyj1080 int + var yyb1080 bool + var yyhl1080 bool = l >= 0 + yyj1080++ + if yyhl1080 { + yyb1080 = yyj1080 > l } else { - yyb1037 = r.CheckBreak() + yyb1080 = r.CheckBreak() } - if yyb1037 { + if yyb1080 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14451,21 +15097,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1038 := &x.Add - yym1039 := z.DecBinary() - _ = yym1039 + yyv1081 := &x.Add + yym1082 := z.DecBinary() + _ = yym1082 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1038), d) + h.decSliceCapability((*[]Capability)(yyv1081), d) } } - yyj1037++ - if yyhl1037 { - yyb1037 = yyj1037 > l + yyj1080++ + if yyhl1080 { + yyb1080 = yyj1080 > l } else { - yyb1037 = r.CheckBreak() + yyb1080 = r.CheckBreak() } - if yyb1037 { + if yyb1080 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14473,26 +15119,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1040 := &x.Drop - yym1041 := z.DecBinary() - _ = yym1041 + yyv1083 := &x.Drop + yym1084 := z.DecBinary() + _ = yym1084 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1040), d) + h.decSliceCapability((*[]Capability)(yyv1083), d) } } for { - yyj1037++ - if yyhl1037 { - yyb1037 = yyj1037 > l + yyj1080++ + if yyhl1080 { + yyb1080 = yyj1080 > l } else { - yyb1037 = r.CheckBreak() + yyb1080 = r.CheckBreak() } - if yyb1037 { + if yyb1080 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1037-1, "") + z.DecStructFieldNotFound(yyj1080-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14504,34 +15150,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1042 := z.EncBinary() - _ = yym1042 + yym1085 := z.EncBinary() + _ = yym1085 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1043 := !z.EncBinary() - yy2arr1043 := z.EncBasicHandle().StructToArray - var yyq1043 [2]bool - _, _, _ = yysep1043, yyq1043, yy2arr1043 - const yyr1043 bool = false - yyq1043[0] = len(x.Limits) != 0 - yyq1043[1] = len(x.Requests) != 0 - var yynn1043 int - if yyr1043 || yy2arr1043 { + yysep1086 := !z.EncBinary() + yy2arr1086 := z.EncBasicHandle().StructToArray + var yyq1086 [2]bool + _, _, _ = yysep1086, yyq1086, yy2arr1086 + const yyr1086 bool = false + yyq1086[0] = len(x.Limits) != 0 + yyq1086[1] = len(x.Requests) != 0 + var yynn1086 int + if yyr1086 || yy2arr1086 { r.EncodeArrayStart(2) } else { - yynn1043 = 0 - for _, b := range yyq1043 { + yynn1086 = 0 + for _, b := range yyq1086 { if b { - yynn1043++ + yynn1086++ } } - r.EncodeMapStart(yynn1043) - yynn1043 = 0 + r.EncodeMapStart(yynn1086) + yynn1086 = 0 } - if yyr1043 || yy2arr1043 { + if yyr1086 || yy2arr1086 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1043[0] { + if yyq1086[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -14541,7 +15187,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1043[0] { + if yyq1086[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14552,9 +15198,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1043 || yy2arr1043 { + if yyr1086 || yy2arr1086 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1043[1] { + if yyq1086[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -14564,7 +15210,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1043[1] { + if yyq1086[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14575,7 +15221,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1043 || yy2arr1043 { + if yyr1086 || yy2arr1086 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14588,25 +15234,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1046 := z.DecBinary() - _ = yym1046 + yym1089 := z.DecBinary() + _ = yym1089 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1047 := r.ContainerType() - if yyct1047 == codecSelferValueTypeMap1234 { - yyl1047 := r.ReadMapStart() - if yyl1047 == 0 { + yyct1090 := r.ContainerType() + if yyct1090 == codecSelferValueTypeMap1234 { + yyl1090 := r.ReadMapStart() + if yyl1090 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1047, d) + x.codecDecodeSelfFromMap(yyl1090, d) } - } else if yyct1047 == codecSelferValueTypeArray1234 { - yyl1047 := r.ReadArrayStart() - if yyl1047 == 0 { + } else if yyct1090 == codecSelferValueTypeArray1234 { + yyl1090 := r.ReadArrayStart() + if yyl1090 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1047, d) + x.codecDecodeSelfFromArray(yyl1090, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14618,12 +15264,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1048Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1048Slc - var yyhl1048 bool = l >= 0 - for yyj1048 := 0; ; yyj1048++ { - if yyhl1048 { - if yyj1048 >= l { + var yys1091Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1091Slc + var yyhl1091 bool = l >= 0 + for yyj1091 := 0; ; yyj1091++ { + if yyhl1091 { + if yyj1091 >= l { break } } else { @@ -14632,28 +15278,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1048Slc = r.DecodeBytes(yys1048Slc, true, true) - yys1048 := string(yys1048Slc) + yys1091Slc = r.DecodeBytes(yys1091Slc, true, true) + yys1091 := string(yys1091Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1048 { + switch yys1091 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1049 := &x.Limits - yyv1049.CodecDecodeSelf(d) + yyv1092 := &x.Limits + yyv1092.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1050 := &x.Requests - yyv1050.CodecDecodeSelf(d) + yyv1093 := &x.Requests + yyv1093.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1048) - } // end switch yys1048 - } // end for yyj1048 + z.DecStructFieldNotFound(-1, yys1091) + } // end switch yys1091 + } // end for yyj1091 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14661,16 +15307,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1051 int - var yyb1051 bool - var yyhl1051 bool = l >= 0 - yyj1051++ - if yyhl1051 { - yyb1051 = yyj1051 > l + var yyj1094 int + var yyb1094 bool + var yyhl1094 bool = l >= 0 + yyj1094++ + if yyhl1094 { + yyb1094 = yyj1094 > l } else { - yyb1051 = r.CheckBreak() + yyb1094 = r.CheckBreak() } - if yyb1051 { + if yyb1094 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14678,16 +15324,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1052 := &x.Limits - yyv1052.CodecDecodeSelf(d) + yyv1095 := &x.Limits + yyv1095.CodecDecodeSelf(d) } - yyj1051++ - if yyhl1051 { - yyb1051 = yyj1051 > l + yyj1094++ + if yyhl1094 { + yyb1094 = yyj1094 > l } else { - yyb1051 = r.CheckBreak() + yyb1094 = r.CheckBreak() } - if yyb1051 { + if yyb1094 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14695,21 +15341,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1053 := &x.Requests - yyv1053.CodecDecodeSelf(d) + yyv1096 := &x.Requests + yyv1096.CodecDecodeSelf(d) } for { - yyj1051++ - if yyhl1051 { - yyb1051 = yyj1051 > l + yyj1094++ + if yyhl1094 { + yyb1094 = yyj1094 > l } else { - yyb1051 = r.CheckBreak() + yyb1094 = r.CheckBreak() } - if yyb1051 { + if yyb1094 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1051-1, "") + z.DecStructFieldNotFound(yyj1094-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14721,50 +15367,50 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1054 := z.EncBinary() - _ = yym1054 + yym1097 := z.EncBinary() + _ = yym1097 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1055 := !z.EncBinary() - yy2arr1055 := z.EncBasicHandle().StructToArray - var yyq1055 [18]bool - _, _, _ = yysep1055, yyq1055, yy2arr1055 - const yyr1055 bool = false - yyq1055[1] = x.Image != "" - yyq1055[2] = len(x.Command) != 0 - yyq1055[3] = len(x.Args) != 0 - yyq1055[4] = x.WorkingDir != "" - yyq1055[5] = len(x.Ports) != 0 - yyq1055[6] = len(x.Env) != 0 - yyq1055[7] = true - yyq1055[8] = len(x.VolumeMounts) != 0 - yyq1055[9] = x.LivenessProbe != nil - yyq1055[10] = x.ReadinessProbe != nil - yyq1055[11] = x.Lifecycle != nil - yyq1055[12] = x.TerminationMessagePath != "" - yyq1055[13] = x.ImagePullPolicy != "" - yyq1055[14] = x.SecurityContext != nil - yyq1055[15] = x.Stdin != false - yyq1055[16] = x.StdinOnce != false - yyq1055[17] = x.TTY != false - var yynn1055 int - if yyr1055 || yy2arr1055 { + yysep1098 := !z.EncBinary() + yy2arr1098 := z.EncBasicHandle().StructToArray + var yyq1098 [18]bool + _, _, _ = yysep1098, yyq1098, yy2arr1098 + const yyr1098 bool = false + yyq1098[1] = x.Image != "" + yyq1098[2] = len(x.Command) != 0 + yyq1098[3] = len(x.Args) != 0 + yyq1098[4] = x.WorkingDir != "" + yyq1098[5] = len(x.Ports) != 0 + yyq1098[6] = len(x.Env) != 0 + yyq1098[7] = true + yyq1098[8] = len(x.VolumeMounts) != 0 + yyq1098[9] = x.LivenessProbe != nil + yyq1098[10] = x.ReadinessProbe != nil + yyq1098[11] = x.Lifecycle != nil + yyq1098[12] = x.TerminationMessagePath != "" + yyq1098[13] = x.ImagePullPolicy != "" + yyq1098[14] = x.SecurityContext != nil + yyq1098[15] = x.Stdin != false + yyq1098[16] = x.StdinOnce != false + yyq1098[17] = x.TTY != false + var yynn1098 int + if yyr1098 || yy2arr1098 { r.EncodeArrayStart(18) } else { - yynn1055 = 1 - for _, b := range yyq1055 { + yynn1098 = 1 + for _, b := range yyq1098 { if b { - yynn1055++ + yynn1098++ } } - r.EncodeMapStart(yynn1055) - yynn1055 = 0 + r.EncodeMapStart(yynn1098) + yynn1098 = 0 } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1057 := z.EncBinary() - _ = yym1057 + yym1100 := z.EncBinary() + _ = yym1100 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14773,18 +15419,18 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1058 := z.EncBinary() - _ = yym1058 + yym1101 := z.EncBinary() + _ = yym1101 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[1] { - yym1060 := z.EncBinary() - _ = yym1060 + if yyq1098[1] { + yym1103 := z.EncBinary() + _ = yym1103 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -14793,26 +15439,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1055[1] { + if yyq1098[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1061 := z.EncBinary() - _ = yym1061 + yym1104 := z.EncBinary() + _ = yym1104 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[2] { + if yyq1098[2] { if x.Command == nil { r.EncodeNil() } else { - yym1063 := z.EncBinary() - _ = yym1063 + yym1106 := z.EncBinary() + _ = yym1106 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -14822,15 +15468,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[2] { + if yyq1098[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1064 := z.EncBinary() - _ = yym1064 + yym1107 := z.EncBinary() + _ = yym1107 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -14838,14 +15484,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[3] { + if yyq1098[3] { if x.Args == nil { r.EncodeNil() } else { - yym1066 := z.EncBinary() - _ = yym1066 + yym1109 := z.EncBinary() + _ = yym1109 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -14855,15 +15501,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[3] { + if yyq1098[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1067 := z.EncBinary() - _ = yym1067 + yym1110 := z.EncBinary() + _ = yym1110 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -14871,11 +15517,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[4] { - yym1069 := z.EncBinary() - _ = yym1069 + if yyq1098[4] { + yym1112 := z.EncBinary() + _ = yym1112 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -14884,26 +15530,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1055[4] { + if yyq1098[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1070 := z.EncBinary() - _ = yym1070 + yym1113 := z.EncBinary() + _ = yym1113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[5] { + if yyq1098[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1072 := z.EncBinary() - _ = yym1072 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -14913,15 +15559,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[5] { + if yyq1098[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1073 := z.EncBinary() - _ = yym1073 + yym1116 := z.EncBinary() + _ = yym1116 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -14929,14 +15575,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[6] { + if yyq1098[6] { if x.Env == nil { r.EncodeNil() } else { - yym1075 := z.EncBinary() - _ = yym1075 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -14946,15 +15592,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[6] { + if yyq1098[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1076 := z.EncBinary() - _ = yym1076 + yym1119 := z.EncBinary() + _ = yym1119 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -14962,31 +15608,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[7] { - yy1078 := &x.Resources - yy1078.CodecEncodeSelf(e) + if yyq1098[7] { + yy1121 := &x.Resources + yy1121.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1055[7] { + if yyq1098[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1079 := &x.Resources - yy1079.CodecEncodeSelf(e) + yy1122 := &x.Resources + yy1122.CodecEncodeSelf(e) } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[8] { + if yyq1098[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1081 := z.EncBinary() - _ = yym1081 + yym1124 := z.EncBinary() + _ = yym1124 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -14996,15 +15642,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[8] { + if yyq1098[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1082 := z.EncBinary() - _ = yym1082 + yym1125 := z.EncBinary() + _ = yym1125 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -15012,9 +15658,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[9] { + if yyq1098[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -15024,7 +15670,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[9] { + if yyq1098[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15035,9 +15681,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[10] { + if yyq1098[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -15047,7 +15693,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[10] { + if yyq1098[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15058,9 +15704,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[11] { + if yyq1098[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -15070,7 +15716,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[11] { + if yyq1098[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15081,11 +15727,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[12] { - yym1087 := z.EncBinary() - _ = yym1087 + if yyq1098[12] { + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -15094,36 +15740,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1055[12] { + if yyq1098[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1088 := z.EncBinary() - _ = yym1088 + yym1131 := z.EncBinary() + _ = yym1131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[13] { + if yyq1098[13] { x.ImagePullPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1055[13] { + if yyq1098[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[14] { + if yyq1098[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -15133,7 +15779,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1055[14] { + if yyq1098[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15144,11 +15790,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[15] { - yym1092 := z.EncBinary() - _ = yym1092 + if yyq1098[15] { + yym1135 := z.EncBinary() + _ = yym1135 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -15157,23 +15803,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1055[15] { + if yyq1098[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1093 := z.EncBinary() - _ = yym1093 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[16] { - yym1095 := z.EncBinary() - _ = yym1095 + if yyq1098[16] { + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -15182,23 +15828,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1055[16] { + if yyq1098[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1096 := z.EncBinary() - _ = yym1096 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1055[17] { - yym1098 := z.EncBinary() - _ = yym1098 + if yyq1098[17] { + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -15207,19 +15853,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1055[17] { + if yyq1098[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1099 := z.EncBinary() - _ = yym1099 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1055 || yy2arr1055 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15232,25 +15878,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1100 := z.DecBinary() - _ = yym1100 + yym1143 := z.DecBinary() + _ = yym1143 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1101 := r.ContainerType() - if yyct1101 == codecSelferValueTypeMap1234 { - yyl1101 := r.ReadMapStart() - if yyl1101 == 0 { + yyct1144 := r.ContainerType() + if yyct1144 == codecSelferValueTypeMap1234 { + yyl1144 := r.ReadMapStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1101, d) + x.codecDecodeSelfFromMap(yyl1144, d) } - } else if yyct1101 == codecSelferValueTypeArray1234 { - yyl1101 := r.ReadArrayStart() - if yyl1101 == 0 { + } else if yyct1144 == codecSelferValueTypeArray1234 { + yyl1144 := r.ReadArrayStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1101, d) + x.codecDecodeSelfFromArray(yyl1144, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15262,12 +15908,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1102Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1102Slc - var yyhl1102 bool = l >= 0 - for yyj1102 := 0; ; yyj1102++ { - if yyhl1102 { - if yyj1102 >= l { + var yys1145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1145Slc + var yyhl1145 bool = l >= 0 + for yyj1145 := 0; ; yyj1145++ { + if yyhl1145 { + if yyj1145 >= l { break } } else { @@ -15276,10 +15922,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1102Slc = r.DecodeBytes(yys1102Slc, true, true) - yys1102 := string(yys1102Slc) + yys1145Slc = r.DecodeBytes(yys1145Slc, true, true) + yys1145 := string(yys1145Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1102 { + switch yys1145 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15296,24 +15942,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1105 := &x.Command - yym1106 := z.DecBinary() - _ = yym1106 + yyv1148 := &x.Command + yym1149 := z.DecBinary() + _ = yym1149 if false { } else { - z.F.DecSliceStringX(yyv1105, false, d) + z.F.DecSliceStringX(yyv1148, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1107 := &x.Args - yym1108 := z.DecBinary() - _ = yym1108 + yyv1150 := &x.Args + yym1151 := z.DecBinary() + _ = yym1151 if false { } else { - z.F.DecSliceStringX(yyv1107, false, d) + z.F.DecSliceStringX(yyv1150, false, d) } } case "workingDir": @@ -15326,43 +15972,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1110 := &x.Ports - yym1111 := z.DecBinary() - _ = yym1111 + yyv1153 := &x.Ports + yym1154 := z.DecBinary() + _ = yym1154 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1110), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1153), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1112 := &x.Env - yym1113 := z.DecBinary() - _ = yym1113 + yyv1155 := &x.Env + yym1156 := z.DecBinary() + _ = yym1156 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1112), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1155), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1114 := &x.Resources - yyv1114.CodecDecodeSelf(d) + yyv1157 := &x.Resources + yyv1157.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1115 := &x.VolumeMounts - yym1116 := z.DecBinary() - _ = yym1116 + yyv1158 := &x.VolumeMounts + yym1159 := z.DecBinary() + _ = yym1159 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1115), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1158), d) } } case "livenessProbe": @@ -15440,9 +16086,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1102) - } // end switch yys1102 - } // end for yyj1102 + z.DecStructFieldNotFound(-1, yys1145) + } // end switch yys1145 + } // end for yyj1145 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15450,16 +16096,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1126 int - var yyb1126 bool - var yyhl1126 bool = l >= 0 - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + var yyj1169 int + var yyb1169 bool + var yyhl1169 bool = l >= 0 + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15469,13 +16115,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15485,13 +16131,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15499,21 +16145,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1129 := &x.Command - yym1130 := z.DecBinary() - _ = yym1130 + yyv1172 := &x.Command + yym1173 := z.DecBinary() + _ = yym1173 if false { } else { - z.F.DecSliceStringX(yyv1129, false, d) + z.F.DecSliceStringX(yyv1172, false, d) } } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15521,21 +16167,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1131 := &x.Args - yym1132 := z.DecBinary() - _ = yym1132 + yyv1174 := &x.Args + yym1175 := z.DecBinary() + _ = yym1175 if false { } else { - z.F.DecSliceStringX(yyv1131, false, d) + z.F.DecSliceStringX(yyv1174, false, d) } } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15545,13 +16191,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15559,21 +16205,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1134 := &x.Ports - yym1135 := z.DecBinary() - _ = yym1135 + yyv1177 := &x.Ports + yym1178 := z.DecBinary() + _ = yym1178 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1134), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1177), d) } } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15581,21 +16227,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1136 := &x.Env - yym1137 := z.DecBinary() - _ = yym1137 + yyv1179 := &x.Env + yym1180 := z.DecBinary() + _ = yym1180 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1136), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1179), d) } } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15603,16 +16249,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1138 := &x.Resources - yyv1138.CodecDecodeSelf(d) + yyv1181 := &x.Resources + yyv1181.CodecDecodeSelf(d) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15620,21 +16266,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1139 := &x.VolumeMounts - yym1140 := z.DecBinary() - _ = yym1140 + yyv1182 := &x.VolumeMounts + yym1183 := z.DecBinary() + _ = yym1183 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1139), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1182), d) } } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15649,13 +16295,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15670,13 +16316,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15691,13 +16337,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15707,13 +16353,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15723,13 +16369,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15744,13 +16390,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15760,13 +16406,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15776,13 +16422,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15793,17 +16439,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1169++ + if yyhl1169 { + yyb1169 = yyj1169 > l } else { - yyb1126 = r.CheckBreak() + yyb1169 = r.CheckBreak() } - if yyb1126 { + if yyb1169 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1126-1, "") + z.DecStructFieldNotFound(yyj1169-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15815,35 +16461,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1150 := z.EncBinary() - _ = yym1150 + yym1193 := z.EncBinary() + _ = yym1193 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1151 := !z.EncBinary() - yy2arr1151 := z.EncBasicHandle().StructToArray - var yyq1151 [3]bool - _, _, _ = yysep1151, yyq1151, yy2arr1151 - const yyr1151 bool = false - yyq1151[0] = x.Exec != nil - yyq1151[1] = x.HTTPGet != nil - yyq1151[2] = x.TCPSocket != nil - var yynn1151 int - if yyr1151 || yy2arr1151 { + yysep1194 := !z.EncBinary() + yy2arr1194 := z.EncBasicHandle().StructToArray + var yyq1194 [3]bool + _, _, _ = yysep1194, yyq1194, yy2arr1194 + const yyr1194 bool = false + yyq1194[0] = x.Exec != nil + yyq1194[1] = x.HTTPGet != nil + yyq1194[2] = x.TCPSocket != nil + var yynn1194 int + if yyr1194 || yy2arr1194 { r.EncodeArrayStart(3) } else { - yynn1151 = 0 - for _, b := range yyq1151 { + yynn1194 = 0 + for _, b := range yyq1194 { if b { - yynn1151++ + yynn1194++ } } - r.EncodeMapStart(yynn1151) - yynn1151 = 0 + r.EncodeMapStart(yynn1194) + yynn1194 = 0 } - if yyr1151 || yy2arr1151 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1151[0] { + if yyq1194[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -15853,7 +16499,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1151[0] { + if yyq1194[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15864,9 +16510,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1151 || yy2arr1151 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1151[1] { + if yyq1194[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -15876,7 +16522,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1151[1] { + if yyq1194[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15887,9 +16533,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1151 || yy2arr1151 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1151[2] { + if yyq1194[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -15899,7 +16545,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1151[2] { + if yyq1194[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15910,7 +16556,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1151 || yy2arr1151 { + if yyr1194 || yy2arr1194 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15923,25 +16569,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1155 := z.DecBinary() - _ = yym1155 + yym1198 := z.DecBinary() + _ = yym1198 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1156 := r.ContainerType() - if yyct1156 == codecSelferValueTypeMap1234 { - yyl1156 := r.ReadMapStart() - if yyl1156 == 0 { + yyct1199 := r.ContainerType() + if yyct1199 == codecSelferValueTypeMap1234 { + yyl1199 := r.ReadMapStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1156, d) + x.codecDecodeSelfFromMap(yyl1199, d) } - } else if yyct1156 == codecSelferValueTypeArray1234 { - yyl1156 := r.ReadArrayStart() - if yyl1156 == 0 { + } else if yyct1199 == codecSelferValueTypeArray1234 { + yyl1199 := r.ReadArrayStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1156, d) + x.codecDecodeSelfFromArray(yyl1199, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15953,12 +16599,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys1200Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1200Slc + var yyhl1200 bool = l >= 0 + for yyj1200 := 0; ; yyj1200++ { + if yyhl1200 { + if yyj1200 >= l { break } } else { @@ -15967,10 +16613,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1157Slc = r.DecodeBytes(yys1157Slc, true, true) - yys1157 := string(yys1157Slc) + yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) + yys1200 := string(yys1200Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1157 { + switch yys1200 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -16005,9 +16651,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1157) - } // end switch yys1157 - } // end for yyj1157 + z.DecStructFieldNotFound(-1, yys1200) + } // end switch yys1200 + } // end for yyj1200 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16015,16 +16661,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1161 int - var yyb1161 bool - var yyhl1161 bool = l >= 0 - yyj1161++ - if yyhl1161 { - yyb1161 = yyj1161 > l + var yyj1204 int + var yyb1204 bool + var yyhl1204 bool = l >= 0 + yyj1204++ + if yyhl1204 { + yyb1204 = yyj1204 > l } else { - yyb1161 = r.CheckBreak() + yyb1204 = r.CheckBreak() } - if yyb1161 { + if yyb1204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16039,13 +16685,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1161++ - if yyhl1161 { - yyb1161 = yyj1161 > l + yyj1204++ + if yyhl1204 { + yyb1204 = yyj1204 > l } else { - yyb1161 = r.CheckBreak() + yyb1204 = r.CheckBreak() } - if yyb1161 { + if yyb1204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16060,13 +16706,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1161++ - if yyhl1161 { - yyb1161 = yyj1161 > l + yyj1204++ + if yyhl1204 { + yyb1204 = yyj1204 > l } else { - yyb1161 = r.CheckBreak() + yyb1204 = r.CheckBreak() } - if yyb1161 { + if yyb1204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16082,17 +16728,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1161++ - if yyhl1161 { - yyb1161 = yyj1161 > l + yyj1204++ + if yyhl1204 { + yyb1204 = yyj1204 > l } else { - yyb1161 = r.CheckBreak() + yyb1204 = r.CheckBreak() } - if yyb1161 { + if yyb1204 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1161-1, "") + z.DecStructFieldNotFound(yyj1204-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16104,34 +16750,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1165 := z.EncBinary() - _ = yym1165 + yym1208 := z.EncBinary() + _ = yym1208 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1166 := !z.EncBinary() - yy2arr1166 := z.EncBasicHandle().StructToArray - var yyq1166 [2]bool - _, _, _ = yysep1166, yyq1166, yy2arr1166 - const yyr1166 bool = false - yyq1166[0] = x.PostStart != nil - yyq1166[1] = x.PreStop != nil - var yynn1166 int - if yyr1166 || yy2arr1166 { + yysep1209 := !z.EncBinary() + yy2arr1209 := z.EncBasicHandle().StructToArray + var yyq1209 [2]bool + _, _, _ = yysep1209, yyq1209, yy2arr1209 + const yyr1209 bool = false + yyq1209[0] = x.PostStart != nil + yyq1209[1] = x.PreStop != nil + var yynn1209 int + if yyr1209 || yy2arr1209 { r.EncodeArrayStart(2) } else { - yynn1166 = 0 - for _, b := range yyq1166 { + yynn1209 = 0 + for _, b := range yyq1209 { if b { - yynn1166++ + yynn1209++ } } - r.EncodeMapStart(yynn1166) - yynn1166 = 0 + r.EncodeMapStart(yynn1209) + yynn1209 = 0 } - if yyr1166 || yy2arr1166 { + if yyr1209 || yy2arr1209 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1166[0] { + if yyq1209[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -16141,7 +16787,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1166[0] { + if yyq1209[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16152,9 +16798,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1166 || yy2arr1166 { + if yyr1209 || yy2arr1209 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1166[1] { + if yyq1209[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -16164,7 +16810,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1166[1] { + if yyq1209[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16175,7 +16821,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1166 || yy2arr1166 { + if yyr1209 || yy2arr1209 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16188,25 +16834,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1169 := z.DecBinary() - _ = yym1169 + yym1212 := z.DecBinary() + _ = yym1212 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1170 := r.ContainerType() - if yyct1170 == codecSelferValueTypeMap1234 { - yyl1170 := r.ReadMapStart() - if yyl1170 == 0 { + yyct1213 := r.ContainerType() + if yyct1213 == codecSelferValueTypeMap1234 { + yyl1213 := r.ReadMapStart() + if yyl1213 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1170, d) + x.codecDecodeSelfFromMap(yyl1213, d) } - } else if yyct1170 == codecSelferValueTypeArray1234 { - yyl1170 := r.ReadArrayStart() - if yyl1170 == 0 { + } else if yyct1213 == codecSelferValueTypeArray1234 { + yyl1213 := r.ReadArrayStart() + if yyl1213 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1170, d) + x.codecDecodeSelfFromArray(yyl1213, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16218,12 +16864,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1171Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1171Slc - var yyhl1171 bool = l >= 0 - for yyj1171 := 0; ; yyj1171++ { - if yyhl1171 { - if yyj1171 >= l { + var yys1214Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1214Slc + var yyhl1214 bool = l >= 0 + for yyj1214 := 0; ; yyj1214++ { + if yyhl1214 { + if yyj1214 >= l { break } } else { @@ -16232,10 +16878,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1171Slc = r.DecodeBytes(yys1171Slc, true, true) - yys1171 := string(yys1171Slc) + yys1214Slc = r.DecodeBytes(yys1214Slc, true, true) + yys1214 := string(yys1214Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1171 { + switch yys1214 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -16259,9 +16905,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1171) - } // end switch yys1171 - } // end for yyj1171 + z.DecStructFieldNotFound(-1, yys1214) + } // end switch yys1214 + } // end for yyj1214 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16269,16 +16915,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1174 int - var yyb1174 bool - var yyhl1174 bool = l >= 0 - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + var yyj1217 int + var yyb1217 bool + var yyhl1217 bool = l >= 0 + yyj1217++ + if yyhl1217 { + yyb1217 = yyj1217 > l } else { - yyb1174 = r.CheckBreak() + yyb1217 = r.CheckBreak() } - if yyb1174 { + if yyb1217 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16293,13 +16939,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1217++ + if yyhl1217 { + yyb1217 = yyj1217 > l } else { - yyb1174 = r.CheckBreak() + yyb1217 = r.CheckBreak() } - if yyb1174 { + if yyb1217 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16315,17 +16961,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1217++ + if yyhl1217 { + yyb1217 = yyj1217 > l } else { - yyb1174 = r.CheckBreak() + yyb1217 = r.CheckBreak() } - if yyb1174 { + if yyb1217 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1174-1, "") + z.DecStructFieldNotFound(yyj1217-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16334,8 +16980,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1177 := z.EncBinary() - _ = yym1177 + yym1220 := z.EncBinary() + _ = yym1220 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16347,8 +16993,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1178 := z.DecBinary() - _ = yym1178 + yym1221 := z.DecBinary() + _ = yym1221 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16363,36 +17009,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1179 := z.EncBinary() - _ = yym1179 + yym1222 := z.EncBinary() + _ = yym1222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1180 := !z.EncBinary() - yy2arr1180 := z.EncBasicHandle().StructToArray - var yyq1180 [2]bool - _, _, _ = yysep1180, yyq1180, yy2arr1180 - const yyr1180 bool = false - yyq1180[0] = x.Reason != "" - yyq1180[1] = x.Message != "" - var yynn1180 int - if yyr1180 || yy2arr1180 { + yysep1223 := !z.EncBinary() + yy2arr1223 := z.EncBasicHandle().StructToArray + var yyq1223 [2]bool + _, _, _ = yysep1223, yyq1223, yy2arr1223 + const yyr1223 bool = false + yyq1223[0] = x.Reason != "" + yyq1223[1] = x.Message != "" + var yynn1223 int + if yyr1223 || yy2arr1223 { r.EncodeArrayStart(2) } else { - yynn1180 = 0 - for _, b := range yyq1180 { + yynn1223 = 0 + for _, b := range yyq1223 { if b { - yynn1180++ + yynn1223++ } } - r.EncodeMapStart(yynn1180) - yynn1180 = 0 + r.EncodeMapStart(yynn1223) + yynn1223 = 0 } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[0] { - yym1182 := z.EncBinary() - _ = yym1182 + if yyq1223[0] { + yym1225 := z.EncBinary() + _ = yym1225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -16401,23 +17047,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1180[0] { + if yyq1223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1183 := z.EncBinary() - _ = yym1183 + yym1226 := z.EncBinary() + _ = yym1226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[1] { - yym1185 := z.EncBinary() - _ = yym1185 + if yyq1223[1] { + yym1228 := z.EncBinary() + _ = yym1228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -16426,19 +17072,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1180[1] { + if yyq1223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1186 := z.EncBinary() - _ = yym1186 + yym1229 := z.EncBinary() + _ = yym1229 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1180 || yy2arr1180 { + if yyr1223 || yy2arr1223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16451,25 +17097,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1187 := z.DecBinary() - _ = yym1187 + yym1230 := z.DecBinary() + _ = yym1230 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1188 := r.ContainerType() - if yyct1188 == codecSelferValueTypeMap1234 { - yyl1188 := r.ReadMapStart() - if yyl1188 == 0 { + yyct1231 := r.ContainerType() + if yyct1231 == codecSelferValueTypeMap1234 { + yyl1231 := r.ReadMapStart() + if yyl1231 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1188, d) + x.codecDecodeSelfFromMap(yyl1231, d) } - } else if yyct1188 == codecSelferValueTypeArray1234 { - yyl1188 := r.ReadArrayStart() - if yyl1188 == 0 { + } else if yyct1231 == codecSelferValueTypeArray1234 { + yyl1231 := r.ReadArrayStart() + if yyl1231 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1188, d) + x.codecDecodeSelfFromArray(yyl1231, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16481,12 +17127,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1189Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1189Slc - var yyhl1189 bool = l >= 0 - for yyj1189 := 0; ; yyj1189++ { - if yyhl1189 { - if yyj1189 >= l { + var yys1232Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1232Slc + var yyhl1232 bool = l >= 0 + for yyj1232 := 0; ; yyj1232++ { + if yyhl1232 { + if yyj1232 >= l { break } } else { @@ -16495,10 +17141,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1189Slc = r.DecodeBytes(yys1189Slc, true, true) - yys1189 := string(yys1189Slc) + yys1232Slc = r.DecodeBytes(yys1232Slc, true, true) + yys1232 := string(yys1232Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1189 { + switch yys1232 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -16512,9 +17158,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1189) - } // end switch yys1189 - } // end for yyj1189 + z.DecStructFieldNotFound(-1, yys1232) + } // end switch yys1232 + } // end for yyj1232 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16522,16 +17168,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1192 int - var yyb1192 bool - var yyhl1192 bool = l >= 0 - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + var yyj1235 int + var yyb1235 bool + var yyhl1235 bool = l >= 0 + yyj1235++ + if yyhl1235 { + yyb1235 = yyj1235 > l } else { - yyb1192 = r.CheckBreak() + yyb1235 = r.CheckBreak() } - if yyb1192 { + if yyb1235 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16541,13 +17187,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1235++ + if yyhl1235 { + yyb1235 = yyj1235 > l } else { - yyb1192 = r.CheckBreak() + yyb1235 = r.CheckBreak() } - if yyb1192 { + if yyb1235 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16558,17 +17204,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1235++ + if yyhl1235 { + yyb1235 = yyj1235 > l } else { - yyb1192 = r.CheckBreak() + yyb1235 = r.CheckBreak() } - if yyb1192 { + if yyb1235 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1192-1, "") + z.DecStructFieldNotFound(yyj1235-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16580,68 +17226,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1195 := z.EncBinary() - _ = yym1195 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1196 := !z.EncBinary() - yy2arr1196 := z.EncBasicHandle().StructToArray - var yyq1196 [1]bool - _, _, _ = yysep1196, yyq1196, yy2arr1196 - const yyr1196 bool = false - yyq1196[0] = true - var yynn1196 int - if yyr1196 || yy2arr1196 { + yysep1239 := !z.EncBinary() + yy2arr1239 := z.EncBasicHandle().StructToArray + var yyq1239 [1]bool + _, _, _ = yysep1239, yyq1239, yy2arr1239 + const yyr1239 bool = false + yyq1239[0] = true + var yynn1239 int + if yyr1239 || yy2arr1239 { r.EncodeArrayStart(1) } else { - yynn1196 = 0 - for _, b := range yyq1196 { + yynn1239 = 0 + for _, b := range yyq1239 { if b { - yynn1196++ + yynn1239++ } } - r.EncodeMapStart(yynn1196) - yynn1196 = 0 + r.EncodeMapStart(yynn1239) + yynn1239 = 0 } - if yyr1196 || yy2arr1196 { + if yyr1239 || yy2arr1239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1196[0] { - yy1198 := &x.StartedAt - yym1199 := z.EncBinary() - _ = yym1199 + if yyq1239[0] { + yy1241 := &x.StartedAt + yym1242 := z.EncBinary() + _ = yym1242 if false { - } else if z.HasExtensions() && z.EncExt(yy1198) { - } else if yym1199 { - z.EncBinaryMarshal(yy1198) - } else if !yym1199 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1198) + } else if z.HasExtensions() && z.EncExt(yy1241) { + } else if yym1242 { + z.EncBinaryMarshal(yy1241) + } else if !yym1242 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1241) } else { - z.EncFallback(yy1198) + z.EncFallback(yy1241) } } else { r.EncodeNil() } } else { - if yyq1196[0] { + if yyq1239[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1200 := &x.StartedAt - yym1201 := z.EncBinary() - _ = yym1201 + yy1243 := &x.StartedAt + yym1244 := z.EncBinary() + _ = yym1244 if false { - } else if z.HasExtensions() && z.EncExt(yy1200) { - } else if yym1201 { - z.EncBinaryMarshal(yy1200) - } else if !yym1201 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1200) + } else if z.HasExtensions() && z.EncExt(yy1243) { + } else if yym1244 { + z.EncBinaryMarshal(yy1243) + } else if !yym1244 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1243) } else { - z.EncFallback(yy1200) + z.EncFallback(yy1243) } } } - if yyr1196 || yy2arr1196 { + if yyr1239 || yy2arr1239 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16654,25 +17300,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1202 := z.DecBinary() - _ = yym1202 + yym1245 := z.DecBinary() + _ = yym1245 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1203 := r.ContainerType() - if yyct1203 == codecSelferValueTypeMap1234 { - yyl1203 := r.ReadMapStart() - if yyl1203 == 0 { + yyct1246 := r.ContainerType() + if yyct1246 == codecSelferValueTypeMap1234 { + yyl1246 := r.ReadMapStart() + if yyl1246 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1203, d) + x.codecDecodeSelfFromMap(yyl1246, d) } - } else if yyct1203 == codecSelferValueTypeArray1234 { - yyl1203 := r.ReadArrayStart() - if yyl1203 == 0 { + } else if yyct1246 == codecSelferValueTypeArray1234 { + yyl1246 := r.ReadArrayStart() + if yyl1246 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1203, d) + x.codecDecodeSelfFromArray(yyl1246, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16684,12 +17330,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1204Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1204Slc - var yyhl1204 bool = l >= 0 - for yyj1204 := 0; ; yyj1204++ { - if yyhl1204 { - if yyj1204 >= l { + var yys1247Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1247Slc + var yyhl1247 bool = l >= 0 + for yyj1247 := 0; ; yyj1247++ { + if yyhl1247 { + if yyj1247 >= l { break } } else { @@ -16698,31 +17344,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1204Slc = r.DecodeBytes(yys1204Slc, true, true) - yys1204 := string(yys1204Slc) + yys1247Slc = r.DecodeBytes(yys1247Slc, true, true) + yys1247 := string(yys1247Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1204 { + switch yys1247 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1205 := &x.StartedAt - yym1206 := z.DecBinary() - _ = yym1206 + yyv1248 := &x.StartedAt + yym1249 := z.DecBinary() + _ = yym1249 if false { - } else if z.HasExtensions() && z.DecExt(yyv1205) { - } else if yym1206 { - z.DecBinaryUnmarshal(yyv1205) - } else if !yym1206 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1205) + } else if z.HasExtensions() && z.DecExt(yyv1248) { + } else if yym1249 { + z.DecBinaryUnmarshal(yyv1248) + } else if !yym1249 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1248) } else { - z.DecFallback(yyv1205, false) + z.DecFallback(yyv1248, false) } } default: - z.DecStructFieldNotFound(-1, yys1204) - } // end switch yys1204 - } // end for yyj1204 + z.DecStructFieldNotFound(-1, yys1247) + } // end switch yys1247 + } // end for yyj1247 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16730,16 +17376,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1207 int - var yyb1207 bool - var yyhl1207 bool = l >= 0 - yyj1207++ - if yyhl1207 { - yyb1207 = yyj1207 > l + var yyj1250 int + var yyb1250 bool + var yyhl1250 bool = l >= 0 + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1207 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1207 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16747,31 +17393,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1208 := &x.StartedAt - yym1209 := z.DecBinary() - _ = yym1209 + yyv1251 := &x.StartedAt + yym1252 := z.DecBinary() + _ = yym1252 if false { - } else if z.HasExtensions() && z.DecExt(yyv1208) { - } else if yym1209 { - z.DecBinaryUnmarshal(yyv1208) - } else if !yym1209 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1208) + } else if z.HasExtensions() && z.DecExt(yyv1251) { + } else if yym1252 { + z.DecBinaryUnmarshal(yyv1251) + } else if !yym1252 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1251) } else { - z.DecFallback(yyv1208, false) + z.DecFallback(yyv1251, false) } } for { - yyj1207++ - if yyhl1207 { - yyb1207 = yyj1207 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1207 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1207 { + if yyb1250 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1207-1, "") + z.DecStructFieldNotFound(yyj1250-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16783,39 +17429,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1210 := z.EncBinary() - _ = yym1210 + yym1253 := z.EncBinary() + _ = yym1253 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1211 := !z.EncBinary() - yy2arr1211 := z.EncBasicHandle().StructToArray - var yyq1211 [7]bool - _, _, _ = yysep1211, yyq1211, yy2arr1211 - const yyr1211 bool = false - yyq1211[1] = x.Signal != 0 - yyq1211[2] = x.Reason != "" - yyq1211[3] = x.Message != "" - yyq1211[4] = true - yyq1211[5] = true - yyq1211[6] = x.ContainerID != "" - var yynn1211 int - if yyr1211 || yy2arr1211 { + yysep1254 := !z.EncBinary() + yy2arr1254 := z.EncBasicHandle().StructToArray + var yyq1254 [7]bool + _, _, _ = yysep1254, yyq1254, yy2arr1254 + const yyr1254 bool = false + yyq1254[1] = x.Signal != 0 + yyq1254[2] = x.Reason != "" + yyq1254[3] = x.Message != "" + yyq1254[4] = true + yyq1254[5] = true + yyq1254[6] = x.ContainerID != "" + var yynn1254 int + if yyr1254 || yy2arr1254 { r.EncodeArrayStart(7) } else { - yynn1211 = 1 - for _, b := range yyq1211 { + yynn1254 = 1 + for _, b := range yyq1254 { if b { - yynn1211++ + yynn1254++ } } - r.EncodeMapStart(yynn1211) - yynn1211 = 0 + r.EncodeMapStart(yynn1254) + yynn1254 = 0 } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1213 := z.EncBinary() - _ = yym1213 + yym1256 := z.EncBinary() + _ = yym1256 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -16824,18 +17470,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1214 := z.EncBinary() - _ = yym1214 + yym1257 := z.EncBinary() + _ = yym1257 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[1] { - yym1216 := z.EncBinary() - _ = yym1216 + if yyq1254[1] { + yym1259 := z.EncBinary() + _ = yym1259 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -16844,23 +17490,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1211[1] { + if yyq1254[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1217 := z.EncBinary() - _ = yym1217 + yym1260 := z.EncBinary() + _ = yym1260 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[2] { - yym1219 := z.EncBinary() - _ = yym1219 + if yyq1254[2] { + yym1262 := z.EncBinary() + _ = yym1262 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -16869,23 +17515,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1211[2] { + if yyq1254[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1220 := z.EncBinary() - _ = yym1220 + yym1263 := z.EncBinary() + _ = yym1263 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[3] { - yym1222 := z.EncBinary() - _ = yym1222 + if yyq1254[3] { + yym1265 := z.EncBinary() + _ = yym1265 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -16894,97 +17540,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1211[3] { + if yyq1254[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1223 := z.EncBinary() - _ = yym1223 + yym1266 := z.EncBinary() + _ = yym1266 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[4] { - yy1225 := &x.StartedAt - yym1226 := z.EncBinary() - _ = yym1226 + if yyq1254[4] { + yy1268 := &x.StartedAt + yym1269 := z.EncBinary() + _ = yym1269 if false { - } else if z.HasExtensions() && z.EncExt(yy1225) { - } else if yym1226 { - z.EncBinaryMarshal(yy1225) - } else if !yym1226 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1225) + } else if z.HasExtensions() && z.EncExt(yy1268) { + } else if yym1269 { + z.EncBinaryMarshal(yy1268) + } else if !yym1269 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1268) } else { - z.EncFallback(yy1225) + z.EncFallback(yy1268) } } else { r.EncodeNil() } } else { - if yyq1211[4] { + if yyq1254[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1227 := &x.StartedAt - yym1228 := z.EncBinary() - _ = yym1228 + yy1270 := &x.StartedAt + yym1271 := z.EncBinary() + _ = yym1271 if false { - } else if z.HasExtensions() && z.EncExt(yy1227) { - } else if yym1228 { - z.EncBinaryMarshal(yy1227) - } else if !yym1228 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1227) + } else if z.HasExtensions() && z.EncExt(yy1270) { + } else if yym1271 { + z.EncBinaryMarshal(yy1270) + } else if !yym1271 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1270) } else { - z.EncFallback(yy1227) + z.EncFallback(yy1270) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[5] { - yy1230 := &x.FinishedAt - yym1231 := z.EncBinary() - _ = yym1231 + if yyq1254[5] { + yy1273 := &x.FinishedAt + yym1274 := z.EncBinary() + _ = yym1274 if false { - } else if z.HasExtensions() && z.EncExt(yy1230) { - } else if yym1231 { - z.EncBinaryMarshal(yy1230) - } else if !yym1231 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1230) + } else if z.HasExtensions() && z.EncExt(yy1273) { + } else if yym1274 { + z.EncBinaryMarshal(yy1273) + } else if !yym1274 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1273) } else { - z.EncFallback(yy1230) + z.EncFallback(yy1273) } } else { r.EncodeNil() } } else { - if yyq1211[5] { + if yyq1254[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1232 := &x.FinishedAt - yym1233 := z.EncBinary() - _ = yym1233 + yy1275 := &x.FinishedAt + yym1276 := z.EncBinary() + _ = yym1276 if false { - } else if z.HasExtensions() && z.EncExt(yy1232) { - } else if yym1233 { - z.EncBinaryMarshal(yy1232) - } else if !yym1233 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1232) + } else if z.HasExtensions() && z.EncExt(yy1275) { + } else if yym1276 { + z.EncBinaryMarshal(yy1275) + } else if !yym1276 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1275) } else { - z.EncFallback(yy1232) + z.EncFallback(yy1275) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1211[6] { - yym1235 := z.EncBinary() - _ = yym1235 + if yyq1254[6] { + yym1278 := z.EncBinary() + _ = yym1278 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -16993,19 +17639,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1211[6] { + if yyq1254[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1236 := z.EncBinary() - _ = yym1236 + yym1279 := z.EncBinary() + _ = yym1279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1211 || yy2arr1211 { + if yyr1254 || yy2arr1254 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17018,25 +17664,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1237 := z.DecBinary() - _ = yym1237 + yym1280 := z.DecBinary() + _ = yym1280 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1238 := r.ContainerType() - if yyct1238 == codecSelferValueTypeMap1234 { - yyl1238 := r.ReadMapStart() - if yyl1238 == 0 { + yyct1281 := r.ContainerType() + if yyct1281 == codecSelferValueTypeMap1234 { + yyl1281 := r.ReadMapStart() + if yyl1281 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1238, d) + x.codecDecodeSelfFromMap(yyl1281, d) } - } else if yyct1238 == codecSelferValueTypeArray1234 { - yyl1238 := r.ReadArrayStart() - if yyl1238 == 0 { + } else if yyct1281 == codecSelferValueTypeArray1234 { + yyl1281 := r.ReadArrayStart() + if yyl1281 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1238, d) + x.codecDecodeSelfFromArray(yyl1281, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17048,12 +17694,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1239Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1239Slc - var yyhl1239 bool = l >= 0 - for yyj1239 := 0; ; yyj1239++ { - if yyhl1239 { - if yyj1239 >= l { + var yys1282Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1282Slc + var yyhl1282 bool = l >= 0 + for yyj1282 := 0; ; yyj1282++ { + if yyhl1282 { + if yyj1282 >= l { break } } else { @@ -17062,10 +17708,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1239Slc = r.DecodeBytes(yys1239Slc, true, true) - yys1239 := string(yys1239Slc) + yys1282Slc = r.DecodeBytes(yys1282Slc, true, true) + yys1282 := string(yys1282Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1239 { + switch yys1282 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -17094,34 +17740,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1244 := &x.StartedAt - yym1245 := z.DecBinary() - _ = yym1245 + yyv1287 := &x.StartedAt + yym1288 := z.DecBinary() + _ = yym1288 if false { - } else if z.HasExtensions() && z.DecExt(yyv1244) { - } else if yym1245 { - z.DecBinaryUnmarshal(yyv1244) - } else if !yym1245 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1244) + } else if z.HasExtensions() && z.DecExt(yyv1287) { + } else if yym1288 { + z.DecBinaryUnmarshal(yyv1287) + } else if !yym1288 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1287) } else { - z.DecFallback(yyv1244, false) + z.DecFallback(yyv1287, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1246 := &x.FinishedAt - yym1247 := z.DecBinary() - _ = yym1247 + yyv1289 := &x.FinishedAt + yym1290 := z.DecBinary() + _ = yym1290 if false { - } else if z.HasExtensions() && z.DecExt(yyv1246) { - } else if yym1247 { - z.DecBinaryUnmarshal(yyv1246) - } else if !yym1247 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1246) + } else if z.HasExtensions() && z.DecExt(yyv1289) { + } else if yym1290 { + z.DecBinaryUnmarshal(yyv1289) + } else if !yym1290 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1289) } else { - z.DecFallback(yyv1246, false) + z.DecFallback(yyv1289, false) } } case "containerID": @@ -17131,9 +17777,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1239) - } // end switch yys1239 - } // end for yyj1239 + z.DecStructFieldNotFound(-1, yys1282) + } // end switch yys1282 + } // end for yyj1282 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17141,16 +17787,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1249 int - var yyb1249 bool - var yyhl1249 bool = l >= 0 - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + var yyj1292 int + var yyb1292 bool + var yyhl1292 bool = l >= 0 + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17160,13 +17806,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17176,13 +17822,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17192,13 +17838,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17208,13 +17854,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17222,26 +17868,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1254 := &x.StartedAt - yym1255 := z.DecBinary() - _ = yym1255 + yyv1297 := &x.StartedAt + yym1298 := z.DecBinary() + _ = yym1298 if false { - } else if z.HasExtensions() && z.DecExt(yyv1254) { - } else if yym1255 { - z.DecBinaryUnmarshal(yyv1254) - } else if !yym1255 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1254) + } else if z.HasExtensions() && z.DecExt(yyv1297) { + } else if yym1298 { + z.DecBinaryUnmarshal(yyv1297) + } else if !yym1298 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1297) } else { - z.DecFallback(yyv1254, false) + z.DecFallback(yyv1297, false) } } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17249,26 +17895,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1256 := &x.FinishedAt - yym1257 := z.DecBinary() - _ = yym1257 + yyv1299 := &x.FinishedAt + yym1300 := z.DecBinary() + _ = yym1300 if false { - } else if z.HasExtensions() && z.DecExt(yyv1256) { - } else if yym1257 { - z.DecBinaryUnmarshal(yyv1256) - } else if !yym1257 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1256) + } else if z.HasExtensions() && z.DecExt(yyv1299) { + } else if yym1300 { + z.DecBinaryUnmarshal(yyv1299) + } else if !yym1300 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1299) } else { - z.DecFallback(yyv1256, false) + z.DecFallback(yyv1299, false) } } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17279,17 +17925,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1292++ + if yyhl1292 { + yyb1292 = yyj1292 > l } else { - yyb1249 = r.CheckBreak() + yyb1292 = r.CheckBreak() } - if yyb1249 { + if yyb1292 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1249-1, "") + z.DecStructFieldNotFound(yyj1292-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17301,35 +17947,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1259 := z.EncBinary() - _ = yym1259 + yym1302 := z.EncBinary() + _ = yym1302 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.Waiting != nil - yyq1260[1] = x.Running != nil - yyq1260[2] = x.Terminated != nil - var yynn1260 int - if yyr1260 || yy2arr1260 { + yysep1303 := !z.EncBinary() + yy2arr1303 := z.EncBasicHandle().StructToArray + var yyq1303 [3]bool + _, _, _ = yysep1303, yyq1303, yy2arr1303 + const yyr1303 bool = false + yyq1303[0] = x.Waiting != nil + yyq1303[1] = x.Running != nil + yyq1303[2] = x.Terminated != nil + var yynn1303 int + if yyr1303 || yy2arr1303 { r.EncodeArrayStart(3) } else { - yynn1260 = 0 - for _, b := range yyq1260 { + yynn1303 = 0 + for _, b := range yyq1303 { if b { - yynn1260++ + yynn1303++ } } - r.EncodeMapStart(yynn1260) - yynn1260 = 0 + r.EncodeMapStart(yynn1303) + yynn1303 = 0 } - if yyr1260 || yy2arr1260 { + if yyr1303 || yy2arr1303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[0] { + if yyq1303[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -17339,7 +17985,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[0] { + if yyq1303[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17350,9 +17996,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1303 || yy2arr1303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[1] { + if yyq1303[1] { if x.Running == nil { r.EncodeNil() } else { @@ -17362,7 +18008,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[1] { + if yyq1303[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17373,9 +18019,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1303 || yy2arr1303 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1260[2] { + if yyq1303[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -17385,7 +18031,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1260[2] { + if yyq1303[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17396,7 +18042,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1260 || yy2arr1260 { + if yyr1303 || yy2arr1303 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17409,25 +18055,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1264 := z.DecBinary() - _ = yym1264 + yym1307 := z.DecBinary() + _ = yym1307 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1265 := r.ContainerType() - if yyct1265 == codecSelferValueTypeMap1234 { - yyl1265 := r.ReadMapStart() - if yyl1265 == 0 { + yyct1308 := r.ContainerType() + if yyct1308 == codecSelferValueTypeMap1234 { + yyl1308 := r.ReadMapStart() + if yyl1308 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1265, d) + x.codecDecodeSelfFromMap(yyl1308, d) } - } else if yyct1265 == codecSelferValueTypeArray1234 { - yyl1265 := r.ReadArrayStart() - if yyl1265 == 0 { + } else if yyct1308 == codecSelferValueTypeArray1234 { + yyl1308 := r.ReadArrayStart() + if yyl1308 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1265, d) + x.codecDecodeSelfFromArray(yyl1308, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17439,12 +18085,12 @@ func (x *ContainerState) 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 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 { @@ -17453,10 +18099,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1266Slc = r.DecodeBytes(yys1266Slc, true, true) - yys1266 := string(yys1266Slc) + yys1309Slc = r.DecodeBytes(yys1309Slc, true, true) + yys1309 := string(yys1309Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1266 { + switch yys1309 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -17491,9 +18137,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1266) - } // end switch yys1266 - } // end for yyj1266 + z.DecStructFieldNotFound(-1, yys1309) + } // end switch yys1309 + } // end for yyj1309 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17501,16 +18147,16 @@ func (x *ContainerState) 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 yyj1313 int + var yyb1313 bool + var yyhl1313 bool = l >= 0 + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb1270 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb1270 { + if yyb1313 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17525,13 +18171,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb1270 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb1270 { + if yyb1313 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17546,13 +18192,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb1270 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb1270 { + if yyb1313 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17568,17 +18214,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1270++ - if yyhl1270 { - yyb1270 = yyj1270 > l + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb1270 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb1270 { + if yyb1313 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1270-1, "") + z.DecStructFieldNotFound(yyj1313-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17590,36 +18236,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1274 := z.EncBinary() - _ = yym1274 + yym1317 := z.EncBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1275 := !z.EncBinary() - yy2arr1275 := z.EncBasicHandle().StructToArray - var yyq1275 [8]bool - _, _, _ = yysep1275, yyq1275, yy2arr1275 - const yyr1275 bool = false - yyq1275[1] = true - yyq1275[2] = true - yyq1275[7] = x.ContainerID != "" - var yynn1275 int - if yyr1275 || yy2arr1275 { + yysep1318 := !z.EncBinary() + yy2arr1318 := z.EncBasicHandle().StructToArray + var yyq1318 [8]bool + _, _, _ = yysep1318, yyq1318, yy2arr1318 + const yyr1318 bool = false + yyq1318[1] = true + yyq1318[2] = true + yyq1318[7] = x.ContainerID != "" + var yynn1318 int + if yyr1318 || yy2arr1318 { r.EncodeArrayStart(8) } else { - yynn1275 = 5 - for _, b := range yyq1275 { + yynn1318 = 5 + for _, b := range yyq1318 { if b { - yynn1275++ + yynn1318++ } } - r.EncodeMapStart(yynn1275) - yynn1275 = 0 + r.EncodeMapStart(yynn1318) + yynn1318 = 0 } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1277 := z.EncBinary() - _ = yym1277 + yym1320 := z.EncBinary() + _ = yym1320 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -17628,51 +18274,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1278 := z.EncBinary() - _ = yym1278 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1275[1] { - yy1280 := &x.State - yy1280.CodecEncodeSelf(e) + if yyq1318[1] { + yy1323 := &x.State + yy1323.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1275[1] { + if yyq1318[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1281 := &x.State - yy1281.CodecEncodeSelf(e) + yy1324 := &x.State + yy1324.CodecEncodeSelf(e) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1275[2] { - yy1283 := &x.LastTerminationState - yy1283.CodecEncodeSelf(e) + if yyq1318[2] { + yy1326 := &x.LastTerminationState + yy1326.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1275[2] { + if yyq1318[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1284 := &x.LastTerminationState - yy1284.CodecEncodeSelf(e) + yy1327 := &x.LastTerminationState + yy1327.CodecEncodeSelf(e) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1286 := z.EncBinary() - _ = yym1286 + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -17681,17 +18327,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1287 := z.EncBinary() - _ = yym1287 + yym1330 := z.EncBinary() + _ = yym1330 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1289 := z.EncBinary() - _ = yym1289 + yym1332 := z.EncBinary() + _ = yym1332 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -17700,17 +18346,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1290 := z.EncBinary() - _ = yym1290 + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1292 := z.EncBinary() - _ = yym1292 + yym1335 := z.EncBinary() + _ = yym1335 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -17719,17 +18365,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1293 := z.EncBinary() - _ = yym1293 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1295 := z.EncBinary() - _ = yym1295 + yym1338 := z.EncBinary() + _ = yym1338 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -17738,18 +18384,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1296 := z.EncBinary() - _ = yym1296 + yym1339 := z.EncBinary() + _ = yym1339 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1275[7] { - yym1298 := z.EncBinary() - _ = yym1298 + if yyq1318[7] { + yym1341 := z.EncBinary() + _ = yym1341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -17758,19 +18404,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1275[7] { + if yyq1318[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1299 := z.EncBinary() - _ = yym1299 + yym1342 := z.EncBinary() + _ = yym1342 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1275 || yy2arr1275 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17783,25 +18429,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1300 := z.DecBinary() - _ = yym1300 + yym1343 := z.DecBinary() + _ = yym1343 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1301 := r.ContainerType() - if yyct1301 == codecSelferValueTypeMap1234 { - yyl1301 := r.ReadMapStart() - if yyl1301 == 0 { + yyct1344 := r.ContainerType() + if yyct1344 == codecSelferValueTypeMap1234 { + yyl1344 := r.ReadMapStart() + if yyl1344 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1301, d) + x.codecDecodeSelfFromMap(yyl1344, d) } - } else if yyct1301 == codecSelferValueTypeArray1234 { - yyl1301 := r.ReadArrayStart() - if yyl1301 == 0 { + } else if yyct1344 == codecSelferValueTypeArray1234 { + yyl1344 := r.ReadArrayStart() + if yyl1344 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1301, d) + x.codecDecodeSelfFromArray(yyl1344, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17813,12 +18459,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1302Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1302Slc - var yyhl1302 bool = l >= 0 - for yyj1302 := 0; ; yyj1302++ { - if yyhl1302 { - if yyj1302 >= l { + var yys1345Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1345Slc + var yyhl1345 bool = l >= 0 + for yyj1345 := 0; ; yyj1345++ { + if yyhl1345 { + if yyj1345 >= l { break } } else { @@ -17827,10 +18473,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1302Slc = r.DecodeBytes(yys1302Slc, true, true) - yys1302 := string(yys1302Slc) + yys1345Slc = r.DecodeBytes(yys1345Slc, true, true) + yys1345 := string(yys1345Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1302 { + switch yys1345 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17841,15 +18487,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1304 := &x.State - yyv1304.CodecDecodeSelf(d) + yyv1347 := &x.State + yyv1347.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1305 := &x.LastTerminationState - yyv1305.CodecDecodeSelf(d) + yyv1348 := &x.LastTerminationState + yyv1348.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -17882,9 +18528,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1302) - } // end switch yys1302 - } // end for yyj1302 + z.DecStructFieldNotFound(-1, yys1345) + } // end switch yys1345 + } // end for yyj1345 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17892,16 +18538,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1311 int - var yyb1311 bool - var yyhl1311 bool = l >= 0 - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + var yyj1354 int + var yyb1354 bool + var yyhl1354 bool = l >= 0 + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17911,13 +18557,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17925,16 +18571,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1313 := &x.State - yyv1313.CodecDecodeSelf(d) + yyv1356 := &x.State + yyv1356.CodecDecodeSelf(d) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17942,16 +18588,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1314 := &x.LastTerminationState - yyv1314.CodecDecodeSelf(d) + yyv1357 := &x.LastTerminationState + yyv1357.CodecDecodeSelf(d) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17961,13 +18607,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17977,13 +18623,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17993,13 +18639,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18009,13 +18655,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18026,17 +18672,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1311++ - if yyhl1311 { - yyb1311 = yyj1311 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1311 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1311 { + if yyb1354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1311-1, "") + z.DecStructFieldNotFound(yyj1354-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18045,8 +18691,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1320 := z.EncBinary() - _ = yym1320 + yym1363 := z.EncBinary() + _ = yym1363 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18058,8 +18704,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1321 := z.DecBinary() - _ = yym1321 + yym1364 := z.DecBinary() + _ = yym1364 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18071,8 +18717,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1322 := z.EncBinary() - _ = yym1322 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18084,8 +18730,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1323 := z.DecBinary() - _ = yym1323 + yym1366 := z.DecBinary() + _ = yym1366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18100,34 +18746,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1324 := z.EncBinary() - _ = yym1324 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1325 := !z.EncBinary() - yy2arr1325 := z.EncBasicHandle().StructToArray - var yyq1325 [6]bool - _, _, _ = yysep1325, yyq1325, yy2arr1325 - const yyr1325 bool = false - yyq1325[2] = true - yyq1325[3] = true - yyq1325[4] = x.Reason != "" - yyq1325[5] = x.Message != "" - var yynn1325 int - if yyr1325 || yy2arr1325 { + yysep1368 := !z.EncBinary() + yy2arr1368 := z.EncBasicHandle().StructToArray + var yyq1368 [6]bool + _, _, _ = yysep1368, yyq1368, yy2arr1368 + const yyr1368 bool = false + yyq1368[2] = true + yyq1368[3] = true + yyq1368[4] = x.Reason != "" + yyq1368[5] = x.Message != "" + var yynn1368 int + if yyr1368 || yy2arr1368 { r.EncodeArrayStart(6) } else { - yynn1325 = 2 - for _, b := range yyq1325 { + yynn1368 = 2 + for _, b := range yyq1368 { if b { - yynn1325++ + yynn1368++ } } - r.EncodeMapStart(yynn1325) - yynn1325 = 0 + r.EncodeMapStart(yynn1368) + yynn1368 = 0 } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -18136,7 +18782,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -18145,85 +18791,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[2] { - yy1329 := &x.LastProbeTime - yym1330 := z.EncBinary() - _ = yym1330 + if yyq1368[2] { + yy1372 := &x.LastProbeTime + yym1373 := z.EncBinary() + _ = yym1373 if false { - } else if z.HasExtensions() && z.EncExt(yy1329) { - } else if yym1330 { - z.EncBinaryMarshal(yy1329) - } else if !yym1330 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1329) + } else if z.HasExtensions() && z.EncExt(yy1372) { + } else if yym1373 { + z.EncBinaryMarshal(yy1372) + } else if !yym1373 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1372) } else { - z.EncFallback(yy1329) + z.EncFallback(yy1372) } } else { r.EncodeNil() } } else { - if yyq1325[2] { + if yyq1368[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1331 := &x.LastProbeTime - yym1332 := z.EncBinary() - _ = yym1332 + yy1374 := &x.LastProbeTime + yym1375 := z.EncBinary() + _ = yym1375 if false { - } else if z.HasExtensions() && z.EncExt(yy1331) { - } else if yym1332 { - z.EncBinaryMarshal(yy1331) - } else if !yym1332 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1331) + } else if z.HasExtensions() && z.EncExt(yy1374) { + } else if yym1375 { + z.EncBinaryMarshal(yy1374) + } else if !yym1375 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1374) } else { - z.EncFallback(yy1331) + z.EncFallback(yy1374) } } } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[3] { - yy1334 := &x.LastTransitionTime - yym1335 := z.EncBinary() - _ = yym1335 + if yyq1368[3] { + yy1377 := &x.LastTransitionTime + yym1378 := z.EncBinary() + _ = yym1378 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(yy1377) { + } else if yym1378 { + z.EncBinaryMarshal(yy1377) + } else if !yym1378 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1377) } else { - z.EncFallback(yy1334) + z.EncFallback(yy1377) } } else { r.EncodeNil() } } else { - if yyq1325[3] { + if yyq1368[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1336 := &x.LastTransitionTime - yym1337 := z.EncBinary() - _ = yym1337 + yy1379 := &x.LastTransitionTime + yym1380 := z.EncBinary() + _ = yym1380 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(yy1379) { + } else if yym1380 { + z.EncBinaryMarshal(yy1379) + } else if !yym1380 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1379) } else { - z.EncFallback(yy1336) + z.EncFallback(yy1379) } } } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[4] { - yym1339 := z.EncBinary() - _ = yym1339 + if yyq1368[4] { + yym1382 := z.EncBinary() + _ = yym1382 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -18232,23 +18878,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1325[4] { + if yyq1368[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1340 := z.EncBinary() - _ = yym1340 + yym1383 := z.EncBinary() + _ = yym1383 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1325[5] { - yym1342 := z.EncBinary() - _ = yym1342 + if yyq1368[5] { + yym1385 := z.EncBinary() + _ = yym1385 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -18257,19 +18903,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1325[5] { + if yyq1368[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1343 := z.EncBinary() - _ = yym1343 + yym1386 := z.EncBinary() + _ = yym1386 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1325 || yy2arr1325 { + if yyr1368 || yy2arr1368 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18282,25 +18928,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1344 := z.DecBinary() - _ = yym1344 + yym1387 := z.DecBinary() + _ = yym1387 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1345 := r.ContainerType() - if yyct1345 == codecSelferValueTypeMap1234 { - yyl1345 := r.ReadMapStart() - if yyl1345 == 0 { + yyct1388 := r.ContainerType() + if yyct1388 == codecSelferValueTypeMap1234 { + yyl1388 := r.ReadMapStart() + if yyl1388 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1345, d) + x.codecDecodeSelfFromMap(yyl1388, d) } - } else if yyct1345 == codecSelferValueTypeArray1234 { - yyl1345 := r.ReadArrayStart() - if yyl1345 == 0 { + } else if yyct1388 == codecSelferValueTypeArray1234 { + yyl1388 := r.ReadArrayStart() + if yyl1388 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1345, d) + x.codecDecodeSelfFromArray(yyl1388, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18312,12 +18958,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1346Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1346Slc - var yyhl1346 bool = l >= 0 - for yyj1346 := 0; ; yyj1346++ { - if yyhl1346 { - if yyj1346 >= l { + var yys1389Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1389Slc + var yyhl1389 bool = l >= 0 + for yyj1389 := 0; ; yyj1389++ { + if yyhl1389 { + if yyj1389 >= l { break } } else { @@ -18326,10 +18972,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) - yys1346 := string(yys1346Slc) + yys1389Slc = r.DecodeBytes(yys1389Slc, true, true) + yys1389 := string(yys1389Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1346 { + switch yys1389 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -18346,34 +18992,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1349 := &x.LastProbeTime - yym1350 := z.DecBinary() - _ = yym1350 + yyv1392 := &x.LastProbeTime + yym1393 := z.DecBinary() + _ = yym1393 if false { - } else if z.HasExtensions() && z.DecExt(yyv1349) { - } else if yym1350 { - z.DecBinaryUnmarshal(yyv1349) - } else if !yym1350 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1349) + } else if z.HasExtensions() && z.DecExt(yyv1392) { + } else if yym1393 { + z.DecBinaryUnmarshal(yyv1392) + } else if !yym1393 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1392) } else { - z.DecFallback(yyv1349, false) + z.DecFallback(yyv1392, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1351 := &x.LastTransitionTime - yym1352 := z.DecBinary() - _ = yym1352 + yyv1394 := &x.LastTransitionTime + yym1395 := z.DecBinary() + _ = yym1395 if false { - } else if z.HasExtensions() && z.DecExt(yyv1351) { - } else if yym1352 { - z.DecBinaryUnmarshal(yyv1351) - } else if !yym1352 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1351) + } else if z.HasExtensions() && z.DecExt(yyv1394) { + } else if yym1395 { + z.DecBinaryUnmarshal(yyv1394) + } else if !yym1395 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1394) } else { - z.DecFallback(yyv1351, false) + z.DecFallback(yyv1394, false) } } case "reason": @@ -18389,9 +19035,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1346) - } // end switch yys1346 - } // end for yyj1346 + z.DecStructFieldNotFound(-1, yys1389) + } // end switch yys1389 + } // end for yyj1389 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18399,16 +19045,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1355 int - var yyb1355 bool - var yyhl1355 bool = l >= 0 - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + var yyj1398 int + var yyb1398 bool + var yyhl1398 bool = l >= 0 + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18418,13 +19064,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18434,13 +19080,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18448,26 +19094,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1358 := &x.LastProbeTime - yym1359 := z.DecBinary() - _ = yym1359 + yyv1401 := &x.LastProbeTime + yym1402 := z.DecBinary() + _ = yym1402 if false { - } else if z.HasExtensions() && z.DecExt(yyv1358) { - } else if yym1359 { - z.DecBinaryUnmarshal(yyv1358) - } else if !yym1359 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1358) + } else if z.HasExtensions() && z.DecExt(yyv1401) { + } else if yym1402 { + z.DecBinaryUnmarshal(yyv1401) + } else if !yym1402 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1401) } else { - z.DecFallback(yyv1358, false) + z.DecFallback(yyv1401, false) } } - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18475,26 +19121,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1360 := &x.LastTransitionTime - yym1361 := z.DecBinary() - _ = yym1361 + yyv1403 := &x.LastTransitionTime + yym1404 := z.DecBinary() + _ = yym1404 if false { - } else if z.HasExtensions() && z.DecExt(yyv1360) { - } else if yym1361 { - z.DecBinaryUnmarshal(yyv1360) - } else if !yym1361 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1360) + } else if z.HasExtensions() && z.DecExt(yyv1403) { + } else if yym1404 { + z.DecBinaryUnmarshal(yyv1403) + } else if !yym1404 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1403) } else { - z.DecFallback(yyv1360, false) + z.DecFallback(yyv1403, false) } } - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18504,13 +19150,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18521,17 +19167,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1355++ - if yyhl1355 { - yyb1355 = yyj1355 > l + yyj1398++ + if yyhl1398 { + yyb1398 = yyj1398 > l } else { - yyb1355 = r.CheckBreak() + yyb1398 = r.CheckBreak() } - if yyb1355 { + if yyb1398 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1355-1, "") + z.DecStructFieldNotFound(yyj1398-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18540,8 +19186,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1364 := z.EncBinary() - _ = yym1364 + yym1407 := z.EncBinary() + _ = yym1407 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18553,8 +19199,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1365 := z.DecBinary() - _ = yym1365 + yym1408 := z.DecBinary() + _ = yym1408 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18566,8 +19212,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1366 := z.EncBinary() - _ = yym1366 + yym1409 := z.EncBinary() + _ = yym1409 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18579,8 +19225,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1367 := z.DecBinary() - _ = yym1367 + yym1410 := z.DecBinary() + _ = yym1410 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18595,51 +19241,51 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1368 := z.EncBinary() - _ = yym1368 + yym1411 := z.EncBinary() + _ = yym1411 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1369 := !z.EncBinary() - yy2arr1369 := z.EncBasicHandle().StructToArray - var yyq1369 [15]bool - _, _, _ = yysep1369, yyq1369, yy2arr1369 - const yyr1369 bool = false - yyq1369[0] = len(x.Volumes) != 0 - yyq1369[2] = x.RestartPolicy != "" - yyq1369[3] = x.TerminationGracePeriodSeconds != nil - yyq1369[4] = x.ActiveDeadlineSeconds != nil - yyq1369[5] = x.DNSPolicy != "" - yyq1369[6] = len(x.NodeSelector) != 0 - yyq1369[7] = x.ServiceAccountName != "" - yyq1369[8] = x.DeprecatedServiceAccount != "" - yyq1369[9] = x.NodeName != "" - yyq1369[10] = x.HostNetwork != false - yyq1369[11] = x.HostPID != false - yyq1369[12] = x.HostIPC != false - yyq1369[13] = x.SecurityContext != nil - yyq1369[14] = len(x.ImagePullSecrets) != 0 - var yynn1369 int - if yyr1369 || yy2arr1369 { + yysep1412 := !z.EncBinary() + yy2arr1412 := z.EncBasicHandle().StructToArray + var yyq1412 [15]bool + _, _, _ = yysep1412, yyq1412, yy2arr1412 + const yyr1412 bool = false + yyq1412[0] = len(x.Volumes) != 0 + yyq1412[2] = x.RestartPolicy != "" + yyq1412[3] = x.TerminationGracePeriodSeconds != nil + yyq1412[4] = x.ActiveDeadlineSeconds != nil + yyq1412[5] = x.DNSPolicy != "" + yyq1412[6] = len(x.NodeSelector) != 0 + yyq1412[7] = x.ServiceAccountName != "" + yyq1412[8] = x.DeprecatedServiceAccount != "" + yyq1412[9] = x.NodeName != "" + yyq1412[10] = x.HostNetwork != false + yyq1412[11] = x.HostPID != false + yyq1412[12] = x.HostIPC != false + yyq1412[13] = x.SecurityContext != nil + yyq1412[14] = len(x.ImagePullSecrets) != 0 + var yynn1412 int + if yyr1412 || yy2arr1412 { r.EncodeArrayStart(15) } else { - yynn1369 = 1 - for _, b := range yyq1369 { + yynn1412 = 1 + for _, b := range yyq1412 { if b { - yynn1369++ + yynn1412++ } } - r.EncodeMapStart(yynn1369) - yynn1369 = 0 + r.EncodeMapStart(yynn1412) + yynn1412 = 0 } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[0] { + if yyq1412[0] { if x.Volumes == nil { r.EncodeNil() } else { - yym1371 := z.EncBinary() - _ = yym1371 + yym1414 := z.EncBinary() + _ = yym1414 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -18649,15 +19295,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[0] { + if yyq1412[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1372 := z.EncBinary() - _ = yym1372 + yym1415 := z.EncBinary() + _ = yym1415 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -18665,13 +19311,13 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym1374 := z.EncBinary() - _ = yym1374 + yym1417 := z.EncBinary() + _ = yym1417 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -18684,122 +19330,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym1375 := z.EncBinary() - _ = yym1375 + yym1418 := z.EncBinary() + _ = yym1418 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[2] { + if yyq1412[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1369[2] { + if yyq1412[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[3] { + if yyq1412[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1378 := *x.TerminationGracePeriodSeconds - yym1379 := z.EncBinary() - _ = yym1379 + yy1421 := *x.TerminationGracePeriodSeconds + yym1422 := z.EncBinary() + _ = yym1422 if false { } else { - r.EncodeInt(int64(yy1378)) + r.EncodeInt(int64(yy1421)) } } } else { r.EncodeNil() } } else { - if yyq1369[3] { + if yyq1412[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1380 := *x.TerminationGracePeriodSeconds - yym1381 := z.EncBinary() - _ = yym1381 + yy1423 := *x.TerminationGracePeriodSeconds + yym1424 := z.EncBinary() + _ = yym1424 if false { } else { - r.EncodeInt(int64(yy1380)) + r.EncodeInt(int64(yy1423)) } } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[4] { + if yyq1412[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1383 := *x.ActiveDeadlineSeconds - yym1384 := z.EncBinary() - _ = yym1384 + yy1426 := *x.ActiveDeadlineSeconds + yym1427 := z.EncBinary() + _ = yym1427 if false { } else { - r.EncodeInt(int64(yy1383)) + r.EncodeInt(int64(yy1426)) } } } else { r.EncodeNil() } } else { - if yyq1369[4] { + if yyq1412[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy1385 := *x.ActiveDeadlineSeconds - yym1386 := z.EncBinary() - _ = yym1386 + yy1428 := *x.ActiveDeadlineSeconds + yym1429 := z.EncBinary() + _ = yym1429 if false { } else { - r.EncodeInt(int64(yy1385)) + r.EncodeInt(int64(yy1428)) } } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[5] { + if yyq1412[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1369[5] { + if yyq1412[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[6] { + if yyq1412[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym1389 := z.EncBinary() - _ = yym1389 + yym1432 := z.EncBinary() + _ = yym1432 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -18809,15 +19455,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[6] { + if yyq1412[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym1390 := z.EncBinary() - _ = yym1390 + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -18825,11 +19471,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[7] { - yym1392 := z.EncBinary() - _ = yym1392 + if yyq1412[7] { + yym1435 := z.EncBinary() + _ = yym1435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -18838,23 +19484,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1369[7] { + if yyq1412[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1393 := z.EncBinary() - _ = yym1393 + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[8] { - yym1395 := z.EncBinary() - _ = yym1395 + if yyq1412[8] { + yym1438 := z.EncBinary() + _ = yym1438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) @@ -18863,23 +19509,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1369[8] { + if yyq1412[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1396 := z.EncBinary() - _ = yym1396 + yym1439 := z.EncBinary() + _ = yym1439 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[9] { - yym1398 := z.EncBinary() - _ = yym1398 + if yyq1412[9] { + yym1441 := z.EncBinary() + _ = yym1441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -18888,23 +19534,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1369[9] { + if yyq1412[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1399 := z.EncBinary() - _ = yym1399 + yym1442 := z.EncBinary() + _ = yym1442 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[10] { - yym1401 := z.EncBinary() - _ = yym1401 + if yyq1412[10] { + yym1444 := z.EncBinary() + _ = yym1444 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -18913,23 +19559,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1369[10] { + if yyq1412[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1402 := z.EncBinary() - _ = yym1402 + yym1445 := z.EncBinary() + _ = yym1445 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[11] { - yym1404 := z.EncBinary() - _ = yym1404 + if yyq1412[11] { + yym1447 := z.EncBinary() + _ = yym1447 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -18938,23 +19584,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1369[11] { + if yyq1412[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1405 := z.EncBinary() - _ = yym1405 + yym1448 := z.EncBinary() + _ = yym1448 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[12] { - yym1407 := z.EncBinary() - _ = yym1407 + if yyq1412[12] { + yym1450 := z.EncBinary() + _ = yym1450 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -18963,21 +19609,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1369[12] { + if yyq1412[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1408 := z.EncBinary() - _ = yym1408 + yym1451 := z.EncBinary() + _ = yym1451 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[13] { + if yyq1412[13] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -18987,7 +19633,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[13] { + if yyq1412[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18998,14 +19644,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1369[14] { + if yyq1412[14] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1411 := z.EncBinary() - _ = yym1411 + yym1454 := z.EncBinary() + _ = yym1454 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -19015,15 +19661,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1369[14] { + if yyq1412[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym1412 := z.EncBinary() - _ = yym1412 + yym1455 := z.EncBinary() + _ = yym1455 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -19031,7 +19677,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1369 || yy2arr1369 { + if yyr1412 || yy2arr1412 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19044,25 +19690,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1413 := z.DecBinary() - _ = yym1413 + yym1456 := z.DecBinary() + _ = yym1456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1414 := r.ContainerType() - if yyct1414 == codecSelferValueTypeMap1234 { - yyl1414 := r.ReadMapStart() - if yyl1414 == 0 { + yyct1457 := r.ContainerType() + if yyct1457 == codecSelferValueTypeMap1234 { + yyl1457 := r.ReadMapStart() + if yyl1457 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1414, d) + x.codecDecodeSelfFromMap(yyl1457, d) } - } else if yyct1414 == codecSelferValueTypeArray1234 { - yyl1414 := r.ReadArrayStart() - if yyl1414 == 0 { + } else if yyct1457 == codecSelferValueTypeArray1234 { + yyl1457 := r.ReadArrayStart() + if yyl1457 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1414, d) + x.codecDecodeSelfFromArray(yyl1457, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19074,12 +19720,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1415Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1415Slc - var yyhl1415 bool = l >= 0 - for yyj1415 := 0; ; yyj1415++ { - if yyhl1415 { - if yyj1415 >= l { + var yys1458Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1458Slc + var yyhl1458 bool = l >= 0 + for yyj1458 := 0; ; yyj1458++ { + if yyhl1458 { + if yyj1458 >= l { break } } else { @@ -19088,32 +19734,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1415Slc = r.DecodeBytes(yys1415Slc, true, true) - yys1415 := string(yys1415Slc) + yys1458Slc = r.DecodeBytes(yys1458Slc, true, true) + yys1458 := string(yys1458Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1415 { + switch yys1458 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1416 := &x.Volumes - yym1417 := z.DecBinary() - _ = yym1417 + yyv1459 := &x.Volumes + yym1460 := z.DecBinary() + _ = yym1460 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1416), d) + h.decSliceVolume((*[]Volume)(yyv1459), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1418 := &x.Containers - yym1419 := z.DecBinary() - _ = yym1419 + yyv1461 := &x.Containers + yym1462 := z.DecBinary() + _ = yym1462 if false { } else { - h.decSliceContainer((*[]Container)(yyv1418), d) + h.decSliceContainer((*[]Container)(yyv1461), d) } } case "restartPolicy": @@ -19131,8 +19777,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1422 := z.DecBinary() - _ = yym1422 + yym1465 := z.DecBinary() + _ = yym1465 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -19147,8 +19793,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1424 := z.DecBinary() - _ = yym1424 + yym1467 := z.DecBinary() + _ = yym1467 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -19164,12 +19810,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1426 := &x.NodeSelector - yym1427 := z.DecBinary() - _ = yym1427 + yyv1469 := &x.NodeSelector + yym1470 := z.DecBinary() + _ = yym1470 if false { } else { - z.F.DecMapStringStringX(yyv1426, false, d) + z.F.DecMapStringStringX(yyv1469, false, d) } } case "serviceAccountName": @@ -19223,18 +19869,18 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1435 := &x.ImagePullSecrets - yym1436 := z.DecBinary() - _ = yym1436 + yyv1478 := &x.ImagePullSecrets + yym1479 := z.DecBinary() + _ = yym1479 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1435), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1478), d) } } default: - z.DecStructFieldNotFound(-1, yys1415) - } // end switch yys1415 - } // end for yyj1415 + z.DecStructFieldNotFound(-1, yys1458) + } // end switch yys1458 + } // end for yyj1458 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19242,16 +19888,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1437 int - var yyb1437 bool - var yyhl1437 bool = l >= 0 - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + var yyj1480 int + var yyb1480 bool + var yyhl1480 bool = l >= 0 + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19259,21 +19905,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1438 := &x.Volumes - yym1439 := z.DecBinary() - _ = yym1439 + yyv1481 := &x.Volumes + yym1482 := z.DecBinary() + _ = yym1482 if false { } else { - h.decSliceVolume((*[]Volume)(yyv1438), d) + h.decSliceVolume((*[]Volume)(yyv1481), d) } } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19281,21 +19927,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv1440 := &x.Containers - yym1441 := z.DecBinary() - _ = yym1441 + yyv1483 := &x.Containers + yym1484 := z.DecBinary() + _ = yym1484 if false { } else { - h.decSliceContainer((*[]Container)(yyv1440), d) + h.decSliceContainer((*[]Container)(yyv1483), d) } } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19305,13 +19951,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19324,20 +19970,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym1444 := z.DecBinary() - _ = yym1444 + yym1487 := z.DecBinary() + _ = yym1487 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19350,20 +19996,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym1446 := z.DecBinary() - _ = yym1446 + yym1489 := z.DecBinary() + _ = yym1489 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19373,13 +20019,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19387,21 +20033,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv1448 := &x.NodeSelector - yym1449 := z.DecBinary() - _ = yym1449 + yyv1491 := &x.NodeSelector + yym1492 := z.DecBinary() + _ = yym1492 if false { } else { - z.F.DecMapStringStringX(yyv1448, false, d) + z.F.DecMapStringStringX(yyv1491, false, d) } } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19411,13 +20057,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19427,13 +20073,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DeprecatedServiceAccount = string(r.DecodeString()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19443,13 +20089,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19459,13 +20105,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19475,13 +20121,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPID = bool(r.DecodeBool()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19491,13 +20137,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19512,13 +20158,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19526,26 +20172,26 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv1457 := &x.ImagePullSecrets - yym1458 := z.DecBinary() - _ = yym1458 + yyv1500 := &x.ImagePullSecrets + yym1501 := z.DecBinary() + _ = yym1501 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1457), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1500), d) } } for { - yyj1437++ - if yyhl1437 { - yyb1437 = yyj1437 > l + yyj1480++ + if yyhl1480 { + yyb1480 = yyj1480 > l } else { - yyb1437 = r.CheckBreak() + yyb1480 = r.CheckBreak() } - if yyb1437 { + if yyb1480 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1437-1, "") + z.DecStructFieldNotFound(yyj1480-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19557,37 +20203,37 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1459 := z.EncBinary() - _ = yym1459 + yym1502 := z.EncBinary() + _ = yym1502 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1460 := !z.EncBinary() - yy2arr1460 := z.EncBasicHandle().StructToArray - var yyq1460 [5]bool - _, _, _ = yysep1460, yyq1460, yy2arr1460 - const yyr1460 bool = false - yyq1460[0] = x.SELinuxOptions != nil - yyq1460[1] = x.RunAsUser != nil - yyq1460[2] = x.RunAsNonRoot != nil - yyq1460[3] = len(x.SupplementalGroups) != 0 - yyq1460[4] = x.FSGroup != nil - var yynn1460 int - if yyr1460 || yy2arr1460 { + yysep1503 := !z.EncBinary() + yy2arr1503 := z.EncBasicHandle().StructToArray + var yyq1503 [5]bool + _, _, _ = yysep1503, yyq1503, yy2arr1503 + const yyr1503 bool = false + yyq1503[0] = x.SELinuxOptions != nil + yyq1503[1] = x.RunAsUser != nil + yyq1503[2] = x.RunAsNonRoot != nil + yyq1503[3] = len(x.SupplementalGroups) != 0 + yyq1503[4] = x.FSGroup != nil + var yynn1503 int + if yyr1503 || yy2arr1503 { r.EncodeArrayStart(5) } else { - yynn1460 = 0 - for _, b := range yyq1460 { + yynn1503 = 0 + for _, b := range yyq1503 { if b { - yynn1460++ + yynn1503++ } } - r.EncodeMapStart(yynn1460) - yynn1460 = 0 + r.EncodeMapStart(yynn1503) + yynn1503 = 0 } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1460[0] { + if yyq1503[0] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -19597,7 +20243,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1460[0] { + if yyq1503[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19608,84 +20254,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1460[1] { + if yyq1503[1] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy1463 := *x.RunAsUser - yym1464 := z.EncBinary() - _ = yym1464 + yy1506 := *x.RunAsUser + yym1507 := z.EncBinary() + _ = yym1507 if false { } else { - r.EncodeInt(int64(yy1463)) + r.EncodeInt(int64(yy1506)) } } } else { r.EncodeNil() } } else { - if yyq1460[1] { + if yyq1503[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy1465 := *x.RunAsUser - yym1466 := z.EncBinary() - _ = yym1466 + yy1508 := *x.RunAsUser + yym1509 := z.EncBinary() + _ = yym1509 if false { } else { - r.EncodeInt(int64(yy1465)) + r.EncodeInt(int64(yy1508)) } } } } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1460[2] { + if yyq1503[2] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1468 := *x.RunAsNonRoot - yym1469 := z.EncBinary() - _ = yym1469 + yy1511 := *x.RunAsNonRoot + yym1512 := z.EncBinary() + _ = yym1512 if false { } else { - r.EncodeBool(bool(yy1468)) + r.EncodeBool(bool(yy1511)) } } } else { r.EncodeNil() } } else { - if yyq1460[2] { + if yyq1503[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy1470 := *x.RunAsNonRoot - yym1471 := z.EncBinary() - _ = yym1471 + yy1513 := *x.RunAsNonRoot + yym1514 := z.EncBinary() + _ = yym1514 if false { } else { - r.EncodeBool(bool(yy1470)) + r.EncodeBool(bool(yy1513)) } } } } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1460[3] { + if yyq1503[3] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1473 := z.EncBinary() - _ = yym1473 + yym1516 := z.EncBinary() + _ = yym1516 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -19695,15 +20341,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1460[3] { + if yyq1503[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym1474 := z.EncBinary() - _ = yym1474 + yym1517 := z.EncBinary() + _ = yym1517 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -19711,42 +20357,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1460[4] { + if yyq1503[4] { if x.FSGroup == nil { r.EncodeNil() } else { - yy1476 := *x.FSGroup - yym1477 := z.EncBinary() - _ = yym1477 + yy1519 := *x.FSGroup + yym1520 := z.EncBinary() + _ = yym1520 if false { } else { - r.EncodeInt(int64(yy1476)) + r.EncodeInt(int64(yy1519)) } } } else { r.EncodeNil() } } else { - if yyq1460[4] { + if yyq1503[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy1478 := *x.FSGroup - yym1479 := z.EncBinary() - _ = yym1479 + yy1521 := *x.FSGroup + yym1522 := z.EncBinary() + _ = yym1522 if false { } else { - r.EncodeInt(int64(yy1478)) + r.EncodeInt(int64(yy1521)) } } } } - if yyr1460 || yy2arr1460 { + if yyr1503 || yy2arr1503 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19759,25 +20405,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1480 := z.DecBinary() - _ = yym1480 + yym1523 := z.DecBinary() + _ = yym1523 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1481 := r.ContainerType() - if yyct1481 == codecSelferValueTypeMap1234 { - yyl1481 := r.ReadMapStart() - if yyl1481 == 0 { + yyct1524 := r.ContainerType() + if yyct1524 == codecSelferValueTypeMap1234 { + yyl1524 := r.ReadMapStart() + if yyl1524 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1481, d) + x.codecDecodeSelfFromMap(yyl1524, d) } - } else if yyct1481 == codecSelferValueTypeArray1234 { - yyl1481 := r.ReadArrayStart() - if yyl1481 == 0 { + } else if yyct1524 == codecSelferValueTypeArray1234 { + yyl1524 := r.ReadArrayStart() + if yyl1524 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1481, d) + x.codecDecodeSelfFromArray(yyl1524, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19789,12 +20435,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1482Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1482Slc - var yyhl1482 bool = l >= 0 - for yyj1482 := 0; ; yyj1482++ { - if yyhl1482 { - if yyj1482 >= l { + var yys1525Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1525Slc + var yyhl1525 bool = l >= 0 + for yyj1525 := 0; ; yyj1525++ { + if yyhl1525 { + if yyj1525 >= l { break } } else { @@ -19803,10 +20449,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1482Slc = r.DecodeBytes(yys1482Slc, true, true) - yys1482 := string(yys1482Slc) + yys1525Slc = r.DecodeBytes(yys1525Slc, true, true) + yys1525 := string(yys1525Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1482 { + switch yys1525 { case "seLinuxOptions": if r.TryDecodeAsNil() { if x.SELinuxOptions != nil { @@ -19827,8 +20473,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1485 := z.DecBinary() - _ = yym1485 + yym1528 := z.DecBinary() + _ = yym1528 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -19843,8 +20489,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1487 := z.DecBinary() - _ = yym1487 + yym1530 := z.DecBinary() + _ = yym1530 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -19854,12 +20500,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1488 := &x.SupplementalGroups - yym1489 := z.DecBinary() - _ = yym1489 + yyv1531 := &x.SupplementalGroups + yym1532 := z.DecBinary() + _ = yym1532 if false { } else { - z.F.DecSliceInt64X(yyv1488, false, d) + z.F.DecSliceInt64X(yyv1531, false, d) } } case "fsGroup": @@ -19871,17 +20517,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1491 := z.DecBinary() - _ = yym1491 + yym1534 := z.DecBinary() + _ = yym1534 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1482) - } // end switch yys1482 - } // end for yyj1482 + z.DecStructFieldNotFound(-1, yys1525) + } // end switch yys1525 + } // end for yyj1525 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19889,16 +20535,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1492 int - var yyb1492 bool - var yyhl1492 bool = l >= 0 - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + var yyj1535 int + var yyb1535 bool + var yyhl1535 bool = l >= 0 + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19913,13 +20559,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19932,20 +20578,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym1495 := z.DecBinary() - _ = yym1495 + yym1538 := z.DecBinary() + _ = yym1538 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19958,20 +20604,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym1497 := z.DecBinary() - _ = yym1497 + yym1540 := z.DecBinary() + _ = yym1540 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19979,21 +20625,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv1498 := &x.SupplementalGroups - yym1499 := z.DecBinary() - _ = yym1499 + yyv1541 := &x.SupplementalGroups + yym1542 := z.DecBinary() + _ = yym1542 if false { } else { - z.F.DecSliceInt64X(yyv1498, false, d) + z.F.DecSliceInt64X(yyv1541, false, d) } } - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20006,25 +20652,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym1501 := z.DecBinary() - _ = yym1501 + yym1544 := z.DecBinary() + _ = yym1544 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj1492++ - if yyhl1492 { - yyb1492 = yyj1492 > l + yyj1535++ + if yyhl1535 { + yyb1535 = yyj1535 > l } else { - yyb1492 = r.CheckBreak() + yyb1535 = r.CheckBreak() } - if yyb1492 { + if yyb1535 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1492-1, "") + z.DecStructFieldNotFound(yyj1535-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20036,60 +20682,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1502 := z.EncBinary() - _ = yym1502 + yym1545 := z.EncBinary() + _ = yym1545 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1503 := !z.EncBinary() - yy2arr1503 := z.EncBasicHandle().StructToArray - var yyq1503 [8]bool - _, _, _ = yysep1503, yyq1503, yy2arr1503 - const yyr1503 bool = false - yyq1503[0] = x.Phase != "" - yyq1503[1] = len(x.Conditions) != 0 - yyq1503[2] = x.Message != "" - yyq1503[3] = x.Reason != "" - yyq1503[4] = x.HostIP != "" - yyq1503[5] = x.PodIP != "" - yyq1503[6] = x.StartTime != nil - yyq1503[7] = len(x.ContainerStatuses) != 0 - var yynn1503 int - if yyr1503 || yy2arr1503 { + yysep1546 := !z.EncBinary() + yy2arr1546 := z.EncBasicHandle().StructToArray + var yyq1546 [8]bool + _, _, _ = yysep1546, yyq1546, yy2arr1546 + const yyr1546 bool = false + yyq1546[0] = x.Phase != "" + yyq1546[1] = len(x.Conditions) != 0 + yyq1546[2] = x.Message != "" + yyq1546[3] = x.Reason != "" + yyq1546[4] = x.HostIP != "" + yyq1546[5] = x.PodIP != "" + yyq1546[6] = x.StartTime != nil + yyq1546[7] = len(x.ContainerStatuses) != 0 + var yynn1546 int + if yyr1546 || yy2arr1546 { r.EncodeArrayStart(8) } else { - yynn1503 = 0 - for _, b := range yyq1503 { + yynn1546 = 0 + for _, b := range yyq1546 { if b { - yynn1503++ + yynn1546++ } } - r.EncodeMapStart(yynn1503) - yynn1503 = 0 + r.EncodeMapStart(yynn1546) + yynn1546 = 0 } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[0] { + if yyq1546[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1503[0] { + if yyq1546[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[1] { + if yyq1546[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym1506 := z.EncBinary() - _ = yym1506 + yym1549 := z.EncBinary() + _ = yym1549 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -20099,15 +20745,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1503[1] { + if yyq1546[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1507 := z.EncBinary() - _ = yym1507 + yym1550 := z.EncBinary() + _ = yym1550 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -20115,11 +20761,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[2] { - yym1509 := z.EncBinary() - _ = yym1509 + if yyq1546[2] { + yym1552 := z.EncBinary() + _ = yym1552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20128,23 +20774,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1503[2] { + if yyq1546[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1510 := z.EncBinary() - _ = yym1510 + yym1553 := z.EncBinary() + _ = yym1553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[3] { - yym1512 := z.EncBinary() - _ = yym1512 + if yyq1546[3] { + yym1555 := z.EncBinary() + _ = yym1555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20153,23 +20799,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1503[3] { + if yyq1546[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1513 := z.EncBinary() - _ = yym1513 + yym1556 := z.EncBinary() + _ = yym1556 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[4] { - yym1515 := z.EncBinary() - _ = yym1515 + if yyq1546[4] { + yym1558 := z.EncBinary() + _ = yym1558 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -20178,23 +20824,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1503[4] { + if yyq1546[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1516 := z.EncBinary() - _ = yym1516 + yym1559 := z.EncBinary() + _ = yym1559 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[5] { - yym1518 := z.EncBinary() - _ = yym1518 + if yyq1546[5] { + yym1561 := z.EncBinary() + _ = yym1561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -20203,31 +20849,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1503[5] { + if yyq1546[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1519 := z.EncBinary() - _ = yym1519 + yym1562 := z.EncBinary() + _ = yym1562 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[6] { + if yyq1546[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym1521 := z.EncBinary() - _ = yym1521 + yym1564 := z.EncBinary() + _ = yym1564 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1521 { + } else if yym1564 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1521 && z.IsJSONHandle() { + } else if !yym1564 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -20237,20 +20883,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1503[6] { + if yyq1546[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym1522 := z.EncBinary() - _ = yym1522 + yym1565 := z.EncBinary() + _ = yym1565 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym1522 { + } else if yym1565 { z.EncBinaryMarshal(x.StartTime) - } else if !yym1522 && z.IsJSONHandle() { + } else if !yym1565 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -20258,14 +20904,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1503[7] { + if yyq1546[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1524 := z.EncBinary() - _ = yym1524 + yym1567 := z.EncBinary() + _ = yym1567 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -20275,15 +20921,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1503[7] { + if yyq1546[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym1525 := z.EncBinary() - _ = yym1525 + yym1568 := z.EncBinary() + _ = yym1568 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -20291,7 +20937,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1503 || yy2arr1503 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20304,25 +20950,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1526 := z.DecBinary() - _ = yym1526 + yym1569 := z.DecBinary() + _ = yym1569 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1527 := r.ContainerType() - if yyct1527 == codecSelferValueTypeMap1234 { - yyl1527 := r.ReadMapStart() - if yyl1527 == 0 { + yyct1570 := r.ContainerType() + if yyct1570 == codecSelferValueTypeMap1234 { + yyl1570 := r.ReadMapStart() + if yyl1570 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1527, d) + x.codecDecodeSelfFromMap(yyl1570, d) } - } else if yyct1527 == codecSelferValueTypeArray1234 { - yyl1527 := r.ReadArrayStart() - if yyl1527 == 0 { + } else if yyct1570 == codecSelferValueTypeArray1234 { + yyl1570 := r.ReadArrayStart() + if yyl1570 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1527, d) + x.codecDecodeSelfFromArray(yyl1570, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20334,12 +20980,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1528Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1528Slc - var yyhl1528 bool = l >= 0 - for yyj1528 := 0; ; yyj1528++ { - if yyhl1528 { - if yyj1528 >= l { + var yys1571Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1571Slc + var yyhl1571 bool = l >= 0 + for yyj1571 := 0; ; yyj1571++ { + if yyhl1571 { + if yyj1571 >= l { break } } else { @@ -20348,10 +20994,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1528Slc = r.DecodeBytes(yys1528Slc, true, true) - yys1528 := string(yys1528Slc) + yys1571Slc = r.DecodeBytes(yys1571Slc, true, true) + yys1571 := string(yys1571Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1528 { + switch yys1571 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -20362,12 +21008,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1530 := &x.Conditions - yym1531 := z.DecBinary() - _ = yym1531 + yyv1573 := &x.Conditions + yym1574 := z.DecBinary() + _ = yym1574 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1530), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1573), d) } } case "message": @@ -20403,13 +21049,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1537 := z.DecBinary() - _ = yym1537 + yym1580 := z.DecBinary() + _ = yym1580 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1537 { + } else if yym1580 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1537 && z.IsJSONHandle() { + } else if !yym1580 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -20419,18 +21065,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1538 := &x.ContainerStatuses - yym1539 := z.DecBinary() - _ = yym1539 + yyv1581 := &x.ContainerStatuses + yym1582 := z.DecBinary() + _ = yym1582 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1538), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1581), d) } } default: - z.DecStructFieldNotFound(-1, yys1528) - } // end switch yys1528 - } // end for yyj1528 + z.DecStructFieldNotFound(-1, yys1571) + } // end switch yys1571 + } // end for yyj1571 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20438,16 +21084,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1540 int - var yyb1540 bool - var yyhl1540 bool = l >= 0 - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + var yyj1583 int + var yyb1583 bool + var yyhl1583 bool = l >= 0 + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20457,13 +21103,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20471,21 +21117,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1542 := &x.Conditions - yym1543 := z.DecBinary() - _ = yym1543 + yyv1585 := &x.Conditions + yym1586 := z.DecBinary() + _ = yym1586 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv1542), d) + h.decSlicePodCondition((*[]PodCondition)(yyv1585), d) } } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20495,13 +21141,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20511,13 +21157,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20527,13 +21173,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20543,13 +21189,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20562,25 +21208,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym1549 := z.DecBinary() - _ = yym1549 + yym1592 := z.DecBinary() + _ = yym1592 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym1549 { + } else if yym1592 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym1549 && z.IsJSONHandle() { + } else if !yym1592 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20588,26 +21234,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv1550 := &x.ContainerStatuses - yym1551 := z.DecBinary() - _ = yym1551 + yyv1593 := &x.ContainerStatuses + yym1594 := z.DecBinary() + _ = yym1594 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv1550), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv1593), d) } } for { - yyj1540++ - if yyhl1540 { - yyb1540 = yyj1540 > l + yyj1583++ + if yyhl1583 { + yyb1583 = yyj1583 > l } else { - yyb1540 = r.CheckBreak() + yyb1583 = r.CheckBreak() } - if yyb1540 { + if yyb1583 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1540-1, "") + z.DecStructFieldNotFound(yyj1583-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20619,38 +21265,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1552 := z.EncBinary() - _ = yym1552 + yym1595 := z.EncBinary() + _ = yym1595 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1553 := !z.EncBinary() - yy2arr1553 := z.EncBasicHandle().StructToArray - var yyq1553 [4]bool - _, _, _ = yysep1553, yyq1553, yy2arr1553 - const yyr1553 bool = false - yyq1553[0] = x.Kind != "" - yyq1553[1] = x.APIVersion != "" - yyq1553[2] = true - yyq1553[3] = true - var yynn1553 int - if yyr1553 || yy2arr1553 { + yysep1596 := !z.EncBinary() + yy2arr1596 := z.EncBasicHandle().StructToArray + var yyq1596 [4]bool + _, _, _ = yysep1596, yyq1596, yy2arr1596 + const yyr1596 bool = false + yyq1596[0] = x.Kind != "" + yyq1596[1] = x.APIVersion != "" + yyq1596[2] = true + yyq1596[3] = true + var yynn1596 int + if yyr1596 || yy2arr1596 { r.EncodeArrayStart(4) } else { - yynn1553 = 0 - for _, b := range yyq1553 { + yynn1596 = 0 + for _, b := range yyq1596 { if b { - yynn1553++ + yynn1596++ } } - r.EncodeMapStart(yynn1553) - yynn1553 = 0 + r.EncodeMapStart(yynn1596) + yynn1596 = 0 } - if yyr1553 || yy2arr1553 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1553[0] { - yym1555 := z.EncBinary() - _ = yym1555 + if yyq1596[0] { + yym1598 := z.EncBinary() + _ = yym1598 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20659,23 +21305,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1553[0] { + if yyq1596[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1556 := z.EncBinary() - _ = yym1556 + yym1599 := z.EncBinary() + _ = yym1599 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1553 || yy2arr1553 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1553[1] { - yym1558 := z.EncBinary() - _ = yym1558 + if yyq1596[1] { + yym1601 := z.EncBinary() + _ = yym1601 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20684,53 +21330,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1553[1] { + if yyq1596[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1559 := z.EncBinary() - _ = yym1559 + yym1602 := z.EncBinary() + _ = yym1602 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1553 || yy2arr1553 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1553[2] { - yy1561 := &x.ObjectMeta - yy1561.CodecEncodeSelf(e) + if yyq1596[2] { + yy1604 := &x.ObjectMeta + yy1604.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1553[2] { + if yyq1596[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1562 := &x.ObjectMeta - yy1562.CodecEncodeSelf(e) + yy1605 := &x.ObjectMeta + yy1605.CodecEncodeSelf(e) } } - if yyr1553 || yy2arr1553 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1553[3] { - yy1564 := &x.Status - yy1564.CodecEncodeSelf(e) + if yyq1596[3] { + yy1607 := &x.Status + yy1607.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1553[3] { + if yyq1596[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1565 := &x.Status - yy1565.CodecEncodeSelf(e) + yy1608 := &x.Status + yy1608.CodecEncodeSelf(e) } } - if yyr1553 || yy2arr1553 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20743,25 +21389,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1566 := z.DecBinary() - _ = yym1566 + yym1609 := z.DecBinary() + _ = yym1609 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1567 := r.ContainerType() - if yyct1567 == codecSelferValueTypeMap1234 { - yyl1567 := r.ReadMapStart() - if yyl1567 == 0 { + yyct1610 := r.ContainerType() + if yyct1610 == codecSelferValueTypeMap1234 { + yyl1610 := r.ReadMapStart() + if yyl1610 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1567, d) + x.codecDecodeSelfFromMap(yyl1610, d) } - } else if yyct1567 == codecSelferValueTypeArray1234 { - yyl1567 := r.ReadArrayStart() - if yyl1567 == 0 { + } else if yyct1610 == codecSelferValueTypeArray1234 { + yyl1610 := r.ReadArrayStart() + if yyl1610 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1567, d) + x.codecDecodeSelfFromArray(yyl1610, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20773,12 +21419,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1568Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1568Slc - var yyhl1568 bool = l >= 0 - for yyj1568 := 0; ; yyj1568++ { - if yyhl1568 { - if yyj1568 >= l { + var yys1611Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1611Slc + var yyhl1611 bool = l >= 0 + for yyj1611 := 0; ; yyj1611++ { + if yyhl1611 { + if yyj1611 >= l { break } } else { @@ -20787,10 +21433,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1568Slc = r.DecodeBytes(yys1568Slc, true, true) - yys1568 := string(yys1568Slc) + yys1611Slc = r.DecodeBytes(yys1611Slc, true, true) + yys1611 := string(yys1611Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1568 { + switch yys1611 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -20807,20 +21453,20 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1571 := &x.ObjectMeta - yyv1571.CodecDecodeSelf(d) + yyv1614 := &x.ObjectMeta + yyv1614.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1572 := &x.Status - yyv1572.CodecDecodeSelf(d) + yyv1615 := &x.Status + yyv1615.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1568) - } // end switch yys1568 - } // end for yyj1568 + z.DecStructFieldNotFound(-1, yys1611) + } // end switch yys1611 + } // end for yyj1611 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20828,16 +21474,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1573 int - var yyb1573 bool - var yyhl1573 bool = l >= 0 - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + var yyj1616 int + var yyb1616 bool + var yyhl1616 bool = l >= 0 + yyj1616++ + if yyhl1616 { + yyb1616 = yyj1616 > l } else { - yyb1573 = r.CheckBreak() + yyb1616 = r.CheckBreak() } - if yyb1573 { + if yyb1616 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20847,13 +21493,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1616++ + if yyhl1616 { + yyb1616 = yyj1616 > l } else { - yyb1573 = r.CheckBreak() + yyb1616 = r.CheckBreak() } - if yyb1573 { + if yyb1616 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20863,13 +21509,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1616++ + if yyhl1616 { + yyb1616 = yyj1616 > l } else { - yyb1573 = r.CheckBreak() + yyb1616 = r.CheckBreak() } - if yyb1573 { + if yyb1616 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20877,16 +21523,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1576 := &x.ObjectMeta - yyv1576.CodecDecodeSelf(d) + yyv1619 := &x.ObjectMeta + yyv1619.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1616++ + if yyhl1616 { + yyb1616 = yyj1616 > l } else { - yyb1573 = r.CheckBreak() + yyb1616 = r.CheckBreak() } - if yyb1573 { + if yyb1616 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20894,21 +21540,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1577 := &x.Status - yyv1577.CodecDecodeSelf(d) + yyv1620 := &x.Status + yyv1620.CodecDecodeSelf(d) } for { - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1616++ + if yyhl1616 { + yyb1616 = yyj1616 > l } else { - yyb1573 = r.CheckBreak() + yyb1616 = r.CheckBreak() } - if yyb1573 { + if yyb1616 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1573-1, "") + z.DecStructFieldNotFound(yyj1616-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20920,39 +21566,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1578 := z.EncBinary() - _ = yym1578 + yym1621 := z.EncBinary() + _ = yym1621 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1579 := !z.EncBinary() - yy2arr1579 := z.EncBasicHandle().StructToArray - var yyq1579 [5]bool - _, _, _ = yysep1579, yyq1579, yy2arr1579 - const yyr1579 bool = false - yyq1579[0] = x.Kind != "" - yyq1579[1] = x.APIVersion != "" - yyq1579[2] = true - yyq1579[3] = true - yyq1579[4] = true - var yynn1579 int - if yyr1579 || yy2arr1579 { + yysep1622 := !z.EncBinary() + yy2arr1622 := z.EncBasicHandle().StructToArray + var yyq1622 [5]bool + _, _, _ = yysep1622, yyq1622, yy2arr1622 + const yyr1622 bool = false + yyq1622[0] = x.Kind != "" + yyq1622[1] = x.APIVersion != "" + yyq1622[2] = true + yyq1622[3] = true + yyq1622[4] = true + var yynn1622 int + if yyr1622 || yy2arr1622 { r.EncodeArrayStart(5) } else { - yynn1579 = 0 - for _, b := range yyq1579 { + yynn1622 = 0 + for _, b := range yyq1622 { if b { - yynn1579++ + yynn1622++ } } - r.EncodeMapStart(yynn1579) - yynn1579 = 0 + r.EncodeMapStart(yynn1622) + yynn1622 = 0 } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[0] { - yym1581 := z.EncBinary() - _ = yym1581 + if yyq1622[0] { + yym1624 := z.EncBinary() + _ = yym1624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20961,23 +21607,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1579[0] { + if yyq1622[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1582 := z.EncBinary() - _ = yym1582 + yym1625 := z.EncBinary() + _ = yym1625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[1] { - yym1584 := z.EncBinary() - _ = yym1584 + if yyq1622[1] { + yym1627 := z.EncBinary() + _ = yym1627 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20986,70 +21632,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1579[1] { + if yyq1622[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1585 := z.EncBinary() - _ = yym1585 + yym1628 := z.EncBinary() + _ = yym1628 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[2] { - yy1587 := &x.ObjectMeta - yy1587.CodecEncodeSelf(e) + if yyq1622[2] { + yy1630 := &x.ObjectMeta + yy1630.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1579[2] { + if yyq1622[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1588 := &x.ObjectMeta - yy1588.CodecEncodeSelf(e) + yy1631 := &x.ObjectMeta + yy1631.CodecEncodeSelf(e) } } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[3] { - yy1590 := &x.Spec - yy1590.CodecEncodeSelf(e) + if yyq1622[3] { + yy1633 := &x.Spec + yy1633.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1579[3] { + if yyq1622[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1591 := &x.Spec - yy1591.CodecEncodeSelf(e) + yy1634 := &x.Spec + yy1634.CodecEncodeSelf(e) } } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[4] { - yy1593 := &x.Status - yy1593.CodecEncodeSelf(e) + if yyq1622[4] { + yy1636 := &x.Status + yy1636.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1579[4] { + if yyq1622[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1594 := &x.Status - yy1594.CodecEncodeSelf(e) + yy1637 := &x.Status + yy1637.CodecEncodeSelf(e) } } - if yyr1579 || yy2arr1579 { + if yyr1622 || yy2arr1622 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21062,25 +21708,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1595 := z.DecBinary() - _ = yym1595 + yym1638 := z.DecBinary() + _ = yym1638 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1596 := r.ContainerType() - if yyct1596 == codecSelferValueTypeMap1234 { - yyl1596 := r.ReadMapStart() - if yyl1596 == 0 { + yyct1639 := r.ContainerType() + if yyct1639 == codecSelferValueTypeMap1234 { + yyl1639 := r.ReadMapStart() + if yyl1639 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1596, d) + x.codecDecodeSelfFromMap(yyl1639, d) } - } else if yyct1596 == codecSelferValueTypeArray1234 { - yyl1596 := r.ReadArrayStart() - if yyl1596 == 0 { + } else if yyct1639 == codecSelferValueTypeArray1234 { + yyl1639 := r.ReadArrayStart() + if yyl1639 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1596, d) + x.codecDecodeSelfFromArray(yyl1639, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21092,12 +21738,12 @@ func (x *Pod) 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 { + var yys1640Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1640Slc + var yyhl1640 bool = l >= 0 + for yyj1640 := 0; ; yyj1640++ { + if yyhl1640 { + if yyj1640 >= l { break } } else { @@ -21106,10 +21752,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1597Slc = r.DecodeBytes(yys1597Slc, true, true) - yys1597 := string(yys1597Slc) + yys1640Slc = r.DecodeBytes(yys1640Slc, true, true) + yys1640 := string(yys1640Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1597 { + switch yys1640 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21126,27 +21772,27 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1600 := &x.ObjectMeta - yyv1600.CodecDecodeSelf(d) + yyv1643 := &x.ObjectMeta + yyv1643.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1601 := &x.Spec - yyv1601.CodecDecodeSelf(d) + yyv1644 := &x.Spec + yyv1644.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1602 := &x.Status - yyv1602.CodecDecodeSelf(d) + yyv1645 := &x.Status + yyv1645.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1597) - } // end switch yys1597 - } // end for yyj1597 + z.DecStructFieldNotFound(-1, yys1640) + } // end switch yys1640 + } // end for yyj1640 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21154,16 +21800,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1603 int - var yyb1603 bool - var yyhl1603 bool = l >= 0 - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + var yyj1646 int + var yyb1646 bool + var yyhl1646 bool = l >= 0 + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21173,13 +21819,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21189,13 +21835,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21203,16 +21849,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1606 := &x.ObjectMeta - yyv1606.CodecDecodeSelf(d) + yyv1649 := &x.ObjectMeta + yyv1649.CodecDecodeSelf(d) } - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21220,16 +21866,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1607 := &x.Spec - yyv1607.CodecDecodeSelf(d) + yyv1650 := &x.Spec + yyv1650.CodecDecodeSelf(d) } - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21237,21 +21883,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv1608 := &x.Status - yyv1608.CodecDecodeSelf(d) + yyv1651 := &x.Status + yyv1651.CodecDecodeSelf(d) } for { - yyj1603++ - if yyhl1603 { - yyb1603 = yyj1603 > l + yyj1646++ + if yyhl1646 { + yyb1646 = yyj1646 > l } else { - yyb1603 = r.CheckBreak() + yyb1646 = r.CheckBreak() } - if yyb1603 { + if yyb1646 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1603-1, "") + z.DecStructFieldNotFound(yyj1646-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21263,37 +21909,37 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1609 := z.EncBinary() - _ = yym1609 + yym1652 := z.EncBinary() + _ = yym1652 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1610 := !z.EncBinary() - yy2arr1610 := z.EncBasicHandle().StructToArray - var yyq1610 [4]bool - _, _, _ = yysep1610, yyq1610, yy2arr1610 - const yyr1610 bool = false - yyq1610[0] = x.Kind != "" - yyq1610[1] = x.APIVersion != "" - yyq1610[2] = true - var yynn1610 int - if yyr1610 || yy2arr1610 { + yysep1653 := !z.EncBinary() + yy2arr1653 := z.EncBasicHandle().StructToArray + var yyq1653 [4]bool + _, _, _ = yysep1653, yyq1653, yy2arr1653 + const yyr1653 bool = false + yyq1653[0] = x.Kind != "" + yyq1653[1] = x.APIVersion != "" + yyq1653[2] = true + var yynn1653 int + if yyr1653 || yy2arr1653 { r.EncodeArrayStart(4) } else { - yynn1610 = 1 - for _, b := range yyq1610 { + yynn1653 = 1 + for _, b := range yyq1653 { if b { - yynn1610++ + yynn1653++ } } - r.EncodeMapStart(yynn1610) - yynn1610 = 0 + r.EncodeMapStart(yynn1653) + yynn1653 = 0 } - if yyr1610 || yy2arr1610 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[0] { - yym1612 := z.EncBinary() - _ = yym1612 + if yyq1653[0] { + yym1655 := z.EncBinary() + _ = yym1655 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -21302,23 +21948,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1610[0] { + if yyq1653[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1613 := z.EncBinary() - _ = yym1613 + yym1656 := z.EncBinary() + _ = yym1656 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1610 || yy2arr1610 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[1] { - yym1615 := z.EncBinary() - _ = yym1615 + if yyq1653[1] { + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -21327,54 +21973,54 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1610[1] { + if yyq1653[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1616 := z.EncBinary() - _ = yym1616 + yym1659 := z.EncBinary() + _ = yym1659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1610 || yy2arr1610 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[2] { - yy1618 := &x.ListMeta - yym1619 := z.EncBinary() - _ = yym1619 + if yyq1653[2] { + yy1661 := &x.ListMeta + yym1662 := z.EncBinary() + _ = yym1662 if false { - } else if z.HasExtensions() && z.EncExt(yy1618) { + } else if z.HasExtensions() && z.EncExt(yy1661) { } else { - z.EncFallback(yy1618) + z.EncFallback(yy1661) } } else { r.EncodeNil() } } else { - if yyq1610[2] { + if yyq1653[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1620 := &x.ListMeta - yym1621 := z.EncBinary() - _ = yym1621 + yy1663 := &x.ListMeta + yym1664 := z.EncBinary() + _ = yym1664 if false { - } else if z.HasExtensions() && z.EncExt(yy1620) { + } else if z.HasExtensions() && z.EncExt(yy1663) { } else { - z.EncFallback(yy1620) + z.EncFallback(yy1663) } } } - if yyr1610 || yy2arr1610 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1623 := z.EncBinary() - _ = yym1623 + yym1666 := z.EncBinary() + _ = yym1666 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -21387,15 +22033,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1624 := z.EncBinary() - _ = yym1624 + yym1667 := z.EncBinary() + _ = yym1667 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr1610 || yy2arr1610 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21408,25 +22054,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1625 := z.DecBinary() - _ = yym1625 + yym1668 := z.DecBinary() + _ = yym1668 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1626 := r.ContainerType() - if yyct1626 == codecSelferValueTypeMap1234 { - yyl1626 := r.ReadMapStart() - if yyl1626 == 0 { + yyct1669 := r.ContainerType() + if yyct1669 == codecSelferValueTypeMap1234 { + yyl1669 := r.ReadMapStart() + if yyl1669 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1626, d) + x.codecDecodeSelfFromMap(yyl1669, d) } - } else if yyct1626 == codecSelferValueTypeArray1234 { - yyl1626 := r.ReadArrayStart() - if yyl1626 == 0 { + } else if yyct1669 == codecSelferValueTypeArray1234 { + yyl1669 := r.ReadArrayStart() + if yyl1669 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1626, d) + x.codecDecodeSelfFromArray(yyl1669, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21438,12 +22084,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1627Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1627Slc - var yyhl1627 bool = l >= 0 - for yyj1627 := 0; ; yyj1627++ { - if yyhl1627 { - if yyj1627 >= l { + var yys1670Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1670Slc + var yyhl1670 bool = l >= 0 + for yyj1670 := 0; ; yyj1670++ { + if yyhl1670 { + if yyj1670 >= l { break } } else { @@ -21452,10 +22098,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1627Slc = r.DecodeBytes(yys1627Slc, true, true) - yys1627 := string(yys1627Slc) + yys1670Slc = r.DecodeBytes(yys1670Slc, true, true) + yys1670 := string(yys1670Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1627 { + switch yys1670 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21472,31 +22118,31 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1630 := &x.ListMeta - yym1631 := z.DecBinary() - _ = yym1631 + yyv1673 := &x.ListMeta + yym1674 := z.DecBinary() + _ = yym1674 if false { - } else if z.HasExtensions() && z.DecExt(yyv1630) { + } else if z.HasExtensions() && z.DecExt(yyv1673) { } else { - z.DecFallback(yyv1630, false) + z.DecFallback(yyv1673, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1632 := &x.Items - yym1633 := z.DecBinary() - _ = yym1633 + yyv1675 := &x.Items + yym1676 := z.DecBinary() + _ = yym1676 if false { } else { - h.decSlicePod((*[]Pod)(yyv1632), d) + h.decSlicePod((*[]Pod)(yyv1675), d) } } default: - z.DecStructFieldNotFound(-1, yys1627) - } // end switch yys1627 - } // end for yyj1627 + z.DecStructFieldNotFound(-1, yys1670) + } // end switch yys1670 + } // end for yyj1670 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21504,16 +22150,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1634 int - var yyb1634 bool - var yyhl1634 bool = l >= 0 - yyj1634++ - if yyhl1634 { - yyb1634 = yyj1634 > l + var yyj1677 int + var yyb1677 bool + var yyhl1677 bool = l >= 0 + yyj1677++ + if yyhl1677 { + yyb1677 = yyj1677 > l } else { - yyb1634 = r.CheckBreak() + yyb1677 = r.CheckBreak() } - if yyb1634 { + if yyb1677 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21523,13 +22169,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1634++ - if yyhl1634 { - yyb1634 = yyj1634 > l + yyj1677++ + if yyhl1677 { + yyb1677 = yyj1677 > l } else { - yyb1634 = r.CheckBreak() + yyb1677 = r.CheckBreak() } - if yyb1634 { + if yyb1677 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21539,13 +22185,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1634++ - if yyhl1634 { - yyb1634 = yyj1634 > l + yyj1677++ + if yyhl1677 { + yyb1677 = yyj1677 > l } else { - yyb1634 = r.CheckBreak() + yyb1677 = r.CheckBreak() } - if yyb1634 { + if yyb1677 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21553,22 +22199,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1637 := &x.ListMeta - yym1638 := z.DecBinary() - _ = yym1638 + yyv1680 := &x.ListMeta + yym1681 := z.DecBinary() + _ = yym1681 if false { - } else if z.HasExtensions() && z.DecExt(yyv1637) { + } else if z.HasExtensions() && z.DecExt(yyv1680) { } else { - z.DecFallback(yyv1637, false) + z.DecFallback(yyv1680, false) } } - yyj1634++ - if yyhl1634 { - yyb1634 = yyj1634 > l + yyj1677++ + if yyhl1677 { + yyb1677 = yyj1677 > l } else { - yyb1634 = r.CheckBreak() + yyb1677 = r.CheckBreak() } - if yyb1634 { + if yyb1677 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21576,26 +22222,26 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1639 := &x.Items - yym1640 := z.DecBinary() - _ = yym1640 + yyv1682 := &x.Items + yym1683 := z.DecBinary() + _ = yym1683 if false { } else { - h.decSlicePod((*[]Pod)(yyv1639), d) + h.decSlicePod((*[]Pod)(yyv1682), d) } } for { - yyj1634++ - if yyhl1634 { - yyb1634 = yyj1634 > l + yyj1677++ + if yyhl1677 { + yyb1677 = yyj1677 > l } else { - yyb1634 = r.CheckBreak() + yyb1677 = r.CheckBreak() } - if yyb1634 { + if yyb1677 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1634-1, "") + z.DecStructFieldNotFound(yyj1677-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21607,66 +22253,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1641 := z.EncBinary() - _ = yym1641 + yym1684 := z.EncBinary() + _ = yym1684 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1642 := !z.EncBinary() - yy2arr1642 := z.EncBasicHandle().StructToArray - var yyq1642 [2]bool - _, _, _ = yysep1642, yyq1642, yy2arr1642 - const yyr1642 bool = false - yyq1642[0] = true - yyq1642[1] = true - var yynn1642 int - if yyr1642 || yy2arr1642 { + yysep1685 := !z.EncBinary() + yy2arr1685 := z.EncBasicHandle().StructToArray + var yyq1685 [2]bool + _, _, _ = yysep1685, yyq1685, yy2arr1685 + const yyr1685 bool = false + yyq1685[0] = true + yyq1685[1] = true + var yynn1685 int + if yyr1685 || yy2arr1685 { r.EncodeArrayStart(2) } else { - yynn1642 = 0 - for _, b := range yyq1642 { + yynn1685 = 0 + for _, b := range yyq1685 { if b { - yynn1642++ + yynn1685++ } } - r.EncodeMapStart(yynn1642) - yynn1642 = 0 + r.EncodeMapStart(yynn1685) + yynn1685 = 0 } - if yyr1642 || yy2arr1642 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1642[0] { - yy1644 := &x.ObjectMeta - yy1644.CodecEncodeSelf(e) + if yyq1685[0] { + yy1687 := &x.ObjectMeta + yy1687.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1642[0] { + if yyq1685[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1645 := &x.ObjectMeta - yy1645.CodecEncodeSelf(e) + yy1688 := &x.ObjectMeta + yy1688.CodecEncodeSelf(e) } } - if yyr1642 || yy2arr1642 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1642[1] { - yy1647 := &x.Spec - yy1647.CodecEncodeSelf(e) + if yyq1685[1] { + yy1690 := &x.Spec + yy1690.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1642[1] { + if yyq1685[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1648 := &x.Spec - yy1648.CodecEncodeSelf(e) + yy1691 := &x.Spec + yy1691.CodecEncodeSelf(e) } } - if yyr1642 || yy2arr1642 { + if yyr1685 || yy2arr1685 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21679,25 +22325,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1649 := z.DecBinary() - _ = yym1649 + yym1692 := z.DecBinary() + _ = yym1692 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1650 := r.ContainerType() - if yyct1650 == codecSelferValueTypeMap1234 { - yyl1650 := r.ReadMapStart() - if yyl1650 == 0 { + yyct1693 := r.ContainerType() + if yyct1693 == codecSelferValueTypeMap1234 { + yyl1693 := r.ReadMapStart() + if yyl1693 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1650, d) + x.codecDecodeSelfFromMap(yyl1693, d) } - } else if yyct1650 == codecSelferValueTypeArray1234 { - yyl1650 := r.ReadArrayStart() - if yyl1650 == 0 { + } else if yyct1693 == codecSelferValueTypeArray1234 { + yyl1693 := r.ReadArrayStart() + if yyl1693 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1650, d) + x.codecDecodeSelfFromArray(yyl1693, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21709,12 +22355,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1651Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1651Slc - var yyhl1651 bool = l >= 0 - for yyj1651 := 0; ; yyj1651++ { - if yyhl1651 { - if yyj1651 >= l { + var yys1694Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1694Slc + var yyhl1694 bool = l >= 0 + for yyj1694 := 0; ; yyj1694++ { + if yyhl1694 { + if yyj1694 >= l { break } } else { @@ -21723,28 +22369,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1651Slc = r.DecodeBytes(yys1651Slc, true, true) - yys1651 := string(yys1651Slc) + yys1694Slc = r.DecodeBytes(yys1694Slc, true, true) + yys1694 := string(yys1694Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1651 { + switch yys1694 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1652 := &x.ObjectMeta - yyv1652.CodecDecodeSelf(d) + yyv1695 := &x.ObjectMeta + yyv1695.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1653 := &x.Spec - yyv1653.CodecDecodeSelf(d) + yyv1696 := &x.Spec + yyv1696.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1651) - } // end switch yys1651 - } // end for yyj1651 + z.DecStructFieldNotFound(-1, yys1694) + } // end switch yys1694 + } // end for yyj1694 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21752,16 +22398,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1654 int - var yyb1654 bool - var yyhl1654 bool = l >= 0 - yyj1654++ - if yyhl1654 { - yyb1654 = yyj1654 > l + var yyj1697 int + var yyb1697 bool + var yyhl1697 bool = l >= 0 + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1654 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1654 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21769,16 +22415,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1655 := &x.ObjectMeta - yyv1655.CodecDecodeSelf(d) + yyv1698 := &x.ObjectMeta + yyv1698.CodecDecodeSelf(d) } - yyj1654++ - if yyhl1654 { - yyb1654 = yyj1654 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1654 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1654 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21786,21 +22432,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv1656 := &x.Spec - yyv1656.CodecDecodeSelf(d) + yyv1699 := &x.Spec + yyv1699.CodecDecodeSelf(d) } for { - yyj1654++ - if yyhl1654 { - yyb1654 = yyj1654 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1654 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1654 { + if yyb1697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1654-1, "") + z.DecStructFieldNotFound(yyj1697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21812,38 +22458,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1657 := z.EncBinary() - _ = yym1657 + yym1700 := z.EncBinary() + _ = yym1700 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1658 := !z.EncBinary() - yy2arr1658 := z.EncBasicHandle().StructToArray - var yyq1658 [4]bool - _, _, _ = yysep1658, yyq1658, yy2arr1658 - const yyr1658 bool = false - yyq1658[0] = x.Kind != "" - yyq1658[1] = x.APIVersion != "" - yyq1658[2] = true - yyq1658[3] = true - var yynn1658 int - if yyr1658 || yy2arr1658 { + yysep1701 := !z.EncBinary() + yy2arr1701 := z.EncBasicHandle().StructToArray + var yyq1701 [4]bool + _, _, _ = yysep1701, yyq1701, yy2arr1701 + const yyr1701 bool = false + yyq1701[0] = x.Kind != "" + yyq1701[1] = x.APIVersion != "" + yyq1701[2] = true + yyq1701[3] = true + var yynn1701 int + if yyr1701 || yy2arr1701 { r.EncodeArrayStart(4) } else { - yynn1658 = 0 - for _, b := range yyq1658 { + yynn1701 = 0 + for _, b := range yyq1701 { if b { - yynn1658++ + yynn1701++ } } - r.EncodeMapStart(yynn1658) - yynn1658 = 0 + r.EncodeMapStart(yynn1701) + yynn1701 = 0 } - if yyr1658 || yy2arr1658 { + if yyr1701 || yy2arr1701 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[0] { - yym1660 := z.EncBinary() - _ = yym1660 + if yyq1701[0] { + yym1703 := z.EncBinary() + _ = yym1703 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -21852,23 +22498,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1658[0] { + if yyq1701[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1661 := z.EncBinary() - _ = yym1661 + yym1704 := z.EncBinary() + _ = yym1704 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1658 || yy2arr1658 { + if yyr1701 || yy2arr1701 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[1] { - yym1663 := z.EncBinary() - _ = yym1663 + if yyq1701[1] { + yym1706 := z.EncBinary() + _ = yym1706 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -21877,53 +22523,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1658[1] { + if yyq1701[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1664 := z.EncBinary() - _ = yym1664 + yym1707 := z.EncBinary() + _ = yym1707 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1658 || yy2arr1658 { + if yyr1701 || yy2arr1701 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[2] { - yy1666 := &x.ObjectMeta - yy1666.CodecEncodeSelf(e) + if yyq1701[2] { + yy1709 := &x.ObjectMeta + yy1709.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1658[2] { + if yyq1701[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1667 := &x.ObjectMeta - yy1667.CodecEncodeSelf(e) + yy1710 := &x.ObjectMeta + yy1710.CodecEncodeSelf(e) } } - if yyr1658 || yy2arr1658 { + if yyr1701 || yy2arr1701 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[3] { - yy1669 := &x.Template - yy1669.CodecEncodeSelf(e) + if yyq1701[3] { + yy1712 := &x.Template + yy1712.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1658[3] { + if yyq1701[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1670 := &x.Template - yy1670.CodecEncodeSelf(e) + yy1713 := &x.Template + yy1713.CodecEncodeSelf(e) } } - if yyr1658 || yy2arr1658 { + if yyr1701 || yy2arr1701 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21936,25 +22582,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1671 := z.DecBinary() - _ = yym1671 + yym1714 := z.DecBinary() + _ = yym1714 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1672 := r.ContainerType() - if yyct1672 == codecSelferValueTypeMap1234 { - yyl1672 := r.ReadMapStart() - if yyl1672 == 0 { + yyct1715 := r.ContainerType() + if yyct1715 == codecSelferValueTypeMap1234 { + yyl1715 := r.ReadMapStart() + if yyl1715 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1672, d) + x.codecDecodeSelfFromMap(yyl1715, d) } - } else if yyct1672 == codecSelferValueTypeArray1234 { - yyl1672 := r.ReadArrayStart() - if yyl1672 == 0 { + } else if yyct1715 == codecSelferValueTypeArray1234 { + yyl1715 := r.ReadArrayStart() + if yyl1715 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1672, d) + x.codecDecodeSelfFromArray(yyl1715, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21966,12 +22612,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1673Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1673Slc - var yyhl1673 bool = l >= 0 - for yyj1673 := 0; ; yyj1673++ { - if yyhl1673 { - if yyj1673 >= l { + var yys1716Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1716Slc + var yyhl1716 bool = l >= 0 + for yyj1716 := 0; ; yyj1716++ { + if yyhl1716 { + if yyj1716 >= l { break } } else { @@ -21980,10 +22626,10 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1673Slc = r.DecodeBytes(yys1673Slc, true, true) - yys1673 := string(yys1673Slc) + yys1716Slc = r.DecodeBytes(yys1716Slc, true, true) + yys1716 := string(yys1716Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1673 { + switch yys1716 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -22000,20 +22646,20 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1676 := &x.ObjectMeta - yyv1676.CodecDecodeSelf(d) + yyv1719 := &x.ObjectMeta + yyv1719.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1677 := &x.Template - yyv1677.CodecDecodeSelf(d) + yyv1720 := &x.Template + yyv1720.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1673) - } // end switch yys1673 - } // end for yyj1673 + z.DecStructFieldNotFound(-1, yys1716) + } // end switch yys1716 + } // end for yyj1716 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22021,16 +22667,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1678 int - var yyb1678 bool - var yyhl1678 bool = l >= 0 - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l + var yyj1721 int + var yyb1721 bool + var yyhl1721 bool = l >= 0 + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l } else { - yyb1678 = r.CheckBreak() + yyb1721 = r.CheckBreak() } - if yyb1678 { + if yyb1721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22040,13 +22686,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l } else { - yyb1678 = r.CheckBreak() + yyb1721 = r.CheckBreak() } - if yyb1678 { + if yyb1721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22056,13 +22702,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l } else { - yyb1678 = r.CheckBreak() + yyb1721 = r.CheckBreak() } - if yyb1678 { + if yyb1721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22070,16 +22716,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1681 := &x.ObjectMeta - yyv1681.CodecDecodeSelf(d) + yyv1724 := &x.ObjectMeta + yyv1724.CodecDecodeSelf(d) } - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l } else { - yyb1678 = r.CheckBreak() + yyb1721 = r.CheckBreak() } - if yyb1678 { + if yyb1721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22087,21 +22733,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv1682 := &x.Template - yyv1682.CodecDecodeSelf(d) + yyv1725 := &x.Template + yyv1725.CodecDecodeSelf(d) } for { - yyj1678++ - if yyhl1678 { - yyb1678 = yyj1678 > l + yyj1721++ + if yyhl1721 { + yyb1721 = yyj1721 > l } else { - yyb1678 = r.CheckBreak() + yyb1721 = r.CheckBreak() } - if yyb1678 { + if yyb1721 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1678-1, "") + z.DecStructFieldNotFound(yyj1721-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22113,37 +22759,37 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1683 := z.EncBinary() - _ = yym1683 + yym1726 := z.EncBinary() + _ = yym1726 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1684 := !z.EncBinary() - yy2arr1684 := z.EncBasicHandle().StructToArray - var yyq1684 [4]bool - _, _, _ = yysep1684, yyq1684, yy2arr1684 - const yyr1684 bool = false - yyq1684[0] = x.Kind != "" - yyq1684[1] = x.APIVersion != "" - yyq1684[2] = true - var yynn1684 int - if yyr1684 || yy2arr1684 { + yysep1727 := !z.EncBinary() + yy2arr1727 := z.EncBasicHandle().StructToArray + var yyq1727 [4]bool + _, _, _ = yysep1727, yyq1727, yy2arr1727 + const yyr1727 bool = false + yyq1727[0] = x.Kind != "" + yyq1727[1] = x.APIVersion != "" + yyq1727[2] = true + var yynn1727 int + if yyr1727 || yy2arr1727 { r.EncodeArrayStart(4) } else { - yynn1684 = 1 - for _, b := range yyq1684 { + yynn1727 = 1 + for _, b := range yyq1727 { if b { - yynn1684++ + yynn1727++ } } - r.EncodeMapStart(yynn1684) - yynn1684 = 0 + r.EncodeMapStart(yynn1727) + yynn1727 = 0 } - if yyr1684 || yy2arr1684 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1684[0] { - yym1686 := z.EncBinary() - _ = yym1686 + if yyq1727[0] { + yym1729 := z.EncBinary() + _ = yym1729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -22152,23 +22798,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1684[0] { + if yyq1727[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1687 := z.EncBinary() - _ = yym1687 + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1684 || yy2arr1684 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1684[1] { - yym1689 := z.EncBinary() - _ = yym1689 + if yyq1727[1] { + yym1732 := z.EncBinary() + _ = yym1732 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -22177,54 +22823,54 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1684[1] { + if yyq1727[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1690 := z.EncBinary() - _ = yym1690 + yym1733 := z.EncBinary() + _ = yym1733 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1684 || yy2arr1684 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1684[2] { - yy1692 := &x.ListMeta - yym1693 := z.EncBinary() - _ = yym1693 + if yyq1727[2] { + yy1735 := &x.ListMeta + yym1736 := z.EncBinary() + _ = yym1736 if false { - } else if z.HasExtensions() && z.EncExt(yy1692) { + } else if z.HasExtensions() && z.EncExt(yy1735) { } else { - z.EncFallback(yy1692) + z.EncFallback(yy1735) } } else { r.EncodeNil() } } else { - if yyq1684[2] { + if yyq1727[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1694 := &x.ListMeta - yym1695 := z.EncBinary() - _ = yym1695 + yy1737 := &x.ListMeta + yym1738 := z.EncBinary() + _ = yym1738 if false { - } else if z.HasExtensions() && z.EncExt(yy1694) { + } else if z.HasExtensions() && z.EncExt(yy1737) { } else { - z.EncFallback(yy1694) + z.EncFallback(yy1737) } } } - if yyr1684 || yy2arr1684 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1697 := z.EncBinary() - _ = yym1697 + yym1740 := z.EncBinary() + _ = yym1740 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -22237,15 +22883,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1698 := z.EncBinary() - _ = yym1698 + yym1741 := z.EncBinary() + _ = yym1741 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr1684 || yy2arr1684 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22258,25 +22904,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1699 := z.DecBinary() - _ = yym1699 + yym1742 := z.DecBinary() + _ = yym1742 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1700 := r.ContainerType() - if yyct1700 == codecSelferValueTypeMap1234 { - yyl1700 := r.ReadMapStart() - if yyl1700 == 0 { + yyct1743 := r.ContainerType() + if yyct1743 == codecSelferValueTypeMap1234 { + yyl1743 := r.ReadMapStart() + if yyl1743 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1700, d) + x.codecDecodeSelfFromMap(yyl1743, d) } - } else if yyct1700 == codecSelferValueTypeArray1234 { - yyl1700 := r.ReadArrayStart() - if yyl1700 == 0 { + } else if yyct1743 == codecSelferValueTypeArray1234 { + yyl1743 := r.ReadArrayStart() + if yyl1743 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1700, d) + x.codecDecodeSelfFromArray(yyl1743, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22288,12 +22934,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1701Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1701Slc - var yyhl1701 bool = l >= 0 - for yyj1701 := 0; ; yyj1701++ { - if yyhl1701 { - if yyj1701 >= l { + var yys1744Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1744Slc + var yyhl1744 bool = l >= 0 + for yyj1744 := 0; ; yyj1744++ { + if yyhl1744 { + if yyj1744 >= l { break } } else { @@ -22302,10 +22948,10 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1701Slc = r.DecodeBytes(yys1701Slc, true, true) - yys1701 := string(yys1701Slc) + yys1744Slc = r.DecodeBytes(yys1744Slc, true, true) + yys1744 := string(yys1744Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1701 { + switch yys1744 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -22322,31 +22968,31 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1704 := &x.ListMeta - yym1705 := z.DecBinary() - _ = yym1705 + yyv1747 := &x.ListMeta + yym1748 := z.DecBinary() + _ = yym1748 if false { - } else if z.HasExtensions() && z.DecExt(yyv1704) { + } else if z.HasExtensions() && z.DecExt(yyv1747) { } else { - z.DecFallback(yyv1704, false) + z.DecFallback(yyv1747, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1706 := &x.Items - yym1707 := z.DecBinary() - _ = yym1707 + yyv1749 := &x.Items + yym1750 := z.DecBinary() + _ = yym1750 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1706), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1749), d) } } default: - z.DecStructFieldNotFound(-1, yys1701) - } // end switch yys1701 - } // end for yyj1701 + z.DecStructFieldNotFound(-1, yys1744) + } // end switch yys1744 + } // end for yyj1744 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22354,16 +23000,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1708 int - var yyb1708 bool - var yyhl1708 bool = l >= 0 - yyj1708++ - if yyhl1708 { - yyb1708 = yyj1708 > l + var yyj1751 int + var yyb1751 bool + var yyhl1751 bool = l >= 0 + yyj1751++ + if yyhl1751 { + yyb1751 = yyj1751 > l } else { - yyb1708 = r.CheckBreak() + yyb1751 = r.CheckBreak() } - if yyb1708 { + if yyb1751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22373,13 +23019,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj1708++ - if yyhl1708 { - yyb1708 = yyj1708 > l + yyj1751++ + if yyhl1751 { + yyb1751 = yyj1751 > l } else { - yyb1708 = r.CheckBreak() + yyb1751 = r.CheckBreak() } - if yyb1708 { + if yyb1751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22389,13 +23035,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj1708++ - if yyhl1708 { - yyb1708 = yyj1708 > l + yyj1751++ + if yyhl1751 { + yyb1751 = yyj1751 > l } else { - yyb1708 = r.CheckBreak() + yyb1751 = r.CheckBreak() } - if yyb1708 { + if yyb1751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22403,22 +23049,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1711 := &x.ListMeta - yym1712 := z.DecBinary() - _ = yym1712 + yyv1754 := &x.ListMeta + yym1755 := z.DecBinary() + _ = yym1755 if false { - } else if z.HasExtensions() && z.DecExt(yyv1711) { + } else if z.HasExtensions() && z.DecExt(yyv1754) { } else { - z.DecFallback(yyv1711, false) + z.DecFallback(yyv1754, false) } } - yyj1708++ - if yyhl1708 { - yyb1708 = yyj1708 > l + yyj1751++ + if yyhl1751 { + yyb1751 = yyj1751 > l } else { - yyb1708 = r.CheckBreak() + yyb1751 = r.CheckBreak() } - if yyb1708 { + if yyb1751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22426,26 +23072,26 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1713 := &x.Items - yym1714 := z.DecBinary() - _ = yym1714 + yyv1756 := &x.Items + yym1757 := z.DecBinary() + _ = yym1757 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv1713), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv1756), d) } } for { - yyj1708++ - if yyhl1708 { - yyb1708 = yyj1708 > l + yyj1751++ + if yyhl1751 { + yyb1751 = yyj1751 > l } else { - yyb1708 = r.CheckBreak() + yyb1751 = r.CheckBreak() } - if yyb1708 { + if yyb1751 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1708-1, "") + z.DecStructFieldNotFound(yyj1751-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22457,75 +23103,75 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1715 := z.EncBinary() - _ = yym1715 + yym1758 := z.EncBinary() + _ = yym1758 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1716 := !z.EncBinary() - yy2arr1716 := z.EncBasicHandle().StructToArray - var yyq1716 [3]bool - _, _, _ = yysep1716, yyq1716, yy2arr1716 - const yyr1716 bool = false - yyq1716[0] = x.Replicas != nil - yyq1716[1] = len(x.Selector) != 0 - yyq1716[2] = x.Template != nil - var yynn1716 int - if yyr1716 || yy2arr1716 { + yysep1759 := !z.EncBinary() + yy2arr1759 := z.EncBasicHandle().StructToArray + var yyq1759 [3]bool + _, _, _ = yysep1759, yyq1759, yy2arr1759 + const yyr1759 bool = false + yyq1759[0] = x.Replicas != nil + yyq1759[1] = len(x.Selector) != 0 + yyq1759[2] = x.Template != nil + var yynn1759 int + if yyr1759 || yy2arr1759 { r.EncodeArrayStart(3) } else { - yynn1716 = 0 - for _, b := range yyq1716 { + yynn1759 = 0 + for _, b := range yyq1759 { if b { - yynn1716++ + yynn1759++ } } - r.EncodeMapStart(yynn1716) - yynn1716 = 0 + r.EncodeMapStart(yynn1759) + yynn1759 = 0 } - if yyr1716 || yy2arr1716 { + if yyr1759 || yy2arr1759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1716[0] { + if yyq1759[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1718 := *x.Replicas - yym1719 := z.EncBinary() - _ = yym1719 + yy1761 := *x.Replicas + yym1762 := z.EncBinary() + _ = yym1762 if false { } else { - r.EncodeInt(int64(yy1718)) + r.EncodeInt(int64(yy1761)) } } } else { r.EncodeNil() } } else { - if yyq1716[0] { + if yyq1759[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1720 := *x.Replicas - yym1721 := z.EncBinary() - _ = yym1721 + yy1763 := *x.Replicas + yym1764 := z.EncBinary() + _ = yym1764 if false { } else { - r.EncodeInt(int64(yy1720)) + r.EncodeInt(int64(yy1763)) } } } } - if yyr1716 || yy2arr1716 { + if yyr1759 || yy2arr1759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1716[1] { + if yyq1759[1] { if x.Selector == nil { r.EncodeNil() } else { - yym1723 := z.EncBinary() - _ = yym1723 + yym1766 := z.EncBinary() + _ = yym1766 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -22535,15 +23181,15 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1716[1] { + if yyq1759[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1724 := z.EncBinary() - _ = yym1724 + yym1767 := z.EncBinary() + _ = yym1767 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -22551,9 +23197,9 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1716 || yy2arr1716 { + if yyr1759 || yy2arr1759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1716[2] { + if yyq1759[2] { if x.Template == nil { r.EncodeNil() } else { @@ -22563,7 +23209,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1716[2] { + if yyq1759[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22574,7 +23220,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1716 || yy2arr1716 { + if yyr1759 || yy2arr1759 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22587,25 +23233,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1726 := z.DecBinary() - _ = yym1726 + yym1769 := z.DecBinary() + _ = yym1769 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1727 := r.ContainerType() - if yyct1727 == codecSelferValueTypeMap1234 { - yyl1727 := r.ReadMapStart() - if yyl1727 == 0 { + yyct1770 := r.ContainerType() + if yyct1770 == codecSelferValueTypeMap1234 { + yyl1770 := r.ReadMapStart() + if yyl1770 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1727, d) + x.codecDecodeSelfFromMap(yyl1770, d) } - } else if yyct1727 == codecSelferValueTypeArray1234 { - yyl1727 := r.ReadArrayStart() - if yyl1727 == 0 { + } else if yyct1770 == codecSelferValueTypeArray1234 { + yyl1770 := r.ReadArrayStart() + if yyl1770 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1727, d) + x.codecDecodeSelfFromArray(yyl1770, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22617,12 +23263,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1728Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1728Slc - var yyhl1728 bool = l >= 0 - for yyj1728 := 0; ; yyj1728++ { - if yyhl1728 { - if yyj1728 >= l { + var yys1771Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1771Slc + var yyhl1771 bool = l >= 0 + for yyj1771 := 0; ; yyj1771++ { + if yyhl1771 { + if yyj1771 >= l { break } } else { @@ -22631,10 +23277,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1728Slc = r.DecodeBytes(yys1728Slc, true, true) - yys1728 := string(yys1728Slc) + yys1771Slc = r.DecodeBytes(yys1771Slc, true, true) + yys1771 := string(yys1771Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1728 { + switch yys1771 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -22644,8 +23290,8 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Replicas == nil { x.Replicas = new(int32) } - yym1730 := z.DecBinary() - _ = yym1730 + yym1773 := z.DecBinary() + _ = yym1773 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -22655,12 +23301,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1731 := &x.Selector - yym1732 := z.DecBinary() - _ = yym1732 + yyv1774 := &x.Selector + yym1775 := z.DecBinary() + _ = yym1775 if false { } else { - z.F.DecMapStringStringX(yyv1731, false, d) + z.F.DecMapStringStringX(yyv1774, false, d) } } case "template": @@ -22675,9 +23321,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1728) - } // end switch yys1728 - } // end for yyj1728 + z.DecStructFieldNotFound(-1, yys1771) + } // end switch yys1771 + } // end for yyj1771 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22685,16 +23331,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1734 int - var yyb1734 bool - var yyhl1734 bool = l >= 0 - yyj1734++ - if yyhl1734 { - yyb1734 = yyj1734 > l + var yyj1777 int + var yyb1777 bool + var yyhl1777 bool = l >= 0 + yyj1777++ + if yyhl1777 { + yyb1777 = yyj1777 > l } else { - yyb1734 = r.CheckBreak() + yyb1777 = r.CheckBreak() } - if yyb1734 { + if yyb1777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22707,20 +23353,20 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Replicas == nil { x.Replicas = new(int32) } - yym1736 := z.DecBinary() - _ = yym1736 + yym1779 := z.DecBinary() + _ = yym1779 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1734++ - if yyhl1734 { - yyb1734 = yyj1734 > l + yyj1777++ + if yyhl1777 { + yyb1777 = yyj1777 > l } else { - yyb1734 = r.CheckBreak() + yyb1777 = r.CheckBreak() } - if yyb1734 { + if yyb1777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22728,21 +23374,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1737 := &x.Selector - yym1738 := z.DecBinary() - _ = yym1738 + yyv1780 := &x.Selector + yym1781 := z.DecBinary() + _ = yym1781 if false { } else { - z.F.DecMapStringStringX(yyv1737, false, d) + z.F.DecMapStringStringX(yyv1780, false, d) } } - yyj1734++ - if yyhl1734 { - yyb1734 = yyj1734 > l + yyj1777++ + if yyhl1777 { + yyb1777 = yyj1777 > l } else { - yyb1734 = r.CheckBreak() + yyb1777 = r.CheckBreak() } - if yyb1734 { + if yyb1777 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22758,17 +23404,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj1734++ - if yyhl1734 { - yyb1734 = yyj1734 > l + yyj1777++ + if yyhl1777 { + yyb1777 = yyj1777 > l } else { - yyb1734 = r.CheckBreak() + yyb1777 = r.CheckBreak() } - if yyb1734 { + if yyb1777 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1734-1, "") + z.DecStructFieldNotFound(yyj1777-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22780,34 +23426,34 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1740 := z.EncBinary() - _ = yym1740 + yym1783 := z.EncBinary() + _ = yym1783 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1741 := !z.EncBinary() - yy2arr1741 := z.EncBasicHandle().StructToArray - var yyq1741 [2]bool - _, _, _ = yysep1741, yyq1741, yy2arr1741 - const yyr1741 bool = false - yyq1741[1] = x.ObservedGeneration != 0 - var yynn1741 int - if yyr1741 || yy2arr1741 { + yysep1784 := !z.EncBinary() + yy2arr1784 := z.EncBasicHandle().StructToArray + var yyq1784 [2]bool + _, _, _ = yysep1784, yyq1784, yy2arr1784 + const yyr1784 bool = false + yyq1784[1] = x.ObservedGeneration != 0 + var yynn1784 int + if yyr1784 || yy2arr1784 { r.EncodeArrayStart(2) } else { - yynn1741 = 1 - for _, b := range yyq1741 { + yynn1784 = 1 + for _, b := range yyq1784 { if b { - yynn1741++ + yynn1784++ } } - r.EncodeMapStart(yynn1741) - yynn1741 = 0 + r.EncodeMapStart(yynn1784) + yynn1784 = 0 } - if yyr1741 || yy2arr1741 { + if yyr1784 || yy2arr1784 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1743 := z.EncBinary() - _ = yym1743 + yym1786 := z.EncBinary() + _ = yym1786 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -22816,18 +23462,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1744 := z.EncBinary() - _ = yym1744 + yym1787 := z.EncBinary() + _ = yym1787 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1741 || yy2arr1741 { + if yyr1784 || yy2arr1784 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1741[1] { - yym1746 := z.EncBinary() - _ = yym1746 + if yyq1784[1] { + yym1789 := z.EncBinary() + _ = yym1789 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -22836,19 +23482,19 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1741[1] { + if yyq1784[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1747 := z.EncBinary() - _ = yym1747 + yym1790 := z.EncBinary() + _ = yym1790 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1741 || yy2arr1741 { + if yyr1784 || yy2arr1784 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22861,25 +23507,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1748 := z.DecBinary() - _ = yym1748 + yym1791 := z.DecBinary() + _ = yym1791 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1749 := r.ContainerType() - if yyct1749 == codecSelferValueTypeMap1234 { - yyl1749 := r.ReadMapStart() - if yyl1749 == 0 { + yyct1792 := r.ContainerType() + if yyct1792 == codecSelferValueTypeMap1234 { + yyl1792 := r.ReadMapStart() + if yyl1792 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1749, d) + x.codecDecodeSelfFromMap(yyl1792, d) } - } else if yyct1749 == codecSelferValueTypeArray1234 { - yyl1749 := r.ReadArrayStart() - if yyl1749 == 0 { + } else if yyct1792 == codecSelferValueTypeArray1234 { + yyl1792 := r.ReadArrayStart() + if yyl1792 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1749, d) + x.codecDecodeSelfFromArray(yyl1792, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22891,12 +23537,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1750Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1750Slc - var yyhl1750 bool = l >= 0 - for yyj1750 := 0; ; yyj1750++ { - if yyhl1750 { - if yyj1750 >= l { + var yys1793Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1793Slc + var yyhl1793 bool = l >= 0 + for yyj1793 := 0; ; yyj1793++ { + if yyhl1793 { + if yyj1793 >= l { break } } else { @@ -22905,10 +23551,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1750Slc = r.DecodeBytes(yys1750Slc, true, true) - yys1750 := string(yys1750Slc) + yys1793Slc = r.DecodeBytes(yys1793Slc, true, true) + yys1793 := string(yys1793Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1750 { + switch yys1793 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -22922,9 +23568,9 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1750) - } // end switch yys1750 - } // end for yyj1750 + z.DecStructFieldNotFound(-1, yys1793) + } // end switch yys1793 + } // end for yyj1793 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22932,16 +23578,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1753 int - var yyb1753 bool - var yyhl1753 bool = l >= 0 - yyj1753++ - if yyhl1753 { - yyb1753 = yyj1753 > l + var yyj1796 int + var yyb1796 bool + var yyhl1796 bool = l >= 0 + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb1753 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb1753 { + if yyb1796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22951,13 +23597,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1753++ - if yyhl1753 { - yyb1753 = yyj1753 > l + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb1753 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb1753 { + if yyb1796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22968,17 +23614,17 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj1753++ - if yyhl1753 { - yyb1753 = yyj1753 > l + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb1753 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb1753 { + if yyb1796 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1753-1, "") + z.DecStructFieldNotFound(yyj1796-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22990,39 +23636,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1756 := z.EncBinary() - _ = yym1756 + yym1799 := z.EncBinary() + _ = yym1799 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1757 := !z.EncBinary() - yy2arr1757 := z.EncBasicHandle().StructToArray - var yyq1757 [5]bool - _, _, _ = yysep1757, yyq1757, yy2arr1757 - const yyr1757 bool = false - yyq1757[0] = x.Kind != "" - yyq1757[1] = x.APIVersion != "" - yyq1757[2] = true - yyq1757[3] = true - yyq1757[4] = true - var yynn1757 int - if yyr1757 || yy2arr1757 { + yysep1800 := !z.EncBinary() + yy2arr1800 := z.EncBasicHandle().StructToArray + var yyq1800 [5]bool + _, _, _ = yysep1800, yyq1800, yy2arr1800 + const yyr1800 bool = false + yyq1800[0] = x.Kind != "" + yyq1800[1] = x.APIVersion != "" + yyq1800[2] = true + yyq1800[3] = true + yyq1800[4] = true + var yynn1800 int + if yyr1800 || yy2arr1800 { r.EncodeArrayStart(5) } else { - yynn1757 = 0 - for _, b := range yyq1757 { + yynn1800 = 0 + for _, b := range yyq1800 { if b { - yynn1757++ + yynn1800++ } } - r.EncodeMapStart(yynn1757) - yynn1757 = 0 + r.EncodeMapStart(yynn1800) + yynn1800 = 0 } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[0] { - yym1759 := z.EncBinary() - _ = yym1759 + if yyq1800[0] { + yym1802 := z.EncBinary() + _ = yym1802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -23031,23 +23677,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1757[0] { + if yyq1800[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1760 := z.EncBinary() - _ = yym1760 + yym1803 := z.EncBinary() + _ = yym1803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[1] { - yym1762 := z.EncBinary() - _ = yym1762 + if yyq1800[1] { + yym1805 := z.EncBinary() + _ = yym1805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -23056,70 +23702,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1757[1] { + if yyq1800[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1763 := z.EncBinary() - _ = yym1763 + yym1806 := z.EncBinary() + _ = yym1806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[2] { - yy1765 := &x.ObjectMeta - yy1765.CodecEncodeSelf(e) + if yyq1800[2] { + yy1808 := &x.ObjectMeta + yy1808.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1757[2] { + if yyq1800[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1766 := &x.ObjectMeta - yy1766.CodecEncodeSelf(e) + yy1809 := &x.ObjectMeta + yy1809.CodecEncodeSelf(e) } } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[3] { - yy1768 := &x.Spec - yy1768.CodecEncodeSelf(e) + if yyq1800[3] { + yy1811 := &x.Spec + yy1811.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1757[3] { + if yyq1800[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1769 := &x.Spec - yy1769.CodecEncodeSelf(e) + yy1812 := &x.Spec + yy1812.CodecEncodeSelf(e) } } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[4] { - yy1771 := &x.Status - yy1771.CodecEncodeSelf(e) + if yyq1800[4] { + yy1814 := &x.Status + yy1814.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1757[4] { + if yyq1800[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1772 := &x.Status - yy1772.CodecEncodeSelf(e) + yy1815 := &x.Status + yy1815.CodecEncodeSelf(e) } } - if yyr1757 || yy2arr1757 { + if yyr1800 || yy2arr1800 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23132,25 +23778,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1773 := z.DecBinary() - _ = yym1773 + yym1816 := z.DecBinary() + _ = yym1816 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1774 := r.ContainerType() - if yyct1774 == codecSelferValueTypeMap1234 { - yyl1774 := r.ReadMapStart() - if yyl1774 == 0 { + yyct1817 := r.ContainerType() + if yyct1817 == codecSelferValueTypeMap1234 { + yyl1817 := r.ReadMapStart() + if yyl1817 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1774, d) + x.codecDecodeSelfFromMap(yyl1817, d) } - } else if yyct1774 == codecSelferValueTypeArray1234 { - yyl1774 := r.ReadArrayStart() - if yyl1774 == 0 { + } else if yyct1817 == codecSelferValueTypeArray1234 { + yyl1817 := r.ReadArrayStart() + if yyl1817 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1774, d) + x.codecDecodeSelfFromArray(yyl1817, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23162,12 +23808,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1775Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1775Slc - var yyhl1775 bool = l >= 0 - for yyj1775 := 0; ; yyj1775++ { - if yyhl1775 { - if yyj1775 >= l { + var yys1818Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1818Slc + var yyhl1818 bool = l >= 0 + for yyj1818 := 0; ; yyj1818++ { + if yyhl1818 { + if yyj1818 >= l { break } } else { @@ -23176,10 +23822,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1775Slc = r.DecodeBytes(yys1775Slc, true, true) - yys1775 := string(yys1775Slc) + yys1818Slc = r.DecodeBytes(yys1818Slc, true, true) + yys1818 := string(yys1818Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1775 { + switch yys1818 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -23196,27 +23842,27 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1778 := &x.ObjectMeta - yyv1778.CodecDecodeSelf(d) + yyv1821 := &x.ObjectMeta + yyv1821.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1779 := &x.Spec - yyv1779.CodecDecodeSelf(d) + yyv1822 := &x.Spec + yyv1822.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv1780 := &x.Status - yyv1780.CodecDecodeSelf(d) + yyv1823 := &x.Status + yyv1823.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1775) - } // end switch yys1775 - } // end for yyj1775 + z.DecStructFieldNotFound(-1, yys1818) + } // end switch yys1818 + } // end for yyj1818 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23224,16 +23870,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1781 int - var yyb1781 bool - var yyhl1781 bool = l >= 0 - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + var yyj1824 int + var yyb1824 bool + var yyhl1824 bool = l >= 0 + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23243,13 +23889,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23259,13 +23905,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23273,16 +23919,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1784 := &x.ObjectMeta - yyv1784.CodecDecodeSelf(d) + yyv1827 := &x.ObjectMeta + yyv1827.CodecDecodeSelf(d) } - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23290,16 +23936,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv1785 := &x.Spec - yyv1785.CodecDecodeSelf(d) + yyv1828 := &x.Spec + yyv1828.CodecDecodeSelf(d) } - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23307,21 +23953,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv1786 := &x.Status - yyv1786.CodecDecodeSelf(d) + yyv1829 := &x.Status + yyv1829.CodecDecodeSelf(d) } for { - yyj1781++ - if yyhl1781 { - yyb1781 = yyj1781 > l + yyj1824++ + if yyhl1824 { + yyb1824 = yyj1824 > l } else { - yyb1781 = r.CheckBreak() + yyb1824 = r.CheckBreak() } - if yyb1781 { + if yyb1824 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1781-1, "") + z.DecStructFieldNotFound(yyj1824-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23333,37 +23979,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1787 := z.EncBinary() - _ = yym1787 + yym1830 := z.EncBinary() + _ = yym1830 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] = x.Kind != "" - yyq1788[1] = x.APIVersion != "" - yyq1788[2] = true - var yynn1788 int - if yyr1788 || yy2arr1788 { + yysep1831 := !z.EncBinary() + yy2arr1831 := z.EncBasicHandle().StructToArray + var yyq1831 [4]bool + _, _, _ = yysep1831, yyq1831, yy2arr1831 + const yyr1831 bool = false + yyq1831[0] = x.Kind != "" + yyq1831[1] = x.APIVersion != "" + yyq1831[2] = true + var yynn1831 int + if yyr1831 || yy2arr1831 { r.EncodeArrayStart(4) } else { - yynn1788 = 1 - for _, b := range yyq1788 { + yynn1831 = 1 + for _, b := range yyq1831 { if b { - yynn1788++ + yynn1831++ } } - r.EncodeMapStart(yynn1788) - yynn1788 = 0 + r.EncodeMapStart(yynn1831) + yynn1831 = 0 } - if yyr1788 || yy2arr1788 { + if yyr1831 || yy2arr1831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1788[0] { - yym1790 := z.EncBinary() - _ = yym1790 + if yyq1831[0] { + yym1833 := z.EncBinary() + _ = yym1833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -23372,23 +24018,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1788[0] { + if yyq1831[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1791 := z.EncBinary() - _ = yym1791 + yym1834 := z.EncBinary() + _ = yym1834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1788 || yy2arr1788 { + if yyr1831 || yy2arr1831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1788[1] { - yym1793 := z.EncBinary() - _ = yym1793 + if yyq1831[1] { + yym1836 := z.EncBinary() + _ = yym1836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -23397,54 +24043,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1788[1] { + if yyq1831[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1794 := z.EncBinary() - _ = yym1794 + yym1837 := z.EncBinary() + _ = yym1837 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1788 || yy2arr1788 { + if yyr1831 || yy2arr1831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1788[2] { - yy1796 := &x.ListMeta - yym1797 := z.EncBinary() - _ = yym1797 + if yyq1831[2] { + yy1839 := &x.ListMeta + yym1840 := z.EncBinary() + _ = yym1840 if false { - } else if z.HasExtensions() && z.EncExt(yy1796) { + } else if z.HasExtensions() && z.EncExt(yy1839) { } else { - z.EncFallback(yy1796) + z.EncFallback(yy1839) } } else { r.EncodeNil() } } else { - if yyq1788[2] { + if yyq1831[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1798 := &x.ListMeta - yym1799 := z.EncBinary() - _ = yym1799 + yy1841 := &x.ListMeta + yym1842 := z.EncBinary() + _ = yym1842 if false { - } else if z.HasExtensions() && z.EncExt(yy1798) { + } else if z.HasExtensions() && z.EncExt(yy1841) { } else { - z.EncFallback(yy1798) + z.EncFallback(yy1841) } } } - if yyr1788 || yy2arr1788 { + if yyr1831 || yy2arr1831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1801 := z.EncBinary() - _ = yym1801 + yym1844 := z.EncBinary() + _ = yym1844 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -23457,15 +24103,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1802 := z.EncBinary() - _ = yym1802 + yym1845 := z.EncBinary() + _ = yym1845 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr1788 || yy2arr1788 { + if yyr1831 || yy2arr1831 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23478,25 +24124,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1803 := z.DecBinary() - _ = yym1803 + yym1846 := z.DecBinary() + _ = yym1846 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1804 := r.ContainerType() - if yyct1804 == codecSelferValueTypeMap1234 { - yyl1804 := r.ReadMapStart() - if yyl1804 == 0 { + yyct1847 := r.ContainerType() + if yyct1847 == codecSelferValueTypeMap1234 { + yyl1847 := r.ReadMapStart() + if yyl1847 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1804, d) + x.codecDecodeSelfFromMap(yyl1847, d) } - } else if yyct1804 == codecSelferValueTypeArray1234 { - yyl1804 := r.ReadArrayStart() - if yyl1804 == 0 { + } else if yyct1847 == codecSelferValueTypeArray1234 { + yyl1847 := r.ReadArrayStart() + if yyl1847 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1804, d) + x.codecDecodeSelfFromArray(yyl1847, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23508,12 +24154,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1805Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1805Slc - var yyhl1805 bool = l >= 0 - for yyj1805 := 0; ; yyj1805++ { - if yyhl1805 { - if yyj1805 >= l { + var yys1848Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1848Slc + var yyhl1848 bool = l >= 0 + for yyj1848 := 0; ; yyj1848++ { + if yyhl1848 { + if yyj1848 >= l { break } } else { @@ -23522,10 +24168,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1805Slc = r.DecodeBytes(yys1805Slc, true, true) - yys1805 := string(yys1805Slc) + yys1848Slc = r.DecodeBytes(yys1848Slc, true, true) + yys1848 := string(yys1848Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1805 { + switch yys1848 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -23542,31 +24188,31 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1808 := &x.ListMeta - yym1809 := z.DecBinary() - _ = yym1809 + yyv1851 := &x.ListMeta + yym1852 := z.DecBinary() + _ = yym1852 if false { - } else if z.HasExtensions() && z.DecExt(yyv1808) { + } else if z.HasExtensions() && z.DecExt(yyv1851) { } else { - z.DecFallback(yyv1808, false) + z.DecFallback(yyv1851, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1810 := &x.Items - yym1811 := z.DecBinary() - _ = yym1811 + yyv1853 := &x.Items + yym1854 := z.DecBinary() + _ = yym1854 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv1810), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv1853), d) } } default: - z.DecStructFieldNotFound(-1, yys1805) - } // end switch yys1805 - } // end for yyj1805 + z.DecStructFieldNotFound(-1, yys1848) + } // end switch yys1848 + } // end for yyj1848 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23574,16 +24220,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1812 int - var yyb1812 bool - var yyhl1812 bool = l >= 0 - yyj1812++ - if yyhl1812 { - yyb1812 = yyj1812 > l + var yyj1855 int + var yyb1855 bool + var yyhl1855 bool = l >= 0 + yyj1855++ + if yyhl1855 { + yyb1855 = yyj1855 > l } else { - yyb1812 = r.CheckBreak() + yyb1855 = r.CheckBreak() } - if yyb1812 { + if yyb1855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23593,13 +24239,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj1812++ - if yyhl1812 { - yyb1812 = yyj1812 > l + yyj1855++ + if yyhl1855 { + yyb1855 = yyj1855 > l } else { - yyb1812 = r.CheckBreak() + yyb1855 = r.CheckBreak() } - if yyb1812 { + if yyb1855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23609,13 +24255,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj1812++ - if yyhl1812 { - yyb1812 = yyj1812 > l + yyj1855++ + if yyhl1855 { + yyb1855 = yyj1855 > l } else { - yyb1812 = r.CheckBreak() + yyb1855 = r.CheckBreak() } - if yyb1812 { + if yyb1855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23623,22 +24269,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1815 := &x.ListMeta - yym1816 := z.DecBinary() - _ = yym1816 + yyv1858 := &x.ListMeta + yym1859 := z.DecBinary() + _ = yym1859 if false { - } else if z.HasExtensions() && z.DecExt(yyv1815) { + } else if z.HasExtensions() && z.DecExt(yyv1858) { } else { - z.DecFallback(yyv1815, false) + z.DecFallback(yyv1858, false) } } - yyj1812++ - if yyhl1812 { - yyb1812 = yyj1812 > l + yyj1855++ + if yyhl1855 { + yyb1855 = yyj1855 > l } else { - yyb1812 = r.CheckBreak() + yyb1855 = r.CheckBreak() } - if yyb1812 { + if yyb1855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23646,26 +24292,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1817 := &x.Items - yym1818 := z.DecBinary() - _ = yym1818 + yyv1860 := &x.Items + yym1861 := z.DecBinary() + _ = yym1861 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv1817), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv1860), d) } } for { - yyj1812++ - if yyhl1812 { - yyb1812 = yyj1812 > l + yyj1855++ + if yyhl1855 { + yyb1855 = yyj1855 > l } else { - yyb1812 = r.CheckBreak() + yyb1855 = r.CheckBreak() } - if yyb1812 { + if yyb1855 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1812-1, "") + z.DecStructFieldNotFound(yyj1855-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23674,8 +24320,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1819 := z.EncBinary() - _ = yym1819 + yym1862 := z.EncBinary() + _ = yym1862 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23687,8 +24333,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1820 := z.DecBinary() - _ = yym1820 + yym1863 := z.DecBinary() + _ = yym1863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23700,8 +24346,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1821 := z.EncBinary() - _ = yym1821 + yym1864 := z.EncBinary() + _ = yym1864 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23713,8 +24359,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1822 := z.DecBinary() - _ = yym1822 + yym1865 := z.DecBinary() + _ = yym1865 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23729,48 +24375,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1823 := z.EncBinary() - _ = yym1823 + yym1866 := z.EncBinary() + _ = yym1866 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1824 := !z.EncBinary() - yy2arr1824 := z.EncBasicHandle().StructToArray - var yyq1824 [1]bool - _, _, _ = yysep1824, yyq1824, yy2arr1824 - const yyr1824 bool = false - yyq1824[0] = true - var yynn1824 int - if yyr1824 || yy2arr1824 { + yysep1867 := !z.EncBinary() + yy2arr1867 := z.EncBasicHandle().StructToArray + var yyq1867 [1]bool + _, _, _ = yysep1867, yyq1867, yy2arr1867 + const yyr1867 bool = false + yyq1867[0] = true + var yynn1867 int + if yyr1867 || yy2arr1867 { r.EncodeArrayStart(1) } else { - yynn1824 = 0 - for _, b := range yyq1824 { + yynn1867 = 0 + for _, b := range yyq1867 { if b { - yynn1824++ + yynn1867++ } } - r.EncodeMapStart(yynn1824) - yynn1824 = 0 + r.EncodeMapStart(yynn1867) + yynn1867 = 0 } - if yyr1824 || yy2arr1824 { + if yyr1867 || yy2arr1867 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1824[0] { - yy1826 := &x.LoadBalancer - yy1826.CodecEncodeSelf(e) + if yyq1867[0] { + yy1869 := &x.LoadBalancer + yy1869.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1824[0] { + if yyq1867[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1827 := &x.LoadBalancer - yy1827.CodecEncodeSelf(e) + yy1870 := &x.LoadBalancer + yy1870.CodecEncodeSelf(e) } } - if yyr1824 || yy2arr1824 { + if yyr1867 || yy2arr1867 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23783,25 +24429,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1828 := z.DecBinary() - _ = yym1828 + yym1871 := z.DecBinary() + _ = yym1871 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1829 := r.ContainerType() - if yyct1829 == codecSelferValueTypeMap1234 { - yyl1829 := r.ReadMapStart() - if yyl1829 == 0 { + yyct1872 := r.ContainerType() + if yyct1872 == codecSelferValueTypeMap1234 { + yyl1872 := r.ReadMapStart() + if yyl1872 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1829, d) + x.codecDecodeSelfFromMap(yyl1872, d) } - } else if yyct1829 == codecSelferValueTypeArray1234 { - yyl1829 := r.ReadArrayStart() - if yyl1829 == 0 { + } else if yyct1872 == codecSelferValueTypeArray1234 { + yyl1872 := r.ReadArrayStart() + if yyl1872 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1829, d) + x.codecDecodeSelfFromArray(yyl1872, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23813,12 +24459,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1830Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1830Slc - var yyhl1830 bool = l >= 0 - for yyj1830 := 0; ; yyj1830++ { - if yyhl1830 { - if yyj1830 >= l { + var yys1873Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1873Slc + var yyhl1873 bool = l >= 0 + for yyj1873 := 0; ; yyj1873++ { + if yyhl1873 { + if yyj1873 >= l { break } } else { @@ -23827,21 +24473,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1830Slc = r.DecodeBytes(yys1830Slc, true, true) - yys1830 := string(yys1830Slc) + yys1873Slc = r.DecodeBytes(yys1873Slc, true, true) + yys1873 := string(yys1873Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1830 { + switch yys1873 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv1831 := &x.LoadBalancer - yyv1831.CodecDecodeSelf(d) + yyv1874 := &x.LoadBalancer + yyv1874.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1830) - } // end switch yys1830 - } // end for yyj1830 + z.DecStructFieldNotFound(-1, yys1873) + } // end switch yys1873 + } // end for yyj1873 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23849,16 +24495,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1832 int - var yyb1832 bool - var yyhl1832 bool = l >= 0 - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + var yyj1875 int + var yyb1875 bool + var yyhl1875 bool = l >= 0 + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23866,21 +24512,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv1833 := &x.LoadBalancer - yyv1833.CodecDecodeSelf(d) + yyv1876 := &x.LoadBalancer + yyv1876.CodecDecodeSelf(d) } for { - yyj1832++ - if yyhl1832 { - yyb1832 = yyj1832 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1832 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1832 { + if yyb1875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1832-1, "") + z.DecStructFieldNotFound(yyj1875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23892,38 +24538,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1834 := z.EncBinary() - _ = yym1834 + yym1877 := z.EncBinary() + _ = yym1877 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1835 := !z.EncBinary() - yy2arr1835 := z.EncBasicHandle().StructToArray - var yyq1835 [1]bool - _, _, _ = yysep1835, yyq1835, yy2arr1835 - const yyr1835 bool = false - yyq1835[0] = len(x.Ingress) != 0 - var yynn1835 int - if yyr1835 || yy2arr1835 { + yysep1878 := !z.EncBinary() + yy2arr1878 := z.EncBasicHandle().StructToArray + var yyq1878 [1]bool + _, _, _ = yysep1878, yyq1878, yy2arr1878 + const yyr1878 bool = false + yyq1878[0] = len(x.Ingress) != 0 + var yynn1878 int + if yyr1878 || yy2arr1878 { r.EncodeArrayStart(1) } else { - yynn1835 = 0 - for _, b := range yyq1835 { + yynn1878 = 0 + for _, b := range yyq1878 { if b { - yynn1835++ + yynn1878++ } } - r.EncodeMapStart(yynn1835) - yynn1835 = 0 + r.EncodeMapStart(yynn1878) + yynn1878 = 0 } - if yyr1835 || yy2arr1835 { + if yyr1878 || yy2arr1878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1835[0] { + if yyq1878[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym1837 := z.EncBinary() - _ = yym1837 + yym1880 := z.EncBinary() + _ = yym1880 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -23933,15 +24579,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1835[0] { + if yyq1878[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1838 := z.EncBinary() - _ = yym1838 + yym1881 := z.EncBinary() + _ = yym1881 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -23949,7 +24595,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1835 || yy2arr1835 { + if yyr1878 || yy2arr1878 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23962,25 +24608,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1839 := z.DecBinary() - _ = yym1839 + yym1882 := z.DecBinary() + _ = yym1882 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1840 := r.ContainerType() - if yyct1840 == codecSelferValueTypeMap1234 { - yyl1840 := r.ReadMapStart() - if yyl1840 == 0 { + yyct1883 := r.ContainerType() + if yyct1883 == codecSelferValueTypeMap1234 { + yyl1883 := r.ReadMapStart() + if yyl1883 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1840, d) + x.codecDecodeSelfFromMap(yyl1883, d) } - } else if yyct1840 == codecSelferValueTypeArray1234 { - yyl1840 := r.ReadArrayStart() - if yyl1840 == 0 { + } else if yyct1883 == codecSelferValueTypeArray1234 { + yyl1883 := r.ReadArrayStart() + if yyl1883 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1840, d) + x.codecDecodeSelfFromArray(yyl1883, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23992,12 +24638,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1841Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1841Slc - var yyhl1841 bool = l >= 0 - for yyj1841 := 0; ; yyj1841++ { - if yyhl1841 { - if yyj1841 >= l { + var yys1884Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1884Slc + var yyhl1884 bool = l >= 0 + for yyj1884 := 0; ; yyj1884++ { + if yyhl1884 { + if yyj1884 >= l { break } } else { @@ -24006,26 +24652,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1841Slc = r.DecodeBytes(yys1841Slc, true, true) - yys1841 := string(yys1841Slc) + yys1884Slc = r.DecodeBytes(yys1884Slc, true, true) + yys1884 := string(yys1884Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1841 { + switch yys1884 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1842 := &x.Ingress - yym1843 := z.DecBinary() - _ = yym1843 + yyv1885 := &x.Ingress + yym1886 := z.DecBinary() + _ = yym1886 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1842), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1885), d) } } default: - z.DecStructFieldNotFound(-1, yys1841) - } // end switch yys1841 - } // end for yyj1841 + z.DecStructFieldNotFound(-1, yys1884) + } // end switch yys1884 + } // end for yyj1884 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24033,16 +24679,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1844 int - var yyb1844 bool - var yyhl1844 bool = l >= 0 - yyj1844++ - if yyhl1844 { - yyb1844 = yyj1844 > l + var yyj1887 int + var yyb1887 bool + var yyhl1887 bool = l >= 0 + yyj1887++ + if yyhl1887 { + yyb1887 = yyj1887 > l } else { - yyb1844 = r.CheckBreak() + yyb1887 = r.CheckBreak() } - if yyb1844 { + if yyb1887 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24050,26 +24696,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1845 := &x.Ingress - yym1846 := z.DecBinary() - _ = yym1846 + yyv1888 := &x.Ingress + yym1889 := z.DecBinary() + _ = yym1889 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1845), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv1888), d) } } for { - yyj1844++ - if yyhl1844 { - yyb1844 = yyj1844 > l + yyj1887++ + if yyhl1887 { + yyb1887 = yyj1887 > l } else { - yyb1844 = r.CheckBreak() + yyb1887 = r.CheckBreak() } - if yyb1844 { + if yyb1887 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1844-1, "") + z.DecStructFieldNotFound(yyj1887-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24081,36 +24727,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1847 := z.EncBinary() - _ = yym1847 + yym1890 := z.EncBinary() + _ = yym1890 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1848 := !z.EncBinary() - yy2arr1848 := z.EncBasicHandle().StructToArray - var yyq1848 [2]bool - _, _, _ = yysep1848, yyq1848, yy2arr1848 - const yyr1848 bool = false - yyq1848[0] = x.IP != "" - yyq1848[1] = x.Hostname != "" - var yynn1848 int - if yyr1848 || yy2arr1848 { + yysep1891 := !z.EncBinary() + yy2arr1891 := z.EncBasicHandle().StructToArray + var yyq1891 [2]bool + _, _, _ = yysep1891, yyq1891, yy2arr1891 + const yyr1891 bool = false + yyq1891[0] = x.IP != "" + yyq1891[1] = x.Hostname != "" + var yynn1891 int + if yyr1891 || yy2arr1891 { r.EncodeArrayStart(2) } else { - yynn1848 = 0 - for _, b := range yyq1848 { + yynn1891 = 0 + for _, b := range yyq1891 { if b { - yynn1848++ + yynn1891++ } } - r.EncodeMapStart(yynn1848) - yynn1848 = 0 + r.EncodeMapStart(yynn1891) + yynn1891 = 0 } - if yyr1848 || yy2arr1848 { + if yyr1891 || yy2arr1891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1848[0] { - yym1850 := z.EncBinary() - _ = yym1850 + if yyq1891[0] { + yym1893 := z.EncBinary() + _ = yym1893 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -24119,23 +24765,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1848[0] { + if yyq1891[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1851 := z.EncBinary() - _ = yym1851 + yym1894 := z.EncBinary() + _ = yym1894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr1848 || yy2arr1848 { + if yyr1891 || yy2arr1891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1848[1] { - yym1853 := z.EncBinary() - _ = yym1853 + if yyq1891[1] { + yym1896 := z.EncBinary() + _ = yym1896 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -24144,19 +24790,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1848[1] { + if yyq1891[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1854 := z.EncBinary() - _ = yym1854 + yym1897 := z.EncBinary() + _ = yym1897 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr1848 || yy2arr1848 { + if yyr1891 || yy2arr1891 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24169,25 +24815,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1855 := z.DecBinary() - _ = yym1855 + yym1898 := z.DecBinary() + _ = yym1898 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1856 := r.ContainerType() - if yyct1856 == codecSelferValueTypeMap1234 { - yyl1856 := r.ReadMapStart() - if yyl1856 == 0 { + yyct1899 := r.ContainerType() + if yyct1899 == codecSelferValueTypeMap1234 { + yyl1899 := r.ReadMapStart() + if yyl1899 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1856, d) + x.codecDecodeSelfFromMap(yyl1899, d) } - } else if yyct1856 == codecSelferValueTypeArray1234 { - yyl1856 := r.ReadArrayStart() - if yyl1856 == 0 { + } else if yyct1899 == codecSelferValueTypeArray1234 { + yyl1899 := r.ReadArrayStart() + if yyl1899 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1856, d) + x.codecDecodeSelfFromArray(yyl1899, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24199,12 +24845,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1857Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1857Slc - var yyhl1857 bool = l >= 0 - for yyj1857 := 0; ; yyj1857++ { - if yyhl1857 { - if yyj1857 >= l { + var yys1900Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1900Slc + var yyhl1900 bool = l >= 0 + for yyj1900 := 0; ; yyj1900++ { + if yyhl1900 { + if yyj1900 >= l { break } } else { @@ -24213,10 +24859,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1857Slc = r.DecodeBytes(yys1857Slc, true, true) - yys1857 := string(yys1857Slc) + yys1900Slc = r.DecodeBytes(yys1900Slc, true, true) + yys1900 := string(yys1900Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1857 { + switch yys1900 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -24230,9 +24876,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1857) - } // end switch yys1857 - } // end for yyj1857 + z.DecStructFieldNotFound(-1, yys1900) + } // end switch yys1900 + } // end for yyj1900 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24240,16 +24886,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1860 int - var yyb1860 bool - var yyhl1860 bool = l >= 0 - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + var yyj1903 int + var yyb1903 bool + var yyhl1903 bool = l >= 0 + yyj1903++ + if yyhl1903 { + yyb1903 = yyj1903 > l } else { - yyb1860 = r.CheckBreak() + yyb1903 = r.CheckBreak() } - if yyb1860 { + if yyb1903 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24259,13 +24905,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + yyj1903++ + if yyhl1903 { + yyb1903 = yyj1903 > l } else { - yyb1860 = r.CheckBreak() + yyb1903 = r.CheckBreak() } - if yyb1860 { + if yyb1903 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24276,17 +24922,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + yyj1903++ + if yyhl1903 { + yyb1903 = yyj1903 > l } else { - yyb1860 = r.CheckBreak() + yyb1903 = r.CheckBreak() } - if yyb1860 { + if yyb1903 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1860-1, "") + z.DecStructFieldNotFound(yyj1903-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24298,43 +24944,43 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1863 := z.EncBinary() - _ = yym1863 + yym1906 := z.EncBinary() + _ = yym1906 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1864 := !z.EncBinary() - yy2arr1864 := z.EncBasicHandle().StructToArray - var yyq1864 [8]bool - _, _, _ = yysep1864, yyq1864, yy2arr1864 - const yyr1864 bool = false - yyq1864[1] = len(x.Selector) != 0 - yyq1864[2] = x.ClusterIP != "" - yyq1864[3] = x.Type != "" - yyq1864[4] = len(x.ExternalIPs) != 0 - yyq1864[5] = len(x.DeprecatedPublicIPs) != 0 - yyq1864[6] = x.SessionAffinity != "" - yyq1864[7] = x.LoadBalancerIP != "" - var yynn1864 int - if yyr1864 || yy2arr1864 { + yysep1907 := !z.EncBinary() + yy2arr1907 := z.EncBasicHandle().StructToArray + var yyq1907 [8]bool + _, _, _ = yysep1907, yyq1907, yy2arr1907 + const yyr1907 bool = false + yyq1907[1] = len(x.Selector) != 0 + yyq1907[2] = x.ClusterIP != "" + yyq1907[3] = x.Type != "" + yyq1907[4] = len(x.ExternalIPs) != 0 + yyq1907[5] = len(x.DeprecatedPublicIPs) != 0 + yyq1907[6] = x.SessionAffinity != "" + yyq1907[7] = x.LoadBalancerIP != "" + var yynn1907 int + if yyr1907 || yy2arr1907 { r.EncodeArrayStart(8) } else { - yynn1864 = 1 - for _, b := range yyq1864 { + yynn1907 = 1 + for _, b := range yyq1907 { if b { - yynn1864++ + yynn1907++ } } - r.EncodeMapStart(yynn1864) - yynn1864 = 0 + r.EncodeMapStart(yynn1907) + yynn1907 = 0 } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym1866 := z.EncBinary() - _ = yym1866 + yym1909 := z.EncBinary() + _ = yym1909 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -24347,22 +24993,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym1867 := z.EncBinary() - _ = yym1867 + yym1910 := z.EncBinary() + _ = yym1910 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[1] { + if yyq1907[1] { if x.Selector == nil { r.EncodeNil() } else { - yym1869 := z.EncBinary() - _ = yym1869 + yym1912 := z.EncBinary() + _ = yym1912 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -24372,15 +25018,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1864[1] { + if yyq1907[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1870 := z.EncBinary() - _ = yym1870 + yym1913 := z.EncBinary() + _ = yym1913 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -24388,11 +25034,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[2] { - yym1872 := z.EncBinary() - _ = yym1872 + if yyq1907[2] { + yym1915 := z.EncBinary() + _ = yym1915 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -24401,41 +25047,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1864[2] { + if yyq1907[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1873 := z.EncBinary() - _ = yym1873 + yym1916 := z.EncBinary() + _ = yym1916 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[3] { + if yyq1907[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1864[3] { + if yyq1907[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[4] { + if yyq1907[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym1876 := z.EncBinary() - _ = yym1876 + yym1919 := z.EncBinary() + _ = yym1919 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -24445,15 +25091,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1864[4] { + if yyq1907[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym1877 := z.EncBinary() - _ = yym1877 + yym1920 := z.EncBinary() + _ = yym1920 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -24461,14 +25107,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[5] { + if yyq1907[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym1879 := z.EncBinary() - _ = yym1879 + yym1922 := z.EncBinary() + _ = yym1922 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -24478,15 +25124,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1864[5] { + if yyq1907[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym1880 := z.EncBinary() - _ = yym1880 + yym1923 := z.EncBinary() + _ = yym1923 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -24494,26 +25140,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[6] { + if yyq1907[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1864[6] { + if yyq1907[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1864[7] { - yym1883 := z.EncBinary() - _ = yym1883 + if yyq1907[7] { + yym1926 := z.EncBinary() + _ = yym1926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -24522,19 +25168,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1864[7] { + if yyq1907[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1884 := z.EncBinary() - _ = yym1884 + yym1927 := z.EncBinary() + _ = yym1927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr1864 || yy2arr1864 { + if yyr1907 || yy2arr1907 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24547,25 +25193,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1885 := z.DecBinary() - _ = yym1885 + yym1928 := z.DecBinary() + _ = yym1928 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1886 := r.ContainerType() - if yyct1886 == codecSelferValueTypeMap1234 { - yyl1886 := r.ReadMapStart() - if yyl1886 == 0 { + yyct1929 := r.ContainerType() + if yyct1929 == codecSelferValueTypeMap1234 { + yyl1929 := r.ReadMapStart() + if yyl1929 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1886, d) + x.codecDecodeSelfFromMap(yyl1929, d) } - } else if yyct1886 == codecSelferValueTypeArray1234 { - yyl1886 := r.ReadArrayStart() - if yyl1886 == 0 { + } else if yyct1929 == codecSelferValueTypeArray1234 { + yyl1929 := r.ReadArrayStart() + if yyl1929 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1886, d) + x.codecDecodeSelfFromArray(yyl1929, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24577,12 +25223,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1887Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1887Slc - var yyhl1887 bool = l >= 0 - for yyj1887 := 0; ; yyj1887++ { - if yyhl1887 { - if yyj1887 >= l { + var yys1930Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1930Slc + var yyhl1930 bool = l >= 0 + for yyj1930 := 0; ; yyj1930++ { + if yyhl1930 { + if yyj1930 >= l { break } } else { @@ -24591,32 +25237,32 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1887Slc = r.DecodeBytes(yys1887Slc, true, true) - yys1887 := string(yys1887Slc) + yys1930Slc = r.DecodeBytes(yys1930Slc, true, true) + yys1930 := string(yys1930Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1887 { + switch yys1930 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1888 := &x.Ports - yym1889 := z.DecBinary() - _ = yym1889 + yyv1931 := &x.Ports + yym1932 := z.DecBinary() + _ = yym1932 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv1888), d) + h.decSliceServicePort((*[]ServicePort)(yyv1931), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1890 := &x.Selector - yym1891 := z.DecBinary() - _ = yym1891 + yyv1933 := &x.Selector + yym1934 := z.DecBinary() + _ = yym1934 if false { } else { - z.F.DecMapStringStringX(yyv1890, false, d) + z.F.DecMapStringStringX(yyv1933, false, d) } } case "clusterIP": @@ -24635,24 +25281,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv1894 := &x.ExternalIPs - yym1895 := z.DecBinary() - _ = yym1895 + yyv1937 := &x.ExternalIPs + yym1938 := z.DecBinary() + _ = yym1938 if false { } else { - z.F.DecSliceStringX(yyv1894, false, d) + z.F.DecSliceStringX(yyv1937, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv1896 := &x.DeprecatedPublicIPs - yym1897 := z.DecBinary() - _ = yym1897 + yyv1939 := &x.DeprecatedPublicIPs + yym1940 := z.DecBinary() + _ = yym1940 if false { } else { - z.F.DecSliceStringX(yyv1896, false, d) + z.F.DecSliceStringX(yyv1939, false, d) } } case "sessionAffinity": @@ -24668,9 +25314,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.LoadBalancerIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1887) - } // end switch yys1887 - } // end for yyj1887 + z.DecStructFieldNotFound(-1, yys1930) + } // end switch yys1930 + } // end for yyj1930 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24678,16 +25324,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1900 int - var yyb1900 bool - var yyhl1900 bool = l >= 0 - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + var yyj1943 int + var yyb1943 bool + var yyhl1943 bool = l >= 0 + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24695,21 +25341,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1901 := &x.Ports - yym1902 := z.DecBinary() - _ = yym1902 + yyv1944 := &x.Ports + yym1945 := z.DecBinary() + _ = yym1945 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv1901), d) + h.decSliceServicePort((*[]ServicePort)(yyv1944), d) } } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24717,21 +25363,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv1903 := &x.Selector - yym1904 := z.DecBinary() - _ = yym1904 + yyv1946 := &x.Selector + yym1947 := z.DecBinary() + _ = yym1947 if false { } else { - z.F.DecMapStringStringX(yyv1903, false, d) + z.F.DecMapStringStringX(yyv1946, false, d) } } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24741,13 +25387,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24757,13 +25403,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24771,21 +25417,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv1907 := &x.ExternalIPs - yym1908 := z.DecBinary() - _ = yym1908 + yyv1950 := &x.ExternalIPs + yym1951 := z.DecBinary() + _ = yym1951 if false { } else { - z.F.DecSliceStringX(yyv1907, false, d) + z.F.DecSliceStringX(yyv1950, false, d) } } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24793,21 +25439,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv1909 := &x.DeprecatedPublicIPs - yym1910 := z.DecBinary() - _ = yym1910 + yyv1952 := &x.DeprecatedPublicIPs + yym1953 := z.DecBinary() + _ = yym1953 if false { } else { - z.F.DecSliceStringX(yyv1909, false, d) + z.F.DecSliceStringX(yyv1952, false, d) } } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24817,13 +25463,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24834,17 +25480,17 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.LoadBalancerIP = string(r.DecodeString()) } for { - yyj1900++ - if yyhl1900 { - yyb1900 = yyj1900 > l + yyj1943++ + if yyhl1943 { + yyb1943 = yyj1943 > l } else { - yyb1900 = r.CheckBreak() + yyb1943 = r.CheckBreak() } - if yyb1900 { + if yyb1943 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1900-1, "") + z.DecStructFieldNotFound(yyj1943-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24856,38 +25502,38 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1913 := z.EncBinary() - _ = yym1913 + yym1956 := z.EncBinary() + _ = yym1956 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1914 := !z.EncBinary() - yy2arr1914 := z.EncBasicHandle().StructToArray - var yyq1914 [5]bool - _, _, _ = yysep1914, yyq1914, yy2arr1914 - const yyr1914 bool = false - yyq1914[0] = x.Name != "" - yyq1914[1] = x.Protocol != "" - yyq1914[3] = true - yyq1914[4] = x.NodePort != 0 - var yynn1914 int - if yyr1914 || yy2arr1914 { + yysep1957 := !z.EncBinary() + yy2arr1957 := z.EncBasicHandle().StructToArray + var yyq1957 [5]bool + _, _, _ = yysep1957, yyq1957, yy2arr1957 + const yyr1957 bool = false + yyq1957[0] = x.Name != "" + yyq1957[1] = x.Protocol != "" + yyq1957[3] = true + yyq1957[4] = x.NodePort != 0 + var yynn1957 int + if yyr1957 || yy2arr1957 { r.EncodeArrayStart(5) } else { - yynn1914 = 1 - for _, b := range yyq1914 { + yynn1957 = 1 + for _, b := range yyq1957 { if b { - yynn1914++ + yynn1957++ } } - r.EncodeMapStart(yynn1914) - yynn1914 = 0 + r.EncodeMapStart(yynn1957) + yynn1957 = 0 } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1914[0] { - yym1916 := z.EncBinary() - _ = yym1916 + if yyq1957[0] { + yym1959 := z.EncBinary() + _ = yym1959 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -24896,37 +25542,37 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1914[0] { + if yyq1957[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1917 := z.EncBinary() - _ = yym1917 + yym1960 := z.EncBinary() + _ = yym1960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1914[1] { + if yyq1957[1] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1914[1] { + if yyq1957[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1920 := z.EncBinary() - _ = yym1920 + yym1963 := z.EncBinary() + _ = yym1963 if false { } else { r.EncodeInt(int64(x.Port)) @@ -24935,51 +25581,51 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1921 := z.EncBinary() - _ = yym1921 + yym1964 := z.EncBinary() + _ = yym1964 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1914[3] { - yy1923 := &x.TargetPort - yym1924 := z.EncBinary() - _ = yym1924 + if yyq1957[3] { + yy1966 := &x.TargetPort + yym1967 := z.EncBinary() + _ = yym1967 if false { - } else if z.HasExtensions() && z.EncExt(yy1923) { - } else if !yym1924 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1923) + } else if z.HasExtensions() && z.EncExt(yy1966) { + } else if !yym1967 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1966) } else { - z.EncFallback(yy1923) + z.EncFallback(yy1966) } } else { r.EncodeNil() } } else { - if yyq1914[3] { + if yyq1957[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1925 := &x.TargetPort - yym1926 := z.EncBinary() - _ = yym1926 + yy1968 := &x.TargetPort + yym1969 := z.EncBinary() + _ = yym1969 if false { - } else if z.HasExtensions() && z.EncExt(yy1925) { - } else if !yym1926 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1925) + } else if z.HasExtensions() && z.EncExt(yy1968) { + } else if !yym1969 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1968) } else { - z.EncFallback(yy1925) + z.EncFallback(yy1968) } } } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1914[4] { - yym1928 := z.EncBinary() - _ = yym1928 + if yyq1957[4] { + yym1971 := z.EncBinary() + _ = yym1971 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -24988,19 +25634,19 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1914[4] { + if yyq1957[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1929 := z.EncBinary() - _ = yym1929 + yym1972 := z.EncBinary() + _ = yym1972 if false { } else { r.EncodeInt(int64(x.NodePort)) } } } - if yyr1914 || yy2arr1914 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25013,25 +25659,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1930 := z.DecBinary() - _ = yym1930 + yym1973 := z.DecBinary() + _ = yym1973 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1931 := r.ContainerType() - if yyct1931 == codecSelferValueTypeMap1234 { - yyl1931 := r.ReadMapStart() - if yyl1931 == 0 { + yyct1974 := r.ContainerType() + if yyct1974 == codecSelferValueTypeMap1234 { + yyl1974 := r.ReadMapStart() + if yyl1974 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1931, d) + x.codecDecodeSelfFromMap(yyl1974, d) } - } else if yyct1931 == codecSelferValueTypeArray1234 { - yyl1931 := r.ReadArrayStart() - if yyl1931 == 0 { + } else if yyct1974 == codecSelferValueTypeArray1234 { + yyl1974 := r.ReadArrayStart() + if yyl1974 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1931, d) + x.codecDecodeSelfFromArray(yyl1974, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25043,12 +25689,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1932Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1932Slc - var yyhl1932 bool = l >= 0 - for yyj1932 := 0; ; yyj1932++ { - if yyhl1932 { - if yyj1932 >= l { + var yys1975Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1975Slc + var yyhl1975 bool = l >= 0 + for yyj1975 := 0; ; yyj1975++ { + if yyhl1975 { + if yyj1975 >= l { break } } else { @@ -25057,10 +25703,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1932Slc = r.DecodeBytes(yys1932Slc, true, true) - yys1932 := string(yys1932Slc) + yys1975Slc = r.DecodeBytes(yys1975Slc, true, true) + yys1975 := string(yys1975Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1932 { + switch yys1975 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -25083,15 +25729,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg5_intstr.IntOrString{} } else { - yyv1936 := &x.TargetPort - yym1937 := z.DecBinary() - _ = yym1937 + yyv1979 := &x.TargetPort + yym1980 := z.DecBinary() + _ = yym1980 if false { - } else if z.HasExtensions() && z.DecExt(yyv1936) { - } else if !yym1937 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1936) + } else if z.HasExtensions() && z.DecExt(yyv1979) { + } else if !yym1980 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1979) } else { - z.DecFallback(yyv1936, false) + z.DecFallback(yyv1979, false) } } case "nodePort": @@ -25101,9 +25747,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1932) - } // end switch yys1932 - } // end for yyj1932 + z.DecStructFieldNotFound(-1, yys1975) + } // end switch yys1975 + } // end for yyj1975 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25111,16 +25757,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1939 int - var yyb1939 bool - var yyhl1939 bool = l >= 0 - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + var yyj1982 int + var yyb1982 bool + var yyhl1982 bool = l >= 0 + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25130,13 +25776,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25146,13 +25792,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25162,13 +25808,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25176,24 +25822,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg5_intstr.IntOrString{} } else { - yyv1943 := &x.TargetPort - yym1944 := z.DecBinary() - _ = yym1944 + yyv1986 := &x.TargetPort + yym1987 := z.DecBinary() + _ = yym1987 if false { - } else if z.HasExtensions() && z.DecExt(yyv1943) { - } else if !yym1944 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1943) + } else if z.HasExtensions() && z.DecExt(yyv1986) { + } else if !yym1987 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1986) } else { - z.DecFallback(yyv1943, false) + z.DecFallback(yyv1986, false) } } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25204,17 +25850,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj1982++ + if yyhl1982 { + yyb1982 = yyj1982 > l } else { - yyb1939 = r.CheckBreak() + yyb1982 = r.CheckBreak() } - if yyb1939 { + if yyb1982 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1939-1, "") + z.DecStructFieldNotFound(yyj1982-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25226,39 +25872,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1946 := z.EncBinary() - _ = yym1946 + yym1989 := z.EncBinary() + _ = yym1989 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1947 := !z.EncBinary() - yy2arr1947 := z.EncBasicHandle().StructToArray - var yyq1947 [5]bool - _, _, _ = yysep1947, yyq1947, yy2arr1947 - const yyr1947 bool = false - yyq1947[0] = x.Kind != "" - yyq1947[1] = x.APIVersion != "" - yyq1947[2] = true - yyq1947[3] = true - yyq1947[4] = true - var yynn1947 int - if yyr1947 || yy2arr1947 { + yysep1990 := !z.EncBinary() + yy2arr1990 := z.EncBasicHandle().StructToArray + var yyq1990 [5]bool + _, _, _ = yysep1990, yyq1990, yy2arr1990 + const yyr1990 bool = false + yyq1990[0] = x.Kind != "" + yyq1990[1] = x.APIVersion != "" + yyq1990[2] = true + yyq1990[3] = true + yyq1990[4] = true + var yynn1990 int + if yyr1990 || yy2arr1990 { r.EncodeArrayStart(5) } else { - yynn1947 = 0 - for _, b := range yyq1947 { + yynn1990 = 0 + for _, b := range yyq1990 { if b { - yynn1947++ + yynn1990++ } } - r.EncodeMapStart(yynn1947) - yynn1947 = 0 + r.EncodeMapStart(yynn1990) + yynn1990 = 0 } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1947[0] { - yym1949 := z.EncBinary() - _ = yym1949 + if yyq1990[0] { + yym1992 := z.EncBinary() + _ = yym1992 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25267,23 +25913,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1947[0] { + if yyq1990[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1950 := z.EncBinary() - _ = yym1950 + yym1993 := z.EncBinary() + _ = yym1993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1947[1] { - yym1952 := z.EncBinary() - _ = yym1952 + if yyq1990[1] { + yym1995 := z.EncBinary() + _ = yym1995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25292,70 +25938,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1947[1] { + if yyq1990[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1953 := z.EncBinary() - _ = yym1953 + yym1996 := z.EncBinary() + _ = yym1996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1947[2] { - yy1955 := &x.ObjectMeta - yy1955.CodecEncodeSelf(e) + if yyq1990[2] { + yy1998 := &x.ObjectMeta + yy1998.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1947[2] { + if yyq1990[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1956 := &x.ObjectMeta - yy1956.CodecEncodeSelf(e) + yy1999 := &x.ObjectMeta + yy1999.CodecEncodeSelf(e) } } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1947[3] { - yy1958 := &x.Spec - yy1958.CodecEncodeSelf(e) + if yyq1990[3] { + yy2001 := &x.Spec + yy2001.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1947[3] { + if yyq1990[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1959 := &x.Spec - yy1959.CodecEncodeSelf(e) + yy2002 := &x.Spec + yy2002.CodecEncodeSelf(e) } } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1947[4] { - yy1961 := &x.Status - yy1961.CodecEncodeSelf(e) + if yyq1990[4] { + yy2004 := &x.Status + yy2004.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1947[4] { + if yyq1990[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1962 := &x.Status - yy1962.CodecEncodeSelf(e) + yy2005 := &x.Status + yy2005.CodecEncodeSelf(e) } } - if yyr1947 || yy2arr1947 { + if yyr1990 || yy2arr1990 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25368,25 +26014,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1963 := z.DecBinary() - _ = yym1963 + yym2006 := z.DecBinary() + _ = yym2006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1964 := r.ContainerType() - if yyct1964 == codecSelferValueTypeMap1234 { - yyl1964 := r.ReadMapStart() - if yyl1964 == 0 { + yyct2007 := r.ContainerType() + if yyct2007 == codecSelferValueTypeMap1234 { + yyl2007 := r.ReadMapStart() + if yyl2007 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1964, d) + x.codecDecodeSelfFromMap(yyl2007, d) } - } else if yyct1964 == codecSelferValueTypeArray1234 { - yyl1964 := r.ReadArrayStart() - if yyl1964 == 0 { + } else if yyct2007 == codecSelferValueTypeArray1234 { + yyl2007 := r.ReadArrayStart() + if yyl2007 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1964, d) + x.codecDecodeSelfFromArray(yyl2007, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25398,12 +26044,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1965Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1965Slc - var yyhl1965 bool = l >= 0 - for yyj1965 := 0; ; yyj1965++ { - if yyhl1965 { - if yyj1965 >= l { + var yys2008Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2008Slc + var yyhl2008 bool = l >= 0 + for yyj2008 := 0; ; yyj2008++ { + if yyhl2008 { + if yyj2008 >= l { break } } else { @@ -25412,10 +26058,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1965Slc = r.DecodeBytes(yys1965Slc, true, true) - yys1965 := string(yys1965Slc) + yys2008Slc = r.DecodeBytes(yys2008Slc, true, true) + yys2008 := string(yys2008Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1965 { + switch yys2008 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -25432,27 +26078,27 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1968 := &x.ObjectMeta - yyv1968.CodecDecodeSelf(d) + yyv2011 := &x.ObjectMeta + yyv2011.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv1969 := &x.Spec - yyv1969.CodecDecodeSelf(d) + yyv2012 := &x.Spec + yyv2012.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv1970 := &x.Status - yyv1970.CodecDecodeSelf(d) + yyv2013 := &x.Status + yyv2013.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1965) - } // end switch yys1965 - } // end for yyj1965 + z.DecStructFieldNotFound(-1, yys2008) + } // end switch yys2008 + } // end for yyj2008 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25460,16 +26106,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1971 int - var yyb1971 bool - var yyhl1971 bool = l >= 0 - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + var yyj2014 int + var yyb2014 bool + var yyhl2014 bool = l >= 0 + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25479,13 +26125,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25495,13 +26141,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25509,16 +26155,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv1974 := &x.ObjectMeta - yyv1974.CodecDecodeSelf(d) + yyv2017 := &x.ObjectMeta + yyv2017.CodecDecodeSelf(d) } - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25526,16 +26172,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv1975 := &x.Spec - yyv1975.CodecDecodeSelf(d) + yyv2018 := &x.Spec + yyv2018.CodecDecodeSelf(d) } - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25543,21 +26189,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv1976 := &x.Status - yyv1976.CodecDecodeSelf(d) + yyv2019 := &x.Status + yyv2019.CodecDecodeSelf(d) } for { - yyj1971++ - if yyhl1971 { - yyb1971 = yyj1971 > l + yyj2014++ + if yyhl2014 { + yyb2014 = yyj2014 > l } else { - yyb1971 = r.CheckBreak() + yyb2014 = r.CheckBreak() } - if yyb1971 { + if yyb2014 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1971-1, "") + z.DecStructFieldNotFound(yyj2014-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25569,37 +26215,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1977 := z.EncBinary() - _ = yym1977 + yym2020 := z.EncBinary() + _ = yym2020 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1978 := !z.EncBinary() - yy2arr1978 := z.EncBasicHandle().StructToArray - var yyq1978 [4]bool - _, _, _ = yysep1978, yyq1978, yy2arr1978 - const yyr1978 bool = false - yyq1978[0] = x.Kind != "" - yyq1978[1] = x.APIVersion != "" - yyq1978[2] = true - var yynn1978 int - if yyr1978 || yy2arr1978 { + yysep2021 := !z.EncBinary() + yy2arr2021 := z.EncBasicHandle().StructToArray + var yyq2021 [4]bool + _, _, _ = yysep2021, yyq2021, yy2arr2021 + const yyr2021 bool = false + yyq2021[0] = x.Kind != "" + yyq2021[1] = x.APIVersion != "" + yyq2021[2] = true + var yynn2021 int + if yyr2021 || yy2arr2021 { r.EncodeArrayStart(4) } else { - yynn1978 = 1 - for _, b := range yyq1978 { + yynn2021 = 1 + for _, b := range yyq2021 { if b { - yynn1978++ + yynn2021++ } } - r.EncodeMapStart(yynn1978) - yynn1978 = 0 + r.EncodeMapStart(yynn2021) + yynn2021 = 0 } - if yyr1978 || yy2arr1978 { + if yyr2021 || yy2arr2021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1978[0] { - yym1980 := z.EncBinary() - _ = yym1980 + if yyq2021[0] { + yym2023 := z.EncBinary() + _ = yym2023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25608,23 +26254,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1978[0] { + if yyq2021[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1981 := z.EncBinary() - _ = yym1981 + yym2024 := z.EncBinary() + _ = yym2024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1978 || yy2arr1978 { + if yyr2021 || yy2arr2021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1978[1] { - yym1983 := z.EncBinary() - _ = yym1983 + if yyq2021[1] { + yym2026 := z.EncBinary() + _ = yym2026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25633,54 +26279,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1978[1] { + if yyq2021[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1984 := z.EncBinary() - _ = yym1984 + yym2027 := z.EncBinary() + _ = yym2027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1978 || yy2arr1978 { + if yyr2021 || yy2arr2021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1978[2] { - yy1986 := &x.ListMeta - yym1987 := z.EncBinary() - _ = yym1987 + if yyq2021[2] { + yy2029 := &x.ListMeta + yym2030 := z.EncBinary() + _ = yym2030 if false { - } else if z.HasExtensions() && z.EncExt(yy1986) { + } else if z.HasExtensions() && z.EncExt(yy2029) { } else { - z.EncFallback(yy1986) + z.EncFallback(yy2029) } } else { r.EncodeNil() } } else { - if yyq1978[2] { + if yyq2021[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1988 := &x.ListMeta - yym1989 := z.EncBinary() - _ = yym1989 + yy2031 := &x.ListMeta + yym2032 := z.EncBinary() + _ = yym2032 if false { - } else if z.HasExtensions() && z.EncExt(yy1988) { + } else if z.HasExtensions() && z.EncExt(yy2031) { } else { - z.EncFallback(yy1988) + z.EncFallback(yy2031) } } } - if yyr1978 || yy2arr1978 { + if yyr2021 || yy2arr2021 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1991 := z.EncBinary() - _ = yym1991 + yym2034 := z.EncBinary() + _ = yym2034 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -25693,15 +26339,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1992 := z.EncBinary() - _ = yym1992 + yym2035 := z.EncBinary() + _ = yym2035 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr1978 || yy2arr1978 { + if yyr2021 || yy2arr2021 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25714,25 +26360,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1993 := z.DecBinary() - _ = yym1993 + yym2036 := z.DecBinary() + _ = yym2036 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1994 := r.ContainerType() - if yyct1994 == codecSelferValueTypeMap1234 { - yyl1994 := r.ReadMapStart() - if yyl1994 == 0 { + yyct2037 := r.ContainerType() + if yyct2037 == codecSelferValueTypeMap1234 { + yyl2037 := r.ReadMapStart() + if yyl2037 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1994, d) + x.codecDecodeSelfFromMap(yyl2037, d) } - } else if yyct1994 == codecSelferValueTypeArray1234 { - yyl1994 := r.ReadArrayStart() - if yyl1994 == 0 { + } else if yyct2037 == codecSelferValueTypeArray1234 { + yyl2037 := r.ReadArrayStart() + if yyl2037 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1994, d) + x.codecDecodeSelfFromArray(yyl2037, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25744,12 +26390,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1995Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1995Slc - var yyhl1995 bool = l >= 0 - for yyj1995 := 0; ; yyj1995++ { - if yyhl1995 { - if yyj1995 >= l { + var yys2038Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2038Slc + var yyhl2038 bool = l >= 0 + for yyj2038 := 0; ; yyj2038++ { + if yyhl2038 { + if yyj2038 >= l { break } } else { @@ -25758,10 +26404,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1995Slc = r.DecodeBytes(yys1995Slc, true, true) - yys1995 := string(yys1995Slc) + yys2038Slc = r.DecodeBytes(yys2038Slc, true, true) + yys2038 := string(yys2038Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1995 { + switch yys2038 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -25778,31 +26424,31 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1998 := &x.ListMeta - yym1999 := z.DecBinary() - _ = yym1999 + yyv2041 := &x.ListMeta + yym2042 := z.DecBinary() + _ = yym2042 if false { - } else if z.HasExtensions() && z.DecExt(yyv1998) { + } else if z.HasExtensions() && z.DecExt(yyv2041) { } else { - z.DecFallback(yyv1998, false) + z.DecFallback(yyv2041, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2000 := &x.Items - yym2001 := z.DecBinary() - _ = yym2001 + yyv2043 := &x.Items + yym2044 := z.DecBinary() + _ = yym2044 if false { } else { - h.decSliceService((*[]Service)(yyv2000), d) + h.decSliceService((*[]Service)(yyv2043), d) } } default: - z.DecStructFieldNotFound(-1, yys1995) - } // end switch yys1995 - } // end for yyj1995 + z.DecStructFieldNotFound(-1, yys2038) + } // end switch yys2038 + } // end for yyj2038 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25810,16 +26456,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2002 int - var yyb2002 bool - var yyhl2002 bool = l >= 0 - yyj2002++ - if yyhl2002 { - yyb2002 = yyj2002 > l + var yyj2045 int + var yyb2045 bool + var yyhl2045 bool = l >= 0 + yyj2045++ + if yyhl2045 { + yyb2045 = yyj2045 > l } else { - yyb2002 = r.CheckBreak() + yyb2045 = r.CheckBreak() } - if yyb2002 { + if yyb2045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25829,13 +26475,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2002++ - if yyhl2002 { - yyb2002 = yyj2002 > l + yyj2045++ + if yyhl2045 { + yyb2045 = yyj2045 > l } else { - yyb2002 = r.CheckBreak() + yyb2045 = r.CheckBreak() } - if yyb2002 { + if yyb2045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25845,13 +26491,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2002++ - if yyhl2002 { - yyb2002 = yyj2002 > l + yyj2045++ + if yyhl2045 { + yyb2045 = yyj2045 > l } else { - yyb2002 = r.CheckBreak() + yyb2045 = r.CheckBreak() } - if yyb2002 { + if yyb2045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25859,22 +26505,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2005 := &x.ListMeta - yym2006 := z.DecBinary() - _ = yym2006 + yyv2048 := &x.ListMeta + yym2049 := z.DecBinary() + _ = yym2049 if false { - } else if z.HasExtensions() && z.DecExt(yyv2005) { + } else if z.HasExtensions() && z.DecExt(yyv2048) { } else { - z.DecFallback(yyv2005, false) + z.DecFallback(yyv2048, false) } } - yyj2002++ - if yyhl2002 { - yyb2002 = yyj2002 > l + yyj2045++ + if yyhl2045 { + yyb2045 = yyj2045 > l } else { - yyb2002 = r.CheckBreak() + yyb2045 = r.CheckBreak() } - if yyb2002 { + if yyb2045 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25882,26 +26528,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2007 := &x.Items - yym2008 := z.DecBinary() - _ = yym2008 + yyv2050 := &x.Items + yym2051 := z.DecBinary() + _ = yym2051 if false { } else { - h.decSliceService((*[]Service)(yyv2007), d) + h.decSliceService((*[]Service)(yyv2050), d) } } for { - yyj2002++ - if yyhl2002 { - yyb2002 = yyj2002 > l + yyj2045++ + if yyhl2045 { + yyb2045 = yyj2045 > l } else { - yyb2002 = r.CheckBreak() + yyb2045 = r.CheckBreak() } - if yyb2002 { + if yyb2045 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2002-1, "") + z.DecStructFieldNotFound(yyj2045-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25913,39 +26559,39 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2009 := z.EncBinary() - _ = yym2009 + yym2052 := z.EncBinary() + _ = yym2052 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2010 := !z.EncBinary() - yy2arr2010 := z.EncBasicHandle().StructToArray - var yyq2010 [5]bool - _, _, _ = yysep2010, yyq2010, yy2arr2010 - const yyr2010 bool = false - yyq2010[0] = x.Kind != "" - yyq2010[1] = x.APIVersion != "" - yyq2010[2] = true - yyq2010[3] = len(x.Secrets) != 0 - yyq2010[4] = len(x.ImagePullSecrets) != 0 - var yynn2010 int - if yyr2010 || yy2arr2010 { + yysep2053 := !z.EncBinary() + yy2arr2053 := z.EncBasicHandle().StructToArray + var yyq2053 [5]bool + _, _, _ = yysep2053, yyq2053, yy2arr2053 + const yyr2053 bool = false + yyq2053[0] = x.Kind != "" + yyq2053[1] = x.APIVersion != "" + yyq2053[2] = true + yyq2053[3] = len(x.Secrets) != 0 + yyq2053[4] = len(x.ImagePullSecrets) != 0 + var yynn2053 int + if yyr2053 || yy2arr2053 { r.EncodeArrayStart(5) } else { - yynn2010 = 0 - for _, b := range yyq2010 { + yynn2053 = 0 + for _, b := range yyq2053 { if b { - yynn2010++ + yynn2053++ } } - r.EncodeMapStart(yynn2010) - yynn2010 = 0 + r.EncodeMapStart(yynn2053) + yynn2053 = 0 } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[0] { - yym2012 := z.EncBinary() - _ = yym2012 + if yyq2053[0] { + yym2055 := z.EncBinary() + _ = yym2055 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -25954,23 +26600,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2010[0] { + if yyq2053[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2013 := z.EncBinary() - _ = yym2013 + yym2056 := z.EncBinary() + _ = yym2056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[1] { - yym2015 := z.EncBinary() - _ = yym2015 + if yyq2053[1] { + yym2058 := z.EncBinary() + _ = yym2058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -25979,43 +26625,43 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2010[1] { + if yyq2053[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2016 := z.EncBinary() - _ = yym2016 + yym2059 := z.EncBinary() + _ = yym2059 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[2] { - yy2018 := &x.ObjectMeta - yy2018.CodecEncodeSelf(e) + if yyq2053[2] { + yy2061 := &x.ObjectMeta + yy2061.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2010[2] { + if yyq2053[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2019 := &x.ObjectMeta - yy2019.CodecEncodeSelf(e) + yy2062 := &x.ObjectMeta + yy2062.CodecEncodeSelf(e) } } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[3] { + if yyq2053[3] { if x.Secrets == nil { r.EncodeNil() } else { - yym2021 := z.EncBinary() - _ = yym2021 + yym2064 := z.EncBinary() + _ = yym2064 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -26025,15 +26671,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2010[3] { + if yyq2053[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2022 := z.EncBinary() - _ = yym2022 + yym2065 := z.EncBinary() + _ = yym2065 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -26041,14 +26687,14 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2010[4] { + if yyq2053[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2024 := z.EncBinary() - _ = yym2024 + yym2067 := z.EncBinary() + _ = yym2067 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26058,15 +26704,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2010[4] { + if yyq2053[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2025 := z.EncBinary() - _ = yym2025 + yym2068 := z.EncBinary() + _ = yym2068 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26074,7 +26720,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2010 || yy2arr2010 { + if yyr2053 || yy2arr2053 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26087,25 +26733,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2026 := z.DecBinary() - _ = yym2026 + yym2069 := z.DecBinary() + _ = yym2069 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2027 := r.ContainerType() - if yyct2027 == codecSelferValueTypeMap1234 { - yyl2027 := r.ReadMapStart() - if yyl2027 == 0 { + yyct2070 := r.ContainerType() + if yyct2070 == codecSelferValueTypeMap1234 { + yyl2070 := r.ReadMapStart() + if yyl2070 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2027, d) + x.codecDecodeSelfFromMap(yyl2070, d) } - } else if yyct2027 == codecSelferValueTypeArray1234 { - yyl2027 := r.ReadArrayStart() - if yyl2027 == 0 { + } else if yyct2070 == codecSelferValueTypeArray1234 { + yyl2070 := r.ReadArrayStart() + if yyl2070 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2027, d) + x.codecDecodeSelfFromArray(yyl2070, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26117,12 +26763,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2028Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2028Slc - var yyhl2028 bool = l >= 0 - for yyj2028 := 0; ; yyj2028++ { - if yyhl2028 { - if yyj2028 >= l { + var yys2071Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2071Slc + var yyhl2071 bool = l >= 0 + for yyj2071 := 0; ; yyj2071++ { + if yyhl2071 { + if yyj2071 >= l { break } } else { @@ -26131,10 +26777,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2028Slc = r.DecodeBytes(yys2028Slc, true, true) - yys2028 := string(yys2028Slc) + yys2071Slc = r.DecodeBytes(yys2071Slc, true, true) + yys2071 := string(yys2071Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2028 { + switch yys2071 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -26151,37 +26797,37 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2031 := &x.ObjectMeta - yyv2031.CodecDecodeSelf(d) + yyv2074 := &x.ObjectMeta + yyv2074.CodecDecodeSelf(d) } case "secrets": if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2032 := &x.Secrets - yym2033 := z.DecBinary() - _ = yym2033 + yyv2075 := &x.Secrets + yym2076 := z.DecBinary() + _ = yym2076 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2032), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2075), d) } } case "imagePullSecrets": if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2034 := &x.ImagePullSecrets - yym2035 := z.DecBinary() - _ = yym2035 + yyv2077 := &x.ImagePullSecrets + yym2078 := z.DecBinary() + _ = yym2078 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2034), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2077), d) } } default: - z.DecStructFieldNotFound(-1, yys2028) - } // end switch yys2028 - } // end for yyj2028 + z.DecStructFieldNotFound(-1, yys2071) + } // end switch yys2071 + } // end for yyj2071 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26189,16 +26835,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2036 int - var yyb2036 bool - var yyhl2036 bool = l >= 0 - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + var yyj2079 int + var yyb2079 bool + var yyhl2079 bool = l >= 0 + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26208,13 +26854,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26224,13 +26870,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26238,16 +26884,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2039 := &x.ObjectMeta - yyv2039.CodecDecodeSelf(d) + yyv2082 := &x.ObjectMeta + yyv2082.CodecDecodeSelf(d) } - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26255,21 +26901,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2040 := &x.Secrets - yym2041 := z.DecBinary() - _ = yym2041 + yyv2083 := &x.Secrets + yym2084 := z.DecBinary() + _ = yym2084 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2040), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2083), d) } } - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26277,26 +26923,26 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2042 := &x.ImagePullSecrets - yym2043 := z.DecBinary() - _ = yym2043 + yyv2085 := &x.ImagePullSecrets + yym2086 := z.DecBinary() + _ = yym2086 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2042), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2085), d) } } for { - yyj2036++ - if yyhl2036 { - yyb2036 = yyj2036 > l + yyj2079++ + if yyhl2079 { + yyb2079 = yyj2079 > l } else { - yyb2036 = r.CheckBreak() + yyb2079 = r.CheckBreak() } - if yyb2036 { + if yyb2079 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2036-1, "") + z.DecStructFieldNotFound(yyj2079-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26308,37 +26954,37 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2044 := z.EncBinary() - _ = yym2044 + yym2087 := z.EncBinary() + _ = yym2087 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2045 := !z.EncBinary() - yy2arr2045 := z.EncBasicHandle().StructToArray - var yyq2045 [4]bool - _, _, _ = yysep2045, yyq2045, yy2arr2045 - const yyr2045 bool = false - yyq2045[0] = x.Kind != "" - yyq2045[1] = x.APIVersion != "" - yyq2045[2] = true - var yynn2045 int - if yyr2045 || yy2arr2045 { + yysep2088 := !z.EncBinary() + yy2arr2088 := z.EncBasicHandle().StructToArray + var yyq2088 [4]bool + _, _, _ = yysep2088, yyq2088, yy2arr2088 + const yyr2088 bool = false + yyq2088[0] = x.Kind != "" + yyq2088[1] = x.APIVersion != "" + yyq2088[2] = true + var yynn2088 int + if yyr2088 || yy2arr2088 { r.EncodeArrayStart(4) } else { - yynn2045 = 1 - for _, b := range yyq2045 { + yynn2088 = 1 + for _, b := range yyq2088 { if b { - yynn2045++ + yynn2088++ } } - r.EncodeMapStart(yynn2045) - yynn2045 = 0 + r.EncodeMapStart(yynn2088) + yynn2088 = 0 } - if yyr2045 || yy2arr2045 { + if yyr2088 || yy2arr2088 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2045[0] { - yym2047 := z.EncBinary() - _ = yym2047 + if yyq2088[0] { + yym2090 := z.EncBinary() + _ = yym2090 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26347,23 +26993,23 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2045[0] { + if yyq2088[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2048 := z.EncBinary() - _ = yym2048 + yym2091 := z.EncBinary() + _ = yym2091 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2045 || yy2arr2045 { + if yyr2088 || yy2arr2088 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2045[1] { - yym2050 := z.EncBinary() - _ = yym2050 + if yyq2088[1] { + yym2093 := z.EncBinary() + _ = yym2093 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26372,54 +27018,54 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2045[1] { + if yyq2088[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2051 := z.EncBinary() - _ = yym2051 + yym2094 := z.EncBinary() + _ = yym2094 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2045 || yy2arr2045 { + if yyr2088 || yy2arr2088 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2045[2] { - yy2053 := &x.ListMeta - yym2054 := z.EncBinary() - _ = yym2054 + if yyq2088[2] { + yy2096 := &x.ListMeta + yym2097 := z.EncBinary() + _ = yym2097 if false { - } else if z.HasExtensions() && z.EncExt(yy2053) { + } else if z.HasExtensions() && z.EncExt(yy2096) { } else { - z.EncFallback(yy2053) + z.EncFallback(yy2096) } } else { r.EncodeNil() } } else { - if yyq2045[2] { + if yyq2088[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2055 := &x.ListMeta - yym2056 := z.EncBinary() - _ = yym2056 + yy2098 := &x.ListMeta + yym2099 := z.EncBinary() + _ = yym2099 if false { - } else if z.HasExtensions() && z.EncExt(yy2055) { + } else if z.HasExtensions() && z.EncExt(yy2098) { } else { - z.EncFallback(yy2055) + z.EncFallback(yy2098) } } } - if yyr2045 || yy2arr2045 { + if yyr2088 || yy2arr2088 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2058 := z.EncBinary() - _ = yym2058 + yym2101 := z.EncBinary() + _ = yym2101 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -26432,15 +27078,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2059 := z.EncBinary() - _ = yym2059 + yym2102 := z.EncBinary() + _ = yym2102 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2045 || yy2arr2045 { + if yyr2088 || yy2arr2088 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26453,25 +27099,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2060 := z.DecBinary() - _ = yym2060 + yym2103 := z.DecBinary() + _ = yym2103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2061 := r.ContainerType() - if yyct2061 == codecSelferValueTypeMap1234 { - yyl2061 := r.ReadMapStart() - if yyl2061 == 0 { + yyct2104 := r.ContainerType() + if yyct2104 == codecSelferValueTypeMap1234 { + yyl2104 := r.ReadMapStart() + if yyl2104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2061, d) + x.codecDecodeSelfFromMap(yyl2104, d) } - } else if yyct2061 == codecSelferValueTypeArray1234 { - yyl2061 := r.ReadArrayStart() - if yyl2061 == 0 { + } else if yyct2104 == codecSelferValueTypeArray1234 { + yyl2104 := r.ReadArrayStart() + if yyl2104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2061, d) + x.codecDecodeSelfFromArray(yyl2104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26483,12 +27129,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2062Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2062Slc - var yyhl2062 bool = l >= 0 - for yyj2062 := 0; ; yyj2062++ { - if yyhl2062 { - if yyj2062 >= l { + var yys2105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2105Slc + var yyhl2105 bool = l >= 0 + for yyj2105 := 0; ; yyj2105++ { + if yyhl2105 { + if yyj2105 >= l { break } } else { @@ -26497,10 +27143,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2062Slc = r.DecodeBytes(yys2062Slc, true, true) - yys2062 := string(yys2062Slc) + yys2105Slc = r.DecodeBytes(yys2105Slc, true, true) + yys2105 := string(yys2105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2062 { + switch yys2105 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -26517,31 +27163,31 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2065 := &x.ListMeta - yym2066 := z.DecBinary() - _ = yym2066 + yyv2108 := &x.ListMeta + yym2109 := z.DecBinary() + _ = yym2109 if false { - } else if z.HasExtensions() && z.DecExt(yyv2065) { + } else if z.HasExtensions() && z.DecExt(yyv2108) { } else { - z.DecFallback(yyv2065, false) + z.DecFallback(yyv2108, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2067 := &x.Items - yym2068 := z.DecBinary() - _ = yym2068 + yyv2110 := &x.Items + yym2111 := z.DecBinary() + _ = yym2111 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2067), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2110), d) } } default: - z.DecStructFieldNotFound(-1, yys2062) - } // end switch yys2062 - } // end for yyj2062 + z.DecStructFieldNotFound(-1, yys2105) + } // end switch yys2105 + } // end for yyj2105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26549,16 +27195,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2069 int - var yyb2069 bool - var yyhl2069 bool = l >= 0 - yyj2069++ - if yyhl2069 { - yyb2069 = yyj2069 > l + var yyj2112 int + var yyb2112 bool + var yyhl2112 bool = l >= 0 + yyj2112++ + if yyhl2112 { + yyb2112 = yyj2112 > l } else { - yyb2069 = r.CheckBreak() + yyb2112 = r.CheckBreak() } - if yyb2069 { + if yyb2112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26568,13 +27214,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj2069++ - if yyhl2069 { - yyb2069 = yyj2069 > l + yyj2112++ + if yyhl2112 { + yyb2112 = yyj2112 > l } else { - yyb2069 = r.CheckBreak() + yyb2112 = r.CheckBreak() } - if yyb2069 { + if yyb2112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26584,13 +27230,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj2069++ - if yyhl2069 { - yyb2069 = yyj2069 > l + yyj2112++ + if yyhl2112 { + yyb2112 = yyj2112 > l } else { - yyb2069 = r.CheckBreak() + yyb2112 = r.CheckBreak() } - if yyb2069 { + if yyb2112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26598,22 +27244,22 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2072 := &x.ListMeta - yym2073 := z.DecBinary() - _ = yym2073 + yyv2115 := &x.ListMeta + yym2116 := z.DecBinary() + _ = yym2116 if false { - } else if z.HasExtensions() && z.DecExt(yyv2072) { + } else if z.HasExtensions() && z.DecExt(yyv2115) { } else { - z.DecFallback(yyv2072, false) + z.DecFallback(yyv2115, false) } } - yyj2069++ - if yyhl2069 { - yyb2069 = yyj2069 > l + yyj2112++ + if yyhl2112 { + yyb2112 = yyj2112 > l } else { - yyb2069 = r.CheckBreak() + yyb2112 = r.CheckBreak() } - if yyb2069 { + if yyb2112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26621,26 +27267,26 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2074 := &x.Items - yym2075 := z.DecBinary() - _ = yym2075 + yyv2117 := &x.Items + yym2118 := z.DecBinary() + _ = yym2118 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2074), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2117), d) } } for { - yyj2069++ - if yyhl2069 { - yyb2069 = yyj2069 > l + yyj2112++ + if yyhl2112 { + yyb2112 = yyj2112 > l } else { - yyb2069 = r.CheckBreak() + yyb2112 = r.CheckBreak() } - if yyb2069 { + if yyb2112 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2069-1, "") + z.DecStructFieldNotFound(yyj2112-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26652,37 +27298,37 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2076 := z.EncBinary() - _ = yym2076 + yym2119 := z.EncBinary() + _ = yym2119 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2077 := !z.EncBinary() - yy2arr2077 := z.EncBasicHandle().StructToArray - var yyq2077 [4]bool - _, _, _ = yysep2077, yyq2077, yy2arr2077 - const yyr2077 bool = false - yyq2077[0] = x.Kind != "" - yyq2077[1] = x.APIVersion != "" - yyq2077[2] = true - var yynn2077 int - if yyr2077 || yy2arr2077 { + yysep2120 := !z.EncBinary() + yy2arr2120 := z.EncBasicHandle().StructToArray + var yyq2120 [4]bool + _, _, _ = yysep2120, yyq2120, yy2arr2120 + const yyr2120 bool = false + yyq2120[0] = x.Kind != "" + yyq2120[1] = x.APIVersion != "" + yyq2120[2] = true + var yynn2120 int + if yyr2120 || yy2arr2120 { r.EncodeArrayStart(4) } else { - yynn2077 = 1 - for _, b := range yyq2077 { + yynn2120 = 1 + for _, b := range yyq2120 { if b { - yynn2077++ + yynn2120++ } } - r.EncodeMapStart(yynn2077) - yynn2077 = 0 + r.EncodeMapStart(yynn2120) + yynn2120 = 0 } - if yyr2077 || yy2arr2077 { + if yyr2120 || yy2arr2120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2077[0] { - yym2079 := z.EncBinary() - _ = yym2079 + if yyq2120[0] { + yym2122 := z.EncBinary() + _ = yym2122 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -26691,23 +27337,23 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2077[0] { + if yyq2120[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2080 := z.EncBinary() - _ = yym2080 + yym2123 := z.EncBinary() + _ = yym2123 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2077 || yy2arr2077 { + if yyr2120 || yy2arr2120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2077[1] { - yym2082 := z.EncBinary() - _ = yym2082 + if yyq2120[1] { + yym2125 := z.EncBinary() + _ = yym2125 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -26716,42 +27362,42 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2077[1] { + if yyq2120[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2083 := z.EncBinary() - _ = yym2083 + yym2126 := z.EncBinary() + _ = yym2126 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2077 || yy2arr2077 { + if yyr2120 || yy2arr2120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2077[2] { - yy2085 := &x.ObjectMeta - yy2085.CodecEncodeSelf(e) + if yyq2120[2] { + yy2128 := &x.ObjectMeta + yy2128.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2077[2] { + if yyq2120[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2086 := &x.ObjectMeta - yy2086.CodecEncodeSelf(e) + yy2129 := &x.ObjectMeta + yy2129.CodecEncodeSelf(e) } } - if yyr2077 || yy2arr2077 { + if yyr2120 || yy2arr2120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym2088 := z.EncBinary() - _ = yym2088 + yym2131 := z.EncBinary() + _ = yym2131 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -26764,15 +27410,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym2089 := z.EncBinary() - _ = yym2089 + yym2132 := z.EncBinary() + _ = yym2132 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2077 || yy2arr2077 { + if yyr2120 || yy2arr2120 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26785,25 +27431,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2090 := z.DecBinary() - _ = yym2090 + yym2133 := z.DecBinary() + _ = yym2133 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2091 := r.ContainerType() - if yyct2091 == codecSelferValueTypeMap1234 { - yyl2091 := r.ReadMapStart() - if yyl2091 == 0 { + yyct2134 := r.ContainerType() + if yyct2134 == codecSelferValueTypeMap1234 { + yyl2134 := r.ReadMapStart() + if yyl2134 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2091, d) + x.codecDecodeSelfFromMap(yyl2134, d) } - } else if yyct2091 == codecSelferValueTypeArray1234 { - yyl2091 := r.ReadArrayStart() - if yyl2091 == 0 { + } else if yyct2134 == codecSelferValueTypeArray1234 { + yyl2134 := r.ReadArrayStart() + if yyl2134 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2091, d) + x.codecDecodeSelfFromArray(yyl2134, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26815,12 +27461,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2092Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2092Slc - var yyhl2092 bool = l >= 0 - for yyj2092 := 0; ; yyj2092++ { - if yyhl2092 { - if yyj2092 >= l { + var yys2135Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2135Slc + var yyhl2135 bool = l >= 0 + for yyj2135 := 0; ; yyj2135++ { + if yyhl2135 { + if yyj2135 >= l { break } } else { @@ -26829,10 +27475,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2092Slc = r.DecodeBytes(yys2092Slc, true, true) - yys2092 := string(yys2092Slc) + yys2135Slc = r.DecodeBytes(yys2135Slc, true, true) + yys2135 := string(yys2135Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2092 { + switch yys2135 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -26849,25 +27495,25 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2095 := &x.ObjectMeta - yyv2095.CodecDecodeSelf(d) + yyv2138 := &x.ObjectMeta + yyv2138.CodecDecodeSelf(d) } case "subsets": if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2096 := &x.Subsets - yym2097 := z.DecBinary() - _ = yym2097 + yyv2139 := &x.Subsets + yym2140 := z.DecBinary() + _ = yym2140 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2096), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2139), d) } } default: - z.DecStructFieldNotFound(-1, yys2092) - } // end switch yys2092 - } // end for yyj2092 + z.DecStructFieldNotFound(-1, yys2135) + } // end switch yys2135 + } // end for yyj2135 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26875,16 +27521,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj2141 int + var yyb2141 bool + var yyhl2141 bool = l >= 0 + yyj2141++ + if yyhl2141 { + yyb2141 = yyj2141 > l } else { - yyb2098 = r.CheckBreak() + yyb2141 = r.CheckBreak() } - if yyb2098 { + if yyb2141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26894,13 +27540,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + yyj2141++ + if yyhl2141 { + yyb2141 = yyj2141 > l } else { - yyb2098 = r.CheckBreak() + yyb2141 = r.CheckBreak() } - if yyb2098 { + if yyb2141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26910,13 +27556,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + yyj2141++ + if yyhl2141 { + yyb2141 = yyj2141 > l } else { - yyb2098 = r.CheckBreak() + yyb2141 = r.CheckBreak() } - if yyb2098 { + if yyb2141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26924,16 +27570,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2101 := &x.ObjectMeta - yyv2101.CodecDecodeSelf(d) + yyv2144 := &x.ObjectMeta + yyv2144.CodecDecodeSelf(d) } - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + yyj2141++ + if yyhl2141 { + yyb2141 = yyj2141 > l } else { - yyb2098 = r.CheckBreak() + yyb2141 = r.CheckBreak() } - if yyb2098 { + if yyb2141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26941,26 +27587,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2102 := &x.Subsets - yym2103 := z.DecBinary() - _ = yym2103 + yyv2145 := &x.Subsets + yym2146 := z.DecBinary() + _ = yym2146 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2102), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2145), d) } } for { - yyj2098++ - if yyhl2098 { - yyb2098 = yyj2098 > l + yyj2141++ + if yyhl2141 { + yyb2141 = yyj2141 > l } else { - yyb2098 = r.CheckBreak() + yyb2141 = r.CheckBreak() } - if yyb2098 { + if yyb2141 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2098-1, "") + z.DecStructFieldNotFound(yyj2141-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26972,40 +27618,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2104 := z.EncBinary() - _ = yym2104 + yym2147 := z.EncBinary() + _ = yym2147 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2105 := !z.EncBinary() - yy2arr2105 := z.EncBasicHandle().StructToArray - var yyq2105 [3]bool - _, _, _ = yysep2105, yyq2105, yy2arr2105 - const yyr2105 bool = false - yyq2105[0] = len(x.Addresses) != 0 - yyq2105[1] = len(x.NotReadyAddresses) != 0 - yyq2105[2] = len(x.Ports) != 0 - var yynn2105 int - if yyr2105 || yy2arr2105 { + yysep2148 := !z.EncBinary() + yy2arr2148 := z.EncBasicHandle().StructToArray + var yyq2148 [3]bool + _, _, _ = yysep2148, yyq2148, yy2arr2148 + const yyr2148 bool = false + yyq2148[0] = len(x.Addresses) != 0 + yyq2148[1] = len(x.NotReadyAddresses) != 0 + yyq2148[2] = len(x.Ports) != 0 + var yynn2148 int + if yyr2148 || yy2arr2148 { r.EncodeArrayStart(3) } else { - yynn2105 = 0 - for _, b := range yyq2105 { + yynn2148 = 0 + for _, b := range yyq2148 { if b { - yynn2105++ + yynn2148++ } } - r.EncodeMapStart(yynn2105) - yynn2105 = 0 + r.EncodeMapStart(yynn2148) + yynn2148 = 0 } - if yyr2105 || yy2arr2105 { + if yyr2148 || yy2arr2148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2105[0] { + if yyq2148[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym2107 := z.EncBinary() - _ = yym2107 + yym2150 := z.EncBinary() + _ = yym2150 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -27015,15 +27661,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2105[0] { + if yyq2148[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2108 := z.EncBinary() - _ = yym2108 + yym2151 := z.EncBinary() + _ = yym2151 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -27031,14 +27677,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2105 || yy2arr2105 { + if yyr2148 || yy2arr2148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2105[1] { + if yyq2148[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2110 := z.EncBinary() - _ = yym2110 + yym2153 := z.EncBinary() + _ = yym2153 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -27048,15 +27694,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2105[1] { + if yyq2148[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2111 := z.EncBinary() - _ = yym2111 + yym2154 := z.EncBinary() + _ = yym2154 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -27064,14 +27710,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2105 || yy2arr2105 { + if yyr2148 || yy2arr2148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2105[2] { + if yyq2148[2] { if x.Ports == nil { r.EncodeNil() } else { - yym2113 := z.EncBinary() - _ = yym2113 + yym2156 := z.EncBinary() + _ = yym2156 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -27081,15 +27727,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2105[2] { + if yyq2148[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2114 := z.EncBinary() - _ = yym2114 + yym2157 := z.EncBinary() + _ = yym2157 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -27097,7 +27743,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2105 || yy2arr2105 { + if yyr2148 || yy2arr2148 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27110,25 +27756,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2115 := z.DecBinary() - _ = yym2115 + yym2158 := z.DecBinary() + _ = yym2158 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2116 := r.ContainerType() - if yyct2116 == codecSelferValueTypeMap1234 { - yyl2116 := r.ReadMapStart() - if yyl2116 == 0 { + yyct2159 := r.ContainerType() + if yyct2159 == codecSelferValueTypeMap1234 { + yyl2159 := r.ReadMapStart() + if yyl2159 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2116, d) + x.codecDecodeSelfFromMap(yyl2159, d) } - } else if yyct2116 == codecSelferValueTypeArray1234 { - yyl2116 := r.ReadArrayStart() - if yyl2116 == 0 { + } else if yyct2159 == codecSelferValueTypeArray1234 { + yyl2159 := r.ReadArrayStart() + if yyl2159 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2116, d) + x.codecDecodeSelfFromArray(yyl2159, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27140,12 +27786,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2117Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2117Slc - var yyhl2117 bool = l >= 0 - for yyj2117 := 0; ; yyj2117++ { - if yyhl2117 { - if yyj2117 >= l { + var yys2160Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2160Slc + var yyhl2160 bool = l >= 0 + for yyj2160 := 0; ; yyj2160++ { + if yyhl2160 { + if yyj2160 >= l { break } } else { @@ -27154,50 +27800,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2117Slc = r.DecodeBytes(yys2117Slc, true, true) - yys2117 := string(yys2117Slc) + yys2160Slc = r.DecodeBytes(yys2160Slc, true, true) + yys2160 := string(yys2160Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2117 { + switch yys2160 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2118 := &x.Addresses - yym2119 := z.DecBinary() - _ = yym2119 + yyv2161 := &x.Addresses + yym2162 := z.DecBinary() + _ = yym2162 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2118), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2161), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2120 := &x.NotReadyAddresses - yym2121 := z.DecBinary() - _ = yym2121 + yyv2163 := &x.NotReadyAddresses + yym2164 := z.DecBinary() + _ = yym2164 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2120), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2163), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2122 := &x.Ports - yym2123 := z.DecBinary() - _ = yym2123 + yyv2165 := &x.Ports + yym2166 := z.DecBinary() + _ = yym2166 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2122), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2165), d) } } default: - z.DecStructFieldNotFound(-1, yys2117) - } // end switch yys2117 - } // end for yyj2117 + z.DecStructFieldNotFound(-1, yys2160) + } // end switch yys2160 + } // end for yyj2160 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27205,16 +27851,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2124 int - var yyb2124 bool - var yyhl2124 bool = l >= 0 - yyj2124++ - if yyhl2124 { - yyb2124 = yyj2124 > l + var yyj2167 int + var yyb2167 bool + var yyhl2167 bool = l >= 0 + yyj2167++ + if yyhl2167 { + yyb2167 = yyj2167 > l } else { - yyb2124 = r.CheckBreak() + yyb2167 = r.CheckBreak() } - if yyb2124 { + if yyb2167 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27222,21 +27868,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2125 := &x.Addresses - yym2126 := z.DecBinary() - _ = yym2126 + yyv2168 := &x.Addresses + yym2169 := z.DecBinary() + _ = yym2169 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2125), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2168), d) } } - yyj2124++ - if yyhl2124 { - yyb2124 = yyj2124 > l + yyj2167++ + if yyhl2167 { + yyb2167 = yyj2167 > l } else { - yyb2124 = r.CheckBreak() + yyb2167 = r.CheckBreak() } - if yyb2124 { + if yyb2167 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27244,21 +27890,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2127 := &x.NotReadyAddresses - yym2128 := z.DecBinary() - _ = yym2128 + yyv2170 := &x.NotReadyAddresses + yym2171 := z.DecBinary() + _ = yym2171 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2127), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2170), d) } } - yyj2124++ - if yyhl2124 { - yyb2124 = yyj2124 > l + yyj2167++ + if yyhl2167 { + yyb2167 = yyj2167 > l } else { - yyb2124 = r.CheckBreak() + yyb2167 = r.CheckBreak() } - if yyb2124 { + if yyb2167 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27266,26 +27912,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2129 := &x.Ports - yym2130 := z.DecBinary() - _ = yym2130 + yyv2172 := &x.Ports + yym2173 := z.DecBinary() + _ = yym2173 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2129), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2172), d) } } for { - yyj2124++ - if yyhl2124 { - yyb2124 = yyj2124 > l + yyj2167++ + if yyhl2167 { + yyb2167 = yyj2167 > l } else { - yyb2124 = r.CheckBreak() + yyb2167 = r.CheckBreak() } - if yyb2124 { + if yyb2167 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2124-1, "") + z.DecStructFieldNotFound(yyj2167-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27297,34 +27943,34 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2131 := z.EncBinary() - _ = yym2131 + yym2174 := z.EncBinary() + _ = yym2174 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2132 := !z.EncBinary() - yy2arr2132 := z.EncBasicHandle().StructToArray - var yyq2132 [2]bool - _, _, _ = yysep2132, yyq2132, yy2arr2132 - const yyr2132 bool = false - yyq2132[1] = x.TargetRef != nil - var yynn2132 int - if yyr2132 || yy2arr2132 { + yysep2175 := !z.EncBinary() + yy2arr2175 := z.EncBasicHandle().StructToArray + var yyq2175 [2]bool + _, _, _ = yysep2175, yyq2175, yy2arr2175 + const yyr2175 bool = false + yyq2175[1] = x.TargetRef != nil + var yynn2175 int + if yyr2175 || yy2arr2175 { r.EncodeArrayStart(2) } else { - yynn2132 = 1 - for _, b := range yyq2132 { + yynn2175 = 1 + for _, b := range yyq2175 { if b { - yynn2132++ + yynn2175++ } } - r.EncodeMapStart(yynn2132) - yynn2132 = 0 + r.EncodeMapStart(yynn2175) + yynn2175 = 0 } - if yyr2132 || yy2arr2132 { + if yyr2175 || yy2arr2175 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2134 := z.EncBinary() - _ = yym2134 + yym2177 := z.EncBinary() + _ = yym2177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -27333,16 +27979,16 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2135 := z.EncBinary() - _ = yym2135 + yym2178 := z.EncBinary() + _ = yym2178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2132 || yy2arr2132 { + if yyr2175 || yy2arr2175 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2132[1] { + if yyq2175[1] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -27352,7 +27998,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2132[1] { + if yyq2175[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -27363,7 +28009,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2132 || yy2arr2132 { + if yyr2175 || yy2arr2175 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27373,538 +28019,6 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2137 := z.DecBinary() - _ = yym2137 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2138 := r.ContainerType() - if yyct2138 == codecSelferValueTypeMap1234 { - yyl2138 := r.ReadMapStart() - if yyl2138 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2138, d) - } - } else if yyct2138 == codecSelferValueTypeArray1234 { - yyl2138 := r.ReadArrayStart() - if yyl2138 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2138, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2139Slc - var yyhl2139 bool = l >= 0 - for yyj2139 := 0; ; yyj2139++ { - if yyhl2139 { - if yyj2139 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2139Slc = r.DecodeBytes(yys2139Slc, true, true) - yys2139 := string(yys2139Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2139 { - case "ip": - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - case "targetRef": - if r.TryDecodeAsNil() { - if x.TargetRef != nil { - x.TargetRef = nil - } - } else { - if x.TargetRef == nil { - x.TargetRef = new(ObjectReference) - } - x.TargetRef.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2139) - } // end switch yys2139 - } // end for yyj2139 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2142 int - var yyb2142 bool - var yyhl2142 bool = l >= 0 - yyj2142++ - if yyhl2142 { - yyb2142 = yyj2142 > l - } else { - yyb2142 = r.CheckBreak() - } - if yyb2142 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IP = "" - } else { - x.IP = string(r.DecodeString()) - } - yyj2142++ - if yyhl2142 { - yyb2142 = yyj2142 > l - } else { - yyb2142 = r.CheckBreak() - } - if yyb2142 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TargetRef != nil { - x.TargetRef = nil - } - } else { - if x.TargetRef == nil { - x.TargetRef = new(ObjectReference) - } - x.TargetRef.CodecDecodeSelf(d) - } - for { - yyj2142++ - if yyhl2142 { - yyb2142 = yyj2142 > l - } else { - yyb2142 = r.CheckBreak() - } - if yyb2142 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2142-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2145 := z.EncBinary() - _ = yym2145 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2146 := !z.EncBinary() - yy2arr2146 := z.EncBasicHandle().StructToArray - var yyq2146 [3]bool - _, _, _ = yysep2146, yyq2146, yy2arr2146 - const yyr2146 bool = false - yyq2146[0] = x.Name != "" - yyq2146[2] = x.Protocol != "" - var yynn2146 int - if yyr2146 || yy2arr2146 { - r.EncodeArrayStart(3) - } else { - yynn2146 = 1 - for _, b := range yyq2146 { - if b { - yynn2146++ - } - } - r.EncodeMapStart(yynn2146) - yynn2146 = 0 - } - if yyr2146 || yy2arr2146 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2146[0] { - yym2148 := z.EncBinary() - _ = yym2148 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2146[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2149 := z.EncBinary() - _ = yym2149 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr2146 || yy2arr2146 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2151 := z.EncBinary() - _ = yym2151 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2152 := z.EncBinary() - _ = yym2152 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr2146 || yy2arr2146 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2146[2] { - x.Protocol.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2146[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Protocol.CodecEncodeSelf(e) - } - } - if yyr2146 || yy2arr2146 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2154 := z.DecBinary() - _ = yym2154 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2155 := r.ContainerType() - if yyct2155 == codecSelferValueTypeMap1234 { - yyl2155 := r.ReadMapStart() - if yyl2155 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2155, d) - } - } else if yyct2155 == codecSelferValueTypeArray1234 { - yyl2155 := r.ReadArrayStart() - if yyl2155 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2155, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2156Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2156Slc - var yyhl2156 bool = l >= 0 - for yyj2156 := 0; ; yyj2156++ { - if yyhl2156 { - if yyj2156 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2156Slc = r.DecodeBytes(yys2156Slc, true, true) - yys2156 := string(yys2156Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2156 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "protocol": - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys2156) - } // end switch yys2156 - } // end for yyj2156 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2160 int - var yyb2160 bool - var yyhl2160 bool = l >= 0 - yyj2160++ - if yyhl2160 { - yyb2160 = yyj2160 > l - } else { - yyb2160 = r.CheckBreak() - } - if yyb2160 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj2160++ - if yyhl2160 { - yyb2160 = yyj2160 > l - } else { - yyb2160 = r.CheckBreak() - } - if yyb2160 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj2160++ - if yyhl2160 { - yyb2160 = yyj2160 > l - } else { - yyb2160 = r.CheckBreak() - } - if yyb2160 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - for { - yyj2160++ - if yyhl2160 { - yyb2160 = yyj2160 > l - } else { - yyb2160 = r.CheckBreak() - } - if yyb2160 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2160-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2164 := z.EncBinary() - _ = yym2164 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2165 := !z.EncBinary() - yy2arr2165 := z.EncBasicHandle().StructToArray - var yyq2165 [4]bool - _, _, _ = yysep2165, yyq2165, yy2arr2165 - const yyr2165 bool = false - yyq2165[0] = x.Kind != "" - yyq2165[1] = x.APIVersion != "" - yyq2165[2] = true - var yynn2165 int - if yyr2165 || yy2arr2165 { - r.EncodeArrayStart(4) - } else { - yynn2165 = 1 - for _, b := range yyq2165 { - if b { - yynn2165++ - } - } - r.EncodeMapStart(yynn2165) - yynn2165 = 0 - } - if yyr2165 || yy2arr2165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2165[0] { - yym2167 := z.EncBinary() - _ = yym2167 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2165[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2168 := z.EncBinary() - _ = yym2168 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2165 || yy2arr2165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2165[1] { - yym2170 := z.EncBinary() - _ = yym2170 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2165[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2171 := z.EncBinary() - _ = yym2171 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2165 || yy2arr2165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2165[2] { - yy2173 := &x.ListMeta - yym2174 := z.EncBinary() - _ = yym2174 - if false { - } else if z.HasExtensions() && z.EncExt(yy2173) { - } else { - z.EncFallback(yy2173) - } - } else { - r.EncodeNil() - } - } else { - if yyq2165[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2175 := &x.ListMeta - yym2176 := z.EncBinary() - _ = yym2176 - if false { - } else if z.HasExtensions() && z.EncExt(yy2175) { - } else { - z.EncFallback(yy2175) - } - } - } - if yyr2165 || yy2arr2165 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2178 := z.EncBinary() - _ = yym2178 - if false { - } else { - h.encSliceEndpoints(([]Endpoints)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2179 := z.EncBinary() - _ = yym2179 - if false { - } else { - h.encSliceEndpoints(([]Endpoints)(x.Items), e) - } - } - } - if yyr2165 || yy2arr2165 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -27934,7 +28048,7 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -27956,6 +28070,538 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2182 := string(yys2182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2182 { + case "ip": + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + case "targetRef": + if r.TryDecodeAsNil() { + if x.TargetRef != nil { + x.TargetRef = nil + } + } else { + if x.TargetRef == nil { + x.TargetRef = new(ObjectReference) + } + x.TargetRef.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys2182) + } // end switch yys2182 + } // end for yyj2182 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2185 int + var yyb2185 bool + var yyhl2185 bool = l >= 0 + yyj2185++ + if yyhl2185 { + yyb2185 = yyj2185 > l + } else { + yyb2185 = r.CheckBreak() + } + if yyb2185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.IP = "" + } else { + x.IP = string(r.DecodeString()) + } + yyj2185++ + if yyhl2185 { + yyb2185 = yyj2185 > l + } else { + yyb2185 = r.CheckBreak() + } + if yyb2185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.TargetRef != nil { + x.TargetRef = nil + } + } else { + if x.TargetRef == nil { + x.TargetRef = new(ObjectReference) + } + x.TargetRef.CodecDecodeSelf(d) + } + for { + yyj2185++ + if yyhl2185 { + yyb2185 = yyj2185 > l + } else { + yyb2185 = r.CheckBreak() + } + if yyb2185 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2185-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2188 := z.EncBinary() + _ = yym2188 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2189 := !z.EncBinary() + yy2arr2189 := z.EncBasicHandle().StructToArray + var yyq2189 [3]bool + _, _, _ = yysep2189, yyq2189, yy2arr2189 + const yyr2189 bool = false + yyq2189[0] = x.Name != "" + yyq2189[2] = x.Protocol != "" + var yynn2189 int + if yyr2189 || yy2arr2189 { + r.EncodeArrayStart(3) + } else { + yynn2189 = 1 + for _, b := range yyq2189 { + if b { + yynn2189++ + } + } + r.EncodeMapStart(yynn2189) + yynn2189 = 0 + } + if yyr2189 || yy2arr2189 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2189[0] { + yym2191 := z.EncBinary() + _ = yym2191 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2189[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2192 := z.EncBinary() + _ = yym2192 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr2189 || yy2arr2189 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2194 := z.EncBinary() + _ = yym2194 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2195 := z.EncBinary() + _ = yym2195 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } + if yyr2189 || yy2arr2189 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2189[2] { + x.Protocol.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2189[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Protocol.CodecEncodeSelf(e) + } + } + if yyr2189 || yy2arr2189 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2197 := z.DecBinary() + _ = yym2197 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2198 := r.ContainerType() + if yyct2198 == codecSelferValueTypeMap1234 { + yyl2198 := r.ReadMapStart() + if yyl2198 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2198, d) + } + } else if yyct2198 == codecSelferValueTypeArray1234 { + yyl2198 := r.ReadArrayStart() + if yyl2198 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2198, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2199Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2199Slc + var yyhl2199 bool = l >= 0 + for yyj2199 := 0; ; yyj2199++ { + if yyhl2199 { + if yyj2199 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2199Slc = r.DecodeBytes(yys2199Slc, true, true) + yys2199 := string(yys2199Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2199 { + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + case "protocol": + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys2199) + } // end switch yys2199 + } // end for yyj2199 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2203 int + var yyb2203 bool + var yyhl2203 bool = l >= 0 + yyj2203++ + if yyhl2203 { + yyb2203 = yyj2203 > l + } else { + yyb2203 = r.CheckBreak() + } + if yyb2203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj2203++ + if yyhl2203 { + yyb2203 = yyj2203 > l + } else { + yyb2203 = r.CheckBreak() + } + if yyb2203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj2203++ + if yyhl2203 { + yyb2203 = yyj2203 > l + } else { + yyb2203 = r.CheckBreak() + } + if yyb2203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + for { + yyj2203++ + if yyhl2203 { + yyb2203 = yyj2203 > l + } else { + yyb2203 = r.CheckBreak() + } + if yyb2203 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2203-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2207 := z.EncBinary() + _ = yym2207 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2208 := !z.EncBinary() + yy2arr2208 := z.EncBasicHandle().StructToArray + var yyq2208 [4]bool + _, _, _ = yysep2208, yyq2208, yy2arr2208 + const yyr2208 bool = false + yyq2208[0] = x.Kind != "" + yyq2208[1] = x.APIVersion != "" + yyq2208[2] = true + var yynn2208 int + if yyr2208 || yy2arr2208 { + r.EncodeArrayStart(4) + } else { + yynn2208 = 1 + for _, b := range yyq2208 { + if b { + yynn2208++ + } + } + r.EncodeMapStart(yynn2208) + yynn2208 = 0 + } + if yyr2208 || yy2arr2208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2208[0] { + yym2210 := z.EncBinary() + _ = yym2210 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2208[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2211 := z.EncBinary() + _ = yym2211 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2208 || yy2arr2208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2208[1] { + yym2213 := z.EncBinary() + _ = yym2213 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2208[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2214 := z.EncBinary() + _ = yym2214 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2208 || yy2arr2208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2208[2] { + yy2216 := &x.ListMeta + yym2217 := z.EncBinary() + _ = yym2217 + if false { + } else if z.HasExtensions() && z.EncExt(yy2216) { + } else { + z.EncFallback(yy2216) + } + } else { + r.EncodeNil() + } + } else { + if yyq2208[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2218 := &x.ListMeta + yym2219 := z.EncBinary() + _ = yym2219 + if false { + } else if z.HasExtensions() && z.EncExt(yy2218) { + } else { + z.EncFallback(yy2218) + } + } + } + if yyr2208 || yy2arr2208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2221 := z.EncBinary() + _ = yym2221 + if false { + } else { + h.encSliceEndpoints(([]Endpoints)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2222 := z.EncBinary() + _ = yym2222 + if false { + } else { + h.encSliceEndpoints(([]Endpoints)(x.Items), e) + } + } + } + if yyr2208 || yy2arr2208 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2223 := z.DecBinary() + _ = yym2223 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2224 := r.ContainerType() + if yyct2224 == codecSelferValueTypeMap1234 { + yyl2224 := r.ReadMapStart() + if yyl2224 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2224, d) + } + } else if yyct2224 == codecSelferValueTypeArray1234 { + yyl2224 := r.ReadArrayStart() + if yyl2224 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2224, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2225Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2225Slc + var yyhl2225 bool = l >= 0 + for yyj2225 := 0; ; yyj2225++ { + if yyhl2225 { + if yyj2225 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2225Slc = r.DecodeBytes(yys2225Slc, true, true) + yys2225 := string(yys2225Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2225 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -27972,31 +28618,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2185 := &x.ListMeta - yym2186 := z.DecBinary() - _ = yym2186 + yyv2228 := &x.ListMeta + yym2229 := z.DecBinary() + _ = yym2229 if false { - } else if z.HasExtensions() && z.DecExt(yyv2185) { + } else if z.HasExtensions() && z.DecExt(yyv2228) { } else { - z.DecFallback(yyv2185, false) + z.DecFallback(yyv2228, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2187 := &x.Items - yym2188 := z.DecBinary() - _ = yym2188 + yyv2230 := &x.Items + yym2231 := z.DecBinary() + _ = yym2231 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2187), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2230), d) } } default: - z.DecStructFieldNotFound(-1, yys2182) - } // end switch yys2182 - } // end for yyj2182 + z.DecStructFieldNotFound(-1, yys2225) + } // end switch yys2225 + } // end for yyj2225 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28004,16 +28650,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2189 int - var yyb2189 bool - var yyhl2189 bool = l >= 0 - yyj2189++ - if yyhl2189 { - yyb2189 = yyj2189 > l + var yyj2232 int + var yyb2232 bool + var yyhl2232 bool = l >= 0 + yyj2232++ + if yyhl2232 { + yyb2232 = yyj2232 > l } else { - yyb2189 = r.CheckBreak() + yyb2232 = r.CheckBreak() } - if yyb2189 { + if yyb2232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28023,13 +28669,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2189++ - if yyhl2189 { - yyb2189 = yyj2189 > l + yyj2232++ + if yyhl2232 { + yyb2232 = yyj2232 > l } else { - yyb2189 = r.CheckBreak() + yyb2232 = r.CheckBreak() } - if yyb2189 { + if yyb2232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28039,13 +28685,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2189++ - if yyhl2189 { - yyb2189 = yyj2189 > l + yyj2232++ + if yyhl2232 { + yyb2232 = yyj2232 > l } else { - yyb2189 = r.CheckBreak() + yyb2232 = r.CheckBreak() } - if yyb2189 { + if yyb2232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28053,22 +28699,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2192 := &x.ListMeta - yym2193 := z.DecBinary() - _ = yym2193 + yyv2235 := &x.ListMeta + yym2236 := z.DecBinary() + _ = yym2236 if false { - } else if z.HasExtensions() && z.DecExt(yyv2192) { + } else if z.HasExtensions() && z.DecExt(yyv2235) { } else { - z.DecFallback(yyv2192, false) + z.DecFallback(yyv2235, false) } } - yyj2189++ - if yyhl2189 { - yyb2189 = yyj2189 > l + yyj2232++ + if yyhl2232 { + yyb2232 = yyj2232 > l } else { - yyb2189 = r.CheckBreak() + yyb2232 = r.CheckBreak() } - if yyb2189 { + if yyb2232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28076,26 +28722,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2194 := &x.Items - yym2195 := z.DecBinary() - _ = yym2195 + yyv2237 := &x.Items + yym2238 := z.DecBinary() + _ = yym2238 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2194), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2237), d) } } for { - yyj2189++ - if yyhl2189 { - yyb2189 = yyj2189 > l + yyj2232++ + if yyhl2232 { + yyb2232 = yyj2232 > l } else { - yyb2189 = r.CheckBreak() + yyb2232 = r.CheckBreak() } - if yyb2189 { + if yyb2232 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2189-1, "") + z.DecStructFieldNotFound(yyj2232-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28107,38 +28753,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2196 := z.EncBinary() - _ = yym2196 + yym2239 := z.EncBinary() + _ = yym2239 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2197 := !z.EncBinary() - yy2arr2197 := z.EncBasicHandle().StructToArray - var yyq2197 [4]bool - _, _, _ = yysep2197, yyq2197, yy2arr2197 - const yyr2197 bool = false - yyq2197[0] = x.PodCIDR != "" - yyq2197[1] = x.ExternalID != "" - yyq2197[2] = x.ProviderID != "" - yyq2197[3] = x.Unschedulable != false - var yynn2197 int - if yyr2197 || yy2arr2197 { + yysep2240 := !z.EncBinary() + yy2arr2240 := z.EncBasicHandle().StructToArray + var yyq2240 [4]bool + _, _, _ = yysep2240, yyq2240, yy2arr2240 + const yyr2240 bool = false + yyq2240[0] = x.PodCIDR != "" + yyq2240[1] = x.ExternalID != "" + yyq2240[2] = x.ProviderID != "" + yyq2240[3] = x.Unschedulable != false + var yynn2240 int + if yyr2240 || yy2arr2240 { r.EncodeArrayStart(4) } else { - yynn2197 = 0 - for _, b := range yyq2197 { + yynn2240 = 0 + for _, b := range yyq2240 { if b { - yynn2197++ + yynn2240++ } } - r.EncodeMapStart(yynn2197) - yynn2197 = 0 + r.EncodeMapStart(yynn2240) + yynn2240 = 0 } - if yyr2197 || yy2arr2197 { + if yyr2240 || yy2arr2240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2197[0] { - yym2199 := z.EncBinary() - _ = yym2199 + if yyq2240[0] { + yym2242 := z.EncBinary() + _ = yym2242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -28147,23 +28793,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2197[0] { + if yyq2240[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2200 := z.EncBinary() - _ = yym2200 + yym2243 := z.EncBinary() + _ = yym2243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2197 || yy2arr2197 { + if yyr2240 || yy2arr2240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2197[1] { - yym2202 := z.EncBinary() - _ = yym2202 + if yyq2240[1] { + yym2245 := z.EncBinary() + _ = yym2245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -28172,23 +28818,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2197[1] { + if yyq2240[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2203 := z.EncBinary() - _ = yym2203 + yym2246 := z.EncBinary() + _ = yym2246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2197 || yy2arr2197 { + if yyr2240 || yy2arr2240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2197[2] { - yym2205 := z.EncBinary() - _ = yym2205 + if yyq2240[2] { + yym2248 := z.EncBinary() + _ = yym2248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -28197,23 +28843,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2197[2] { + if yyq2240[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2206 := z.EncBinary() - _ = yym2206 + yym2249 := z.EncBinary() + _ = yym2249 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2197 || yy2arr2197 { + if yyr2240 || yy2arr2240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2197[3] { - yym2208 := z.EncBinary() - _ = yym2208 + if yyq2240[3] { + yym2251 := z.EncBinary() + _ = yym2251 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -28222,19 +28868,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2197[3] { + if yyq2240[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2209 := z.EncBinary() - _ = yym2209 + yym2252 := z.EncBinary() + _ = yym2252 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2197 || yy2arr2197 { + if yyr2240 || yy2arr2240 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28247,25 +28893,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2210 := z.DecBinary() - _ = yym2210 + yym2253 := z.DecBinary() + _ = yym2253 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2211 := r.ContainerType() - if yyct2211 == codecSelferValueTypeMap1234 { - yyl2211 := r.ReadMapStart() - if yyl2211 == 0 { + yyct2254 := r.ContainerType() + if yyct2254 == codecSelferValueTypeMap1234 { + yyl2254 := r.ReadMapStart() + if yyl2254 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2211, d) + x.codecDecodeSelfFromMap(yyl2254, d) } - } else if yyct2211 == codecSelferValueTypeArray1234 { - yyl2211 := r.ReadArrayStart() - if yyl2211 == 0 { + } else if yyct2254 == codecSelferValueTypeArray1234 { + yyl2254 := r.ReadArrayStart() + if yyl2254 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2211, d) + x.codecDecodeSelfFromArray(yyl2254, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28277,12 +28923,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2212Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2212Slc - var yyhl2212 bool = l >= 0 - for yyj2212 := 0; ; yyj2212++ { - if yyhl2212 { - if yyj2212 >= l { + var yys2255Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2255Slc + var yyhl2255 bool = l >= 0 + for yyj2255 := 0; ; yyj2255++ { + if yyhl2255 { + if yyj2255 >= l { break } } else { @@ -28291,10 +28937,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2212Slc = r.DecodeBytes(yys2212Slc, true, true) - yys2212 := string(yys2212Slc) + yys2255Slc = r.DecodeBytes(yys2255Slc, true, true) + yys2255 := string(yys2255Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2212 { + switch yys2255 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -28320,9 +28966,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2212) - } // end switch yys2212 - } // end for yyj2212 + z.DecStructFieldNotFound(-1, yys2255) + } // end switch yys2255 + } // end for yyj2255 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28330,16 +28976,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2217 int - var yyb2217 bool - var yyhl2217 bool = l >= 0 - yyj2217++ - if yyhl2217 { - yyb2217 = yyj2217 > l + var yyj2260 int + var yyb2260 bool + var yyhl2260 bool = l >= 0 + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb2217 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb2217 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28349,13 +28995,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2217++ - if yyhl2217 { - yyb2217 = yyj2217 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb2217 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb2217 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28365,13 +29011,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2217++ - if yyhl2217 { - yyb2217 = yyj2217 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb2217 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb2217 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28381,13 +29027,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2217++ - if yyhl2217 { - yyb2217 = yyj2217 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb2217 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb2217 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28398,17 +29044,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2217++ - if yyhl2217 { - yyb2217 = yyj2217 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb2217 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb2217 { + if yyb2260 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2217-1, "") + z.DecStructFieldNotFound(yyj2260-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28420,33 +29066,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2222 := z.EncBinary() - _ = yym2222 + yym2265 := z.EncBinary() + _ = yym2265 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2223 := !z.EncBinary() - yy2arr2223 := z.EncBasicHandle().StructToArray - var yyq2223 [1]bool - _, _, _ = yysep2223, yyq2223, yy2arr2223 - const yyr2223 bool = false - var yynn2223 int - if yyr2223 || yy2arr2223 { + yysep2266 := !z.EncBinary() + yy2arr2266 := z.EncBasicHandle().StructToArray + var yyq2266 [1]bool + _, _, _ = yysep2266, yyq2266, yy2arr2266 + const yyr2266 bool = false + var yynn2266 int + if yyr2266 || yy2arr2266 { r.EncodeArrayStart(1) } else { - yynn2223 = 1 - for _, b := range yyq2223 { + yynn2266 = 1 + for _, b := range yyq2266 { if b { - yynn2223++ + yynn2266++ } } - r.EncodeMapStart(yynn2223) - yynn2223 = 0 + r.EncodeMapStart(yynn2266) + yynn2266 = 0 } - if yyr2223 || yy2arr2223 { + if yyr2266 || yy2arr2266 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2225 := z.EncBinary() - _ = yym2225 + yym2268 := z.EncBinary() + _ = yym2268 if false { } else { r.EncodeInt(int64(x.Port)) @@ -28455,14 +29101,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2226 := z.EncBinary() - _ = yym2226 + yym2269 := z.EncBinary() + _ = yym2269 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2223 || yy2arr2223 { + if yyr2266 || yy2arr2266 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28472,464 +29118,6 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2227 := z.DecBinary() - _ = yym2227 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2228 := r.ContainerType() - if yyct2228 == codecSelferValueTypeMap1234 { - yyl2228 := r.ReadMapStart() - if yyl2228 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2228, d) - } - } else if yyct2228 == codecSelferValueTypeArray1234 { - yyl2228 := r.ReadArrayStart() - if yyl2228 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2228, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2229Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2229Slc - var yyhl2229 bool = l >= 0 - for yyj2229 := 0; ; yyj2229++ { - if yyhl2229 { - if yyj2229 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2229Slc = r.DecodeBytes(yys2229Slc, true, true) - yys2229 := string(yys2229Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2229 { - case "Port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys2229) - } // end switch yys2229 - } // end for yyj2229 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2231 int - var yyb2231 bool - var yyhl2231 bool = l >= 0 - yyj2231++ - if yyhl2231 { - yyb2231 = yyj2231 > l - } else { - yyb2231 = r.CheckBreak() - } - if yyb2231 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - for { - yyj2231++ - if yyhl2231 { - yyb2231 = yyj2231 > l - } else { - yyb2231 = r.CheckBreak() - } - if yyb2231 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2231-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2233 := z.EncBinary() - _ = yym2233 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2234 := !z.EncBinary() - yy2arr2234 := z.EncBasicHandle().StructToArray - var yyq2234 [1]bool - _, _, _ = yysep2234, yyq2234, yy2arr2234 - const yyr2234 bool = false - yyq2234[0] = true - var yynn2234 int - if yyr2234 || yy2arr2234 { - r.EncodeArrayStart(1) - } else { - yynn2234 = 0 - for _, b := range yyq2234 { - if b { - yynn2234++ - } - } - r.EncodeMapStart(yynn2234) - yynn2234 = 0 - } - if yyr2234 || yy2arr2234 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2234[0] { - yy2236 := &x.KubeletEndpoint - yy2236.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2234[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2237 := &x.KubeletEndpoint - yy2237.CodecEncodeSelf(e) - } - } - if yyr2234 || yy2arr2234 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2238 := z.DecBinary() - _ = yym2238 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2239 := r.ContainerType() - if yyct2239 == codecSelferValueTypeMap1234 { - yyl2239 := r.ReadMapStart() - if yyl2239 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2239, d) - } - } else if yyct2239 == codecSelferValueTypeArray1234 { - yyl2239 := r.ReadArrayStart() - if yyl2239 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2239, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2240Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2240Slc - var yyhl2240 bool = l >= 0 - for yyj2240 := 0; ; yyj2240++ { - if yyhl2240 { - if yyj2240 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2240Slc = r.DecodeBytes(yys2240Slc, true, true) - yys2240 := string(yys2240Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2240 { - case "kubeletEndpoint": - if r.TryDecodeAsNil() { - x.KubeletEndpoint = DaemonEndpoint{} - } else { - yyv2241 := &x.KubeletEndpoint - yyv2241.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2240) - } // end switch yys2240 - } // end for yyj2240 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2242 int - var yyb2242 bool - var yyhl2242 bool = l >= 0 - yyj2242++ - if yyhl2242 { - yyb2242 = yyj2242 > l - } else { - yyb2242 = r.CheckBreak() - } - if yyb2242 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeletEndpoint = DaemonEndpoint{} - } else { - yyv2243 := &x.KubeletEndpoint - yyv2243.CodecDecodeSelf(d) - } - for { - yyj2242++ - if yyhl2242 { - yyb2242 = yyj2242 > l - } else { - yyb2242 = r.CheckBreak() - } - if yyb2242 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2242-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2244 := z.EncBinary() - _ = yym2244 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2245 := !z.EncBinary() - yy2arr2245 := z.EncBasicHandle().StructToArray - var yyq2245 [8]bool - _, _, _ = yysep2245, yyq2245, yy2arr2245 - const yyr2245 bool = false - var yynn2245 int - if yyr2245 || yy2arr2245 { - r.EncodeArrayStart(8) - } else { - yynn2245 = 8 - for _, b := range yyq2245 { - if b { - yynn2245++ - } - } - r.EncodeMapStart(yynn2245) - yynn2245 = 0 - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2247 := z.EncBinary() - _ = yym2247 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("machineID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2248 := z.EncBinary() - _ = yym2248 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2250 := z.EncBinary() - _ = yym2250 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2251 := z.EncBinary() - _ = yym2251 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2253 := z.EncBinary() - _ = yym2253 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("bootID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2254 := z.EncBinary() - _ = yym2254 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2256 := z.EncBinary() - _ = yym2256 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2257 := z.EncBinary() - _ = yym2257 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2259 := z.EncBinary() - _ = yym2259 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("osImage")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2260 := z.EncBinary() - _ = yym2260 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2262 := z.EncBinary() - _ = yym2262 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2263 := z.EncBinary() - _ = yym2263 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2265 := z.EncBinary() - _ = yym2265 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2266 := z.EncBinary() - _ = yym2266 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2268 := z.EncBinary() - _ = yym2268 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2269 := z.EncBinary() - _ = yym2269 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) - } - } - if yyr2245 || yy2arr2245 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28959,7 +29147,7 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -28981,6 +29169,464 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2272 := string(yys2272Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2272 { + case "Port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + default: + z.DecStructFieldNotFound(-1, yys2272) + } // end switch yys2272 + } // end for yyj2272 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2274 int + var yyb2274 bool + var yyhl2274 bool = l >= 0 + yyj2274++ + if yyhl2274 { + yyb2274 = yyj2274 > l + } else { + yyb2274 = r.CheckBreak() + } + if yyb2274 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + for { + yyj2274++ + if yyhl2274 { + yyb2274 = yyj2274 > l + } else { + yyb2274 = r.CheckBreak() + } + if yyb2274 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2274-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2276 := z.EncBinary() + _ = yym2276 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2277 := !z.EncBinary() + yy2arr2277 := z.EncBasicHandle().StructToArray + var yyq2277 [1]bool + _, _, _ = yysep2277, yyq2277, yy2arr2277 + const yyr2277 bool = false + yyq2277[0] = true + var yynn2277 int + if yyr2277 || yy2arr2277 { + r.EncodeArrayStart(1) + } else { + yynn2277 = 0 + for _, b := range yyq2277 { + if b { + yynn2277++ + } + } + r.EncodeMapStart(yynn2277) + yynn2277 = 0 + } + if yyr2277 || yy2arr2277 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2277[0] { + yy2279 := &x.KubeletEndpoint + yy2279.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2277[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2280 := &x.KubeletEndpoint + yy2280.CodecEncodeSelf(e) + } + } + if yyr2277 || yy2arr2277 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2281 := z.DecBinary() + _ = yym2281 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2282 := r.ContainerType() + if yyct2282 == codecSelferValueTypeMap1234 { + yyl2282 := r.ReadMapStart() + if yyl2282 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2282, d) + } + } else if yyct2282 == codecSelferValueTypeArray1234 { + yyl2282 := r.ReadArrayStart() + if yyl2282 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2282, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2283Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2283Slc + var yyhl2283 bool = l >= 0 + for yyj2283 := 0; ; yyj2283++ { + if yyhl2283 { + if yyj2283 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2283Slc = r.DecodeBytes(yys2283Slc, true, true) + yys2283 := string(yys2283Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2283 { + case "kubeletEndpoint": + if r.TryDecodeAsNil() { + x.KubeletEndpoint = DaemonEndpoint{} + } else { + yyv2284 := &x.KubeletEndpoint + yyv2284.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys2283) + } // end switch yys2283 + } // end for yyj2283 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2285 int + var yyb2285 bool + var yyhl2285 bool = l >= 0 + yyj2285++ + if yyhl2285 { + yyb2285 = yyj2285 > l + } else { + yyb2285 = r.CheckBreak() + } + if yyb2285 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeletEndpoint = DaemonEndpoint{} + } else { + yyv2286 := &x.KubeletEndpoint + yyv2286.CodecDecodeSelf(d) + } + for { + yyj2285++ + if yyhl2285 { + yyb2285 = yyj2285 > l + } else { + yyb2285 = r.CheckBreak() + } + if yyb2285 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2285-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2287 := z.EncBinary() + _ = yym2287 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2288 := !z.EncBinary() + yy2arr2288 := z.EncBasicHandle().StructToArray + var yyq2288 [8]bool + _, _, _ = yysep2288, yyq2288, yy2arr2288 + const yyr2288 bool = false + var yynn2288 int + if yyr2288 || yy2arr2288 { + r.EncodeArrayStart(8) + } else { + yynn2288 = 8 + for _, b := range yyq2288 { + if b { + yynn2288++ + } + } + r.EncodeMapStart(yynn2288) + yynn2288 = 0 + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2290 := z.EncBinary() + _ = yym2290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("machineID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2291 := z.EncBinary() + _ = yym2291 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2293 := z.EncBinary() + _ = yym2293 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2294 := z.EncBinary() + _ = yym2294 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2296 := z.EncBinary() + _ = yym2296 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("bootID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2297 := z.EncBinary() + _ = yym2297 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2299 := z.EncBinary() + _ = yym2299 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2300 := z.EncBinary() + _ = yym2300 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2302 := z.EncBinary() + _ = yym2302 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("osImage")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2303 := z.EncBinary() + _ = yym2303 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2305 := z.EncBinary() + _ = yym2305 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2306 := z.EncBinary() + _ = yym2306 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2308 := z.EncBinary() + _ = yym2308 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2309 := z.EncBinary() + _ = yym2309 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2311 := z.EncBinary() + _ = yym2311 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2312 := z.EncBinary() + _ = yym2312 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) + } + } + if yyr2288 || yy2arr2288 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2313 := z.DecBinary() + _ = yym2313 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2314 := r.ContainerType() + if yyct2314 == codecSelferValueTypeMap1234 { + yyl2314 := r.ReadMapStart() + if yyl2314 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2314, d) + } + } else if yyct2314 == codecSelferValueTypeArray1234 { + yyl2314 := r.ReadArrayStart() + if yyl2314 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2314, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2315Slc + var yyhl2315 bool = l >= 0 + for yyj2315 := 0; ; yyj2315++ { + if yyhl2315 { + if yyj2315 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2315Slc = r.DecodeBytes(yys2315Slc, true, true) + yys2315 := string(yys2315Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2315 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -29030,9 +29676,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2272) - } // end switch yys2272 - } // end for yyj2272 + z.DecStructFieldNotFound(-1, yys2315) + } // end switch yys2315 + } // end for yyj2315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29040,16 +29686,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2281 int - var yyb2281 bool - var yyhl2281 bool = l >= 0 - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + var yyj2324 int + var yyb2324 bool + var yyhl2324 bool = l >= 0 + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29059,13 +29705,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29075,13 +29721,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29091,13 +29737,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29107,13 +29753,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29123,13 +29769,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29139,13 +29785,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29155,13 +29801,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29172,17 +29818,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.KubeProxyVersion = string(r.DecodeString()) } for { - yyj2281++ - if yyhl2281 { - yyb2281 = yyj2281 > l + yyj2324++ + if yyhl2324 { + yyb2324 = yyj2324 > l } else { - yyb2281 = r.CheckBreak() + yyb2324 = r.CheckBreak() } - if yyb2281 { + if yyb2324 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2281-1, "") + z.DecStructFieldNotFound(yyj2324-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29194,39 +29840,39 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2290 := z.EncBinary() - _ = yym2290 + yym2333 := z.EncBinary() + _ = yym2333 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2291 := !z.EncBinary() - yy2arr2291 := z.EncBasicHandle().StructToArray - var yyq2291 [7]bool - _, _, _ = yysep2291, yyq2291, yy2arr2291 - const yyr2291 bool = false - yyq2291[0] = len(x.Capacity) != 0 - yyq2291[1] = len(x.Allocatable) != 0 - yyq2291[2] = x.Phase != "" - yyq2291[3] = len(x.Conditions) != 0 - yyq2291[4] = len(x.Addresses) != 0 - yyq2291[5] = true - yyq2291[6] = true - var yynn2291 int - if yyr2291 || yy2arr2291 { + yysep2334 := !z.EncBinary() + yy2arr2334 := z.EncBasicHandle().StructToArray + var yyq2334 [7]bool + _, _, _ = yysep2334, yyq2334, yy2arr2334 + const yyr2334 bool = false + yyq2334[0] = len(x.Capacity) != 0 + yyq2334[1] = len(x.Allocatable) != 0 + yyq2334[2] = x.Phase != "" + yyq2334[3] = len(x.Conditions) != 0 + yyq2334[4] = len(x.Addresses) != 0 + yyq2334[5] = true + yyq2334[6] = true + var yynn2334 int + if yyr2334 || yy2arr2334 { r.EncodeArrayStart(7) } else { - yynn2291 = 0 - for _, b := range yyq2291 { + yynn2334 = 0 + for _, b := range yyq2334 { if b { - yynn2291++ + yynn2334++ } } - r.EncodeMapStart(yynn2291) - yynn2291 = 0 + r.EncodeMapStart(yynn2334) + yynn2334 = 0 } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[0] { + if yyq2334[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -29236,7 +29882,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2291[0] { + if yyq2334[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29247,9 +29893,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[1] { + if yyq2334[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -29259,7 +29905,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2291[1] { + if yyq2334[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29270,29 +29916,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[2] { + if yyq2334[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2291[2] { + if yyq2334[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[3] { + if yyq2334[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym2296 := z.EncBinary() - _ = yym2296 + yym2339 := z.EncBinary() + _ = yym2339 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -29302,15 +29948,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2291[3] { + if yyq2334[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2297 := z.EncBinary() - _ = yym2297 + yym2340 := z.EncBinary() + _ = yym2340 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -29318,14 +29964,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[4] { + if yyq2334[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym2299 := z.EncBinary() - _ = yym2299 + yym2342 := z.EncBinary() + _ = yym2342 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -29335,15 +29981,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2291[4] { + if yyq2334[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2300 := z.EncBinary() - _ = yym2300 + yym2343 := z.EncBinary() + _ = yym2343 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -29351,41 +29997,41 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[5] { - yy2302 := &x.DaemonEndpoints - yy2302.CodecEncodeSelf(e) + if yyq2334[5] { + yy2345 := &x.DaemonEndpoints + yy2345.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2291[5] { + if yyq2334[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2303 := &x.DaemonEndpoints - yy2303.CodecEncodeSelf(e) + yy2346 := &x.DaemonEndpoints + yy2346.CodecEncodeSelf(e) } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2291[6] { - yy2305 := &x.NodeInfo - yy2305.CodecEncodeSelf(e) + if yyq2334[6] { + yy2348 := &x.NodeInfo + yy2348.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2291[6] { + if yyq2334[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2306 := &x.NodeInfo - yy2306.CodecEncodeSelf(e) + yy2349 := &x.NodeInfo + yy2349.CodecEncodeSelf(e) } } - if yyr2291 || yy2arr2291 { + if yyr2334 || yy2arr2334 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29398,25 +30044,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2307 := z.DecBinary() - _ = yym2307 + yym2350 := z.DecBinary() + _ = yym2350 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2308 := r.ContainerType() - if yyct2308 == codecSelferValueTypeMap1234 { - yyl2308 := r.ReadMapStart() - if yyl2308 == 0 { + yyct2351 := r.ContainerType() + if yyct2351 == codecSelferValueTypeMap1234 { + yyl2351 := r.ReadMapStart() + if yyl2351 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2308, d) + x.codecDecodeSelfFromMap(yyl2351, d) } - } else if yyct2308 == codecSelferValueTypeArray1234 { - yyl2308 := r.ReadArrayStart() - if yyl2308 == 0 { + } else if yyct2351 == codecSelferValueTypeArray1234 { + yyl2351 := r.ReadArrayStart() + if yyl2351 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2308, d) + x.codecDecodeSelfFromArray(yyl2351, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29428,12 +30074,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2309Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2309Slc - var yyhl2309 bool = l >= 0 - for yyj2309 := 0; ; yyj2309++ { - if yyhl2309 { - if yyj2309 >= 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 { @@ -29442,23 +30088,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2309Slc = r.DecodeBytes(yys2309Slc, true, true) - yys2309 := string(yys2309Slc) + yys2352Slc = r.DecodeBytes(yys2352Slc, true, true) + yys2352 := string(yys2352Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2309 { + switch yys2352 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2310 := &x.Capacity - yyv2310.CodecDecodeSelf(d) + yyv2353 := &x.Capacity + yyv2353.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2311 := &x.Allocatable - yyv2311.CodecDecodeSelf(d) + yyv2354 := &x.Allocatable + yyv2354.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -29470,44 +30116,44 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2313 := &x.Conditions - yym2314 := z.DecBinary() - _ = yym2314 + yyv2356 := &x.Conditions + yym2357 := z.DecBinary() + _ = yym2357 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2313), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2356), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2315 := &x.Addresses - yym2316 := z.DecBinary() - _ = yym2316 + yyv2358 := &x.Addresses + yym2359 := z.DecBinary() + _ = yym2359 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2315), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2358), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2317 := &x.DaemonEndpoints - yyv2317.CodecDecodeSelf(d) + yyv2360 := &x.DaemonEndpoints + yyv2360.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2318 := &x.NodeInfo - yyv2318.CodecDecodeSelf(d) + yyv2361 := &x.NodeInfo + yyv2361.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2309) - } // end switch yys2309 - } // end for yyj2309 + z.DecStructFieldNotFound(-1, yys2352) + } // end switch yys2352 + } // end for yyj2352 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29515,16 +30161,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2319 int - var yyb2319 bool - var yyhl2319 bool = l >= 0 - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + var yyj2362 int + var yyb2362 bool + var yyhl2362 bool = l >= 0 + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29532,16 +30178,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2320 := &x.Capacity - yyv2320.CodecDecodeSelf(d) + yyv2363 := &x.Capacity + yyv2363.CodecDecodeSelf(d) } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29549,16 +30195,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2321 := &x.Allocatable - yyv2321.CodecDecodeSelf(d) + yyv2364 := &x.Allocatable + yyv2364.CodecDecodeSelf(d) } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29568,13 +30214,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29582,21 +30228,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2323 := &x.Conditions - yym2324 := z.DecBinary() - _ = yym2324 + yyv2366 := &x.Conditions + yym2367 := z.DecBinary() + _ = yym2367 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2323), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2366), d) } } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29604,21 +30250,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2325 := &x.Addresses - yym2326 := z.DecBinary() - _ = yym2326 + yyv2368 := &x.Addresses + yym2369 := z.DecBinary() + _ = yym2369 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv2325), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2368), d) } } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29626,16 +30272,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv2327 := &x.DaemonEndpoints - yyv2327.CodecDecodeSelf(d) + yyv2370 := &x.DaemonEndpoints + yyv2370.CodecDecodeSelf(d) } - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29643,21 +30289,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv2328 := &x.NodeInfo - yyv2328.CodecDecodeSelf(d) + yyv2371 := &x.NodeInfo + yyv2371.CodecDecodeSelf(d) } for { - yyj2319++ - if yyhl2319 { - yyb2319 = yyj2319 > l + yyj2362++ + if yyhl2362 { + yyb2362 = yyj2362 > l } else { - yyb2319 = r.CheckBreak() + yyb2362 = r.CheckBreak() } - if yyb2319 { + if yyb2362 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2319-1, "") + z.DecStructFieldNotFound(yyj2362-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29666,8 +30312,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2329 := z.EncBinary() - _ = yym2329 + yym2372 := z.EncBinary() + _ = yym2372 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -29679,8 +30325,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2330 := z.DecBinary() - _ = yym2330 + yym2373 := z.DecBinary() + _ = yym2373 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -29692,8 +30338,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2331 := z.EncBinary() - _ = yym2331 + yym2374 := z.EncBinary() + _ = yym2374 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -29705,8 +30351,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2332 := z.DecBinary() - _ = yym2332 + yym2375 := z.DecBinary() + _ = yym2375 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -29721,34 +30367,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2333 := z.EncBinary() - _ = yym2333 + yym2376 := z.EncBinary() + _ = yym2376 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2334 := !z.EncBinary() - yy2arr2334 := z.EncBasicHandle().StructToArray - var yyq2334 [6]bool - _, _, _ = yysep2334, yyq2334, yy2arr2334 - const yyr2334 bool = false - yyq2334[2] = true - yyq2334[3] = true - yyq2334[4] = x.Reason != "" - yyq2334[5] = x.Message != "" - var yynn2334 int - if yyr2334 || yy2arr2334 { + yysep2377 := !z.EncBinary() + yy2arr2377 := z.EncBasicHandle().StructToArray + var yyq2377 [6]bool + _, _, _ = yysep2377, yyq2377, yy2arr2377 + const yyr2377 bool = false + yyq2377[2] = true + yyq2377[3] = true + yyq2377[4] = x.Reason != "" + yyq2377[5] = x.Message != "" + var yynn2377 int + if yyr2377 || yy2arr2377 { r.EncodeArrayStart(6) } else { - yynn2334 = 2 - for _, b := range yyq2334 { + yynn2377 = 2 + for _, b := range yyq2377 { if b { - yynn2334++ + yynn2377++ } } - r.EncodeMapStart(yynn2334) - yynn2334 = 0 + r.EncodeMapStart(yynn2377) + yynn2377 = 0 } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -29757,7 +30403,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -29766,85 +30412,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2334[2] { - yy2338 := &x.LastHeartbeatTime - yym2339 := z.EncBinary() - _ = yym2339 + if yyq2377[2] { + yy2381 := &x.LastHeartbeatTime + yym2382 := z.EncBinary() + _ = yym2382 if false { - } else if z.HasExtensions() && z.EncExt(yy2338) { - } else if yym2339 { - z.EncBinaryMarshal(yy2338) - } else if !yym2339 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2338) + } else if z.HasExtensions() && z.EncExt(yy2381) { + } else if yym2382 { + z.EncBinaryMarshal(yy2381) + } else if !yym2382 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2381) } else { - z.EncFallback(yy2338) + z.EncFallback(yy2381) } } else { r.EncodeNil() } } else { - if yyq2334[2] { + if yyq2377[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2340 := &x.LastHeartbeatTime - yym2341 := z.EncBinary() - _ = yym2341 + yy2383 := &x.LastHeartbeatTime + yym2384 := z.EncBinary() + _ = yym2384 if false { - } else if z.HasExtensions() && z.EncExt(yy2340) { - } else if yym2341 { - z.EncBinaryMarshal(yy2340) - } else if !yym2341 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2340) + } else if z.HasExtensions() && z.EncExt(yy2383) { + } else if yym2384 { + z.EncBinaryMarshal(yy2383) + } else if !yym2384 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2383) } else { - z.EncFallback(yy2340) + z.EncFallback(yy2383) } } } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2334[3] { - yy2343 := &x.LastTransitionTime - yym2344 := z.EncBinary() - _ = yym2344 + if yyq2377[3] { + yy2386 := &x.LastTransitionTime + yym2387 := z.EncBinary() + _ = yym2387 if false { - } else if z.HasExtensions() && z.EncExt(yy2343) { - } else if yym2344 { - z.EncBinaryMarshal(yy2343) - } else if !yym2344 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2343) + } else if z.HasExtensions() && z.EncExt(yy2386) { + } else if yym2387 { + z.EncBinaryMarshal(yy2386) + } else if !yym2387 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2386) } else { - z.EncFallback(yy2343) + z.EncFallback(yy2386) } } else { r.EncodeNil() } } else { - if yyq2334[3] { + if yyq2377[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2345 := &x.LastTransitionTime - yym2346 := z.EncBinary() - _ = yym2346 + yy2388 := &x.LastTransitionTime + yym2389 := z.EncBinary() + _ = yym2389 if false { - } else if z.HasExtensions() && z.EncExt(yy2345) { - } else if yym2346 { - z.EncBinaryMarshal(yy2345) - } else if !yym2346 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2345) + } else if z.HasExtensions() && z.EncExt(yy2388) { + } else if yym2389 { + z.EncBinaryMarshal(yy2388) + } else if !yym2389 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2388) } else { - z.EncFallback(yy2345) + z.EncFallback(yy2388) } } } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2334[4] { - yym2348 := z.EncBinary() - _ = yym2348 + if yyq2377[4] { + yym2391 := z.EncBinary() + _ = yym2391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -29853,23 +30499,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2334[4] { + if yyq2377[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2349 := z.EncBinary() - _ = yym2349 + yym2392 := z.EncBinary() + _ = yym2392 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2334[5] { - yym2351 := z.EncBinary() - _ = yym2351 + if yyq2377[5] { + yym2394 := z.EncBinary() + _ = yym2394 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -29878,19 +30524,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2334[5] { + if yyq2377[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2352 := z.EncBinary() - _ = yym2352 + yym2395 := z.EncBinary() + _ = yym2395 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2334 || yy2arr2334 { + if yyr2377 || yy2arr2377 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29903,25 +30549,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2353 := z.DecBinary() - _ = yym2353 + yym2396 := z.DecBinary() + _ = yym2396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2354 := r.ContainerType() - if yyct2354 == codecSelferValueTypeMap1234 { - yyl2354 := r.ReadMapStart() - if yyl2354 == 0 { + yyct2397 := r.ContainerType() + if yyct2397 == codecSelferValueTypeMap1234 { + yyl2397 := r.ReadMapStart() + if yyl2397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2354, d) + x.codecDecodeSelfFromMap(yyl2397, d) } - } else if yyct2354 == codecSelferValueTypeArray1234 { - yyl2354 := r.ReadArrayStart() - if yyl2354 == 0 { + } else if yyct2397 == codecSelferValueTypeArray1234 { + yyl2397 := r.ReadArrayStart() + if yyl2397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2354, d) + x.codecDecodeSelfFromArray(yyl2397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29933,12 +30579,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2355Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2355Slc - var yyhl2355 bool = l >= 0 - for yyj2355 := 0; ; yyj2355++ { - if yyhl2355 { - if yyj2355 >= l { + var yys2398Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2398Slc + var yyhl2398 bool = l >= 0 + for yyj2398 := 0; ; yyj2398++ { + if yyhl2398 { + if yyj2398 >= l { break } } else { @@ -29947,10 +30593,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2355Slc = r.DecodeBytes(yys2355Slc, true, true) - yys2355 := string(yys2355Slc) + yys2398Slc = r.DecodeBytes(yys2398Slc, true, true) + yys2398 := string(yys2398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2355 { + switch yys2398 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -29967,34 +30613,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2358 := &x.LastHeartbeatTime - yym2359 := z.DecBinary() - _ = yym2359 + yyv2401 := &x.LastHeartbeatTime + yym2402 := z.DecBinary() + _ = yym2402 if false { - } else if z.HasExtensions() && z.DecExt(yyv2358) { - } else if yym2359 { - z.DecBinaryUnmarshal(yyv2358) - } else if !yym2359 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2358) + } else if z.HasExtensions() && z.DecExt(yyv2401) { + } else if yym2402 { + z.DecBinaryUnmarshal(yyv2401) + } else if !yym2402 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2401) } else { - z.DecFallback(yyv2358, false) + z.DecFallback(yyv2401, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2360 := &x.LastTransitionTime - yym2361 := z.DecBinary() - _ = yym2361 + yyv2403 := &x.LastTransitionTime + yym2404 := z.DecBinary() + _ = yym2404 if false { - } else if z.HasExtensions() && z.DecExt(yyv2360) { - } else if yym2361 { - z.DecBinaryUnmarshal(yyv2360) - } else if !yym2361 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2360) + } else if z.HasExtensions() && z.DecExt(yyv2403) { + } else if yym2404 { + z.DecBinaryUnmarshal(yyv2403) + } else if !yym2404 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2403) } else { - z.DecFallback(yyv2360, false) + z.DecFallback(yyv2403, false) } } case "reason": @@ -30010,9 +30656,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2355) - } // end switch yys2355 - } // end for yyj2355 + z.DecStructFieldNotFound(-1, yys2398) + } // end switch yys2398 + } // end for yyj2398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30020,16 +30666,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2364 int - var yyb2364 bool - var yyhl2364 bool = l >= 0 - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + var yyj2407 int + var yyb2407 bool + var yyhl2407 bool = l >= 0 + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30039,13 +30685,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30055,13 +30701,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30069,26 +30715,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv2367 := &x.LastHeartbeatTime - yym2368 := z.DecBinary() - _ = yym2368 + yyv2410 := &x.LastHeartbeatTime + yym2411 := z.DecBinary() + _ = yym2411 if false { - } else if z.HasExtensions() && z.DecExt(yyv2367) { - } else if yym2368 { - z.DecBinaryUnmarshal(yyv2367) - } else if !yym2368 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2367) + } else if z.HasExtensions() && z.DecExt(yyv2410) { + } else if yym2411 { + z.DecBinaryUnmarshal(yyv2410) + } else if !yym2411 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2410) } else { - z.DecFallback(yyv2367, false) + z.DecFallback(yyv2410, false) } } - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30096,26 +30742,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv2369 := &x.LastTransitionTime - yym2370 := z.DecBinary() - _ = yym2370 + yyv2412 := &x.LastTransitionTime + yym2413 := z.DecBinary() + _ = yym2413 if false { - } else if z.HasExtensions() && z.DecExt(yyv2369) { - } else if yym2370 { - z.DecBinaryUnmarshal(yyv2369) - } else if !yym2370 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2369) + } else if z.HasExtensions() && z.DecExt(yyv2412) { + } else if yym2413 { + z.DecBinaryUnmarshal(yyv2412) + } else if !yym2413 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2412) } else { - z.DecFallback(yyv2369, false) + z.DecFallback(yyv2412, false) } } - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30125,13 +30771,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30142,17 +30788,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj2364++ - if yyhl2364 { - yyb2364 = yyj2364 > l + yyj2407++ + if yyhl2407 { + yyb2407 = yyj2407 > l } else { - yyb2364 = r.CheckBreak() + yyb2407 = r.CheckBreak() } - if yyb2364 { + if yyb2407 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2364-1, "") + z.DecStructFieldNotFound(yyj2407-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30161,8 +30807,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2373 := z.EncBinary() - _ = yym2373 + yym2416 := z.EncBinary() + _ = yym2416 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30174,8 +30820,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2374 := z.DecBinary() - _ = yym2374 + yym2417 := z.DecBinary() + _ = yym2417 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30190,30 +30836,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2375 := z.EncBinary() - _ = yym2375 + yym2418 := z.EncBinary() + _ = yym2418 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2376 := !z.EncBinary() - yy2arr2376 := z.EncBasicHandle().StructToArray - var yyq2376 [2]bool - _, _, _ = yysep2376, yyq2376, yy2arr2376 - const yyr2376 bool = false - var yynn2376 int - if yyr2376 || yy2arr2376 { + yysep2419 := !z.EncBinary() + yy2arr2419 := z.EncBasicHandle().StructToArray + var yyq2419 [2]bool + _, _, _ = yysep2419, yyq2419, yy2arr2419 + const yyr2419 bool = false + var yynn2419 int + if yyr2419 || yy2arr2419 { r.EncodeArrayStart(2) } else { - yynn2376 = 2 - for _, b := range yyq2376 { + yynn2419 = 2 + for _, b := range yyq2419 { if b { - yynn2376++ + yynn2419++ } } - r.EncodeMapStart(yynn2376) - yynn2376 = 0 + r.EncodeMapStart(yynn2419) + yynn2419 = 0 } - if yyr2376 || yy2arr2376 { + if yyr2419 || yy2arr2419 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -30222,10 +30868,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2376 || yy2arr2376 { + if yyr2419 || yy2arr2419 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2379 := z.EncBinary() - _ = yym2379 + yym2422 := z.EncBinary() + _ = yym2422 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -30234,14 +30880,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2380 := z.EncBinary() - _ = yym2380 + yym2423 := z.EncBinary() + _ = yym2423 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2376 || yy2arr2376 { + if yyr2419 || yy2arr2419 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30254,25 +30900,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2381 := z.DecBinary() - _ = yym2381 + yym2424 := z.DecBinary() + _ = yym2424 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2382 := r.ContainerType() - if yyct2382 == codecSelferValueTypeMap1234 { - yyl2382 := r.ReadMapStart() - if yyl2382 == 0 { + yyct2425 := r.ContainerType() + if yyct2425 == codecSelferValueTypeMap1234 { + yyl2425 := r.ReadMapStart() + if yyl2425 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2382, d) + x.codecDecodeSelfFromMap(yyl2425, d) } - } else if yyct2382 == codecSelferValueTypeArray1234 { - yyl2382 := r.ReadArrayStart() - if yyl2382 == 0 { + } else if yyct2425 == codecSelferValueTypeArray1234 { + yyl2425 := r.ReadArrayStart() + if yyl2425 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2382, d) + x.codecDecodeSelfFromArray(yyl2425, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30284,12 +30930,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2383Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2383Slc - var yyhl2383 bool = l >= 0 - for yyj2383 := 0; ; yyj2383++ { - if yyhl2383 { - if yyj2383 >= l { + var yys2426Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2426Slc + var yyhl2426 bool = l >= 0 + for yyj2426 := 0; ; yyj2426++ { + if yyhl2426 { + if yyj2426 >= l { break } } else { @@ -30298,10 +30944,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2383Slc = r.DecodeBytes(yys2383Slc, true, true) - yys2383 := string(yys2383Slc) + yys2426Slc = r.DecodeBytes(yys2426Slc, true, true) + yys2426 := string(yys2426Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2383 { + switch yys2426 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -30315,9 +30961,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2383) - } // end switch yys2383 - } // end for yyj2383 + z.DecStructFieldNotFound(-1, yys2426) + } // end switch yys2426 + } // end for yyj2426 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30325,16 +30971,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2386 int - var yyb2386 bool - var yyhl2386 bool = l >= 0 - yyj2386++ - if yyhl2386 { - yyb2386 = yyj2386 > l + var yyj2429 int + var yyb2429 bool + var yyhl2429 bool = l >= 0 + yyj2429++ + if yyhl2429 { + yyb2429 = yyj2429 > l } else { - yyb2386 = r.CheckBreak() + yyb2429 = r.CheckBreak() } - if yyb2386 { + if yyb2429 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30344,13 +30990,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj2386++ - if yyhl2386 { - yyb2386 = yyj2386 > l + yyj2429++ + if yyhl2429 { + yyb2429 = yyj2429 > l } else { - yyb2386 = r.CheckBreak() + yyb2429 = r.CheckBreak() } - if yyb2386 { + if yyb2429 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30361,17 +31007,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj2386++ - if yyhl2386 { - yyb2386 = yyj2386 > l + yyj2429++ + if yyhl2429 { + yyb2429 = yyj2429 > l } else { - yyb2386 = r.CheckBreak() + yyb2429 = r.CheckBreak() } - if yyb2386 { + if yyb2429 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2386-1, "") + z.DecStructFieldNotFound(yyj2429-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30380,8 +31026,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2389 := z.EncBinary() - _ = yym2389 + yym2432 := z.EncBinary() + _ = yym2432 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30393,8 +31039,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2390 := z.DecBinary() - _ = yym2390 + yym2433 := z.DecBinary() + _ = yym2433 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30409,8 +31055,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2391 := z.EncBinary() - _ = yym2391 + yym2434 := z.EncBinary() + _ = yym2434 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30423,8 +31069,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2392 := z.DecBinary() - _ = yym2392 + yym2435 := z.DecBinary() + _ = yym2435 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30439,39 +31085,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2393 := z.EncBinary() - _ = yym2393 + yym2436 := z.EncBinary() + _ = yym2436 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2394 := !z.EncBinary() - yy2arr2394 := z.EncBasicHandle().StructToArray - var yyq2394 [5]bool - _, _, _ = yysep2394, yyq2394, yy2arr2394 - const yyr2394 bool = false - yyq2394[0] = x.Kind != "" - yyq2394[1] = x.APIVersion != "" - yyq2394[2] = true - yyq2394[3] = true - yyq2394[4] = true - var yynn2394 int - if yyr2394 || yy2arr2394 { + yysep2437 := !z.EncBinary() + yy2arr2437 := z.EncBasicHandle().StructToArray + var yyq2437 [5]bool + _, _, _ = yysep2437, yyq2437, yy2arr2437 + const yyr2437 bool = false + yyq2437[0] = x.Kind != "" + yyq2437[1] = x.APIVersion != "" + yyq2437[2] = true + yyq2437[3] = true + yyq2437[4] = true + var yynn2437 int + if yyr2437 || yy2arr2437 { r.EncodeArrayStart(5) } else { - yynn2394 = 0 - for _, b := range yyq2394 { + yynn2437 = 0 + for _, b := range yyq2437 { if b { - yynn2394++ + yynn2437++ } } - r.EncodeMapStart(yynn2394) - yynn2394 = 0 + r.EncodeMapStart(yynn2437) + yynn2437 = 0 } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2394[0] { - yym2396 := z.EncBinary() - _ = yym2396 + if yyq2437[0] { + yym2439 := z.EncBinary() + _ = yym2439 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30480,23 +31126,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2394[0] { + if yyq2437[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2397 := z.EncBinary() - _ = yym2397 + yym2440 := z.EncBinary() + _ = yym2440 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2394[1] { - yym2399 := z.EncBinary() - _ = yym2399 + if yyq2437[1] { + yym2442 := z.EncBinary() + _ = yym2442 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30505,70 +31151,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2394[1] { + if yyq2437[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2400 := z.EncBinary() - _ = yym2400 + yym2443 := z.EncBinary() + _ = yym2443 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2394[2] { - yy2402 := &x.ObjectMeta - yy2402.CodecEncodeSelf(e) + if yyq2437[2] { + yy2445 := &x.ObjectMeta + yy2445.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2394[2] { + if yyq2437[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2403 := &x.ObjectMeta - yy2403.CodecEncodeSelf(e) + yy2446 := &x.ObjectMeta + yy2446.CodecEncodeSelf(e) } } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2394[3] { - yy2405 := &x.Spec - yy2405.CodecEncodeSelf(e) + if yyq2437[3] { + yy2448 := &x.Spec + yy2448.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2394[3] { + if yyq2437[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2406 := &x.Spec - yy2406.CodecEncodeSelf(e) + yy2449 := &x.Spec + yy2449.CodecEncodeSelf(e) } } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2394[4] { - yy2408 := &x.Status - yy2408.CodecEncodeSelf(e) + if yyq2437[4] { + yy2451 := &x.Status + yy2451.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2394[4] { + if yyq2437[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2409 := &x.Status - yy2409.CodecEncodeSelf(e) + yy2452 := &x.Status + yy2452.CodecEncodeSelf(e) } } - if yyr2394 || yy2arr2394 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30581,25 +31227,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2410 := z.DecBinary() - _ = yym2410 + yym2453 := z.DecBinary() + _ = yym2453 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2411 := r.ContainerType() - if yyct2411 == codecSelferValueTypeMap1234 { - yyl2411 := r.ReadMapStart() - if yyl2411 == 0 { + yyct2454 := r.ContainerType() + if yyct2454 == codecSelferValueTypeMap1234 { + yyl2454 := r.ReadMapStart() + if yyl2454 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2411, d) + x.codecDecodeSelfFromMap(yyl2454, d) } - } else if yyct2411 == codecSelferValueTypeArray1234 { - yyl2411 := r.ReadArrayStart() - if yyl2411 == 0 { + } else if yyct2454 == codecSelferValueTypeArray1234 { + yyl2454 := r.ReadArrayStart() + if yyl2454 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2411, d) + x.codecDecodeSelfFromArray(yyl2454, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30611,12 +31257,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2412Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2412Slc - var yyhl2412 bool = l >= 0 - for yyj2412 := 0; ; yyj2412++ { - if yyhl2412 { - if yyj2412 >= l { + var yys2455Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2455Slc + var yyhl2455 bool = l >= 0 + for yyj2455 := 0; ; yyj2455++ { + if yyhl2455 { + if yyj2455 >= l { break } } else { @@ -30625,10 +31271,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2412Slc = r.DecodeBytes(yys2412Slc, true, true) - yys2412 := string(yys2412Slc) + yys2455Slc = r.DecodeBytes(yys2455Slc, true, true) + yys2455 := string(yys2455Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2412 { + switch yys2455 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30645,27 +31291,27 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2415 := &x.ObjectMeta - yyv2415.CodecDecodeSelf(d) + yyv2458 := &x.ObjectMeta + yyv2458.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2416 := &x.Spec - yyv2416.CodecDecodeSelf(d) + yyv2459 := &x.Spec + yyv2459.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2417 := &x.Status - yyv2417.CodecDecodeSelf(d) + yyv2460 := &x.Status + yyv2460.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2412) - } // end switch yys2412 - } // end for yyj2412 + z.DecStructFieldNotFound(-1, yys2455) + } // end switch yys2455 + } // end for yyj2455 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30673,16 +31319,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2418 int - var yyb2418 bool - var yyhl2418 bool = l >= 0 - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + var yyj2461 int + var yyb2461 bool + var yyhl2461 bool = l >= 0 + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30692,13 +31338,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30708,13 +31354,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30722,16 +31368,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2421 := &x.ObjectMeta - yyv2421.CodecDecodeSelf(d) + yyv2464 := &x.ObjectMeta + yyv2464.CodecDecodeSelf(d) } - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30739,16 +31385,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv2422 := &x.Spec - yyv2422.CodecDecodeSelf(d) + yyv2465 := &x.Spec + yyv2465.CodecDecodeSelf(d) } - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30756,21 +31402,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv2423 := &x.Status - yyv2423.CodecDecodeSelf(d) + yyv2466 := &x.Status + yyv2466.CodecDecodeSelf(d) } for { - yyj2418++ - if yyhl2418 { - yyb2418 = yyj2418 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb2418 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb2418 { + if yyb2461 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2418-1, "") + z.DecStructFieldNotFound(yyj2461-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30782,37 +31428,37 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2424 := z.EncBinary() - _ = yym2424 + yym2467 := z.EncBinary() + _ = yym2467 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2425 := !z.EncBinary() - yy2arr2425 := z.EncBasicHandle().StructToArray - var yyq2425 [4]bool - _, _, _ = yysep2425, yyq2425, yy2arr2425 - const yyr2425 bool = false - yyq2425[0] = x.Kind != "" - yyq2425[1] = x.APIVersion != "" - yyq2425[2] = true - var yynn2425 int - if yyr2425 || yy2arr2425 { + yysep2468 := !z.EncBinary() + yy2arr2468 := z.EncBasicHandle().StructToArray + var yyq2468 [4]bool + _, _, _ = yysep2468, yyq2468, yy2arr2468 + const yyr2468 bool = false + yyq2468[0] = x.Kind != "" + yyq2468[1] = x.APIVersion != "" + yyq2468[2] = true + var yynn2468 int + if yyr2468 || yy2arr2468 { r.EncodeArrayStart(4) } else { - yynn2425 = 1 - for _, b := range yyq2425 { + yynn2468 = 1 + for _, b := range yyq2468 { if b { - yynn2425++ + yynn2468++ } } - r.EncodeMapStart(yynn2425) - yynn2425 = 0 + r.EncodeMapStart(yynn2468) + yynn2468 = 0 } - if yyr2425 || yy2arr2425 { + if yyr2468 || yy2arr2468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2425[0] { - yym2427 := z.EncBinary() - _ = yym2427 + if yyq2468[0] { + yym2470 := z.EncBinary() + _ = yym2470 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30821,23 +31467,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2425[0] { + if yyq2468[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2428 := z.EncBinary() - _ = yym2428 + yym2471 := z.EncBinary() + _ = yym2471 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2425 || yy2arr2425 { + if yyr2468 || yy2arr2468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2425[1] { - yym2430 := z.EncBinary() - _ = yym2430 + if yyq2468[1] { + yym2473 := z.EncBinary() + _ = yym2473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30846,54 +31492,54 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2425[1] { + if yyq2468[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2431 := z.EncBinary() - _ = yym2431 + yym2474 := z.EncBinary() + _ = yym2474 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2425 || yy2arr2425 { + if yyr2468 || yy2arr2468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2425[2] { - yy2433 := &x.ListMeta - yym2434 := z.EncBinary() - _ = yym2434 + if yyq2468[2] { + yy2476 := &x.ListMeta + yym2477 := z.EncBinary() + _ = yym2477 if false { - } else if z.HasExtensions() && z.EncExt(yy2433) { + } else if z.HasExtensions() && z.EncExt(yy2476) { } else { - z.EncFallback(yy2433) + z.EncFallback(yy2476) } } else { r.EncodeNil() } } else { - if yyq2425[2] { + if yyq2468[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2435 := &x.ListMeta - yym2436 := z.EncBinary() - _ = yym2436 + yy2478 := &x.ListMeta + yym2479 := z.EncBinary() + _ = yym2479 if false { - } else if z.HasExtensions() && z.EncExt(yy2435) { + } else if z.HasExtensions() && z.EncExt(yy2478) { } else { - z.EncFallback(yy2435) + z.EncFallback(yy2478) } } } - if yyr2425 || yy2arr2425 { + if yyr2468 || yy2arr2468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2438 := z.EncBinary() - _ = yym2438 + yym2481 := z.EncBinary() + _ = yym2481 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -30906,15 +31552,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2439 := z.EncBinary() - _ = yym2439 + yym2482 := z.EncBinary() + _ = yym2482 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2425 || yy2arr2425 { + if yyr2468 || yy2arr2468 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30927,25 +31573,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2440 := z.DecBinary() - _ = yym2440 + yym2483 := z.DecBinary() + _ = yym2483 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2441 := r.ContainerType() - if yyct2441 == codecSelferValueTypeMap1234 { - yyl2441 := r.ReadMapStart() - if yyl2441 == 0 { + yyct2484 := r.ContainerType() + if yyct2484 == codecSelferValueTypeMap1234 { + yyl2484 := r.ReadMapStart() + if yyl2484 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2441, d) + x.codecDecodeSelfFromMap(yyl2484, d) } - } else if yyct2441 == codecSelferValueTypeArray1234 { - yyl2441 := r.ReadArrayStart() - if yyl2441 == 0 { + } else if yyct2484 == codecSelferValueTypeArray1234 { + yyl2484 := r.ReadArrayStart() + if yyl2484 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2441, d) + x.codecDecodeSelfFromArray(yyl2484, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30957,12 +31603,12 @@ func (x *NodeList) 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 yys2485Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2485Slc + var yyhl2485 bool = l >= 0 + for yyj2485 := 0; ; yyj2485++ { + if yyhl2485 { + if yyj2485 >= l { break } } else { @@ -30971,10 +31617,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2442Slc = r.DecodeBytes(yys2442Slc, true, true) - yys2442 := string(yys2442Slc) + yys2485Slc = r.DecodeBytes(yys2485Slc, true, true) + yys2485 := string(yys2485Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2442 { + switch yys2485 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30991,31 +31637,31 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2445 := &x.ListMeta - yym2446 := z.DecBinary() - _ = yym2446 + yyv2488 := &x.ListMeta + yym2489 := z.DecBinary() + _ = yym2489 if false { - } else if z.HasExtensions() && z.DecExt(yyv2445) { + } else if z.HasExtensions() && z.DecExt(yyv2488) { } else { - z.DecFallback(yyv2445, false) + z.DecFallback(yyv2488, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2447 := &x.Items - yym2448 := z.DecBinary() - _ = yym2448 + yyv2490 := &x.Items + yym2491 := z.DecBinary() + _ = yym2491 if false { } else { - h.decSliceNode((*[]Node)(yyv2447), d) + h.decSliceNode((*[]Node)(yyv2490), d) } } default: - z.DecStructFieldNotFound(-1, yys2442) - } // end switch yys2442 - } // end for yyj2442 + z.DecStructFieldNotFound(-1, yys2485) + } // end switch yys2485 + } // end for yyj2485 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31023,16 +31669,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2449 int - var yyb2449 bool - var yyhl2449 bool = l >= 0 - yyj2449++ - if yyhl2449 { - yyb2449 = yyj2449 > l + var yyj2492 int + var yyb2492 bool + var yyhl2492 bool = l >= 0 + yyj2492++ + if yyhl2492 { + yyb2492 = yyj2492 > l } else { - yyb2449 = r.CheckBreak() + yyb2492 = r.CheckBreak() } - if yyb2449 { + if yyb2492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31042,13 +31688,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2449++ - if yyhl2449 { - yyb2449 = yyj2449 > l + yyj2492++ + if yyhl2492 { + yyb2492 = yyj2492 > l } else { - yyb2449 = r.CheckBreak() + yyb2492 = r.CheckBreak() } - if yyb2449 { + if yyb2492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31058,13 +31704,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2449++ - if yyhl2449 { - yyb2449 = yyj2449 > l + yyj2492++ + if yyhl2492 { + yyb2492 = yyj2492 > l } else { - yyb2449 = r.CheckBreak() + yyb2492 = r.CheckBreak() } - if yyb2449 { + if yyb2492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31072,22 +31718,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2452 := &x.ListMeta - yym2453 := z.DecBinary() - _ = yym2453 + yyv2495 := &x.ListMeta + yym2496 := z.DecBinary() + _ = yym2496 if false { - } else if z.HasExtensions() && z.DecExt(yyv2452) { + } else if z.HasExtensions() && z.DecExt(yyv2495) { } else { - z.DecFallback(yyv2452, false) + z.DecFallback(yyv2495, false) } } - yyj2449++ - if yyhl2449 { - yyb2449 = yyj2449 > l + yyj2492++ + if yyhl2492 { + yyb2492 = yyj2492 > l } else { - yyb2449 = r.CheckBreak() + yyb2492 = r.CheckBreak() } - if yyb2449 { + if yyb2492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31095,26 +31741,26 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2454 := &x.Items - yym2455 := z.DecBinary() - _ = yym2455 + yyv2497 := &x.Items + yym2498 := z.DecBinary() + _ = yym2498 if false { } else { - h.decSliceNode((*[]Node)(yyv2454), d) + h.decSliceNode((*[]Node)(yyv2497), d) } } for { - yyj2449++ - if yyhl2449 { - yyb2449 = yyj2449 > l + yyj2492++ + if yyhl2492 { + yyb2492 = yyj2492 > l } else { - yyb2449 = r.CheckBreak() + yyb2492 = r.CheckBreak() } - if yyb2449 { + if yyb2492 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2449-1, "") + z.DecStructFieldNotFound(yyj2492-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31123,8 +31769,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2456 := z.EncBinary() - _ = yym2456 + yym2499 := z.EncBinary() + _ = yym2499 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31136,8 +31782,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2457 := z.DecBinary() - _ = yym2457 + yym2500 := z.DecBinary() + _ = yym2500 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31152,38 +31798,38 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2458 := z.EncBinary() - _ = yym2458 + yym2501 := z.EncBinary() + _ = yym2501 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2459 := !z.EncBinary() - yy2arr2459 := z.EncBasicHandle().StructToArray - var yyq2459 [1]bool - _, _, _ = yysep2459, yyq2459, yy2arr2459 - const yyr2459 bool = false - yyq2459[0] = len(x.Finalizers) != 0 - var yynn2459 int - if yyr2459 || yy2arr2459 { + yysep2502 := !z.EncBinary() + yy2arr2502 := z.EncBasicHandle().StructToArray + var yyq2502 [1]bool + _, _, _ = yysep2502, yyq2502, yy2arr2502 + const yyr2502 bool = false + yyq2502[0] = len(x.Finalizers) != 0 + var yynn2502 int + if yyr2502 || yy2arr2502 { r.EncodeArrayStart(1) } else { - yynn2459 = 0 - for _, b := range yyq2459 { + yynn2502 = 0 + for _, b := range yyq2502 { if b { - yynn2459++ + yynn2502++ } } - r.EncodeMapStart(yynn2459) - yynn2459 = 0 + r.EncodeMapStart(yynn2502) + yynn2502 = 0 } - if yyr2459 || yy2arr2459 { + if yyr2502 || yy2arr2502 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2459[0] { + if yyq2502[0] { if x.Finalizers == nil { r.EncodeNil() } else { - yym2461 := z.EncBinary() - _ = yym2461 + yym2504 := z.EncBinary() + _ = yym2504 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -31193,15 +31839,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2459[0] { + if yyq2502[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym2462 := z.EncBinary() - _ = yym2462 + yym2505 := z.EncBinary() + _ = yym2505 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -31209,7 +31855,7 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2459 || yy2arr2459 { + if yyr2502 || yy2arr2502 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31222,25 +31868,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2463 := z.DecBinary() - _ = yym2463 + yym2506 := z.DecBinary() + _ = yym2506 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2464 := r.ContainerType() - if yyct2464 == codecSelferValueTypeMap1234 { - yyl2464 := r.ReadMapStart() - if yyl2464 == 0 { + yyct2507 := r.ContainerType() + if yyct2507 == codecSelferValueTypeMap1234 { + yyl2507 := r.ReadMapStart() + if yyl2507 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2464, d) + x.codecDecodeSelfFromMap(yyl2507, d) } - } else if yyct2464 == codecSelferValueTypeArray1234 { - yyl2464 := r.ReadArrayStart() - if yyl2464 == 0 { + } else if yyct2507 == codecSelferValueTypeArray1234 { + yyl2507 := r.ReadArrayStart() + if yyl2507 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2464, d) + x.codecDecodeSelfFromArray(yyl2507, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31252,12 +31898,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2465Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2465Slc - var yyhl2465 bool = l >= 0 - for yyj2465 := 0; ; yyj2465++ { - if yyhl2465 { - if yyj2465 >= l { + var yys2508Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2508Slc + var yyhl2508 bool = l >= 0 + for yyj2508 := 0; ; yyj2508++ { + if yyhl2508 { + if yyj2508 >= l { break } } else { @@ -31266,26 +31912,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2465Slc = r.DecodeBytes(yys2465Slc, true, true) - yys2465 := string(yys2465Slc) + yys2508Slc = r.DecodeBytes(yys2508Slc, true, true) + yys2508 := string(yys2508Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2465 { + switch yys2508 { case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2466 := &x.Finalizers - yym2467 := z.DecBinary() - _ = yym2467 + yyv2509 := &x.Finalizers + yym2510 := z.DecBinary() + _ = yym2510 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2466), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2509), d) } } default: - z.DecStructFieldNotFound(-1, yys2465) - } // end switch yys2465 - } // end for yyj2465 + z.DecStructFieldNotFound(-1, yys2508) + } // end switch yys2508 + } // end for yyj2508 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31293,16 +31939,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2468 int - var yyb2468 bool - var yyhl2468 bool = l >= 0 - yyj2468++ - if yyhl2468 { - yyb2468 = yyj2468 > l + var yyj2511 int + var yyb2511 bool + var yyhl2511 bool = l >= 0 + yyj2511++ + if yyhl2511 { + yyb2511 = yyj2511 > l } else { - yyb2468 = r.CheckBreak() + yyb2511 = r.CheckBreak() } - if yyb2468 { + if yyb2511 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31310,26 +31956,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv2469 := &x.Finalizers - yym2470 := z.DecBinary() - _ = yym2470 + yyv2512 := &x.Finalizers + yym2513 := z.DecBinary() + _ = yym2513 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv2469), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv2512), d) } } for { - yyj2468++ - if yyhl2468 { - yyb2468 = yyj2468 > l + yyj2511++ + if yyhl2511 { + yyb2511 = yyj2511 > l } else { - yyb2468 = r.CheckBreak() + yyb2511 = r.CheckBreak() } - if yyb2468 { + if yyb2511 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2468-1, "") + z.DecStructFieldNotFound(yyj2511-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31341,46 +31987,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2471 := z.EncBinary() - _ = yym2471 + yym2514 := z.EncBinary() + _ = yym2514 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2472 := !z.EncBinary() - yy2arr2472 := z.EncBasicHandle().StructToArray - var yyq2472 [1]bool - _, _, _ = yysep2472, yyq2472, yy2arr2472 - const yyr2472 bool = false - yyq2472[0] = x.Phase != "" - var yynn2472 int - if yyr2472 || yy2arr2472 { + yysep2515 := !z.EncBinary() + yy2arr2515 := z.EncBasicHandle().StructToArray + var yyq2515 [1]bool + _, _, _ = yysep2515, yyq2515, yy2arr2515 + const yyr2515 bool = false + yyq2515[0] = x.Phase != "" + var yynn2515 int + if yyr2515 || yy2arr2515 { r.EncodeArrayStart(1) } else { - yynn2472 = 0 - for _, b := range yyq2472 { + yynn2515 = 0 + for _, b := range yyq2515 { if b { - yynn2472++ + yynn2515++ } } - r.EncodeMapStart(yynn2472) - yynn2472 = 0 + r.EncodeMapStart(yynn2515) + yynn2515 = 0 } - if yyr2472 || yy2arr2472 { + if yyr2515 || yy2arr2515 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2472[0] { + if yyq2515[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2472[0] { + if yyq2515[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2472 || yy2arr2472 { + if yyr2515 || yy2arr2515 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31393,25 +32039,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2474 := z.DecBinary() - _ = yym2474 + yym2517 := z.DecBinary() + _ = yym2517 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2475 := r.ContainerType() - if yyct2475 == codecSelferValueTypeMap1234 { - yyl2475 := r.ReadMapStart() - if yyl2475 == 0 { + yyct2518 := r.ContainerType() + if yyct2518 == codecSelferValueTypeMap1234 { + yyl2518 := r.ReadMapStart() + if yyl2518 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2475, d) + x.codecDecodeSelfFromMap(yyl2518, d) } - } else if yyct2475 == codecSelferValueTypeArray1234 { - yyl2475 := r.ReadArrayStart() - if yyl2475 == 0 { + } else if yyct2518 == codecSelferValueTypeArray1234 { + yyl2518 := r.ReadArrayStart() + if yyl2518 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2475, d) + x.codecDecodeSelfFromArray(yyl2518, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31423,12 +32069,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2476Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2476Slc - var yyhl2476 bool = l >= 0 - for yyj2476 := 0; ; yyj2476++ { - if yyhl2476 { - if yyj2476 >= l { + var yys2519Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2519Slc + var yyhl2519 bool = l >= 0 + for yyj2519 := 0; ; yyj2519++ { + if yyhl2519 { + if yyj2519 >= l { break } } else { @@ -31437,10 +32083,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2476Slc = r.DecodeBytes(yys2476Slc, true, true) - yys2476 := string(yys2476Slc) + yys2519Slc = r.DecodeBytes(yys2519Slc, true, true) + yys2519 := string(yys2519Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2476 { + switch yys2519 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -31448,9 +32094,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2476) - } // end switch yys2476 - } // end for yyj2476 + z.DecStructFieldNotFound(-1, yys2519) + } // end switch yys2519 + } // end for yyj2519 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31458,16 +32104,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2478 int - var yyb2478 bool - var yyhl2478 bool = l >= 0 - yyj2478++ - if yyhl2478 { - yyb2478 = yyj2478 > l + var yyj2521 int + var yyb2521 bool + var yyhl2521 bool = l >= 0 + yyj2521++ + if yyhl2521 { + yyb2521 = yyj2521 > l } else { - yyb2478 = r.CheckBreak() + yyb2521 = r.CheckBreak() } - if yyb2478 { + if yyb2521 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31478,17 +32124,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj2478++ - if yyhl2478 { - yyb2478 = yyj2478 > l + yyj2521++ + if yyhl2521 { + yyb2521 = yyj2521 > l } else { - yyb2478 = r.CheckBreak() + yyb2521 = r.CheckBreak() } - if yyb2478 { + if yyb2521 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2478-1, "") + z.DecStructFieldNotFound(yyj2521-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31497,8 +32143,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2480 := z.EncBinary() - _ = yym2480 + yym2523 := z.EncBinary() + _ = yym2523 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31510,8 +32156,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2481 := z.DecBinary() - _ = yym2481 + yym2524 := z.DecBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31526,39 +32172,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2482 := z.EncBinary() - _ = yym2482 + yym2525 := z.EncBinary() + _ = yym2525 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2483 := !z.EncBinary() - yy2arr2483 := z.EncBasicHandle().StructToArray - var yyq2483 [5]bool - _, _, _ = yysep2483, yyq2483, yy2arr2483 - const yyr2483 bool = false - yyq2483[0] = x.Kind != "" - yyq2483[1] = x.APIVersion != "" - yyq2483[2] = true - yyq2483[3] = true - yyq2483[4] = true - var yynn2483 int - if yyr2483 || yy2arr2483 { + yysep2526 := !z.EncBinary() + yy2arr2526 := z.EncBasicHandle().StructToArray + var yyq2526 [5]bool + _, _, _ = yysep2526, yyq2526, yy2arr2526 + const yyr2526 bool = false + yyq2526[0] = x.Kind != "" + yyq2526[1] = x.APIVersion != "" + yyq2526[2] = true + yyq2526[3] = true + yyq2526[4] = true + var yynn2526 int + if yyr2526 || yy2arr2526 { r.EncodeArrayStart(5) } else { - yynn2483 = 0 - for _, b := range yyq2483 { + yynn2526 = 0 + for _, b := range yyq2526 { if b { - yynn2483++ + yynn2526++ } } - r.EncodeMapStart(yynn2483) - yynn2483 = 0 + r.EncodeMapStart(yynn2526) + yynn2526 = 0 } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2483[0] { - yym2485 := z.EncBinary() - _ = yym2485 + if yyq2526[0] { + yym2528 := z.EncBinary() + _ = yym2528 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31567,23 +32213,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2483[0] { + if yyq2526[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2486 := z.EncBinary() - _ = yym2486 + yym2529 := z.EncBinary() + _ = yym2529 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2483[1] { - yym2488 := z.EncBinary() - _ = yym2488 + if yyq2526[1] { + yym2531 := z.EncBinary() + _ = yym2531 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31592,70 +32238,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2483[1] { + if yyq2526[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2489 := z.EncBinary() - _ = yym2489 + yym2532 := z.EncBinary() + _ = yym2532 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2483[2] { - yy2491 := &x.ObjectMeta - yy2491.CodecEncodeSelf(e) + if yyq2526[2] { + yy2534 := &x.ObjectMeta + yy2534.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2483[2] { + if yyq2526[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2492 := &x.ObjectMeta - yy2492.CodecEncodeSelf(e) + yy2535 := &x.ObjectMeta + yy2535.CodecEncodeSelf(e) } } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2483[3] { - yy2494 := &x.Spec - yy2494.CodecEncodeSelf(e) + if yyq2526[3] { + yy2537 := &x.Spec + yy2537.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2483[3] { + if yyq2526[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2495 := &x.Spec - yy2495.CodecEncodeSelf(e) + yy2538 := &x.Spec + yy2538.CodecEncodeSelf(e) } } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2483[4] { - yy2497 := &x.Status - yy2497.CodecEncodeSelf(e) + if yyq2526[4] { + yy2540 := &x.Status + yy2540.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2483[4] { + if yyq2526[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2498 := &x.Status - yy2498.CodecEncodeSelf(e) + yy2541 := &x.Status + yy2541.CodecEncodeSelf(e) } } - if yyr2483 || yy2arr2483 { + if yyr2526 || yy2arr2526 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31668,25 +32314,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2499 := z.DecBinary() - _ = yym2499 + yym2542 := z.DecBinary() + _ = yym2542 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2500 := r.ContainerType() - if yyct2500 == codecSelferValueTypeMap1234 { - yyl2500 := r.ReadMapStart() - if yyl2500 == 0 { + yyct2543 := r.ContainerType() + if yyct2543 == codecSelferValueTypeMap1234 { + yyl2543 := r.ReadMapStart() + if yyl2543 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2500, d) + x.codecDecodeSelfFromMap(yyl2543, d) } - } else if yyct2500 == codecSelferValueTypeArray1234 { - yyl2500 := r.ReadArrayStart() - if yyl2500 == 0 { + } else if yyct2543 == codecSelferValueTypeArray1234 { + yyl2543 := r.ReadArrayStart() + if yyl2543 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2500, d) + x.codecDecodeSelfFromArray(yyl2543, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31698,12 +32344,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2501Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2501Slc - var yyhl2501 bool = l >= 0 - for yyj2501 := 0; ; yyj2501++ { - if yyhl2501 { - if yyj2501 >= l { + var yys2544Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2544Slc + var yyhl2544 bool = l >= 0 + for yyj2544 := 0; ; yyj2544++ { + if yyhl2544 { + if yyj2544 >= l { break } } else { @@ -31712,10 +32358,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2501Slc = r.DecodeBytes(yys2501Slc, true, true) - yys2501 := string(yys2501Slc) + yys2544Slc = r.DecodeBytes(yys2544Slc, true, true) + yys2544 := string(yys2544Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2501 { + switch yys2544 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31732,27 +32378,27 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2504 := &x.ObjectMeta - yyv2504.CodecDecodeSelf(d) + yyv2547 := &x.ObjectMeta + yyv2547.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2505 := &x.Spec - yyv2505.CodecDecodeSelf(d) + yyv2548 := &x.Spec + yyv2548.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2506 := &x.Status - yyv2506.CodecDecodeSelf(d) + yyv2549 := &x.Status + yyv2549.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2501) - } // end switch yys2501 - } // end for yyj2501 + z.DecStructFieldNotFound(-1, yys2544) + } // end switch yys2544 + } // end for yyj2544 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31760,16 +32406,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2507 int - var yyb2507 bool - var yyhl2507 bool = l >= 0 - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + var yyj2550 int + var yyb2550 bool + var yyhl2550 bool = l >= 0 + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31779,13 +32425,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31795,13 +32441,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31809,16 +32455,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2510 := &x.ObjectMeta - yyv2510.CodecDecodeSelf(d) + yyv2553 := &x.ObjectMeta + yyv2553.CodecDecodeSelf(d) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31826,16 +32472,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv2511 := &x.Spec - yyv2511.CodecDecodeSelf(d) + yyv2554 := &x.Spec + yyv2554.CodecDecodeSelf(d) } - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31843,21 +32489,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv2512 := &x.Status - yyv2512.CodecDecodeSelf(d) + yyv2555 := &x.Status + yyv2555.CodecDecodeSelf(d) } for { - yyj2507++ - if yyhl2507 { - yyb2507 = yyj2507 > l + yyj2550++ + if yyhl2550 { + yyb2550 = yyj2550 > l } else { - yyb2507 = r.CheckBreak() + yyb2550 = r.CheckBreak() } - if yyb2507 { + if yyb2550 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2507-1, "") + z.DecStructFieldNotFound(yyj2550-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31869,37 +32515,37 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2513 := z.EncBinary() - _ = yym2513 + yym2556 := z.EncBinary() + _ = yym2556 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2514 := !z.EncBinary() - yy2arr2514 := z.EncBasicHandle().StructToArray - var yyq2514 [4]bool - _, _, _ = yysep2514, yyq2514, yy2arr2514 - const yyr2514 bool = false - yyq2514[0] = x.Kind != "" - yyq2514[1] = x.APIVersion != "" - yyq2514[2] = true - var yynn2514 int - if yyr2514 || yy2arr2514 { + yysep2557 := !z.EncBinary() + yy2arr2557 := z.EncBasicHandle().StructToArray + var yyq2557 [4]bool + _, _, _ = yysep2557, yyq2557, yy2arr2557 + const yyr2557 bool = false + yyq2557[0] = x.Kind != "" + yyq2557[1] = x.APIVersion != "" + yyq2557[2] = true + var yynn2557 int + if yyr2557 || yy2arr2557 { r.EncodeArrayStart(4) } else { - yynn2514 = 1 - for _, b := range yyq2514 { + yynn2557 = 1 + for _, b := range yyq2557 { if b { - yynn2514++ + yynn2557++ } } - r.EncodeMapStart(yynn2514) - yynn2514 = 0 + r.EncodeMapStart(yynn2557) + yynn2557 = 0 } - if yyr2514 || yy2arr2514 { + if yyr2557 || yy2arr2557 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2514[0] { - yym2516 := z.EncBinary() - _ = yym2516 + if yyq2557[0] { + yym2559 := z.EncBinary() + _ = yym2559 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31908,23 +32554,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2514[0] { + if yyq2557[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2517 := z.EncBinary() - _ = yym2517 + yym2560 := z.EncBinary() + _ = yym2560 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2514 || yy2arr2514 { + if yyr2557 || yy2arr2557 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2514[1] { - yym2519 := z.EncBinary() - _ = yym2519 + if yyq2557[1] { + yym2562 := z.EncBinary() + _ = yym2562 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31933,54 +32579,54 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2514[1] { + if yyq2557[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2520 := z.EncBinary() - _ = yym2520 + yym2563 := z.EncBinary() + _ = yym2563 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2514 || yy2arr2514 { + if yyr2557 || yy2arr2557 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2514[2] { - yy2522 := &x.ListMeta - yym2523 := z.EncBinary() - _ = yym2523 + if yyq2557[2] { + yy2565 := &x.ListMeta + yym2566 := z.EncBinary() + _ = yym2566 if false { - } else if z.HasExtensions() && z.EncExt(yy2522) { + } else if z.HasExtensions() && z.EncExt(yy2565) { } else { - z.EncFallback(yy2522) + z.EncFallback(yy2565) } } else { r.EncodeNil() } } else { - if yyq2514[2] { + if yyq2557[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2524 := &x.ListMeta - yym2525 := z.EncBinary() - _ = yym2525 + yy2567 := &x.ListMeta + yym2568 := z.EncBinary() + _ = yym2568 if false { - } else if z.HasExtensions() && z.EncExt(yy2524) { + } else if z.HasExtensions() && z.EncExt(yy2567) { } else { - z.EncFallback(yy2524) + z.EncFallback(yy2567) } } } - if yyr2514 || yy2arr2514 { + if yyr2557 || yy2arr2557 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2527 := z.EncBinary() - _ = yym2527 + yym2570 := z.EncBinary() + _ = yym2570 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -31993,15 +32639,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2528 := z.EncBinary() - _ = yym2528 + yym2571 := z.EncBinary() + _ = yym2571 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2514 || yy2arr2514 { + if yyr2557 || yy2arr2557 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32014,25 +32660,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2529 := z.DecBinary() - _ = yym2529 + yym2572 := z.DecBinary() + _ = yym2572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2530 := r.ContainerType() - if yyct2530 == codecSelferValueTypeMap1234 { - yyl2530 := r.ReadMapStart() - if yyl2530 == 0 { + yyct2573 := r.ContainerType() + if yyct2573 == codecSelferValueTypeMap1234 { + yyl2573 := r.ReadMapStart() + if yyl2573 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2530, d) + x.codecDecodeSelfFromMap(yyl2573, d) } - } else if yyct2530 == codecSelferValueTypeArray1234 { - yyl2530 := r.ReadArrayStart() - if yyl2530 == 0 { + } else if yyct2573 == codecSelferValueTypeArray1234 { + yyl2573 := r.ReadArrayStart() + if yyl2573 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2530, d) + x.codecDecodeSelfFromArray(yyl2573, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32044,12 +32690,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2531Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2531Slc - var yyhl2531 bool = l >= 0 - for yyj2531 := 0; ; yyj2531++ { - if yyhl2531 { - if yyj2531 >= l { + var yys2574Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2574Slc + var yyhl2574 bool = l >= 0 + for yyj2574 := 0; ; yyj2574++ { + if yyhl2574 { + if yyj2574 >= l { break } } else { @@ -32058,10 +32704,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2531Slc = r.DecodeBytes(yys2531Slc, true, true) - yys2531 := string(yys2531Slc) + yys2574Slc = r.DecodeBytes(yys2574Slc, true, true) + yys2574 := string(yys2574Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2531 { + switch yys2574 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32078,31 +32724,31 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2534 := &x.ListMeta - yym2535 := z.DecBinary() - _ = yym2535 + yyv2577 := &x.ListMeta + yym2578 := z.DecBinary() + _ = yym2578 if false { - } else if z.HasExtensions() && z.DecExt(yyv2534) { + } else if z.HasExtensions() && z.DecExt(yyv2577) { } else { - z.DecFallback(yyv2534, false) + z.DecFallback(yyv2577, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2536 := &x.Items - yym2537 := z.DecBinary() - _ = yym2537 + yyv2579 := &x.Items + yym2580 := z.DecBinary() + _ = yym2580 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2536), d) + h.decSliceNamespace((*[]Namespace)(yyv2579), d) } } default: - z.DecStructFieldNotFound(-1, yys2531) - } // end switch yys2531 - } // end for yyj2531 + z.DecStructFieldNotFound(-1, yys2574) + } // end switch yys2574 + } // end for yyj2574 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32110,16 +32756,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2538 int - var yyb2538 bool - var yyhl2538 bool = l >= 0 - yyj2538++ - if yyhl2538 { - yyb2538 = yyj2538 > l + var yyj2581 int + var yyb2581 bool + var yyhl2581 bool = l >= 0 + yyj2581++ + if yyhl2581 { + yyb2581 = yyj2581 > l } else { - yyb2538 = r.CheckBreak() + yyb2581 = r.CheckBreak() } - if yyb2538 { + if yyb2581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32129,13 +32775,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2538++ - if yyhl2538 { - yyb2538 = yyj2538 > l + yyj2581++ + if yyhl2581 { + yyb2581 = yyj2581 > l } else { - yyb2538 = r.CheckBreak() + yyb2581 = r.CheckBreak() } - if yyb2538 { + if yyb2581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32145,13 +32791,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2538++ - if yyhl2538 { - yyb2538 = yyj2538 > l + yyj2581++ + if yyhl2581 { + yyb2581 = yyj2581 > l } else { - yyb2538 = r.CheckBreak() + yyb2581 = r.CheckBreak() } - if yyb2538 { + if yyb2581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32159,22 +32805,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2541 := &x.ListMeta - yym2542 := z.DecBinary() - _ = yym2542 + yyv2584 := &x.ListMeta + yym2585 := z.DecBinary() + _ = yym2585 if false { - } else if z.HasExtensions() && z.DecExt(yyv2541) { + } else if z.HasExtensions() && z.DecExt(yyv2584) { } else { - z.DecFallback(yyv2541, false) + z.DecFallback(yyv2584, false) } } - yyj2538++ - if yyhl2538 { - yyb2538 = yyj2538 > l + yyj2581++ + if yyhl2581 { + yyb2581 = yyj2581 > l } else { - yyb2538 = r.CheckBreak() + yyb2581 = r.CheckBreak() } - if yyb2538 { + if yyb2581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32182,26 +32828,26 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2543 := &x.Items - yym2544 := z.DecBinary() - _ = yym2544 + yyv2586 := &x.Items + yym2587 := z.DecBinary() + _ = yym2587 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv2543), d) + h.decSliceNamespace((*[]Namespace)(yyv2586), d) } } for { - yyj2538++ - if yyhl2538 { - yyb2538 = yyj2538 > l + yyj2581++ + if yyhl2581 { + yyb2581 = yyj2581 > l } else { - yyb2538 = r.CheckBreak() + yyb2581 = r.CheckBreak() } - if yyb2538 { + if yyb2581 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2538-1, "") + z.DecStructFieldNotFound(yyj2581-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32213,37 +32859,37 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2545 := z.EncBinary() - _ = yym2545 + yym2588 := z.EncBinary() + _ = yym2588 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2546 := !z.EncBinary() - yy2arr2546 := z.EncBasicHandle().StructToArray - var yyq2546 [4]bool - _, _, _ = yysep2546, yyq2546, yy2arr2546 - const yyr2546 bool = false - yyq2546[0] = x.Kind != "" - yyq2546[1] = x.APIVersion != "" - yyq2546[2] = true - var yynn2546 int - if yyr2546 || yy2arr2546 { + yysep2589 := !z.EncBinary() + yy2arr2589 := z.EncBasicHandle().StructToArray + var yyq2589 [4]bool + _, _, _ = yysep2589, yyq2589, yy2arr2589 + const yyr2589 bool = false + yyq2589[0] = x.Kind != "" + yyq2589[1] = x.APIVersion != "" + yyq2589[2] = true + var yynn2589 int + if yyr2589 || yy2arr2589 { r.EncodeArrayStart(4) } else { - yynn2546 = 1 - for _, b := range yyq2546 { + yynn2589 = 1 + for _, b := range yyq2589 { if b { - yynn2546++ + yynn2589++ } } - r.EncodeMapStart(yynn2546) - yynn2546 = 0 + r.EncodeMapStart(yynn2589) + yynn2589 = 0 } - if yyr2546 || yy2arr2546 { + if yyr2589 || yy2arr2589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2546[0] { - yym2548 := z.EncBinary() - _ = yym2548 + if yyq2589[0] { + yym2591 := z.EncBinary() + _ = yym2591 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32252,23 +32898,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2546[0] { + if yyq2589[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2549 := z.EncBinary() - _ = yym2549 + yym2592 := z.EncBinary() + _ = yym2592 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2546 || yy2arr2546 { + if yyr2589 || yy2arr2589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2546[1] { - yym2551 := z.EncBinary() - _ = yym2551 + if yyq2589[1] { + yym2594 := z.EncBinary() + _ = yym2594 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32277,47 +32923,47 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2546[1] { + if yyq2589[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2552 := z.EncBinary() - _ = yym2552 + yym2595 := z.EncBinary() + _ = yym2595 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2546 || yy2arr2546 { + if yyr2589 || yy2arr2589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2546[2] { - yy2554 := &x.ObjectMeta - yy2554.CodecEncodeSelf(e) + if yyq2589[2] { + yy2597 := &x.ObjectMeta + yy2597.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2546[2] { + if yyq2589[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2555 := &x.ObjectMeta - yy2555.CodecEncodeSelf(e) + yy2598 := &x.ObjectMeta + yy2598.CodecEncodeSelf(e) } } - if yyr2546 || yy2arr2546 { + if yyr2589 || yy2arr2589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2557 := &x.Target - yy2557.CodecEncodeSelf(e) + yy2600 := &x.Target + yy2600.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2558 := &x.Target - yy2558.CodecEncodeSelf(e) + yy2601 := &x.Target + yy2601.CodecEncodeSelf(e) } - if yyr2546 || yy2arr2546 { + if yyr2589 || yy2arr2589 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32330,25 +32976,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2559 := z.DecBinary() - _ = yym2559 + yym2602 := z.DecBinary() + _ = yym2602 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2560 := r.ContainerType() - if yyct2560 == codecSelferValueTypeMap1234 { - yyl2560 := r.ReadMapStart() - if yyl2560 == 0 { + yyct2603 := r.ContainerType() + if yyct2603 == codecSelferValueTypeMap1234 { + yyl2603 := r.ReadMapStart() + if yyl2603 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2560, d) + x.codecDecodeSelfFromMap(yyl2603, d) } - } else if yyct2560 == codecSelferValueTypeArray1234 { - yyl2560 := r.ReadArrayStart() - if yyl2560 == 0 { + } else if yyct2603 == codecSelferValueTypeArray1234 { + yyl2603 := r.ReadArrayStart() + if yyl2603 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2560, d) + x.codecDecodeSelfFromArray(yyl2603, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32360,12 +33006,12 @@ func (x *Binding) 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 yys2604Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2604Slc + var yyhl2604 bool = l >= 0 + for yyj2604 := 0; ; yyj2604++ { + if yyhl2604 { + if yyj2604 >= l { break } } else { @@ -32374,10 +33020,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2561Slc = r.DecodeBytes(yys2561Slc, true, true) - yys2561 := string(yys2561Slc) + yys2604Slc = r.DecodeBytes(yys2604Slc, true, true) + yys2604 := string(yys2604Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2561 { + switch yys2604 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32394,20 +33040,20 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2564 := &x.ObjectMeta - yyv2564.CodecDecodeSelf(d) + yyv2607 := &x.ObjectMeta + yyv2607.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2565 := &x.Target - yyv2565.CodecDecodeSelf(d) + yyv2608 := &x.Target + yyv2608.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2561) - } // end switch yys2561 - } // end for yyj2561 + z.DecStructFieldNotFound(-1, yys2604) + } // end switch yys2604 + } // end for yyj2604 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32415,16 +33061,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2566 int - var yyb2566 bool - var yyhl2566 bool = l >= 0 - yyj2566++ - if yyhl2566 { - yyb2566 = yyj2566 > l + var yyj2609 int + var yyb2609 bool + var yyhl2609 bool = l >= 0 + yyj2609++ + if yyhl2609 { + yyb2609 = yyj2609 > l } else { - yyb2566 = r.CheckBreak() + yyb2609 = r.CheckBreak() } - if yyb2566 { + if yyb2609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32434,13 +33080,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2566++ - if yyhl2566 { - yyb2566 = yyj2566 > l + yyj2609++ + if yyhl2609 { + yyb2609 = yyj2609 > l } else { - yyb2566 = r.CheckBreak() + yyb2609 = r.CheckBreak() } - if yyb2566 { + if yyb2609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32450,13 +33096,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2566++ - if yyhl2566 { - yyb2566 = yyj2566 > l + yyj2609++ + if yyhl2609 { + yyb2609 = yyj2609 > l } else { - yyb2566 = r.CheckBreak() + yyb2609 = r.CheckBreak() } - if yyb2566 { + if yyb2609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32464,16 +33110,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2569 := &x.ObjectMeta - yyv2569.CodecDecodeSelf(d) + yyv2612 := &x.ObjectMeta + yyv2612.CodecDecodeSelf(d) } - yyj2566++ - if yyhl2566 { - yyb2566 = yyj2566 > l + yyj2609++ + if yyhl2609 { + yyb2609 = yyj2609 > l } else { - yyb2566 = r.CheckBreak() + yyb2609 = r.CheckBreak() } - if yyb2566 { + if yyb2609 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32481,21 +33127,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv2570 := &x.Target - yyv2570.CodecDecodeSelf(d) + yyv2613 := &x.Target + yyv2613.CodecDecodeSelf(d) } for { - yyj2566++ - if yyhl2566 { - yyb2566 = yyj2566 > l + yyj2609++ + if yyhl2609 { + yyb2609 = yyj2609 > l } else { - yyb2566 = r.CheckBreak() + yyb2609 = r.CheckBreak() } - if yyb2566 { + if yyb2609 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2566-1, "") + z.DecStructFieldNotFound(yyj2609-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32507,36 +33153,36 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2571 := z.EncBinary() - _ = yym2571 + yym2614 := z.EncBinary() + _ = yym2614 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2572 := !z.EncBinary() - yy2arr2572 := z.EncBasicHandle().StructToArray - var yyq2572 [3]bool - _, _, _ = yysep2572, yyq2572, yy2arr2572 - const yyr2572 bool = false - yyq2572[0] = x.Kind != "" - yyq2572[1] = x.APIVersion != "" - var yynn2572 int - if yyr2572 || yy2arr2572 { + yysep2615 := !z.EncBinary() + yy2arr2615 := z.EncBasicHandle().StructToArray + var yyq2615 [3]bool + _, _, _ = yysep2615, yyq2615, yy2arr2615 + const yyr2615 bool = false + yyq2615[0] = x.Kind != "" + yyq2615[1] = x.APIVersion != "" + var yynn2615 int + if yyr2615 || yy2arr2615 { r.EncodeArrayStart(3) } else { - yynn2572 = 1 - for _, b := range yyq2572 { + yynn2615 = 1 + for _, b := range yyq2615 { if b { - yynn2572++ + yynn2615++ } } - r.EncodeMapStart(yynn2572) - yynn2572 = 0 + r.EncodeMapStart(yynn2615) + yynn2615 = 0 } - if yyr2572 || yy2arr2572 { + if yyr2615 || yy2arr2615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2572[0] { - yym2574 := z.EncBinary() - _ = yym2574 + if yyq2615[0] { + yym2617 := z.EncBinary() + _ = yym2617 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32545,23 +33191,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2572[0] { + if yyq2615[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2575 := z.EncBinary() - _ = yym2575 + yym2618 := z.EncBinary() + _ = yym2618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2572 || yy2arr2572 { + if yyr2615 || yy2arr2615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2572[1] { - yym2577 := z.EncBinary() - _ = yym2577 + if yyq2615[1] { + yym2620 := z.EncBinary() + _ = yym2620 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32570,29 +33216,29 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2572[1] { + if yyq2615[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2578 := z.EncBinary() - _ = yym2578 + yym2621 := z.EncBinary() + _ = yym2621 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2572 || yy2arr2572 { + if yyr2615 || yy2arr2615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2580 := *x.GracePeriodSeconds - yym2581 := z.EncBinary() - _ = yym2581 + yy2623 := *x.GracePeriodSeconds + yym2624 := z.EncBinary() + _ = yym2624 if false { } else { - r.EncodeInt(int64(yy2580)) + r.EncodeInt(int64(yy2623)) } } } else { @@ -32602,16 +33248,16 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy2582 := *x.GracePeriodSeconds - yym2583 := z.EncBinary() - _ = yym2583 + yy2625 := *x.GracePeriodSeconds + yym2626 := z.EncBinary() + _ = yym2626 if false { } else { - r.EncodeInt(int64(yy2582)) + r.EncodeInt(int64(yy2625)) } } } - if yyr2572 || yy2arr2572 { + if yyr2615 || yy2arr2615 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32624,25 +33270,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2584 := z.DecBinary() - _ = yym2584 + yym2627 := z.DecBinary() + _ = yym2627 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2585 := r.ContainerType() - if yyct2585 == codecSelferValueTypeMap1234 { - yyl2585 := r.ReadMapStart() - if yyl2585 == 0 { + yyct2628 := r.ContainerType() + if yyct2628 == codecSelferValueTypeMap1234 { + yyl2628 := r.ReadMapStart() + if yyl2628 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2585, d) + x.codecDecodeSelfFromMap(yyl2628, d) } - } else if yyct2585 == codecSelferValueTypeArray1234 { - yyl2585 := r.ReadArrayStart() - if yyl2585 == 0 { + } else if yyct2628 == codecSelferValueTypeArray1234 { + yyl2628 := r.ReadArrayStart() + if yyl2628 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2585, d) + x.codecDecodeSelfFromArray(yyl2628, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32654,12 +33300,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2586Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2586Slc - var yyhl2586 bool = l >= 0 - for yyj2586 := 0; ; yyj2586++ { - if yyhl2586 { - if yyj2586 >= l { + var yys2629Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2629Slc + var yyhl2629 bool = l >= 0 + for yyj2629 := 0; ; yyj2629++ { + if yyhl2629 { + if yyj2629 >= l { break } } else { @@ -32668,10 +33314,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2586Slc = r.DecodeBytes(yys2586Slc, true, true) - yys2586 := string(yys2586Slc) + yys2629Slc = r.DecodeBytes(yys2629Slc, true, true) + yys2629 := string(yys2629Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2586 { + switch yys2629 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32693,17 +33339,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2590 := z.DecBinary() - _ = yym2590 + yym2633 := z.DecBinary() + _ = yym2633 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2586) - } // end switch yys2586 - } // end for yyj2586 + z.DecStructFieldNotFound(-1, yys2629) + } // end switch yys2629 + } // end for yyj2629 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32711,16 +33357,16 @@ func (x *DeleteOptions) 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 yyj2634 int + var yyb2634 bool + var yyhl2634 bool = l >= 0 + yyj2634++ + if yyhl2634 { + yyb2634 = yyj2634 > l } else { - yyb2591 = r.CheckBreak() + yyb2634 = r.CheckBreak() } - if yyb2591 { + if yyb2634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32730,13 +33376,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2634++ + if yyhl2634 { + yyb2634 = yyj2634 > l } else { - yyb2591 = r.CheckBreak() + yyb2634 = r.CheckBreak() } - if yyb2591 { + if yyb2634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32746,13 +33392,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2634++ + if yyhl2634 { + yyb2634 = yyj2634 > l } else { - yyb2591 = r.CheckBreak() + yyb2634 = r.CheckBreak() } - if yyb2591 { + if yyb2634 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32765,25 +33411,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym2595 := z.DecBinary() - _ = yym2595 + yym2638 := z.DecBinary() + _ = yym2638 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj2591++ - if yyhl2591 { - yyb2591 = yyj2591 > l + yyj2634++ + if yyhl2634 { + yyb2634 = yyj2634 > l } else { - yyb2591 = r.CheckBreak() + yyb2634 = r.CheckBreak() } - if yyb2591 { + if yyb2634 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2591-1, "") + z.DecStructFieldNotFound(yyj2634-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32795,36 +33441,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2596 := z.EncBinary() - _ = yym2596 + yym2639 := z.EncBinary() + _ = yym2639 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2597 := !z.EncBinary() - yy2arr2597 := z.EncBasicHandle().StructToArray - var yyq2597 [4]bool - _, _, _ = yysep2597, yyq2597, yy2arr2597 - const yyr2597 bool = false - yyq2597[0] = x.Kind != "" - yyq2597[1] = x.APIVersion != "" - var yynn2597 int - if yyr2597 || yy2arr2597 { + yysep2640 := !z.EncBinary() + yy2arr2640 := z.EncBasicHandle().StructToArray + var yyq2640 [4]bool + _, _, _ = yysep2640, yyq2640, yy2arr2640 + const yyr2640 bool = false + yyq2640[0] = x.Kind != "" + yyq2640[1] = x.APIVersion != "" + var yynn2640 int + if yyr2640 || yy2arr2640 { r.EncodeArrayStart(4) } else { - yynn2597 = 2 - for _, b := range yyq2597 { + yynn2640 = 2 + for _, b := range yyq2640 { if b { - yynn2597++ + yynn2640++ } } - r.EncodeMapStart(yynn2597) - yynn2597 = 0 + r.EncodeMapStart(yynn2640) + yynn2640 = 0 } - if yyr2597 || yy2arr2597 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[0] { - yym2599 := z.EncBinary() - _ = yym2599 + if yyq2640[0] { + yym2642 := z.EncBinary() + _ = yym2642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32833,23 +33479,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2597[0] { + if yyq2640[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2600 := z.EncBinary() - _ = yym2600 + yym2643 := z.EncBinary() + _ = yym2643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2597 || yy2arr2597 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[1] { - yym2602 := z.EncBinary() - _ = yym2602 + if yyq2640[1] { + yym2645 := z.EncBinary() + _ = yym2645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32858,22 +33504,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2597[1] { + if yyq2640[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2603 := z.EncBinary() - _ = yym2603 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2597 || yy2arr2597 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2605 := z.EncBinary() - _ = yym2605 + yym2648 := z.EncBinary() + _ = yym2648 if false { } else { r.EncodeBool(bool(x.Export)) @@ -32882,17 +33528,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2606 := z.EncBinary() - _ = yym2606 + yym2649 := z.EncBinary() + _ = yym2649 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2597 || yy2arr2597 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2608 := z.EncBinary() - _ = yym2608 + yym2651 := z.EncBinary() + _ = yym2651 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -32901,14 +33547,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2609 := z.EncBinary() - _ = yym2609 + yym2652 := z.EncBinary() + _ = yym2652 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2597 || yy2arr2597 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32921,25 +33567,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2610 := z.DecBinary() - _ = yym2610 + yym2653 := z.DecBinary() + _ = yym2653 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2611 := r.ContainerType() - if yyct2611 == codecSelferValueTypeMap1234 { - yyl2611 := r.ReadMapStart() - if yyl2611 == 0 { + yyct2654 := r.ContainerType() + if yyct2654 == codecSelferValueTypeMap1234 { + yyl2654 := r.ReadMapStart() + if yyl2654 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2611, d) + x.codecDecodeSelfFromMap(yyl2654, d) } - } else if yyct2611 == codecSelferValueTypeArray1234 { - yyl2611 := r.ReadArrayStart() - if yyl2611 == 0 { + } else if yyct2654 == codecSelferValueTypeArray1234 { + yyl2654 := r.ReadArrayStart() + if yyl2654 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2611, d) + x.codecDecodeSelfFromArray(yyl2654, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32951,12 +33597,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2612Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2612Slc - var yyhl2612 bool = l >= 0 - for yyj2612 := 0; ; yyj2612++ { - if yyhl2612 { - if yyj2612 >= l { + var yys2655Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2655Slc + var yyhl2655 bool = l >= 0 + for yyj2655 := 0; ; yyj2655++ { + if yyhl2655 { + if yyj2655 >= l { break } } else { @@ -32965,10 +33611,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2612Slc = r.DecodeBytes(yys2612Slc, true, true) - yys2612 := string(yys2612Slc) + yys2655Slc = r.DecodeBytes(yys2655Slc, true, true) + yys2655 := string(yys2655Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2612 { + switch yys2655 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32994,9 +33640,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2612) - } // end switch yys2612 - } // end for yyj2612 + z.DecStructFieldNotFound(-1, yys2655) + } // end switch yys2655 + } // end for yyj2655 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33004,16 +33650,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2617 int - var yyb2617 bool - var yyhl2617 bool = l >= 0 - yyj2617++ - if yyhl2617 { - yyb2617 = yyj2617 > l + var yyj2660 int + var yyb2660 bool + var yyhl2660 bool = l >= 0 + yyj2660++ + if yyhl2660 { + yyb2660 = yyj2660 > l } else { - yyb2617 = r.CheckBreak() + yyb2660 = r.CheckBreak() } - if yyb2617 { + if yyb2660 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33023,13 +33669,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2617++ - if yyhl2617 { - yyb2617 = yyj2617 > l + yyj2660++ + if yyhl2660 { + yyb2660 = yyj2660 > l } else { - yyb2617 = r.CheckBreak() + yyb2660 = r.CheckBreak() } - if yyb2617 { + if yyb2660 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33039,13 +33685,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2617++ - if yyhl2617 { - yyb2617 = yyj2617 > l + yyj2660++ + if yyhl2660 { + yyb2660 = yyj2660 > l } else { - yyb2617 = r.CheckBreak() + yyb2660 = r.CheckBreak() } - if yyb2617 { + if yyb2660 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33055,13 +33701,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj2617++ - if yyhl2617 { - yyb2617 = yyj2617 > l + yyj2660++ + if yyhl2660 { + yyb2660 = yyj2660 > l } else { - yyb2617 = r.CheckBreak() + yyb2660 = r.CheckBreak() } - if yyb2617 { + if yyb2660 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33072,17 +33718,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj2617++ - if yyhl2617 { - yyb2617 = yyj2617 > l + yyj2660++ + if yyhl2660 { + yyb2660 = yyj2660 > l } else { - yyb2617 = r.CheckBreak() + yyb2660 = r.CheckBreak() } - if yyb2617 { + if yyb2660 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2617-1, "") + z.DecStructFieldNotFound(yyj2660-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33094,41 +33740,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2622 := z.EncBinary() - _ = yym2622 + yym2665 := z.EncBinary() + _ = yym2665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2623 := !z.EncBinary() - yy2arr2623 := z.EncBasicHandle().StructToArray - var yyq2623 [7]bool - _, _, _ = yysep2623, yyq2623, yy2arr2623 - const yyr2623 bool = false - yyq2623[0] = x.Kind != "" - yyq2623[1] = x.APIVersion != "" - yyq2623[2] = x.LabelSelector != "" - yyq2623[3] = x.FieldSelector != "" - yyq2623[4] = x.Watch != false - yyq2623[5] = x.ResourceVersion != "" - yyq2623[6] = x.TimeoutSeconds != nil - var yynn2623 int - if yyr2623 || yy2arr2623 { + yysep2666 := !z.EncBinary() + yy2arr2666 := z.EncBasicHandle().StructToArray + var yyq2666 [7]bool + _, _, _ = yysep2666, yyq2666, yy2arr2666 + const yyr2666 bool = false + yyq2666[0] = x.Kind != "" + yyq2666[1] = x.APIVersion != "" + yyq2666[2] = x.LabelSelector != "" + yyq2666[3] = x.FieldSelector != "" + yyq2666[4] = x.Watch != false + yyq2666[5] = x.ResourceVersion != "" + yyq2666[6] = x.TimeoutSeconds != nil + var yynn2666 int + if yyr2666 || yy2arr2666 { r.EncodeArrayStart(7) } else { - yynn2623 = 0 - for _, b := range yyq2623 { + yynn2666 = 0 + for _, b := range yyq2666 { if b { - yynn2623++ + yynn2666++ } } - r.EncodeMapStart(yynn2623) - yynn2623 = 0 + r.EncodeMapStart(yynn2666) + yynn2666 = 0 } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[0] { - yym2625 := z.EncBinary() - _ = yym2625 + if yyq2666[0] { + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33137,23 +33783,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2623[0] { + if yyq2666[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2626 := z.EncBinary() - _ = yym2626 + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[1] { - yym2628 := z.EncBinary() - _ = yym2628 + if yyq2666[1] { + yym2671 := z.EncBinary() + _ = yym2671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33162,23 +33808,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2623[1] { + if yyq2666[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2629 := z.EncBinary() - _ = yym2629 + yym2672 := z.EncBinary() + _ = yym2672 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[2] { - yym2631 := z.EncBinary() - _ = yym2631 + if yyq2666[2] { + yym2674 := z.EncBinary() + _ = yym2674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -33187,23 +33833,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2623[2] { + if yyq2666[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2632 := z.EncBinary() - _ = yym2632 + yym2675 := z.EncBinary() + _ = yym2675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[3] { - yym2634 := z.EncBinary() - _ = yym2634 + if yyq2666[3] { + yym2677 := z.EncBinary() + _ = yym2677 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -33212,23 +33858,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2623[3] { + if yyq2666[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2635 := z.EncBinary() - _ = yym2635 + yym2678 := z.EncBinary() + _ = yym2678 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[4] { - yym2637 := z.EncBinary() - _ = yym2637 + if yyq2666[4] { + yym2680 := z.EncBinary() + _ = yym2680 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -33237,23 +33883,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2623[4] { + if yyq2666[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2638 := z.EncBinary() - _ = yym2638 + yym2681 := z.EncBinary() + _ = yym2681 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[5] { - yym2640 := z.EncBinary() - _ = yym2640 + if yyq2666[5] { + yym2683 := z.EncBinary() + _ = yym2683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -33262,54 +33908,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2623[5] { + if yyq2666[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2641 := z.EncBinary() - _ = yym2641 + yym2684 := z.EncBinary() + _ = yym2684 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2623[6] { + if yyq2666[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2643 := *x.TimeoutSeconds - yym2644 := z.EncBinary() - _ = yym2644 + yy2686 := *x.TimeoutSeconds + yym2687 := z.EncBinary() + _ = yym2687 if false { } else { - r.EncodeInt(int64(yy2643)) + r.EncodeInt(int64(yy2686)) } } } else { r.EncodeNil() } } else { - if yyq2623[6] { + if yyq2666[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2645 := *x.TimeoutSeconds - yym2646 := z.EncBinary() - _ = yym2646 + yy2688 := *x.TimeoutSeconds + yym2689 := z.EncBinary() + _ = yym2689 if false { } else { - r.EncodeInt(int64(yy2645)) + r.EncodeInt(int64(yy2688)) } } } } - if yyr2623 || yy2arr2623 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33322,25 +33968,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2647 := z.DecBinary() - _ = yym2647 + yym2690 := z.DecBinary() + _ = yym2690 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2648 := r.ContainerType() - if yyct2648 == codecSelferValueTypeMap1234 { - yyl2648 := r.ReadMapStart() - if yyl2648 == 0 { + yyct2691 := r.ContainerType() + if yyct2691 == codecSelferValueTypeMap1234 { + yyl2691 := r.ReadMapStart() + if yyl2691 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2648, d) + x.codecDecodeSelfFromMap(yyl2691, d) } - } else if yyct2648 == codecSelferValueTypeArray1234 { - yyl2648 := r.ReadArrayStart() - if yyl2648 == 0 { + } else if yyct2691 == codecSelferValueTypeArray1234 { + yyl2691 := r.ReadArrayStart() + if yyl2691 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2648, d) + x.codecDecodeSelfFromArray(yyl2691, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33352,12 +33998,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2649Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2649Slc - var yyhl2649 bool = l >= 0 - for yyj2649 := 0; ; yyj2649++ { - if yyhl2649 { - if yyj2649 >= l { + var yys2692Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2692Slc + var yyhl2692 bool = l >= 0 + for yyj2692 := 0; ; yyj2692++ { + if yyhl2692 { + if yyj2692 >= l { break } } else { @@ -33366,10 +34012,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) - yys2649 := string(yys2649Slc) + yys2692Slc = r.DecodeBytes(yys2692Slc, true, true) + yys2692 := string(yys2692Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2649 { + switch yys2692 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33415,17 +34061,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2657 := z.DecBinary() - _ = yym2657 + yym2700 := z.DecBinary() + _ = yym2700 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2649) - } // end switch yys2649 - } // end for yyj2649 + z.DecStructFieldNotFound(-1, yys2692) + } // end switch yys2692 + } // end for yyj2692 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33433,16 +34079,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2658 int - var yyb2658 bool - var yyhl2658 bool = l >= 0 - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + var yyj2701 int + var yyb2701 bool + var yyhl2701 bool = l >= 0 + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33452,13 +34098,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33468,13 +34114,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33484,13 +34130,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33500,13 +34146,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33516,13 +34162,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33532,13 +34178,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33551,25 +34197,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2666 := z.DecBinary() - _ = yym2666 + yym2709 := z.DecBinary() + _ = yym2709 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj2658++ - if yyhl2658 { - yyb2658 = yyj2658 > l + yyj2701++ + if yyhl2701 { + yyb2701 = yyj2701 > l } else { - yyb2658 = r.CheckBreak() + yyb2701 = r.CheckBreak() } - if yyb2658 { + if yyb2701 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2658-1, "") + z.DecStructFieldNotFound(yyj2701-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33581,44 +34227,44 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2667 := z.EncBinary() - _ = yym2667 + yym2710 := z.EncBinary() + _ = yym2710 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2668 := !z.EncBinary() - yy2arr2668 := z.EncBasicHandle().StructToArray - var yyq2668 [10]bool - _, _, _ = yysep2668, yyq2668, yy2arr2668 - const yyr2668 bool = false - yyq2668[0] = x.Kind != "" - yyq2668[1] = x.APIVersion != "" - yyq2668[2] = x.Container != "" - yyq2668[3] = x.Follow != false - yyq2668[4] = x.Previous != false - yyq2668[5] = x.SinceSeconds != nil - yyq2668[6] = x.SinceTime != nil - yyq2668[7] = x.Timestamps != false - yyq2668[8] = x.TailLines != nil - yyq2668[9] = x.LimitBytes != nil - var yynn2668 int - if yyr2668 || yy2arr2668 { + yysep2711 := !z.EncBinary() + yy2arr2711 := z.EncBasicHandle().StructToArray + var yyq2711 [10]bool + _, _, _ = yysep2711, yyq2711, yy2arr2711 + const yyr2711 bool = false + yyq2711[0] = x.Kind != "" + yyq2711[1] = x.APIVersion != "" + yyq2711[2] = x.Container != "" + yyq2711[3] = x.Follow != false + yyq2711[4] = x.Previous != false + yyq2711[5] = x.SinceSeconds != nil + yyq2711[6] = x.SinceTime != nil + yyq2711[7] = x.Timestamps != false + yyq2711[8] = x.TailLines != nil + yyq2711[9] = x.LimitBytes != nil + var yynn2711 int + if yyr2711 || yy2arr2711 { r.EncodeArrayStart(10) } else { - yynn2668 = 0 - for _, b := range yyq2668 { + yynn2711 = 0 + for _, b := range yyq2711 { if b { - yynn2668++ + yynn2711++ } } - r.EncodeMapStart(yynn2668) - yynn2668 = 0 + r.EncodeMapStart(yynn2711) + yynn2711 = 0 } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[0] { - yym2670 := z.EncBinary() - _ = yym2670 + if yyq2711[0] { + yym2713 := z.EncBinary() + _ = yym2713 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33627,23 +34273,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2668[0] { + if yyq2711[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2671 := z.EncBinary() - _ = yym2671 + yym2714 := z.EncBinary() + _ = yym2714 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[1] { - yym2673 := z.EncBinary() - _ = yym2673 + if yyq2711[1] { + yym2716 := z.EncBinary() + _ = yym2716 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33652,23 +34298,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2668[1] { + if yyq2711[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2674 := z.EncBinary() - _ = yym2674 + yym2717 := z.EncBinary() + _ = yym2717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[2] { - yym2676 := z.EncBinary() - _ = yym2676 + if yyq2711[2] { + yym2719 := z.EncBinary() + _ = yym2719 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -33677,23 +34323,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2668[2] { + if yyq2711[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2677 := z.EncBinary() - _ = yym2677 + yym2720 := z.EncBinary() + _ = yym2720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[3] { - yym2679 := z.EncBinary() - _ = yym2679 + if yyq2711[3] { + yym2722 := z.EncBinary() + _ = yym2722 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -33702,23 +34348,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2668[3] { + if yyq2711[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2680 := z.EncBinary() - _ = yym2680 + yym2723 := z.EncBinary() + _ = yym2723 if false { } else { r.EncodeBool(bool(x.Follow)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[4] { - yym2682 := z.EncBinary() - _ = yym2682 + if yyq2711[4] { + yym2725 := z.EncBinary() + _ = yym2725 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -33727,66 +34373,66 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2668[4] { + if yyq2711[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2683 := z.EncBinary() - _ = yym2683 + yym2726 := z.EncBinary() + _ = yym2726 if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[5] { + if yyq2711[5] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2685 := *x.SinceSeconds - yym2686 := z.EncBinary() - _ = yym2686 + yy2728 := *x.SinceSeconds + yym2729 := z.EncBinary() + _ = yym2729 if false { } else { - r.EncodeInt(int64(yy2685)) + r.EncodeInt(int64(yy2728)) } } } else { r.EncodeNil() } } else { - if yyq2668[5] { + if yyq2711[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2687 := *x.SinceSeconds - yym2688 := z.EncBinary() - _ = yym2688 + yy2730 := *x.SinceSeconds + yym2731 := z.EncBinary() + _ = yym2731 if false { } else { - r.EncodeInt(int64(yy2687)) + r.EncodeInt(int64(yy2730)) } } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[6] { + if yyq2711[6] { if x.SinceTime == nil { r.EncodeNil() } else { - yym2690 := z.EncBinary() - _ = yym2690 + yym2733 := z.EncBinary() + _ = yym2733 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2690 { + } else if yym2733 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2690 && z.IsJSONHandle() { + } else if !yym2733 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -33796,20 +34442,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2668[6] { + if yyq2711[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2691 := z.EncBinary() - _ = yym2691 + yym2734 := z.EncBinary() + _ = yym2734 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2691 { + } else if yym2734 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2691 && z.IsJSONHandle() { + } else if !yym2734 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -33817,11 +34463,11 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[7] { - yym2693 := z.EncBinary() - _ = yym2693 + if yyq2711[7] { + yym2736 := z.EncBinary() + _ = yym2736 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -33830,89 +34476,89 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2668[7] { + if yyq2711[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2694 := z.EncBinary() - _ = yym2694 + yym2737 := z.EncBinary() + _ = yym2737 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[8] { + if yyq2711[8] { if x.TailLines == nil { r.EncodeNil() } else { - yy2696 := *x.TailLines - yym2697 := z.EncBinary() - _ = yym2697 + yy2739 := *x.TailLines + yym2740 := z.EncBinary() + _ = yym2740 if false { } else { - r.EncodeInt(int64(yy2696)) + r.EncodeInt(int64(yy2739)) } } } else { r.EncodeNil() } } else { - if yyq2668[8] { + if yyq2711[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2698 := *x.TailLines - yym2699 := z.EncBinary() - _ = yym2699 + yy2741 := *x.TailLines + yym2742 := z.EncBinary() + _ = yym2742 if false { } else { - r.EncodeInt(int64(yy2698)) + r.EncodeInt(int64(yy2741)) } } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[9] { + if yyq2711[9] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2701 := *x.LimitBytes - yym2702 := z.EncBinary() - _ = yym2702 + yy2744 := *x.LimitBytes + yym2745 := z.EncBinary() + _ = yym2745 if false { } else { - r.EncodeInt(int64(yy2701)) + r.EncodeInt(int64(yy2744)) } } } else { r.EncodeNil() } } else { - if yyq2668[9] { + if yyq2711[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2703 := *x.LimitBytes - yym2704 := z.EncBinary() - _ = yym2704 + yy2746 := *x.LimitBytes + yym2747 := z.EncBinary() + _ = yym2747 if false { } else { - r.EncodeInt(int64(yy2703)) + r.EncodeInt(int64(yy2746)) } } } } - if yyr2668 || yy2arr2668 { + if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33925,25 +34571,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2705 := z.DecBinary() - _ = yym2705 + yym2748 := z.DecBinary() + _ = yym2748 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2706 := r.ContainerType() - if yyct2706 == codecSelferValueTypeMap1234 { - yyl2706 := r.ReadMapStart() - if yyl2706 == 0 { + yyct2749 := r.ContainerType() + if yyct2749 == codecSelferValueTypeMap1234 { + yyl2749 := r.ReadMapStart() + if yyl2749 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2706, d) + x.codecDecodeSelfFromMap(yyl2749, d) } - } else if yyct2706 == codecSelferValueTypeArray1234 { - yyl2706 := r.ReadArrayStart() - if yyl2706 == 0 { + } else if yyct2749 == codecSelferValueTypeArray1234 { + yyl2749 := r.ReadArrayStart() + if yyl2749 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2706, d) + x.codecDecodeSelfFromArray(yyl2749, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33955,12 +34601,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2707Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2707Slc - var yyhl2707 bool = l >= 0 - for yyj2707 := 0; ; yyj2707++ { - if yyhl2707 { - if yyj2707 >= l { + var yys2750Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2750Slc + var yyhl2750 bool = l >= 0 + for yyj2750 := 0; ; yyj2750++ { + if yyhl2750 { + if yyj2750 >= l { break } } else { @@ -33969,10 +34615,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2707Slc = r.DecodeBytes(yys2707Slc, true, true) - yys2707 := string(yys2707Slc) + yys2750Slc = r.DecodeBytes(yys2750Slc, true, true) + yys2750 := string(yys2750Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2707 { + switch yys2750 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34012,8 +34658,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2714 := z.DecBinary() - _ = yym2714 + yym2757 := z.DecBinary() + _ = yym2757 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -34028,13 +34674,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2716 := z.DecBinary() - _ = yym2716 + yym2759 := z.DecBinary() + _ = yym2759 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2716 { + } else if yym2759 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2716 && z.IsJSONHandle() { + } else if !yym2759 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -34055,8 +34701,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2719 := z.DecBinary() - _ = yym2719 + yym2762 := z.DecBinary() + _ = yym2762 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -34071,17 +34717,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2721 := z.DecBinary() - _ = yym2721 + yym2764 := z.DecBinary() + _ = yym2764 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2707) - } // end switch yys2707 - } // end for yyj2707 + z.DecStructFieldNotFound(-1, yys2750) + } // end switch yys2750 + } // end for yyj2750 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34089,16 +34735,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2722 int - var yyb2722 bool - var yyhl2722 bool = l >= 0 - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + var yyj2765 int + var yyb2765 bool + var yyhl2765 bool = l >= 0 + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34108,13 +34754,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34124,13 +34770,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34140,13 +34786,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34156,13 +34802,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34172,13 +34818,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34191,20 +34837,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2729 := z.DecBinary() - _ = yym2729 + yym2772 := z.DecBinary() + _ = yym2772 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34217,25 +34863,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2731 := z.DecBinary() - _ = yym2731 + yym2774 := z.DecBinary() + _ = yym2774 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2731 { + } else if yym2774 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2731 && z.IsJSONHandle() { + } else if !yym2774 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34245,13 +34891,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34264,20 +34910,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2734 := z.DecBinary() - _ = yym2734 + yym2777 := z.DecBinary() + _ = yym2777 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34290,25 +34936,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2736 := z.DecBinary() - _ = yym2736 + yym2779 := z.DecBinary() + _ = yym2779 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb2722 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb2722 { + if yyb2765 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2722-1, "") + z.DecStructFieldNotFound(yyj2765-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34320,41 +34966,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2737 := z.EncBinary() - _ = yym2737 + yym2780 := z.EncBinary() + _ = yym2780 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2738 := !z.EncBinary() - yy2arr2738 := z.EncBasicHandle().StructToArray - var yyq2738 [7]bool - _, _, _ = yysep2738, yyq2738, yy2arr2738 - const yyr2738 bool = false - yyq2738[0] = x.Kind != "" - yyq2738[1] = x.APIVersion != "" - yyq2738[2] = x.Stdin != false - yyq2738[3] = x.Stdout != false - yyq2738[4] = x.Stderr != false - yyq2738[5] = x.TTY != false - yyq2738[6] = x.Container != "" - var yynn2738 int - if yyr2738 || yy2arr2738 { + yysep2781 := !z.EncBinary() + yy2arr2781 := z.EncBasicHandle().StructToArray + var yyq2781 [7]bool + _, _, _ = yysep2781, yyq2781, yy2arr2781 + const yyr2781 bool = false + yyq2781[0] = x.Kind != "" + yyq2781[1] = x.APIVersion != "" + yyq2781[2] = x.Stdin != false + yyq2781[3] = x.Stdout != false + yyq2781[4] = x.Stderr != false + yyq2781[5] = x.TTY != false + yyq2781[6] = x.Container != "" + var yynn2781 int + if yyr2781 || yy2arr2781 { r.EncodeArrayStart(7) } else { - yynn2738 = 0 - for _, b := range yyq2738 { + yynn2781 = 0 + for _, b := range yyq2781 { if b { - yynn2738++ + yynn2781++ } } - r.EncodeMapStart(yynn2738) - yynn2738 = 0 + r.EncodeMapStart(yynn2781) + yynn2781 = 0 } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[0] { - yym2740 := z.EncBinary() - _ = yym2740 + if yyq2781[0] { + yym2783 := z.EncBinary() + _ = yym2783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34363,23 +35009,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[0] { + if yyq2781[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2741 := z.EncBinary() - _ = yym2741 + yym2784 := z.EncBinary() + _ = yym2784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[1] { - yym2743 := z.EncBinary() - _ = yym2743 + if yyq2781[1] { + yym2786 := z.EncBinary() + _ = yym2786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34388,23 +35034,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[1] { + if yyq2781[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2744 := z.EncBinary() - _ = yym2744 + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[2] { - yym2746 := z.EncBinary() - _ = yym2746 + if yyq2781[2] { + yym2789 := z.EncBinary() + _ = yym2789 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34413,23 +35059,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[2] { + if yyq2781[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2747 := z.EncBinary() - _ = yym2747 + yym2790 := z.EncBinary() + _ = yym2790 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[3] { - yym2749 := z.EncBinary() - _ = yym2749 + if yyq2781[3] { + yym2792 := z.EncBinary() + _ = yym2792 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34438,23 +35084,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[3] { + if yyq2781[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2750 := z.EncBinary() - _ = yym2750 + yym2793 := z.EncBinary() + _ = yym2793 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[4] { - yym2752 := z.EncBinary() - _ = yym2752 + if yyq2781[4] { + yym2795 := z.EncBinary() + _ = yym2795 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34463,23 +35109,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[4] { + if yyq2781[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2753 := z.EncBinary() - _ = yym2753 + yym2796 := z.EncBinary() + _ = yym2796 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[5] { - yym2755 := z.EncBinary() - _ = yym2755 + if yyq2781[5] { + yym2798 := z.EncBinary() + _ = yym2798 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34488,23 +35134,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[5] { + if yyq2781[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2756 := z.EncBinary() - _ = yym2756 + yym2799 := z.EncBinary() + _ = yym2799 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[6] { - yym2758 := z.EncBinary() - _ = yym2758 + if yyq2781[6] { + yym2801 := z.EncBinary() + _ = yym2801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34513,19 +35159,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[6] { + if yyq2781[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2759 := z.EncBinary() - _ = yym2759 + yym2802 := z.EncBinary() + _ = yym2802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2738 || yy2arr2738 { + if yyr2781 || yy2arr2781 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34538,25 +35184,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2760 := z.DecBinary() - _ = yym2760 + yym2803 := z.DecBinary() + _ = yym2803 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2761 := r.ContainerType() - if yyct2761 == codecSelferValueTypeMap1234 { - yyl2761 := r.ReadMapStart() - if yyl2761 == 0 { + yyct2804 := r.ContainerType() + if yyct2804 == codecSelferValueTypeMap1234 { + yyl2804 := r.ReadMapStart() + if yyl2804 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2761, d) + x.codecDecodeSelfFromMap(yyl2804, d) } - } else if yyct2761 == codecSelferValueTypeArray1234 { - yyl2761 := r.ReadArrayStart() - if yyl2761 == 0 { + } else if yyct2804 == codecSelferValueTypeArray1234 { + yyl2804 := r.ReadArrayStart() + if yyl2804 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2761, d) + x.codecDecodeSelfFromArray(yyl2804, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34568,12 +35214,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2762Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2762Slc - var yyhl2762 bool = l >= 0 - for yyj2762 := 0; ; yyj2762++ { - if yyhl2762 { - if yyj2762 >= l { + var yys2805Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2805Slc + var yyhl2805 bool = l >= 0 + for yyj2805 := 0; ; yyj2805++ { + if yyhl2805 { + if yyj2805 >= l { break } } else { @@ -34582,10 +35228,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2762Slc = r.DecodeBytes(yys2762Slc, true, true) - yys2762 := string(yys2762Slc) + yys2805Slc = r.DecodeBytes(yys2805Slc, true, true) + yys2805 := string(yys2805Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2762 { + switch yys2805 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34629,9 +35275,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2762) - } // end switch yys2762 - } // end for yyj2762 + z.DecStructFieldNotFound(-1, yys2805) + } // end switch yys2805 + } // end for yyj2805 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34639,16 +35285,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2770 int - var yyb2770 bool - var yyhl2770 bool = l >= 0 - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + var yyj2813 int + var yyb2813 bool + var yyhl2813 bool = l >= 0 + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34658,13 +35304,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34674,13 +35320,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34690,13 +35336,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34706,13 +35352,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34722,13 +35368,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34738,13 +35384,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34755,17 +35401,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2813++ + if yyhl2813 { + yyb2813 = yyj2813 > l } else { - yyb2770 = r.CheckBreak() + yyb2813 = r.CheckBreak() } - if yyb2770 { + if yyb2813 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2770-1, "") + z.DecStructFieldNotFound(yyj2813-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34777,41 +35423,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2778 := z.EncBinary() - _ = yym2778 + yym2821 := z.EncBinary() + _ = yym2821 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2779 := !z.EncBinary() - yy2arr2779 := z.EncBasicHandle().StructToArray - var yyq2779 [8]bool - _, _, _ = yysep2779, yyq2779, yy2arr2779 - const yyr2779 bool = false - yyq2779[0] = x.Kind != "" - yyq2779[1] = x.APIVersion != "" - yyq2779[2] = x.Stdin != false - yyq2779[3] = x.Stdout != false - yyq2779[4] = x.Stderr != false - yyq2779[5] = x.TTY != false - yyq2779[6] = x.Container != "" - var yynn2779 int - if yyr2779 || yy2arr2779 { + yysep2822 := !z.EncBinary() + yy2arr2822 := z.EncBasicHandle().StructToArray + var yyq2822 [8]bool + _, _, _ = yysep2822, yyq2822, yy2arr2822 + const yyr2822 bool = false + yyq2822[0] = x.Kind != "" + yyq2822[1] = x.APIVersion != "" + yyq2822[2] = x.Stdin != false + yyq2822[3] = x.Stdout != false + yyq2822[4] = x.Stderr != false + yyq2822[5] = x.TTY != false + yyq2822[6] = x.Container != "" + var yynn2822 int + if yyr2822 || yy2arr2822 { r.EncodeArrayStart(8) } else { - yynn2779 = 1 - for _, b := range yyq2779 { + yynn2822 = 1 + for _, b := range yyq2822 { if b { - yynn2779++ + yynn2822++ } } - r.EncodeMapStart(yynn2779) - yynn2779 = 0 + r.EncodeMapStart(yynn2822) + yynn2822 = 0 } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[0] { - yym2781 := z.EncBinary() - _ = yym2781 + if yyq2822[0] { + yym2824 := z.EncBinary() + _ = yym2824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34820,23 +35466,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2779[0] { + if yyq2822[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2782 := z.EncBinary() - _ = yym2782 + yym2825 := z.EncBinary() + _ = yym2825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[1] { - yym2784 := z.EncBinary() - _ = yym2784 + if yyq2822[1] { + yym2827 := z.EncBinary() + _ = yym2827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34845,23 +35491,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2779[1] { + if yyq2822[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2785 := z.EncBinary() - _ = yym2785 + yym2828 := z.EncBinary() + _ = yym2828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[2] { - yym2787 := z.EncBinary() - _ = yym2787 + if yyq2822[2] { + yym2830 := z.EncBinary() + _ = yym2830 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34870,23 +35516,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2779[2] { + if yyq2822[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2788 := z.EncBinary() - _ = yym2788 + yym2831 := z.EncBinary() + _ = yym2831 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[3] { - yym2790 := z.EncBinary() - _ = yym2790 + if yyq2822[3] { + yym2833 := z.EncBinary() + _ = yym2833 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34895,23 +35541,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2779[3] { + if yyq2822[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2791 := z.EncBinary() - _ = yym2791 + yym2834 := z.EncBinary() + _ = yym2834 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[4] { - yym2793 := z.EncBinary() - _ = yym2793 + if yyq2822[4] { + yym2836 := z.EncBinary() + _ = yym2836 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34920,23 +35566,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2779[4] { + if yyq2822[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2794 := z.EncBinary() - _ = yym2794 + yym2837 := z.EncBinary() + _ = yym2837 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[5] { - yym2796 := z.EncBinary() - _ = yym2796 + if yyq2822[5] { + yym2839 := z.EncBinary() + _ = yym2839 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34945,23 +35591,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2779[5] { + if yyq2822[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2797 := z.EncBinary() - _ = yym2797 + yym2840 := z.EncBinary() + _ = yym2840 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[6] { - yym2799 := z.EncBinary() - _ = yym2799 + if yyq2822[6] { + yym2842 := z.EncBinary() + _ = yym2842 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34970,25 +35616,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2779[6] { + if yyq2822[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2800 := z.EncBinary() - _ = yym2800 + yym2843 := z.EncBinary() + _ = yym2843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym2802 := z.EncBinary() - _ = yym2802 + yym2845 := z.EncBinary() + _ = yym2845 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -35001,15 +35647,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym2803 := z.EncBinary() - _ = yym2803 + yym2846 := z.EncBinary() + _ = yym2846 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2779 || yy2arr2779 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35022,25 +35668,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2804 := z.DecBinary() - _ = yym2804 + yym2847 := z.DecBinary() + _ = yym2847 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2805 := r.ContainerType() - if yyct2805 == codecSelferValueTypeMap1234 { - yyl2805 := r.ReadMapStart() - if yyl2805 == 0 { + yyct2848 := r.ContainerType() + if yyct2848 == codecSelferValueTypeMap1234 { + yyl2848 := r.ReadMapStart() + if yyl2848 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2805, d) + x.codecDecodeSelfFromMap(yyl2848, d) } - } else if yyct2805 == codecSelferValueTypeArray1234 { - yyl2805 := r.ReadArrayStart() - if yyl2805 == 0 { + } else if yyct2848 == codecSelferValueTypeArray1234 { + yyl2848 := r.ReadArrayStart() + if yyl2848 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2805, d) + x.codecDecodeSelfFromArray(yyl2848, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35052,12 +35698,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2806Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2806Slc - var yyhl2806 bool = l >= 0 - for yyj2806 := 0; ; yyj2806++ { - if yyhl2806 { - if yyj2806 >= l { + var yys2849Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2849Slc + var yyhl2849 bool = l >= 0 + for yyj2849 := 0; ; yyj2849++ { + if yyhl2849 { + if yyj2849 >= l { break } } else { @@ -35066,10 +35712,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2806Slc = r.DecodeBytes(yys2806Slc, true, true) - yys2806 := string(yys2806Slc) + yys2849Slc = r.DecodeBytes(yys2849Slc, true, true) + yys2849 := string(yys2849Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2806 { + switch yys2849 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35116,18 +35762,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2814 := &x.Command - yym2815 := z.DecBinary() - _ = yym2815 + yyv2857 := &x.Command + yym2858 := z.DecBinary() + _ = yym2858 if false { } else { - z.F.DecSliceStringX(yyv2814, false, d) + z.F.DecSliceStringX(yyv2857, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2806) - } // end switch yys2806 - } // end for yyj2806 + z.DecStructFieldNotFound(-1, yys2849) + } // end switch yys2849 + } // end for yyj2849 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35135,16 +35781,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2816 int - var yyb2816 bool - var yyhl2816 bool = l >= 0 - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + var yyj2859 int + var yyb2859 bool + var yyhl2859 bool = l >= 0 + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35154,13 +35800,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35170,13 +35816,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35186,13 +35832,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35202,13 +35848,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35218,13 +35864,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35234,13 +35880,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35250,13 +35896,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35264,26 +35910,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2824 := &x.Command - yym2825 := z.DecBinary() - _ = yym2825 + yyv2867 := &x.Command + yym2868 := z.DecBinary() + _ = yym2868 if false { } else { - z.F.DecSliceStringX(yyv2824, false, d) + z.F.DecSliceStringX(yyv2867, false, d) } } for { - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2859++ + if yyhl2859 { + yyb2859 = yyj2859 > l } else { - yyb2816 = r.CheckBreak() + yyb2859 = r.CheckBreak() } - if yyb2816 { + if yyb2859 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2816-1, "") + z.DecStructFieldNotFound(yyj2859-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35295,37 +35941,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2826 := z.EncBinary() - _ = yym2826 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2827 := !z.EncBinary() - yy2arr2827 := z.EncBasicHandle().StructToArray - var yyq2827 [3]bool - _, _, _ = yysep2827, yyq2827, yy2arr2827 - const yyr2827 bool = false - yyq2827[0] = x.Kind != "" - yyq2827[1] = x.APIVersion != "" - yyq2827[2] = x.Path != "" - var yynn2827 int - if yyr2827 || yy2arr2827 { + yysep2870 := !z.EncBinary() + yy2arr2870 := z.EncBasicHandle().StructToArray + var yyq2870 [3]bool + _, _, _ = yysep2870, yyq2870, yy2arr2870 + const yyr2870 bool = false + yyq2870[0] = x.Kind != "" + yyq2870[1] = x.APIVersion != "" + yyq2870[2] = x.Path != "" + var yynn2870 int + if yyr2870 || yy2arr2870 { r.EncodeArrayStart(3) } else { - yynn2827 = 0 - for _, b := range yyq2827 { + yynn2870 = 0 + for _, b := range yyq2870 { if b { - yynn2827++ + yynn2870++ } } - r.EncodeMapStart(yynn2827) - yynn2827 = 0 + r.EncodeMapStart(yynn2870) + yynn2870 = 0 } - if yyr2827 || yy2arr2827 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2827[0] { - yym2829 := z.EncBinary() - _ = yym2829 + if yyq2870[0] { + yym2872 := z.EncBinary() + _ = yym2872 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35334,23 +35980,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2827[0] { + if yyq2870[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2830 := z.EncBinary() - _ = yym2830 + yym2873 := z.EncBinary() + _ = yym2873 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2827 || yy2arr2827 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2827[1] { - yym2832 := z.EncBinary() - _ = yym2832 + if yyq2870[1] { + yym2875 := z.EncBinary() + _ = yym2875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35359,23 +36005,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2827[1] { + if yyq2870[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2833 := z.EncBinary() - _ = yym2833 + yym2876 := z.EncBinary() + _ = yym2876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2827 || yy2arr2827 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2827[2] { - yym2835 := z.EncBinary() - _ = yym2835 + if yyq2870[2] { + yym2878 := z.EncBinary() + _ = yym2878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -35384,19 +36030,19 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2827[2] { + if yyq2870[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2836 := z.EncBinary() - _ = yym2836 + yym2879 := z.EncBinary() + _ = yym2879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2827 || yy2arr2827 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35409,25 +36055,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2837 := z.DecBinary() - _ = yym2837 + yym2880 := z.DecBinary() + _ = yym2880 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2838 := r.ContainerType() - if yyct2838 == codecSelferValueTypeMap1234 { - yyl2838 := r.ReadMapStart() - if yyl2838 == 0 { + yyct2881 := r.ContainerType() + if yyct2881 == codecSelferValueTypeMap1234 { + yyl2881 := r.ReadMapStart() + if yyl2881 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2838, d) + x.codecDecodeSelfFromMap(yyl2881, d) } - } else if yyct2838 == codecSelferValueTypeArray1234 { - yyl2838 := r.ReadArrayStart() - if yyl2838 == 0 { + } else if yyct2881 == codecSelferValueTypeArray1234 { + yyl2881 := r.ReadArrayStart() + if yyl2881 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2838, d) + x.codecDecodeSelfFromArray(yyl2881, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35439,12 +36085,12 @@ func (x *PodProxyOptions) 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 yys2882Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2882Slc + var yyhl2882 bool = l >= 0 + for yyj2882 := 0; ; yyj2882++ { + if yyhl2882 { + if yyj2882 >= l { break } } else { @@ -35453,10 +36099,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2839Slc = r.DecodeBytes(yys2839Slc, true, true) - yys2839 := string(yys2839Slc) + yys2882Slc = r.DecodeBytes(yys2882Slc, true, true) + yys2882 := string(yys2882Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2839 { + switch yys2882 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35476,9 +36122,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2839) - } // end switch yys2839 - } // end for yyj2839 + z.DecStructFieldNotFound(-1, yys2882) + } // end switch yys2882 + } // end for yyj2882 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35486,16 +36132,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2843 int - var yyb2843 bool - var yyhl2843 bool = l >= 0 - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + var yyj2886 int + var yyb2886 bool + var yyhl2886 bool = l >= 0 + yyj2886++ + if yyhl2886 { + yyb2886 = yyj2886 > l } else { - yyb2843 = r.CheckBreak() + yyb2886 = r.CheckBreak() } - if yyb2843 { + if yyb2886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35505,13 +36151,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2886++ + if yyhl2886 { + yyb2886 = yyj2886 > l } else { - yyb2843 = r.CheckBreak() + yyb2886 = r.CheckBreak() } - if yyb2843 { + if yyb2886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35521,13 +36167,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2886++ + if yyhl2886 { + yyb2886 = yyj2886 > l } else { - yyb2843 = r.CheckBreak() + yyb2886 = r.CheckBreak() } - if yyb2843 { + if yyb2886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35538,17 +36184,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2886++ + if yyhl2886 { + yyb2886 = yyj2886 > l } else { - yyb2843 = r.CheckBreak() + yyb2886 = r.CheckBreak() } - if yyb2843 { + if yyb2886 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2843-1, "") + z.DecStructFieldNotFound(yyj2886-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35560,41 +36206,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2847 := z.EncBinary() - _ = yym2847 + yym2890 := z.EncBinary() + _ = yym2890 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2848 := !z.EncBinary() - yy2arr2848 := z.EncBasicHandle().StructToArray - var yyq2848 [7]bool - _, _, _ = yysep2848, yyq2848, yy2arr2848 - const yyr2848 bool = false - yyq2848[0] = x.Kind != "" - yyq2848[1] = x.Namespace != "" - yyq2848[2] = x.Name != "" - yyq2848[3] = x.UID != "" - yyq2848[4] = x.APIVersion != "" - yyq2848[5] = x.ResourceVersion != "" - yyq2848[6] = x.FieldPath != "" - var yynn2848 int - if yyr2848 || yy2arr2848 { + yysep2891 := !z.EncBinary() + yy2arr2891 := z.EncBasicHandle().StructToArray + var yyq2891 [7]bool + _, _, _ = yysep2891, yyq2891, yy2arr2891 + const yyr2891 bool = false + yyq2891[0] = x.Kind != "" + yyq2891[1] = x.Namespace != "" + yyq2891[2] = x.Name != "" + yyq2891[3] = x.UID != "" + yyq2891[4] = x.APIVersion != "" + yyq2891[5] = x.ResourceVersion != "" + yyq2891[6] = x.FieldPath != "" + var yynn2891 int + if yyr2891 || yy2arr2891 { r.EncodeArrayStart(7) } else { - yynn2848 = 0 - for _, b := range yyq2848 { + yynn2891 = 0 + for _, b := range yyq2891 { if b { - yynn2848++ + yynn2891++ } } - r.EncodeMapStart(yynn2848) - yynn2848 = 0 + r.EncodeMapStart(yynn2891) + yynn2891 = 0 } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[0] { - yym2850 := z.EncBinary() - _ = yym2850 + if yyq2891[0] { + yym2893 := z.EncBinary() + _ = yym2893 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35603,23 +36249,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[0] { + if yyq2891[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2851 := z.EncBinary() - _ = yym2851 + yym2894 := z.EncBinary() + _ = yym2894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[1] { - yym2853 := z.EncBinary() - _ = yym2853 + if yyq2891[1] { + yym2896 := z.EncBinary() + _ = yym2896 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -35628,23 +36274,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[1] { + if yyq2891[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2854 := z.EncBinary() - _ = yym2854 + yym2897 := z.EncBinary() + _ = yym2897 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[2] { - yym2856 := z.EncBinary() - _ = yym2856 + if yyq2891[2] { + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35653,23 +36299,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[2] { + if yyq2891[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2857 := z.EncBinary() - _ = yym2857 + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[3] { - yym2859 := z.EncBinary() - _ = yym2859 + if yyq2891[3] { + yym2902 := z.EncBinary() + _ = yym2902 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35679,12 +36325,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[3] { + if yyq2891[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2860 := z.EncBinary() - _ = yym2860 + yym2903 := z.EncBinary() + _ = yym2903 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35692,11 +36338,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[4] { - yym2862 := z.EncBinary() - _ = yym2862 + if yyq2891[4] { + yym2905 := z.EncBinary() + _ = yym2905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35705,23 +36351,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[4] { + if yyq2891[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2863 := z.EncBinary() - _ = yym2863 + yym2906 := z.EncBinary() + _ = yym2906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[5] { - yym2865 := z.EncBinary() - _ = yym2865 + if yyq2891[5] { + yym2908 := z.EncBinary() + _ = yym2908 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -35730,23 +36376,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[5] { + if yyq2891[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2866 := z.EncBinary() - _ = yym2866 + yym2909 := z.EncBinary() + _ = yym2909 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[6] { - yym2868 := z.EncBinary() - _ = yym2868 + if yyq2891[6] { + yym2911 := z.EncBinary() + _ = yym2911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -35755,19 +36401,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[6] { + if yyq2891[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2869 := z.EncBinary() - _ = yym2869 + yym2912 := z.EncBinary() + _ = yym2912 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2848 || yy2arr2848 { + if yyr2891 || yy2arr2891 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35780,25 +36426,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2870 := z.DecBinary() - _ = yym2870 + yym2913 := z.DecBinary() + _ = yym2913 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2871 := r.ContainerType() - if yyct2871 == codecSelferValueTypeMap1234 { - yyl2871 := r.ReadMapStart() - if yyl2871 == 0 { + yyct2914 := r.ContainerType() + if yyct2914 == codecSelferValueTypeMap1234 { + yyl2914 := r.ReadMapStart() + if yyl2914 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2871, d) + x.codecDecodeSelfFromMap(yyl2914, d) } - } else if yyct2871 == codecSelferValueTypeArray1234 { - yyl2871 := r.ReadArrayStart() - if yyl2871 == 0 { + } else if yyct2914 == codecSelferValueTypeArray1234 { + yyl2914 := r.ReadArrayStart() + if yyl2914 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2871, d) + x.codecDecodeSelfFromArray(yyl2914, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35810,12 +36456,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2872Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2872Slc - var yyhl2872 bool = l >= 0 - for yyj2872 := 0; ; yyj2872++ { - if yyhl2872 { - if yyj2872 >= l { + var yys2915Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2915Slc + var yyhl2915 bool = l >= 0 + for yyj2915 := 0; ; yyj2915++ { + if yyhl2915 { + if yyj2915 >= l { break } } else { @@ -35824,10 +36470,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2872Slc = r.DecodeBytes(yys2872Slc, true, true) - yys2872 := string(yys2872Slc) + yys2915Slc = r.DecodeBytes(yys2915Slc, true, true) + yys2915 := string(yys2915Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2872 { + switch yys2915 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35871,9 +36517,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2872) - } // end switch yys2872 - } // end for yyj2872 + z.DecStructFieldNotFound(-1, yys2915) + } // end switch yys2915 + } // end for yyj2915 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35881,16 +36527,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2880 int - var yyb2880 bool - var yyhl2880 bool = l >= 0 - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + var yyj2923 int + var yyb2923 bool + var yyhl2923 bool = l >= 0 + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35900,13 +36546,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35916,13 +36562,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35932,13 +36578,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35948,13 +36594,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35964,13 +36610,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35980,13 +36626,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35997,17 +36643,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2880 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2880 { + if yyb2923 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2880-1, "") + z.DecStructFieldNotFound(yyj2923-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36019,35 +36665,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2888 := z.EncBinary() - _ = yym2888 + yym2931 := z.EncBinary() + _ = yym2931 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2889 := !z.EncBinary() - yy2arr2889 := z.EncBasicHandle().StructToArray - var yyq2889 [1]bool - _, _, _ = yysep2889, yyq2889, yy2arr2889 - const yyr2889 bool = false - yyq2889[0] = x.Name != "" - var yynn2889 int - if yyr2889 || yy2arr2889 { + yysep2932 := !z.EncBinary() + yy2arr2932 := z.EncBasicHandle().StructToArray + var yyq2932 [1]bool + _, _, _ = yysep2932, yyq2932, yy2arr2932 + const yyr2932 bool = false + yyq2932[0] = x.Name != "" + var yynn2932 int + if yyr2932 || yy2arr2932 { r.EncodeArrayStart(1) } else { - yynn2889 = 0 - for _, b := range yyq2889 { + yynn2932 = 0 + for _, b := range yyq2932 { if b { - yynn2889++ + yynn2932++ } } - r.EncodeMapStart(yynn2889) - yynn2889 = 0 + r.EncodeMapStart(yynn2932) + yynn2932 = 0 } - if yyr2889 || yy2arr2889 { + if yyr2932 || yy2arr2932 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2889[0] { - yym2891 := z.EncBinary() - _ = yym2891 + if yyq2932[0] { + yym2934 := z.EncBinary() + _ = yym2934 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -36056,19 +36702,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2889[0] { + if yyq2932[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2892 := z.EncBinary() - _ = yym2892 + yym2935 := z.EncBinary() + _ = yym2935 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2889 || yy2arr2889 { + if yyr2932 || yy2arr2932 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36081,25 +36727,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2893 := z.DecBinary() - _ = yym2893 + yym2936 := z.DecBinary() + _ = yym2936 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2894 := r.ContainerType() - if yyct2894 == codecSelferValueTypeMap1234 { - yyl2894 := r.ReadMapStart() - if yyl2894 == 0 { + yyct2937 := r.ContainerType() + if yyct2937 == codecSelferValueTypeMap1234 { + yyl2937 := r.ReadMapStart() + if yyl2937 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2894, d) + x.codecDecodeSelfFromMap(yyl2937, d) } - } else if yyct2894 == codecSelferValueTypeArray1234 { - yyl2894 := r.ReadArrayStart() - if yyl2894 == 0 { + } else if yyct2937 == codecSelferValueTypeArray1234 { + yyl2937 := r.ReadArrayStart() + if yyl2937 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2894, d) + x.codecDecodeSelfFromArray(yyl2937, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36111,12 +36757,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2895Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2895Slc - var yyhl2895 bool = l >= 0 - for yyj2895 := 0; ; yyj2895++ { - if yyhl2895 { - if yyj2895 >= l { + var yys2938Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2938Slc + var yyhl2938 bool = l >= 0 + for yyj2938 := 0; ; yyj2938++ { + if yyhl2938 { + if yyj2938 >= l { break } } else { @@ -36125,10 +36771,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2895Slc = r.DecodeBytes(yys2895Slc, true, true) - yys2895 := string(yys2895Slc) + yys2938Slc = r.DecodeBytes(yys2938Slc, true, true) + yys2938 := string(yys2938Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2895 { + switch yys2938 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -36136,9 +36782,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2895) - } // end switch yys2895 - } // end for yyj2895 + z.DecStructFieldNotFound(-1, yys2938) + } // end switch yys2938 + } // end for yyj2938 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36146,16 +36792,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2897 int - var yyb2897 bool - var yyhl2897 bool = l >= 0 - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + var yyj2940 int + var yyb2940 bool + var yyhl2940 bool = l >= 0 + yyj2940++ + if yyhl2940 { + yyb2940 = yyj2940 > l } else { - yyb2897 = r.CheckBreak() + yyb2940 = r.CheckBreak() } - if yyb2897 { + if yyb2940 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36166,17 +36812,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj2940++ + if yyhl2940 { + yyb2940 = yyj2940 > l } else { - yyb2897 = r.CheckBreak() + yyb2940 = r.CheckBreak() } - if yyb2897 { + if yyb2940 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2897-1, "") + z.DecStructFieldNotFound(yyj2940-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36188,37 +36834,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2899 := z.EncBinary() - _ = yym2899 + yym2942 := z.EncBinary() + _ = yym2942 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2900 := !z.EncBinary() - yy2arr2900 := z.EncBasicHandle().StructToArray - var yyq2900 [3]bool - _, _, _ = yysep2900, yyq2900, yy2arr2900 - const yyr2900 bool = false - yyq2900[0] = x.Kind != "" - yyq2900[1] = x.APIVersion != "" - yyq2900[2] = true - var yynn2900 int - if yyr2900 || yy2arr2900 { + yysep2943 := !z.EncBinary() + yy2arr2943 := z.EncBasicHandle().StructToArray + var yyq2943 [3]bool + _, _, _ = yysep2943, yyq2943, yy2arr2943 + const yyr2943 bool = false + yyq2943[0] = x.Kind != "" + yyq2943[1] = x.APIVersion != "" + yyq2943[2] = true + var yynn2943 int + if yyr2943 || yy2arr2943 { r.EncodeArrayStart(3) } else { - yynn2900 = 0 - for _, b := range yyq2900 { + yynn2943 = 0 + for _, b := range yyq2943 { if b { - yynn2900++ + yynn2943++ } } - r.EncodeMapStart(yynn2900) - yynn2900 = 0 + r.EncodeMapStart(yynn2943) + yynn2943 = 0 } - if yyr2900 || yy2arr2900 { + if yyr2943 || yy2arr2943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[0] { - yym2902 := z.EncBinary() - _ = yym2902 + if yyq2943[0] { + yym2945 := z.EncBinary() + _ = yym2945 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36227,23 +36873,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2900[0] { + if yyq2943[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2903 := z.EncBinary() - _ = yym2903 + yym2946 := z.EncBinary() + _ = yym2946 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2900 || yy2arr2900 { + if yyr2943 || yy2arr2943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[1] { - yym2905 := z.EncBinary() - _ = yym2905 + if yyq2943[1] { + yym2948 := z.EncBinary() + _ = yym2948 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36252,36 +36898,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2900[1] { + if yyq2943[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2906 := z.EncBinary() - _ = yym2906 + yym2949 := z.EncBinary() + _ = yym2949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2900 || yy2arr2900 { + if yyr2943 || yy2arr2943 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[2] { - yy2908 := &x.Reference - yy2908.CodecEncodeSelf(e) + if yyq2943[2] { + yy2951 := &x.Reference + yy2951.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2900[2] { + if yyq2943[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2909 := &x.Reference - yy2909.CodecEncodeSelf(e) + yy2952 := &x.Reference + yy2952.CodecEncodeSelf(e) } } - if yyr2900 || yy2arr2900 { + if yyr2943 || yy2arr2943 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36294,25 +36940,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2910 := z.DecBinary() - _ = yym2910 + yym2953 := z.DecBinary() + _ = yym2953 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2911 := r.ContainerType() - if yyct2911 == codecSelferValueTypeMap1234 { - yyl2911 := r.ReadMapStart() - if yyl2911 == 0 { + yyct2954 := r.ContainerType() + if yyct2954 == codecSelferValueTypeMap1234 { + yyl2954 := r.ReadMapStart() + if yyl2954 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2911, d) + x.codecDecodeSelfFromMap(yyl2954, d) } - } else if yyct2911 == codecSelferValueTypeArray1234 { - yyl2911 := r.ReadArrayStart() - if yyl2911 == 0 { + } else if yyct2954 == codecSelferValueTypeArray1234 { + yyl2954 := r.ReadArrayStart() + if yyl2954 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2911, d) + x.codecDecodeSelfFromArray(yyl2954, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36324,12 +36970,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2912Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2912Slc - var yyhl2912 bool = l >= 0 - for yyj2912 := 0; ; yyj2912++ { - if yyhl2912 { - if yyj2912 >= l { + var yys2955Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2955Slc + var yyhl2955 bool = l >= 0 + for yyj2955 := 0; ; yyj2955++ { + if yyhl2955 { + if yyj2955 >= l { break } } else { @@ -36338,10 +36984,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2912Slc = r.DecodeBytes(yys2912Slc, true, true) - yys2912 := string(yys2912Slc) + yys2955Slc = r.DecodeBytes(yys2955Slc, true, true) + yys2955 := string(yys2955Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2912 { + switch yys2955 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36358,13 +37004,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2915 := &x.Reference - yyv2915.CodecDecodeSelf(d) + yyv2958 := &x.Reference + yyv2958.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2912) - } // end switch yys2912 - } // end for yyj2912 + z.DecStructFieldNotFound(-1, yys2955) + } // end switch yys2955 + } // end for yyj2955 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36372,16 +37018,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2916 int - var yyb2916 bool - var yyhl2916 bool = l >= 0 - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + var yyj2959 int + var yyb2959 bool + var yyhl2959 bool = l >= 0 + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2916 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2916 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36391,13 +37037,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2916 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2916 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36407,13 +37053,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2916 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2916 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36421,21 +37067,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2919 := &x.Reference - yyv2919.CodecDecodeSelf(d) + yyv2962 := &x.Reference + yyv2962.CodecDecodeSelf(d) } for { - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2916 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2916 { + if yyb2959 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2916-1, "") + z.DecStructFieldNotFound(yyj2959-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36447,36 +37093,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2920 := z.EncBinary() - _ = yym2920 + yym2963 := z.EncBinary() + _ = yym2963 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2921 := !z.EncBinary() - yy2arr2921 := z.EncBasicHandle().StructToArray - var yyq2921 [2]bool - _, _, _ = yysep2921, yyq2921, yy2arr2921 - const yyr2921 bool = false - yyq2921[0] = x.Component != "" - yyq2921[1] = x.Host != "" - var yynn2921 int - if yyr2921 || yy2arr2921 { + yysep2964 := !z.EncBinary() + yy2arr2964 := z.EncBasicHandle().StructToArray + var yyq2964 [2]bool + _, _, _ = yysep2964, yyq2964, yy2arr2964 + const yyr2964 bool = false + yyq2964[0] = x.Component != "" + yyq2964[1] = x.Host != "" + var yynn2964 int + if yyr2964 || yy2arr2964 { r.EncodeArrayStart(2) } else { - yynn2921 = 0 - for _, b := range yyq2921 { + yynn2964 = 0 + for _, b := range yyq2964 { if b { - yynn2921++ + yynn2964++ } } - r.EncodeMapStart(yynn2921) - yynn2921 = 0 + r.EncodeMapStart(yynn2964) + yynn2964 = 0 } - if yyr2921 || yy2arr2921 { + if yyr2964 || yy2arr2964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[0] { - yym2923 := z.EncBinary() - _ = yym2923 + if yyq2964[0] { + yym2966 := z.EncBinary() + _ = yym2966 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -36485,23 +37131,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[0] { + if yyq2964[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2924 := z.EncBinary() - _ = yym2924 + yym2967 := z.EncBinary() + _ = yym2967 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2921 || yy2arr2921 { + if yyr2964 || yy2arr2964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[1] { - yym2926 := z.EncBinary() - _ = yym2926 + if yyq2964[1] { + yym2969 := z.EncBinary() + _ = yym2969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -36510,19 +37156,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[1] { + if yyq2964[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2927 := z.EncBinary() - _ = yym2927 + yym2970 := z.EncBinary() + _ = yym2970 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2921 || yy2arr2921 { + if yyr2964 || yy2arr2964 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36535,25 +37181,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2928 := z.DecBinary() - _ = yym2928 + yym2971 := z.DecBinary() + _ = yym2971 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2929 := r.ContainerType() - if yyct2929 == codecSelferValueTypeMap1234 { - yyl2929 := r.ReadMapStart() - if yyl2929 == 0 { + yyct2972 := r.ContainerType() + if yyct2972 == codecSelferValueTypeMap1234 { + yyl2972 := r.ReadMapStart() + if yyl2972 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2929, d) + x.codecDecodeSelfFromMap(yyl2972, d) } - } else if yyct2929 == codecSelferValueTypeArray1234 { - yyl2929 := r.ReadArrayStart() - if yyl2929 == 0 { + } else if yyct2972 == codecSelferValueTypeArray1234 { + yyl2972 := r.ReadArrayStart() + if yyl2972 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2929, d) + x.codecDecodeSelfFromArray(yyl2972, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36565,12 +37211,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2930Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2930Slc - var yyhl2930 bool = l >= 0 - for yyj2930 := 0; ; yyj2930++ { - if yyhl2930 { - if yyj2930 >= l { + var yys2973Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2973Slc + var yyhl2973 bool = l >= 0 + for yyj2973 := 0; ; yyj2973++ { + if yyhl2973 { + if yyj2973 >= l { break } } else { @@ -36579,10 +37225,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2930Slc = r.DecodeBytes(yys2930Slc, true, true) - yys2930 := string(yys2930Slc) + yys2973Slc = r.DecodeBytes(yys2973Slc, true, true) + yys2973 := string(yys2973Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2930 { + switch yys2973 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -36596,9 +37242,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2930) - } // end switch yys2930 - } // end for yyj2930 + z.DecStructFieldNotFound(-1, yys2973) + } // end switch yys2973 + } // end for yyj2973 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36606,16 +37252,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2933 int - var yyb2933 bool - var yyhl2933 bool = l >= 0 - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + var yyj2976 int + var yyb2976 bool + var yyhl2976 bool = l >= 0 + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb2933 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb2933 { + if yyb2976 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36625,13 +37271,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb2933 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb2933 { + if yyb2976 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36642,17 +37288,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb2933 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb2933 { + if yyb2976 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2933-1, "") + z.DecStructFieldNotFound(yyj2976-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36664,43 +37310,43 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2936 := z.EncBinary() - _ = yym2936 + yym2979 := z.EncBinary() + _ = yym2979 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2937 := !z.EncBinary() - yy2arr2937 := z.EncBasicHandle().StructToArray - var yyq2937 [11]bool - _, _, _ = yysep2937, yyq2937, yy2arr2937 - const yyr2937 bool = false - yyq2937[0] = x.Kind != "" - yyq2937[1] = x.APIVersion != "" - yyq2937[4] = x.Reason != "" - yyq2937[5] = x.Message != "" - yyq2937[6] = true - yyq2937[7] = true - yyq2937[8] = true - yyq2937[9] = x.Count != 0 - yyq2937[10] = x.Type != "" - var yynn2937 int - if yyr2937 || yy2arr2937 { + yysep2980 := !z.EncBinary() + yy2arr2980 := z.EncBasicHandle().StructToArray + var yyq2980 [11]bool + _, _, _ = yysep2980, yyq2980, yy2arr2980 + const yyr2980 bool = false + yyq2980[0] = x.Kind != "" + yyq2980[1] = x.APIVersion != "" + yyq2980[4] = x.Reason != "" + yyq2980[5] = x.Message != "" + yyq2980[6] = true + yyq2980[7] = true + yyq2980[8] = true + yyq2980[9] = x.Count != 0 + yyq2980[10] = x.Type != "" + var yynn2980 int + if yyr2980 || yy2arr2980 { r.EncodeArrayStart(11) } else { - yynn2937 = 2 - for _, b := range yyq2937 { + yynn2980 = 2 + for _, b := range yyq2980 { if b { - yynn2937++ + yynn2980++ } } - r.EncodeMapStart(yynn2937) - yynn2937 = 0 + r.EncodeMapStart(yynn2980) + yynn2980 = 0 } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[0] { - yym2939 := z.EncBinary() - _ = yym2939 + if yyq2980[0] { + yym2982 := z.EncBinary() + _ = yym2982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36709,23 +37355,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[0] { + if yyq2980[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2940 := z.EncBinary() - _ = yym2940 + yym2983 := z.EncBinary() + _ = yym2983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[1] { - yym2942 := z.EncBinary() - _ = yym2942 + if yyq2980[1] { + yym2985 := z.EncBinary() + _ = yym2985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36734,45 +37380,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[1] { + if yyq2980[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2943 := z.EncBinary() - _ = yym2943 + yym2986 := z.EncBinary() + _ = yym2986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2945 := &x.ObjectMeta - yy2945.CodecEncodeSelf(e) + yy2988 := &x.ObjectMeta + yy2988.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2946 := &x.ObjectMeta - yy2946.CodecEncodeSelf(e) + yy2989 := &x.ObjectMeta + yy2989.CodecEncodeSelf(e) } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2948 := &x.InvolvedObject - yy2948.CodecEncodeSelf(e) + yy2991 := &x.InvolvedObject + yy2991.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2949 := &x.InvolvedObject - yy2949.CodecEncodeSelf(e) + yy2992 := &x.InvolvedObject + yy2992.CodecEncodeSelf(e) } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[4] { - yym2951 := z.EncBinary() - _ = yym2951 + if yyq2980[4] { + yym2994 := z.EncBinary() + _ = yym2994 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -36781,23 +37427,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[4] { + if yyq2980[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2952 := z.EncBinary() - _ = yym2952 + yym2995 := z.EncBinary() + _ = yym2995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[5] { - yym2954 := z.EncBinary() - _ = yym2954 + if yyq2980[5] { + yym2997 := z.EncBinary() + _ = yym2997 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -36806,114 +37452,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[5] { + if yyq2980[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2955 := z.EncBinary() - _ = yym2955 + yym2998 := z.EncBinary() + _ = yym2998 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[6] { - yy2957 := &x.Source - yy2957.CodecEncodeSelf(e) + if yyq2980[6] { + yy3000 := &x.Source + yy3000.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2937[6] { + if yyq2980[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2958 := &x.Source - yy2958.CodecEncodeSelf(e) + yy3001 := &x.Source + yy3001.CodecEncodeSelf(e) } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[7] { - yy2960 := &x.FirstTimestamp - yym2961 := z.EncBinary() - _ = yym2961 + if yyq2980[7] { + yy3003 := &x.FirstTimestamp + yym3004 := z.EncBinary() + _ = yym3004 if false { - } else if z.HasExtensions() && z.EncExt(yy2960) { - } else if yym2961 { - z.EncBinaryMarshal(yy2960) - } else if !yym2961 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2960) + } else if z.HasExtensions() && z.EncExt(yy3003) { + } else if yym3004 { + z.EncBinaryMarshal(yy3003) + } else if !yym3004 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3003) } else { - z.EncFallback(yy2960) + z.EncFallback(yy3003) } } else { r.EncodeNil() } } else { - if yyq2937[7] { + if yyq2980[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2962 := &x.FirstTimestamp - yym2963 := z.EncBinary() - _ = yym2963 + yy3005 := &x.FirstTimestamp + yym3006 := z.EncBinary() + _ = yym3006 if false { - } else if z.HasExtensions() && z.EncExt(yy2962) { - } else if yym2963 { - z.EncBinaryMarshal(yy2962) - } else if !yym2963 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2962) + } else if z.HasExtensions() && z.EncExt(yy3005) { + } else if yym3006 { + z.EncBinaryMarshal(yy3005) + } else if !yym3006 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3005) } else { - z.EncFallback(yy2962) + z.EncFallback(yy3005) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[8] { - yy2965 := &x.LastTimestamp - yym2966 := z.EncBinary() - _ = yym2966 + if yyq2980[8] { + yy3008 := &x.LastTimestamp + yym3009 := z.EncBinary() + _ = yym3009 if false { - } else if z.HasExtensions() && z.EncExt(yy2965) { - } else if yym2966 { - z.EncBinaryMarshal(yy2965) - } else if !yym2966 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2965) + } else if z.HasExtensions() && z.EncExt(yy3008) { + } else if yym3009 { + z.EncBinaryMarshal(yy3008) + } else if !yym3009 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3008) } else { - z.EncFallback(yy2965) + z.EncFallback(yy3008) } } else { r.EncodeNil() } } else { - if yyq2937[8] { + if yyq2980[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2967 := &x.LastTimestamp - yym2968 := z.EncBinary() - _ = yym2968 + yy3010 := &x.LastTimestamp + yym3011 := z.EncBinary() + _ = yym3011 if false { - } else if z.HasExtensions() && z.EncExt(yy2967) { - } else if yym2968 { - z.EncBinaryMarshal(yy2967) - } else if !yym2968 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2967) + } else if z.HasExtensions() && z.EncExt(yy3010) { + } else if yym3011 { + z.EncBinaryMarshal(yy3010) + } else if !yym3011 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3010) } else { - z.EncFallback(yy2967) + z.EncFallback(yy3010) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[9] { - yym2970 := z.EncBinary() - _ = yym2970 + if yyq2980[9] { + yym3013 := z.EncBinary() + _ = yym3013 if false { } else { r.EncodeInt(int64(x.Count)) @@ -36922,23 +37568,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2937[9] { + if yyq2980[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2971 := z.EncBinary() - _ = yym2971 + yym3014 := z.EncBinary() + _ = yym3014 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[10] { - yym2973 := z.EncBinary() - _ = yym2973 + if yyq2980[10] { + yym3016 := z.EncBinary() + _ = yym3016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -36947,19 +37593,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[10] { + if yyq2980[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2974 := z.EncBinary() - _ = yym2974 + yym3017 := z.EncBinary() + _ = yym3017 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2937 || yy2arr2937 { + if yyr2980 || yy2arr2980 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36972,25 +37618,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2975 := z.DecBinary() - _ = yym2975 + yym3018 := z.DecBinary() + _ = yym3018 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2976 := r.ContainerType() - if yyct2976 == codecSelferValueTypeMap1234 { - yyl2976 := r.ReadMapStart() - if yyl2976 == 0 { + yyct3019 := r.ContainerType() + if yyct3019 == codecSelferValueTypeMap1234 { + yyl3019 := r.ReadMapStart() + if yyl3019 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2976, d) + x.codecDecodeSelfFromMap(yyl3019, d) } - } else if yyct2976 == codecSelferValueTypeArray1234 { - yyl2976 := r.ReadArrayStart() - if yyl2976 == 0 { + } else if yyct3019 == codecSelferValueTypeArray1234 { + yyl3019 := r.ReadArrayStart() + if yyl3019 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2976, d) + x.codecDecodeSelfFromArray(yyl3019, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37002,12 +37648,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2977Slc - var yyhl2977 bool = l >= 0 - for yyj2977 := 0; ; yyj2977++ { - if yyhl2977 { - if yyj2977 >= l { + var yys3020Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3020Slc + var yyhl3020 bool = l >= 0 + for yyj3020 := 0; ; yyj3020++ { + if yyhl3020 { + if yyj3020 >= l { break } } else { @@ -37016,10 +37662,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2977Slc = r.DecodeBytes(yys2977Slc, true, true) - yys2977 := string(yys2977Slc) + yys3020Slc = r.DecodeBytes(yys3020Slc, true, true) + yys3020 := string(yys3020Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2977 { + switch yys3020 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37036,15 +37682,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2980 := &x.ObjectMeta - yyv2980.CodecDecodeSelf(d) + yyv3023 := &x.ObjectMeta + yyv3023.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2981 := &x.InvolvedObject - yyv2981.CodecDecodeSelf(d) + yyv3024 := &x.InvolvedObject + yyv3024.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -37062,41 +37708,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2984 := &x.Source - yyv2984.CodecDecodeSelf(d) + yyv3027 := &x.Source + yyv3027.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2985 := &x.FirstTimestamp - yym2986 := z.DecBinary() - _ = yym2986 + yyv3028 := &x.FirstTimestamp + yym3029 := z.DecBinary() + _ = yym3029 if false { - } else if z.HasExtensions() && z.DecExt(yyv2985) { - } else if yym2986 { - z.DecBinaryUnmarshal(yyv2985) - } else if !yym2986 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2985) + } else if z.HasExtensions() && z.DecExt(yyv3028) { + } else if yym3029 { + z.DecBinaryUnmarshal(yyv3028) + } else if !yym3029 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3028) } else { - z.DecFallback(yyv2985, false) + z.DecFallback(yyv3028, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv2987 := &x.LastTimestamp - yym2988 := z.DecBinary() - _ = yym2988 + yyv3030 := &x.LastTimestamp + yym3031 := z.DecBinary() + _ = yym3031 if false { - } else if z.HasExtensions() && z.DecExt(yyv2987) { - } else if yym2988 { - z.DecBinaryUnmarshal(yyv2987) - } else if !yym2988 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2987) + } else if z.HasExtensions() && z.DecExt(yyv3030) { + } else if yym3031 { + z.DecBinaryUnmarshal(yyv3030) + } else if !yym3031 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3030) } else { - z.DecFallback(yyv2987, false) + z.DecFallback(yyv3030, false) } } case "count": @@ -37112,9 +37758,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2977) - } // end switch yys2977 - } // end for yyj2977 + z.DecStructFieldNotFound(-1, yys3020) + } // end switch yys3020 + } // end for yyj3020 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37122,16 +37768,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2991 int - var yyb2991 bool - var yyhl2991 bool = l >= 0 - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + var yyj3034 int + var yyb3034 bool + var yyhl3034 bool = l >= 0 + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37141,13 +37787,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37157,13 +37803,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37171,16 +37817,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2994 := &x.ObjectMeta - yyv2994.CodecDecodeSelf(d) + yyv3037 := &x.ObjectMeta + yyv3037.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37188,16 +37834,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2995 := &x.InvolvedObject - yyv2995.CodecDecodeSelf(d) + yyv3038 := &x.InvolvedObject + yyv3038.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37207,13 +37853,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37223,13 +37869,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37237,16 +37883,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2998 := &x.Source - yyv2998.CodecDecodeSelf(d) + yyv3041 := &x.Source + yyv3041.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37254,26 +37900,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2999 := &x.FirstTimestamp - yym3000 := z.DecBinary() - _ = yym3000 + yyv3042 := &x.FirstTimestamp + yym3043 := z.DecBinary() + _ = yym3043 if false { - } else if z.HasExtensions() && z.DecExt(yyv2999) { - } else if yym3000 { - z.DecBinaryUnmarshal(yyv2999) - } else if !yym3000 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2999) + } else if z.HasExtensions() && z.DecExt(yyv3042) { + } else if yym3043 { + z.DecBinaryUnmarshal(yyv3042) + } else if !yym3043 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3042) } else { - z.DecFallback(yyv2999, false) + z.DecFallback(yyv3042, false) } } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37281,26 +37927,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3001 := &x.LastTimestamp - yym3002 := z.DecBinary() - _ = yym3002 + yyv3044 := &x.LastTimestamp + yym3045 := z.DecBinary() + _ = yym3045 if false { - } else if z.HasExtensions() && z.DecExt(yyv3001) { - } else if yym3002 { - z.DecBinaryUnmarshal(yyv3001) - } else if !yym3002 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3001) + } else if z.HasExtensions() && z.DecExt(yyv3044) { + } else if yym3045 { + z.DecBinaryUnmarshal(yyv3044) + } else if !yym3045 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3044) } else { - z.DecFallback(yyv3001, false) + z.DecFallback(yyv3044, false) } } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37310,13 +37956,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37327,17 +37973,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3034++ + if yyhl3034 { + yyb3034 = yyj3034 > l } else { - yyb2991 = r.CheckBreak() + yyb3034 = r.CheckBreak() } - if yyb2991 { + if yyb3034 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2991-1, "") + z.DecStructFieldNotFound(yyj3034-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37349,37 +37995,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3005 := z.EncBinary() - _ = yym3005 + yym3048 := z.EncBinary() + _ = yym3048 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3006 := !z.EncBinary() - yy2arr3006 := z.EncBasicHandle().StructToArray - var yyq3006 [4]bool - _, _, _ = yysep3006, yyq3006, yy2arr3006 - const yyr3006 bool = false - yyq3006[0] = x.Kind != "" - yyq3006[1] = x.APIVersion != "" - yyq3006[2] = true - var yynn3006 int - if yyr3006 || yy2arr3006 { + yysep3049 := !z.EncBinary() + yy2arr3049 := z.EncBasicHandle().StructToArray + var yyq3049 [4]bool + _, _, _ = yysep3049, yyq3049, yy2arr3049 + const yyr3049 bool = false + yyq3049[0] = x.Kind != "" + yyq3049[1] = x.APIVersion != "" + yyq3049[2] = true + var yynn3049 int + if yyr3049 || yy2arr3049 { r.EncodeArrayStart(4) } else { - yynn3006 = 1 - for _, b := range yyq3006 { + yynn3049 = 1 + for _, b := range yyq3049 { if b { - yynn3006++ + yynn3049++ } } - r.EncodeMapStart(yynn3006) - yynn3006 = 0 + r.EncodeMapStart(yynn3049) + yynn3049 = 0 } - if yyr3006 || yy2arr3006 { + if yyr3049 || yy2arr3049 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[0] { - yym3008 := z.EncBinary() - _ = yym3008 + if yyq3049[0] { + yym3051 := z.EncBinary() + _ = yym3051 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37388,23 +38034,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[0] { + if yyq3049[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3009 := z.EncBinary() - _ = yym3009 + yym3052 := z.EncBinary() + _ = yym3052 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3006 || yy2arr3006 { + if yyr3049 || yy2arr3049 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[1] { - yym3011 := z.EncBinary() - _ = yym3011 + if yyq3049[1] { + yym3054 := z.EncBinary() + _ = yym3054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37413,54 +38059,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[1] { + if yyq3049[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3012 := z.EncBinary() - _ = yym3012 + yym3055 := z.EncBinary() + _ = yym3055 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3006 || yy2arr3006 { + if yyr3049 || yy2arr3049 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[2] { - yy3014 := &x.ListMeta - yym3015 := z.EncBinary() - _ = yym3015 + if yyq3049[2] { + yy3057 := &x.ListMeta + yym3058 := z.EncBinary() + _ = yym3058 if false { - } else if z.HasExtensions() && z.EncExt(yy3014) { + } else if z.HasExtensions() && z.EncExt(yy3057) { } else { - z.EncFallback(yy3014) + z.EncFallback(yy3057) } } else { r.EncodeNil() } } else { - if yyq3006[2] { + if yyq3049[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3016 := &x.ListMeta - yym3017 := z.EncBinary() - _ = yym3017 + yy3059 := &x.ListMeta + yym3060 := z.EncBinary() + _ = yym3060 if false { - } else if z.HasExtensions() && z.EncExt(yy3016) { + } else if z.HasExtensions() && z.EncExt(yy3059) { } else { - z.EncFallback(yy3016) + z.EncFallback(yy3059) } } } - if yyr3006 || yy2arr3006 { + if yyr3049 || yy2arr3049 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3019 := z.EncBinary() - _ = yym3019 + yym3062 := z.EncBinary() + _ = yym3062 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -37473,15 +38119,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3020 := z.EncBinary() - _ = yym3020 + yym3063 := z.EncBinary() + _ = yym3063 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3006 || yy2arr3006 { + if yyr3049 || yy2arr3049 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37494,25 +38140,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3021 := z.DecBinary() - _ = yym3021 + yym3064 := z.DecBinary() + _ = yym3064 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3022 := r.ContainerType() - if yyct3022 == codecSelferValueTypeMap1234 { - yyl3022 := r.ReadMapStart() - if yyl3022 == 0 { + yyct3065 := r.ContainerType() + if yyct3065 == codecSelferValueTypeMap1234 { + yyl3065 := r.ReadMapStart() + if yyl3065 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3022, d) + x.codecDecodeSelfFromMap(yyl3065, d) } - } else if yyct3022 == codecSelferValueTypeArray1234 { - yyl3022 := r.ReadArrayStart() - if yyl3022 == 0 { + } else if yyct3065 == codecSelferValueTypeArray1234 { + yyl3065 := r.ReadArrayStart() + if yyl3065 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3022, d) + x.codecDecodeSelfFromArray(yyl3065, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37524,12 +38170,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3023Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3023Slc - var yyhl3023 bool = l >= 0 - for yyj3023 := 0; ; yyj3023++ { - if yyhl3023 { - if yyj3023 >= 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 { @@ -37538,10 +38184,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3023Slc = r.DecodeBytes(yys3023Slc, true, true) - yys3023 := string(yys3023Slc) + yys3066Slc = r.DecodeBytes(yys3066Slc, true, true) + yys3066 := string(yys3066Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3023 { + switch yys3066 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37558,31 +38204,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3026 := &x.ListMeta - yym3027 := z.DecBinary() - _ = yym3027 + yyv3069 := &x.ListMeta + yym3070 := z.DecBinary() + _ = yym3070 if false { - } else if z.HasExtensions() && z.DecExt(yyv3026) { + } else if z.HasExtensions() && z.DecExt(yyv3069) { } else { - z.DecFallback(yyv3026, false) + z.DecFallback(yyv3069, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3028 := &x.Items - yym3029 := z.DecBinary() - _ = yym3029 + yyv3071 := &x.Items + yym3072 := z.DecBinary() + _ = yym3072 if false { } else { - h.decSliceEvent((*[]Event)(yyv3028), d) + h.decSliceEvent((*[]Event)(yyv3071), d) } } default: - z.DecStructFieldNotFound(-1, yys3023) - } // end switch yys3023 - } // end for yyj3023 + z.DecStructFieldNotFound(-1, yys3066) + } // end switch yys3066 + } // end for yyj3066 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37590,16 +38236,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3030 int - var yyb3030 bool - var yyhl3030 bool = l >= 0 - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + var yyj3073 int + var yyb3073 bool + var yyhl3073 bool = l >= 0 + yyj3073++ + if yyhl3073 { + yyb3073 = yyj3073 > l } else { - yyb3030 = r.CheckBreak() + yyb3073 = r.CheckBreak() } - if yyb3030 { + if yyb3073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37609,13 +38255,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3073++ + if yyhl3073 { + yyb3073 = yyj3073 > l } else { - yyb3030 = r.CheckBreak() + yyb3073 = r.CheckBreak() } - if yyb3030 { + if yyb3073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37625,13 +38271,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3073++ + if yyhl3073 { + yyb3073 = yyj3073 > l } else { - yyb3030 = r.CheckBreak() + yyb3073 = r.CheckBreak() } - if yyb3030 { + if yyb3073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37639,22 +38285,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3033 := &x.ListMeta - yym3034 := z.DecBinary() - _ = yym3034 + yyv3076 := &x.ListMeta + yym3077 := z.DecBinary() + _ = yym3077 if false { - } else if z.HasExtensions() && z.DecExt(yyv3033) { + } else if z.HasExtensions() && z.DecExt(yyv3076) { } else { - z.DecFallback(yyv3033, false) + z.DecFallback(yyv3076, false) } } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3073++ + if yyhl3073 { + yyb3073 = yyj3073 > l } else { - yyb3030 = r.CheckBreak() + yyb3073 = r.CheckBreak() } - if yyb3030 { + if yyb3073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37662,26 +38308,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3035 := &x.Items - yym3036 := z.DecBinary() - _ = yym3036 + yyv3078 := &x.Items + yym3079 := z.DecBinary() + _ = yym3079 if false { } else { - h.decSliceEvent((*[]Event)(yyv3035), d) + h.decSliceEvent((*[]Event)(yyv3078), d) } } for { - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3073++ + if yyhl3073 { + yyb3073 = yyj3073 > l } else { - yyb3030 = r.CheckBreak() + yyb3073 = r.CheckBreak() } - if yyb3030 { + if yyb3073 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3030-1, "") + z.DecStructFieldNotFound(yyj3073-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37693,37 +38339,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3037 := z.EncBinary() - _ = yym3037 + yym3080 := z.EncBinary() + _ = yym3080 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3038 := !z.EncBinary() - yy2arr3038 := z.EncBasicHandle().StructToArray - var yyq3038 [4]bool - _, _, _ = yysep3038, yyq3038, yy2arr3038 - const yyr3038 bool = false - yyq3038[0] = x.Kind != "" - yyq3038[1] = x.APIVersion != "" - yyq3038[2] = true - var yynn3038 int - if yyr3038 || yy2arr3038 { + yysep3081 := !z.EncBinary() + yy2arr3081 := z.EncBasicHandle().StructToArray + var yyq3081 [4]bool + _, _, _ = yysep3081, yyq3081, yy2arr3081 + const yyr3081 bool = false + yyq3081[0] = x.Kind != "" + yyq3081[1] = x.APIVersion != "" + yyq3081[2] = true + var yynn3081 int + if yyr3081 || yy2arr3081 { r.EncodeArrayStart(4) } else { - yynn3038 = 1 - for _, b := range yyq3038 { + yynn3081 = 1 + for _, b := range yyq3081 { if b { - yynn3038++ + yynn3081++ } } - r.EncodeMapStart(yynn3038) - yynn3038 = 0 + r.EncodeMapStart(yynn3081) + yynn3081 = 0 } - if yyr3038 || yy2arr3038 { + if yyr3081 || yy2arr3081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[0] { - yym3040 := z.EncBinary() - _ = yym3040 + if yyq3081[0] { + yym3083 := z.EncBinary() + _ = yym3083 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37732,23 +38378,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3038[0] { + if yyq3081[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3041 := z.EncBinary() - _ = yym3041 + yym3084 := z.EncBinary() + _ = yym3084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3038 || yy2arr3038 { + if yyr3081 || yy2arr3081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[1] { - yym3043 := z.EncBinary() - _ = yym3043 + if yyq3081[1] { + yym3086 := z.EncBinary() + _ = yym3086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37757,54 +38403,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3038[1] { + if yyq3081[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3044 := z.EncBinary() - _ = yym3044 + yym3087 := z.EncBinary() + _ = yym3087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3038 || yy2arr3038 { + if yyr3081 || yy2arr3081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[2] { - yy3046 := &x.ListMeta - yym3047 := z.EncBinary() - _ = yym3047 + if yyq3081[2] { + yy3089 := &x.ListMeta + yym3090 := z.EncBinary() + _ = yym3090 if false { - } else if z.HasExtensions() && z.EncExt(yy3046) { + } else if z.HasExtensions() && z.EncExt(yy3089) { } else { - z.EncFallback(yy3046) + z.EncFallback(yy3089) } } else { r.EncodeNil() } } else { - if yyq3038[2] { + if yyq3081[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3048 := &x.ListMeta - yym3049 := z.EncBinary() - _ = yym3049 + yy3091 := &x.ListMeta + yym3092 := z.EncBinary() + _ = yym3092 if false { - } else if z.HasExtensions() && z.EncExt(yy3048) { + } else if z.HasExtensions() && z.EncExt(yy3091) { } else { - z.EncFallback(yy3048) + z.EncFallback(yy3091) } } } - if yyr3038 || yy2arr3038 { + if yyr3081 || yy2arr3081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3051 := z.EncBinary() - _ = yym3051 + yym3094 := z.EncBinary() + _ = yym3094 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) @@ -37817,15 +38463,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3052 := z.EncBinary() - _ = yym3052 + yym3095 := z.EncBinary() + _ = yym3095 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) } } } - if yyr3038 || yy2arr3038 { + if yyr3081 || yy2arr3081 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37838,25 +38484,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3053 := z.DecBinary() - _ = yym3053 + yym3096 := z.DecBinary() + _ = yym3096 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3054 := r.ContainerType() - if yyct3054 == codecSelferValueTypeMap1234 { - yyl3054 := r.ReadMapStart() - if yyl3054 == 0 { + yyct3097 := r.ContainerType() + if yyct3097 == codecSelferValueTypeMap1234 { + yyl3097 := r.ReadMapStart() + if yyl3097 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3054, d) + x.codecDecodeSelfFromMap(yyl3097, d) } - } else if yyct3054 == codecSelferValueTypeArray1234 { - yyl3054 := r.ReadArrayStart() - if yyl3054 == 0 { + } else if yyct3097 == codecSelferValueTypeArray1234 { + yyl3097 := r.ReadArrayStart() + if yyl3097 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3054, d) + x.codecDecodeSelfFromArray(yyl3097, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37868,12 +38514,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3055Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3055Slc - var yyhl3055 bool = l >= 0 - for yyj3055 := 0; ; yyj3055++ { - if yyhl3055 { - if yyj3055 >= l { + var yys3098Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3098Slc + var yyhl3098 bool = l >= 0 + for yyj3098 := 0; ; yyj3098++ { + if yyhl3098 { + if yyj3098 >= l { break } } else { @@ -37882,10 +38528,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3055Slc = r.DecodeBytes(yys3055Slc, true, true) - yys3055 := string(yys3055Slc) + yys3098Slc = r.DecodeBytes(yys3098Slc, true, true) + yys3098 := string(yys3098Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3055 { + switch yys3098 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37902,697 +38548,35 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3058 := &x.ListMeta - yym3059 := z.DecBinary() - _ = yym3059 + yyv3101 := &x.ListMeta + yym3102 := z.DecBinary() + _ = yym3102 if false { - } else if z.HasExtensions() && z.DecExt(yyv3058) { + } else if z.HasExtensions() && z.DecExt(yyv3101) { } else { - z.DecFallback(yyv3058, false) + z.DecFallback(yyv3101, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3060 := &x.Items - yym3061 := z.DecBinary() - _ = yym3061 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3060), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3055) - } // end switch yys3055 - } // end for yyj3055 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3062 int - var yyb3062 bool - var yyhl3062 bool = l >= 0 - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3065 := &x.ListMeta - yym3066 := z.DecBinary() - _ = yym3066 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3065) { - } else { - z.DecFallback(yyv3065, false) - } - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3067 := &x.Items - yym3068 := z.DecBinary() - _ = yym3068 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3067), d) - } - } - for { - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3062-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3069 := z.EncBinary() - _ = yym3069 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3070 := z.DecBinary() - _ = yym3070 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3071 := z.EncBinary() - _ = yym3071 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3072 := !z.EncBinary() - yy2arr3072 := z.EncBasicHandle().StructToArray - var yyq3072 [6]bool - _, _, _ = yysep3072, yyq3072, yy2arr3072 - const yyr3072 bool = false - yyq3072[0] = x.Type != "" - yyq3072[1] = len(x.Max) != 0 - yyq3072[2] = len(x.Min) != 0 - yyq3072[3] = len(x.Default) != 0 - yyq3072[4] = len(x.DefaultRequest) != 0 - yyq3072[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3072 int - if yyr3072 || yy2arr3072 { - r.EncodeArrayStart(6) - } else { - yynn3072 = 0 - for _, b := range yyq3072 { - if b { - yynn3072++ - } - } - r.EncodeMapStart(yynn3072) - yynn3072 = 0 - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[0] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3072[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[1] { - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("max")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[2] { - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("min")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[3] { - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("default")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[4] { - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[5] { - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3079 := z.DecBinary() - _ = yym3079 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3080 := r.ContainerType() - if yyct3080 == codecSelferValueTypeMap1234 { - yyl3080 := r.ReadMapStart() - if yyl3080 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3080, d) - } - } else if yyct3080 == codecSelferValueTypeArray1234 { - yyl3080 := r.ReadArrayStart() - if yyl3080 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3080, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3081Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3081Slc - var yyhl3081 bool = l >= 0 - for yyj3081 := 0; ; yyj3081++ { - if yyhl3081 { - if yyj3081 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3081Slc = r.DecodeBytes(yys3081Slc, true, true) - yys3081 := string(yys3081Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3081 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = LimitType(r.DecodeString()) - } - case "max": - if r.TryDecodeAsNil() { - x.Max = nil - } else { - yyv3083 := &x.Max - yyv3083.CodecDecodeSelf(d) - } - case "min": - if r.TryDecodeAsNil() { - x.Min = nil - } else { - yyv3084 := &x.Min - yyv3084.CodecDecodeSelf(d) - } - case "default": - if r.TryDecodeAsNil() { - x.Default = nil - } else { - yyv3085 := &x.Default - yyv3085.CodecDecodeSelf(d) - } - case "defaultRequest": - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3086 := &x.DefaultRequest - yyv3086.CodecDecodeSelf(d) - } - case "maxLimitRequestRatio": - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3087 := &x.MaxLimitRequestRatio - yyv3087.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3081) - } // end switch yys3081 - } // end for yyj3081 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3088 int - var yyb3088 bool - var yyhl3088 bool = l >= 0 - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = LimitType(r.DecodeString()) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Max = nil - } else { - yyv3090 := &x.Max - yyv3090.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Min = nil - } else { - yyv3091 := &x.Min - yyv3091.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Default = nil - } else { - yyv3092 := &x.Default - yyv3092.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3093 := &x.DefaultRequest - yyv3093.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3094 := &x.MaxLimitRequestRatio - yyv3094.CodecDecodeSelf(d) - } - for { - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3088-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3095 := z.EncBinary() - _ = yym3095 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3096 := !z.EncBinary() - yy2arr3096 := z.EncBasicHandle().StructToArray - var yyq3096 [1]bool - _, _, _ = yysep3096, yyq3096, yy2arr3096 - const yyr3096 bool = false - var yynn3096 int - if yyr3096 || yy2arr3096 { - r.EncodeArrayStart(1) - } else { - yynn3096 = 1 - for _, b := range yyq3096 { - if b { - yynn3096++ - } - } - r.EncodeMapStart(yynn3096) - yynn3096 = 0 - } - if yyr3096 || yy2arr3096 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Limits == nil { - r.EncodeNil() - } else { - yym3098 := z.EncBinary() - _ = yym3098 - if false { - } else { - h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("limits")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Limits == nil { - r.EncodeNil() - } else { - yym3099 := z.EncBinary() - _ = yym3099 - if false { - } else { - h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) - } - } - } - if yyr3096 || yy2arr3096 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3100 := z.DecBinary() - _ = yym3100 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3101 := r.ContainerType() - if yyct3101 == codecSelferValueTypeMap1234 { - yyl3101 := r.ReadMapStart() - if yyl3101 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3101, d) - } - } else if yyct3101 == codecSelferValueTypeArray1234 { - yyl3101 := r.ReadArrayStart() - if yyl3101 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3101, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3102Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3102Slc - var yyhl3102 bool = l >= 0 - for yyj3102 := 0; ; yyj3102++ { - if yyhl3102 { - if yyj3102 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3102Slc = r.DecodeBytes(yys3102Slc, true, true) - yys3102 := string(yys3102Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3102 { - case "limits": - if r.TryDecodeAsNil() { - x.Limits = nil - } else { - yyv3103 := &x.Limits + yyv3103 := &x.Items yym3104 := z.DecBinary() _ = yym3104 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3103), d) + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3103), d) } } default: - z.DecStructFieldNotFound(-1, yys3102) - } // end switch yys3102 - } // end for yyj3102 + z.DecStructFieldNotFound(-1, yys3098) + } // end switch yys3098 + } // end for yyj3098 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38611,14 +38595,69 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Limits = nil + x.Kind = "" } else { - yyv3106 := &x.Limits - yym3107 := z.DecBinary() - _ = yym3107 + x.Kind = string(r.DecodeString()) + } + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l + } else { + yyb3105 = r.CheckBreak() + } + if yyb3105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l + } else { + yyb3105 = r.CheckBreak() + } + if yyb3105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3108 := &x.ListMeta + yym3109 := z.DecBinary() + _ = yym3109 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3108) { + } else { + z.DecFallback(yyv3108, false) + } + } + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l + } else { + yyb3105 = r.CheckBreak() + } + if yyb3105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3110 := &x.Items + yym3111 := z.DecBinary() + _ = yym3111 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3106), d) + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3110), d) } } for { @@ -38637,125 +38676,199 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { +func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3112 := z.EncBinary() + _ = yym3112 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3113 := z.DecBinary() + _ = yym3113 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3108 := z.EncBinary() - _ = yym3108 + yym3114 := z.EncBinary() + _ = yym3114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3109 := !z.EncBinary() - yy2arr3109 := z.EncBasicHandle().StructToArray - var yyq3109 [4]bool - _, _, _ = yysep3109, yyq3109, yy2arr3109 - const yyr3109 bool = false - yyq3109[0] = x.Kind != "" - yyq3109[1] = x.APIVersion != "" - yyq3109[2] = true - yyq3109[3] = true - var yynn3109 int - if yyr3109 || yy2arr3109 { - r.EncodeArrayStart(4) + yysep3115 := !z.EncBinary() + yy2arr3115 := z.EncBasicHandle().StructToArray + var yyq3115 [6]bool + _, _, _ = yysep3115, yyq3115, yy2arr3115 + const yyr3115 bool = false + yyq3115[0] = x.Type != "" + yyq3115[1] = len(x.Max) != 0 + yyq3115[2] = len(x.Min) != 0 + yyq3115[3] = len(x.Default) != 0 + yyq3115[4] = len(x.DefaultRequest) != 0 + yyq3115[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3115 int + if yyr3115 || yy2arr3115 { + r.EncodeArrayStart(6) } else { - yynn3109 = 0 - for _, b := range yyq3109 { + yynn3115 = 0 + for _, b := range yyq3115 { if b { - yynn3109++ + yynn3115++ } } - r.EncodeMapStart(yynn3109) - yynn3109 = 0 + r.EncodeMapStart(yynn3115) + yynn3115 = 0 } - if yyr3109 || yy2arr3109 { + if yyr3115 || yy2arr3115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[0] { - yym3111 := z.EncBinary() - _ = yym3111 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + if yyq3115[0] { + x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3109[0] { + if yyq3115[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3112 := z.EncBinary() - _ = yym3112 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + x.Type.CodecEncodeSelf(e) } } - if yyr3109 || yy2arr3109 { + if yyr3115 || yy2arr3115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[1] { - yym3114 := z.EncBinary() - _ = yym3114 - if false { + if yyq3115[1] { + if x.Max == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + x.Max.CodecEncodeSelf(e) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3109[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3115 := z.EncBinary() - _ = yym3115 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[2] { - yy3117 := &x.ObjectMeta - yy3117.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3109[2] { + if yyq3115[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3118 := &x.ObjectMeta - yy3118.CodecEncodeSelf(e) + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } } } - if yyr3109 || yy2arr3109 { + if yyr3115 || yy2arr3115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[3] { - yy3120 := &x.Spec - yy3120.CodecEncodeSelf(e) + if yyq3115[2] { + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } } else { r.EncodeNil() } } else { - if yyq3109[3] { + if yyq3115[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3121 := &x.Spec - yy3121.CodecEncodeSelf(e) + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } } } - if yyr3109 || yy2arr3109 { + if yyr3115 || yy2arr3115 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3115[3] { + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3115[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("default")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } + } + if yyr3115 || yy2arr3115 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3115[4] { + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3115[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } + } + if yyr3115 || yy2arr3115 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3115[5] { + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3115[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } + } + if yyr3115 || yy2arr3115 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38764,7 +38877,7 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38794,7 +38907,7 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38816,6 +38929,539 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3124 := string(yys3124Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3124 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + case "max": + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3126 := &x.Max + yyv3126.CodecDecodeSelf(d) + } + case "min": + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3127 := &x.Min + yyv3127.CodecDecodeSelf(d) + } + case "default": + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3128 := &x.Default + yyv3128.CodecDecodeSelf(d) + } + case "defaultRequest": + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3129 := &x.DefaultRequest + yyv3129.CodecDecodeSelf(d) + } + case "maxLimitRequestRatio": + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3130 := &x.MaxLimitRequestRatio + yyv3130.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3124) + } // end switch yys3124 + } // end for yyj3124 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3131 int + var yyb3131 bool + var yyhl3131 bool = l >= 0 + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3133 := &x.Max + yyv3133.CodecDecodeSelf(d) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3134 := &x.Min + yyv3134.CodecDecodeSelf(d) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3135 := &x.Default + yyv3135.CodecDecodeSelf(d) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3136 := &x.DefaultRequest + yyv3136.CodecDecodeSelf(d) + } + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3137 := &x.MaxLimitRequestRatio + yyv3137.CodecDecodeSelf(d) + } + for { + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l + } else { + yyb3131 = r.CheckBreak() + } + if yyb3131 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3131-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3138 := z.EncBinary() + _ = yym3138 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3139 := !z.EncBinary() + yy2arr3139 := z.EncBasicHandle().StructToArray + var yyq3139 [1]bool + _, _, _ = yysep3139, yyq3139, yy2arr3139 + const yyr3139 bool = false + var yynn3139 int + if yyr3139 || yy2arr3139 { + r.EncodeArrayStart(1) + } else { + yynn3139 = 1 + for _, b := range yyq3139 { + if b { + yynn3139++ + } + } + r.EncodeMapStart(yynn3139) + yynn3139 = 0 + } + if yyr3139 || yy2arr3139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Limits == nil { + r.EncodeNil() + } else { + yym3141 := z.EncBinary() + _ = yym3141 + if false { + } else { + h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("limits")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Limits == nil { + r.EncodeNil() + } else { + yym3142 := z.EncBinary() + _ = yym3142 + if false { + } else { + h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) + } + } + } + if yyr3139 || yy2arr3139 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3143 := z.DecBinary() + _ = yym3143 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3144 := r.ContainerType() + if yyct3144 == codecSelferValueTypeMap1234 { + yyl3144 := r.ReadMapStart() + if yyl3144 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3144, d) + } + } else if yyct3144 == codecSelferValueTypeArray1234 { + yyl3144 := r.ReadArrayStart() + if yyl3144 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3144, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3145Slc + var yyhl3145 bool = l >= 0 + for yyj3145 := 0; ; yyj3145++ { + if yyhl3145 { + if yyj3145 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3145Slc = r.DecodeBytes(yys3145Slc, true, true) + yys3145 := string(yys3145Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3145 { + case "limits": + if r.TryDecodeAsNil() { + x.Limits = nil + } else { + yyv3146 := &x.Limits + yym3147 := z.DecBinary() + _ = yym3147 + if false { + } else { + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3146), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3145) + } // end switch yys3145 + } // end for yyj3145 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3148 int + var yyb3148 bool + var yyhl3148 bool = l >= 0 + yyj3148++ + if yyhl3148 { + yyb3148 = yyj3148 > l + } else { + yyb3148 = r.CheckBreak() + } + if yyb3148 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Limits = nil + } else { + yyv3149 := &x.Limits + yym3150 := z.DecBinary() + _ = yym3150 + if false { + } else { + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3149), d) + } + } + for { + yyj3148++ + if yyhl3148 { + yyb3148 = yyj3148 > l + } else { + yyb3148 = r.CheckBreak() + } + if yyb3148 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3148-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3151 := z.EncBinary() + _ = yym3151 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3152 := !z.EncBinary() + yy2arr3152 := z.EncBasicHandle().StructToArray + var yyq3152 [4]bool + _, _, _ = yysep3152, yyq3152, yy2arr3152 + const yyr3152 bool = false + yyq3152[0] = x.Kind != "" + yyq3152[1] = x.APIVersion != "" + yyq3152[2] = true + yyq3152[3] = true + var yynn3152 int + if yyr3152 || yy2arr3152 { + r.EncodeArrayStart(4) + } else { + yynn3152 = 0 + for _, b := range yyq3152 { + if b { + yynn3152++ + } + } + r.EncodeMapStart(yynn3152) + yynn3152 = 0 + } + if yyr3152 || yy2arr3152 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3152[0] { + yym3154 := z.EncBinary() + _ = yym3154 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3152[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3155 := z.EncBinary() + _ = yym3155 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3152 || yy2arr3152 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3152[1] { + yym3157 := z.EncBinary() + _ = yym3157 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3152[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3158 := z.EncBinary() + _ = yym3158 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3152 || yy2arr3152 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3152[2] { + yy3160 := &x.ObjectMeta + yy3160.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3152[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3161 := &x.ObjectMeta + yy3161.CodecEncodeSelf(e) + } + } + if yyr3152 || yy2arr3152 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3152[3] { + yy3163 := &x.Spec + yy3163.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3152[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3164 := &x.Spec + yy3164.CodecEncodeSelf(e) + } + } + if yyr3152 || yy2arr3152 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3165 := z.DecBinary() + _ = yym3165 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3166 := r.ContainerType() + if yyct3166 == codecSelferValueTypeMap1234 { + yyl3166 := r.ReadMapStart() + if yyl3166 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3166, d) + } + } else if yyct3166 == codecSelferValueTypeArray1234 { + yyl3166 := r.ReadArrayStart() + if yyl3166 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3166, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3167Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3167Slc + var yyhl3167 bool = l >= 0 + for yyj3167 := 0; ; yyj3167++ { + if yyhl3167 { + if yyj3167 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3167Slc = r.DecodeBytes(yys3167Slc, true, true) + yys3167 := string(yys3167Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3167 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -38832,20 +39478,20 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3127 := &x.ObjectMeta - yyv3127.CodecDecodeSelf(d) + yyv3170 := &x.ObjectMeta + yyv3170.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3128 := &x.Spec - yyv3128.CodecDecodeSelf(d) + yyv3171 := &x.Spec + yyv3171.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3124) - } // end switch yys3124 - } // end for yyj3124 + z.DecStructFieldNotFound(-1, yys3167) + } // end switch yys3167 + } // end for yyj3167 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38853,16 +39499,16 @@ func (x *LimitRange) 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 + var yyj3172 int + var yyb3172 bool + var yyhl3172 bool = l >= 0 + yyj3172++ + if yyhl3172 { + yyb3172 = yyj3172 > l } else { - yyb3129 = r.CheckBreak() + yyb3172 = r.CheckBreak() } - if yyb3129 { + if yyb3172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38872,13 +39518,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l + yyj3172++ + if yyhl3172 { + yyb3172 = yyj3172 > l } else { - yyb3129 = r.CheckBreak() + yyb3172 = r.CheckBreak() } - if yyb3129 { + if yyb3172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38888,13 +39534,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l + yyj3172++ + if yyhl3172 { + yyb3172 = yyj3172 > l } else { - yyb3129 = r.CheckBreak() + yyb3172 = r.CheckBreak() } - if yyb3129 { + if yyb3172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38902,16 +39548,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3132 := &x.ObjectMeta - yyv3132.CodecDecodeSelf(d) + yyv3175 := &x.ObjectMeta + yyv3175.CodecDecodeSelf(d) } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l + yyj3172++ + if yyhl3172 { + yyb3172 = yyj3172 > l } else { - yyb3129 = r.CheckBreak() + yyb3172 = r.CheckBreak() } - if yyb3129 { + if yyb3172 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38919,21 +39565,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv3133 := &x.Spec - yyv3133.CodecDecodeSelf(d) + yyv3176 := &x.Spec + yyv3176.CodecDecodeSelf(d) } for { - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l + yyj3172++ + if yyhl3172 { + yyb3172 = yyj3172 > l } else { - yyb3129 = r.CheckBreak() + yyb3172 = r.CheckBreak() } - if yyb3129 { + if yyb3172 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3129-1, "") + z.DecStructFieldNotFound(yyj3172-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38945,37 +39591,37 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3134 := z.EncBinary() - _ = yym3134 + yym3177 := z.EncBinary() + _ = yym3177 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3135 := !z.EncBinary() - yy2arr3135 := z.EncBasicHandle().StructToArray - var yyq3135 [4]bool - _, _, _ = yysep3135, yyq3135, yy2arr3135 - const yyr3135 bool = false - yyq3135[0] = x.Kind != "" - yyq3135[1] = x.APIVersion != "" - yyq3135[2] = true - var yynn3135 int - if yyr3135 || yy2arr3135 { + yysep3178 := !z.EncBinary() + yy2arr3178 := z.EncBasicHandle().StructToArray + var yyq3178 [4]bool + _, _, _ = yysep3178, yyq3178, yy2arr3178 + const yyr3178 bool = false + yyq3178[0] = x.Kind != "" + yyq3178[1] = x.APIVersion != "" + yyq3178[2] = true + var yynn3178 int + if yyr3178 || yy2arr3178 { r.EncodeArrayStart(4) } else { - yynn3135 = 1 - for _, b := range yyq3135 { + yynn3178 = 1 + for _, b := range yyq3178 { if b { - yynn3135++ + yynn3178++ } } - r.EncodeMapStart(yynn3135) - yynn3135 = 0 + r.EncodeMapStart(yynn3178) + yynn3178 = 0 } - if yyr3135 || yy2arr3135 { + if yyr3178 || yy2arr3178 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[0] { - yym3137 := z.EncBinary() - _ = yym3137 + if yyq3178[0] { + yym3180 := z.EncBinary() + _ = yym3180 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -38984,23 +39630,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3135[0] { + if yyq3178[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3138 := z.EncBinary() - _ = yym3138 + yym3181 := z.EncBinary() + _ = yym3181 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3135 || yy2arr3135 { + if yyr3178 || yy2arr3178 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[1] { - yym3140 := z.EncBinary() - _ = yym3140 + if yyq3178[1] { + yym3183 := z.EncBinary() + _ = yym3183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39009,54 +39655,54 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3135[1] { + if yyq3178[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3141 := z.EncBinary() - _ = yym3141 + yym3184 := z.EncBinary() + _ = yym3184 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3135 || yy2arr3135 { + if yyr3178 || yy2arr3178 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[2] { - yy3143 := &x.ListMeta - yym3144 := z.EncBinary() - _ = yym3144 + if yyq3178[2] { + yy3186 := &x.ListMeta + yym3187 := z.EncBinary() + _ = yym3187 if false { - } else if z.HasExtensions() && z.EncExt(yy3143) { + } else if z.HasExtensions() && z.EncExt(yy3186) { } else { - z.EncFallback(yy3143) + z.EncFallback(yy3186) } } else { r.EncodeNil() } } else { - if yyq3135[2] { + if yyq3178[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3145 := &x.ListMeta - yym3146 := z.EncBinary() - _ = yym3146 + yy3188 := &x.ListMeta + yym3189 := z.EncBinary() + _ = yym3189 if false { - } else if z.HasExtensions() && z.EncExt(yy3145) { + } else if z.HasExtensions() && z.EncExt(yy3188) { } else { - z.EncFallback(yy3145) + z.EncFallback(yy3188) } } } - if yyr3135 || yy2arr3135 { + if yyr3178 || yy2arr3178 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3148 := z.EncBinary() - _ = yym3148 + yym3191 := z.EncBinary() + _ = yym3191 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -39069,15 +39715,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3149 := z.EncBinary() - _ = yym3149 + yym3192 := z.EncBinary() + _ = yym3192 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3135 || yy2arr3135 { + if yyr3178 || yy2arr3178 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39090,25 +39736,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3150 := z.DecBinary() - _ = yym3150 + yym3193 := z.DecBinary() + _ = yym3193 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3151 := r.ContainerType() - if yyct3151 == codecSelferValueTypeMap1234 { - yyl3151 := r.ReadMapStart() - if yyl3151 == 0 { + yyct3194 := r.ContainerType() + if yyct3194 == codecSelferValueTypeMap1234 { + yyl3194 := r.ReadMapStart() + if yyl3194 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3151, d) + x.codecDecodeSelfFromMap(yyl3194, d) } - } else if yyct3151 == codecSelferValueTypeArray1234 { - yyl3151 := r.ReadArrayStart() - if yyl3151 == 0 { + } else if yyct3194 == codecSelferValueTypeArray1234 { + yyl3194 := r.ReadArrayStart() + if yyl3194 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3151, d) + x.codecDecodeSelfFromArray(yyl3194, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39120,12 +39766,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3152Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3152Slc - var yyhl3152 bool = l >= 0 - for yyj3152 := 0; ; yyj3152++ { - if yyhl3152 { - if yyj3152 >= l { + var yys3195Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3195Slc + var yyhl3195 bool = l >= 0 + for yyj3195 := 0; ; yyj3195++ { + if yyhl3195 { + if yyj3195 >= l { break } } else { @@ -39134,10 +39780,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3152Slc = r.DecodeBytes(yys3152Slc, true, true) - yys3152 := string(yys3152Slc) + yys3195Slc = r.DecodeBytes(yys3195Slc, true, true) + yys3195 := string(yys3195Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3152 { + switch yys3195 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39154,31 +39800,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3155 := &x.ListMeta - yym3156 := z.DecBinary() - _ = yym3156 + yyv3198 := &x.ListMeta + yym3199 := z.DecBinary() + _ = yym3199 if false { - } else if z.HasExtensions() && z.DecExt(yyv3155) { + } else if z.HasExtensions() && z.DecExt(yyv3198) { } else { - z.DecFallback(yyv3155, false) + z.DecFallback(yyv3198, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3157 := &x.Items - yym3158 := z.DecBinary() - _ = yym3158 + yyv3200 := &x.Items + yym3201 := z.DecBinary() + _ = yym3201 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3157), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3200), d) } } default: - z.DecStructFieldNotFound(-1, yys3152) - } // end switch yys3152 - } // end for yyj3152 + z.DecStructFieldNotFound(-1, yys3195) + } // end switch yys3195 + } // end for yyj3195 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39186,16 +39832,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3159 int - var yyb3159 bool - var yyhl3159 bool = l >= 0 - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + var yyj3202 int + var yyb3202 bool + var yyhl3202 bool = l >= 0 + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3159 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3159 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39205,13 +39851,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3159 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3159 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39221,13 +39867,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3159 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3159 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39235,22 +39881,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3162 := &x.ListMeta - yym3163 := z.DecBinary() - _ = yym3163 + yyv3205 := &x.ListMeta + yym3206 := z.DecBinary() + _ = yym3206 if false { - } else if z.HasExtensions() && z.DecExt(yyv3162) { + } else if z.HasExtensions() && z.DecExt(yyv3205) { } else { - z.DecFallback(yyv3162, false) + z.DecFallback(yyv3205, false) } } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3159 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3159 { + if yyb3202 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39258,26 +39904,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3164 := &x.Items - yym3165 := z.DecBinary() - _ = yym3165 + yyv3207 := &x.Items + yym3208 := z.DecBinary() + _ = yym3208 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3164), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3207), d) } } for { - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3202++ + if yyhl3202 { + yyb3202 = yyj3202 > l } else { - yyb3159 = r.CheckBreak() + yyb3202 = r.CheckBreak() } - if yyb3159 { + if yyb3202 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3159-1, "") + z.DecStructFieldNotFound(yyj3202-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39289,33 +39935,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3166 := z.EncBinary() - _ = yym3166 + yym3209 := z.EncBinary() + _ = yym3209 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3167 := !z.EncBinary() - yy2arr3167 := z.EncBasicHandle().StructToArray - var yyq3167 [1]bool - _, _, _ = yysep3167, yyq3167, yy2arr3167 - const yyr3167 bool = false - yyq3167[0] = len(x.Hard) != 0 - var yynn3167 int - if yyr3167 || yy2arr3167 { + yysep3210 := !z.EncBinary() + yy2arr3210 := z.EncBasicHandle().StructToArray + var yyq3210 [1]bool + _, _, _ = yysep3210, yyq3210, yy2arr3210 + const yyr3210 bool = false + yyq3210[0] = len(x.Hard) != 0 + var yynn3210 int + if yyr3210 || yy2arr3210 { r.EncodeArrayStart(1) } else { - yynn3167 = 0 - for _, b := range yyq3167 { + yynn3210 = 0 + for _, b := range yyq3210 { if b { - yynn3167++ + yynn3210++ } } - r.EncodeMapStart(yynn3167) - yynn3167 = 0 + r.EncodeMapStart(yynn3210) + yynn3210 = 0 } - if yyr3167 || yy2arr3167 { + if yyr3210 || yy2arr3210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3167[0] { + if yyq3210[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39325,7 +39971,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3167[0] { + if yyq3210[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39336,7 +39982,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3167 || yy2arr3167 { + if yyr3210 || yy2arr3210 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39349,25 +39995,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3169 := z.DecBinary() - _ = yym3169 + yym3212 := z.DecBinary() + _ = yym3212 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3170 := r.ContainerType() - if yyct3170 == codecSelferValueTypeMap1234 { - yyl3170 := r.ReadMapStart() - if yyl3170 == 0 { + yyct3213 := r.ContainerType() + if yyct3213 == codecSelferValueTypeMap1234 { + yyl3213 := r.ReadMapStart() + if yyl3213 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3170, d) + x.codecDecodeSelfFromMap(yyl3213, d) } - } else if yyct3170 == codecSelferValueTypeArray1234 { - yyl3170 := r.ReadArrayStart() - if yyl3170 == 0 { + } else if yyct3213 == codecSelferValueTypeArray1234 { + yyl3213 := r.ReadArrayStart() + if yyl3213 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3170, d) + x.codecDecodeSelfFromArray(yyl3213, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39379,12 +40025,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3171Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3171Slc - var yyhl3171 bool = l >= 0 - for yyj3171 := 0; ; yyj3171++ { - if yyhl3171 { - if yyj3171 >= l { + var yys3214Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3214Slc + var yyhl3214 bool = l >= 0 + for yyj3214 := 0; ; yyj3214++ { + if yyhl3214 { + if yyj3214 >= l { break } } else { @@ -39393,21 +40039,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3171Slc = r.DecodeBytes(yys3171Slc, true, true) - yys3171 := string(yys3171Slc) + yys3214Slc = r.DecodeBytes(yys3214Slc, true, true) + yys3214 := string(yys3214Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3171 { + switch yys3214 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3172 := &x.Hard - yyv3172.CodecDecodeSelf(d) + yyv3215 := &x.Hard + yyv3215.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3171) - } // end switch yys3171 - } // end for yyj3171 + z.DecStructFieldNotFound(-1, yys3214) + } // end switch yys3214 + } // end for yyj3214 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39415,16 +40061,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3173 int - var yyb3173 bool - var yyhl3173 bool = l >= 0 - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + var yyj3216 int + var yyb3216 bool + var yyhl3216 bool = l >= 0 + yyj3216++ + if yyhl3216 { + yyb3216 = yyj3216 > l } else { - yyb3173 = r.CheckBreak() + yyb3216 = r.CheckBreak() } - if yyb3173 { + if yyb3216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39432,586 +40078,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3174 := &x.Hard - yyv3174.CodecDecodeSelf(d) + yyv3217 := &x.Hard + yyv3217.CodecDecodeSelf(d) } for { - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + yyj3216++ + if yyhl3216 { + yyb3216 = yyj3216 > l } else { - yyb3173 = r.CheckBreak() + yyb3216 = r.CheckBreak() } - if yyb3173 { + if yyb3216 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3173-1, "") + z.DecStructFieldNotFound(yyj3216-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3175 := z.EncBinary() - _ = yym3175 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3176 := !z.EncBinary() - yy2arr3176 := z.EncBasicHandle().StructToArray - var yyq3176 [2]bool - _, _, _ = yysep3176, yyq3176, yy2arr3176 - const yyr3176 bool = false - yyq3176[0] = len(x.Hard) != 0 - yyq3176[1] = len(x.Used) != 0 - var yynn3176 int - if yyr3176 || yy2arr3176 { - r.EncodeArrayStart(2) - } else { - yynn3176 = 0 - for _, b := range yyq3176 { - if b { - yynn3176++ - } - } - r.EncodeMapStart(yynn3176) - yynn3176 = 0 - } - if yyr3176 || yy2arr3176 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3176[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3176[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr3176 || yy2arr3176 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3176[1] { - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3176[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("used")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } - } - if yyr3176 || yy2arr3176 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3179 := z.DecBinary() - _ = yym3179 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3180 := r.ContainerType() - if yyct3180 == codecSelferValueTypeMap1234 { - yyl3180 := r.ReadMapStart() - if yyl3180 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3180, d) - } - } else if yyct3180 == codecSelferValueTypeArray1234 { - yyl3180 := r.ReadArrayStart() - if yyl3180 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3180, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3181Slc = r.DecodeBytes(yys3181Slc, true, true) - yys3181 := string(yys3181Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3181 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv3182 := &x.Hard - yyv3182.CodecDecodeSelf(d) - } - case "used": - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv3183 := &x.Used - yyv3183.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3181) - } // end switch yys3181 - } // end for yyj3181 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3184 int - var yyb3184 bool - var yyhl3184 bool = l >= 0 - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l - } else { - yyb3184 = r.CheckBreak() - } - if yyb3184 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv3185 := &x.Hard - yyv3185.CodecDecodeSelf(d) - } - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l - } else { - yyb3184 = r.CheckBreak() - } - if yyb3184 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv3186 := &x.Used - yyv3186.CodecDecodeSelf(d) - } - for { - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l - } else { - yyb3184 = r.CheckBreak() - } - if yyb3184 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3184-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3187 := z.EncBinary() - _ = yym3187 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3188 := !z.EncBinary() - yy2arr3188 := z.EncBasicHandle().StructToArray - var yyq3188 [5]bool - _, _, _ = yysep3188, yyq3188, yy2arr3188 - const yyr3188 bool = false - yyq3188[0] = x.Kind != "" - yyq3188[1] = x.APIVersion != "" - yyq3188[2] = true - yyq3188[3] = true - yyq3188[4] = true - var yynn3188 int - if yyr3188 || yy2arr3188 { - r.EncodeArrayStart(5) - } else { - yynn3188 = 0 - for _, b := range yyq3188 { - if b { - yynn3188++ - } - } - r.EncodeMapStart(yynn3188) - yynn3188 = 0 - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[0] { - yym3190 := z.EncBinary() - _ = yym3190 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3188[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3191 := z.EncBinary() - _ = yym3191 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[1] { - yym3193 := z.EncBinary() - _ = yym3193 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3188[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3194 := z.EncBinary() - _ = yym3194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[2] { - yy3196 := &x.ObjectMeta - yy3196.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3188[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3197 := &x.ObjectMeta - yy3197.CodecEncodeSelf(e) - } - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[3] { - yy3199 := &x.Spec - yy3199.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3188[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3200 := &x.Spec - yy3200.CodecEncodeSelf(e) - } - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[4] { - yy3202 := &x.Status - yy3202.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3188[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3203 := &x.Status - yy3203.CodecEncodeSelf(e) - } - } - if yyr3188 || yy2arr3188 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3204 := z.DecBinary() - _ = yym3204 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3205 := r.ContainerType() - if yyct3205 == codecSelferValueTypeMap1234 { - yyl3205 := r.ReadMapStart() - if yyl3205 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3205, d) - } - } else if yyct3205 == codecSelferValueTypeArray1234 { - yyl3205 := r.ReadArrayStart() - if yyl3205 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3205, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3206Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3206Slc - var yyhl3206 bool = l >= 0 - for yyj3206 := 0; ; yyj3206++ { - if yyhl3206 { - if yyj3206 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3206Slc = r.DecodeBytes(yys3206Slc, true, true) - yys3206 := string(yys3206Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3206 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3209 := &x.ObjectMeta - yyv3209.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv3210 := &x.Spec - yyv3210.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv3211 := &x.Status - yyv3211.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3206) - } // end switch yys3206 - } // end for yyj3206 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3212 int - var yyb3212 bool - var yyhl3212 bool = l >= 0 - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3215 := &x.ObjectMeta - yyv3215.CodecDecodeSelf(d) - } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv3216 := &x.Spec - yyv3216.CodecDecodeSelf(d) - } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv3217 := &x.Status - yyv3217.CodecDecodeSelf(d) - } - for { - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l - } else { - yyb3212 = r.CheckBreak() - } - if yyb3212 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3212-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -40025,17 +40111,16 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep3219 := !z.EncBinary() yy2arr3219 := z.EncBasicHandle().StructToArray - var yyq3219 [4]bool + var yyq3219 [2]bool _, _, _ = yysep3219, yyq3219, yy2arr3219 const yyr3219 bool = false - yyq3219[0] = x.Kind != "" - yyq3219[1] = x.APIVersion != "" - yyq3219[2] = true + yyq3219[0] = len(x.Hard) != 0 + yyq3219[1] = len(x.Used) != 0 var yynn3219 int if yyr3219 || yy2arr3219 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(2) } else { - yynn3219 = 1 + yynn3219 = 0 for _, b := range yyq3219 { if b { yynn3219++ @@ -40047,106 +40132,46 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3219[0] { - yym3221 := z.EncBinary() - _ = yym3221 - if false { + if x.Hard == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + x.Hard.CodecEncodeSelf(e) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq3219[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3222 := z.EncBinary() - _ = yym3222 - if false { + if x.Hard == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + x.Hard.CodecEncodeSelf(e) } } } if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3219[1] { - yym3224 := z.EncBinary() - _ = yym3224 - if false { + if x.Used == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + x.Used.CodecEncodeSelf(e) } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq3219[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3225 := z.EncBinary() - _ = yym3225 - if false { + if x.Used == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3219 || yy2arr3219 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3219[2] { - yy3227 := &x.ListMeta - yym3228 := z.EncBinary() - _ = yym3228 - if false { - } else if z.HasExtensions() && z.EncExt(yy3227) { - } else { - z.EncFallback(yy3227) - } - } else { - r.EncodeNil() - } - } else { - if yyq3219[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3229 := &x.ListMeta - yym3230 := z.EncBinary() - _ = yym3230 - if false { - } else if z.HasExtensions() && z.EncExt(yy3229) { - } else { - z.EncFallback(yy3229) - } - } - } - if yyr3219 || yy2arr3219 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3232 := z.EncBinary() - _ = yym3232 - if false { - } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3233 := z.EncBinary() - _ = yym3233 - if false { - } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + x.Used.CodecEncodeSelf(e) } } } @@ -40159,29 +40184,29 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3234 := z.DecBinary() - _ = yym3234 + yym3222 := z.DecBinary() + _ = yym3222 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3235 := r.ContainerType() - if yyct3235 == codecSelferValueTypeMap1234 { - yyl3235 := r.ReadMapStart() - if yyl3235 == 0 { + yyct3223 := r.ContainerType() + if yyct3223 == codecSelferValueTypeMap1234 { + yyl3223 := r.ReadMapStart() + if yyl3223 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3235, d) + x.codecDecodeSelfFromMap(yyl3223, d) } - } else if yyct3235 == codecSelferValueTypeArray1234 { - yyl3235 := r.ReadArrayStart() - if yyl3235 == 0 { + } else if yyct3223 == codecSelferValueTypeArray1234 { + yyl3223 := r.ReadArrayStart() + if yyl3223 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3235, d) + x.codecDecodeSelfFromArray(yyl3223, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40189,16 +40214,16 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3236Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3236Slc - var yyhl3236 bool = l >= 0 - for yyj3236 := 0; ; yyj3236++ { - if yyhl3236 { - if yyj3236 >= l { + var yys3224Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3224Slc + var yyhl3224 bool = l >= 0 + for yyj3224 := 0; ; yyj3224++ { + if yyhl3224 { + if yyj3224 >= l { break } } else { @@ -40207,194 +40232,128 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3236Slc = r.DecodeBytes(yys3236Slc, true, true) - yys3236 := string(yys3236Slc) + yys3224Slc = r.DecodeBytes(yys3224Slc, true, true) + yys3224 := string(yys3224Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3236 { - case "kind": + switch yys3224 { + case "hard": if r.TryDecodeAsNil() { - x.Kind = "" + x.Hard = nil } else { - x.Kind = string(r.DecodeString()) + yyv3225 := &x.Hard + yyv3225.CodecDecodeSelf(d) } - case "apiVersion": + case "used": if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Used = nil } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3239 := &x.ListMeta - yym3240 := z.DecBinary() - _ = yym3240 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3239) { - } else { - z.DecFallback(yyv3239, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3241 := &x.Items - yym3242 := z.DecBinary() - _ = yym3242 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3241), d) - } + yyv3226 := &x.Used + yyv3226.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3236) - } // end switch yys3236 - } // end for yyj3236 + z.DecStructFieldNotFound(-1, yys3224) + } // end switch yys3224 + } // end for yyj3224 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3243 int - var yyb3243 bool - var yyhl3243 bool = l >= 0 - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + var yyj3227 int + var yyb3227 bool + var yyhl3227 bool = l >= 0 + yyj3227++ + if yyhl3227 { + yyb3227 = yyj3227 > l } else { - yyb3243 = r.CheckBreak() + yyb3227 = r.CheckBreak() } - if yyb3243 { + if yyb3227 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Hard = nil } else { - x.Kind = string(r.DecodeString()) + yyv3228 := &x.Hard + yyv3228.CodecDecodeSelf(d) } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3227++ + if yyhl3227 { + yyb3227 = yyj3227 > l } else { - yyb3243 = r.CheckBreak() + yyb3227 = r.CheckBreak() } - if yyb3243 { + if yyb3227 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Used = nil } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l - } else { - yyb3243 = r.CheckBreak() - } - if yyb3243 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3246 := &x.ListMeta - yym3247 := z.DecBinary() - _ = yym3247 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3246) { - } else { - z.DecFallback(yyv3246, false) - } - } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l - } else { - yyb3243 = r.CheckBreak() - } - if yyb3243 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3248 := &x.Items - yym3249 := z.DecBinary() - _ = yym3249 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3248), d) - } + yyv3229 := &x.Used + yyv3229.CodecDecodeSelf(d) } for { - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3227++ + if yyhl3227 { + yyb3227 = yyj3227 > l } else { - yyb3243 = r.CheckBreak() + yyb3227 = r.CheckBreak() } - if yyb3243 { + if yyb3227 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3243-1, "") + z.DecStructFieldNotFound(yyj3227-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3250 := z.EncBinary() - _ = yym3250 + yym3230 := z.EncBinary() + _ = yym3230 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3251 := !z.EncBinary() - yy2arr3251 := z.EncBasicHandle().StructToArray - var yyq3251 [5]bool - _, _, _ = yysep3251, yyq3251, yy2arr3251 - const yyr3251 bool = false - yyq3251[0] = x.Kind != "" - yyq3251[1] = x.APIVersion != "" - yyq3251[2] = true - yyq3251[3] = len(x.Data) != 0 - yyq3251[4] = x.Type != "" - var yynn3251 int - if yyr3251 || yy2arr3251 { + yysep3231 := !z.EncBinary() + yy2arr3231 := z.EncBasicHandle().StructToArray + var yyq3231 [5]bool + _, _, _ = yysep3231, yyq3231, yy2arr3231 + const yyr3231 bool = false + yyq3231[0] = x.Kind != "" + yyq3231[1] = x.APIVersion != "" + yyq3231[2] = true + yyq3231[3] = true + yyq3231[4] = true + var yynn3231 int + if yyr3231 || yy2arr3231 { r.EncodeArrayStart(5) } else { - yynn3251 = 0 - for _, b := range yyq3251 { + yynn3231 = 0 + for _, b := range yyq3231 { if b { - yynn3251++ + yynn3231++ } } - r.EncodeMapStart(yynn3251) - yynn3251 = 0 + r.EncodeMapStart(yynn3231) + yynn3231 = 0 } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[0] { - yym3253 := z.EncBinary() - _ = yym3253 + if yyq3231[0] { + yym3233 := z.EncBinary() + _ = yym3233 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40403,23 +40362,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3251[0] { + if yyq3231[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3254 := z.EncBinary() - _ = yym3254 + yym3234 := z.EncBinary() + _ = yym3234 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[1] { - yym3256 := z.EncBinary() - _ = yym3256 + if yyq3231[1] { + yym3236 := z.EncBinary() + _ = yym3236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40428,84 +40387,70 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3251[1] { + if yyq3231[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3257 := z.EncBinary() - _ = yym3257 + yym3237 := z.EncBinary() + _ = yym3237 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[2] { - yy3259 := &x.ObjectMeta - yy3259.CodecEncodeSelf(e) + if yyq3231[2] { + yy3239 := &x.ObjectMeta + yy3239.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3251[2] { + if yyq3231[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3260 := &x.ObjectMeta - yy3260.CodecEncodeSelf(e) + yy3240 := &x.ObjectMeta + yy3240.CodecEncodeSelf(e) } } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[3] { - if x.Data == nil { - r.EncodeNil() - } else { - yym3262 := z.EncBinary() - _ = yym3262 - if false { - } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) - } - } + if yyq3231[3] { + yy3242 := &x.Spec + yy3242.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3251[3] { + if yyq3231[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) + r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { - r.EncodeNil() - } else { - yym3263 := z.EncBinary() - _ = yym3263 - if false { - } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) - } - } + yy3243 := &x.Spec + yy3243.CodecEncodeSelf(e) } } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[4] { - x.Type.CodecEncodeSelf(e) + if yyq3231[4] { + yy3245 := &x.Status + yy3245.CodecEncodeSelf(e) } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { - if yyq3251[4] { + if yyq3231[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) + r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) + yy3246 := &x.Status + yy3246.CodecEncodeSelf(e) } } - if yyr3251 || yy2arr3251 { + if yyr3231 || yy2arr3231 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40514,29 +40459,29 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3265 := z.DecBinary() - _ = yym3265 + yym3247 := z.DecBinary() + _ = yym3247 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3266 := r.ContainerType() - if yyct3266 == codecSelferValueTypeMap1234 { - yyl3266 := r.ReadMapStart() - if yyl3266 == 0 { + yyct3248 := r.ContainerType() + if yyct3248 == codecSelferValueTypeMap1234 { + yyl3248 := r.ReadMapStart() + if yyl3248 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3266, d) + x.codecDecodeSelfFromMap(yyl3248, d) } - } else if yyct3266 == codecSelferValueTypeArray1234 { - yyl3266 := r.ReadArrayStart() - if yyl3266 == 0 { + } else if yyct3248 == codecSelferValueTypeArray1234 { + yyl3248 := r.ReadArrayStart() + if yyl3248 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3266, d) + x.codecDecodeSelfFromArray(yyl3248, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40544,16 +40489,16 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3267Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3267Slc - var yyhl3267 bool = l >= 0 - for yyj3267 := 0; ; yyj3267++ { - if yyhl3267 { - if yyj3267 >= l { + var yys3249Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3249Slc + var yyhl3249 bool = l >= 0 + for yyj3249 := 0; ; yyj3249++ { + if yyhl3249 { + if yyj3249 >= l { break } } else { @@ -40562,10 +40507,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3267Slc = r.DecodeBytes(yys3267Slc, true, true) - yys3267 := string(yys3267Slc) + yys3249Slc = r.DecodeBytes(yys3249Slc, true, true) + yys3249 := string(yys3249Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3267 { + switch yys3249 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40582,48 +40527,44 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3270 := &x.ObjectMeta - yyv3270.CodecDecodeSelf(d) + yyv3252 := &x.ObjectMeta + yyv3252.CodecDecodeSelf(d) } - case "data": + case "spec": if r.TryDecodeAsNil() { - x.Data = nil + x.Spec = ResourceQuotaSpec{} } else { - yyv3271 := &x.Data - yym3272 := z.DecBinary() - _ = yym3272 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3271), d) - } + yyv3253 := &x.Spec + yyv3253.CodecDecodeSelf(d) } - case "type": + case "status": if r.TryDecodeAsNil() { - x.Type = "" + x.Status = ResourceQuotaStatus{} } else { - x.Type = SecretType(r.DecodeString()) + yyv3254 := &x.Status + yyv3254.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3267) - } // end switch yys3267 - } // end for yyj3267 + z.DecStructFieldNotFound(-1, yys3249) + } // end switch yys3249 + } // end for yyj3249 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3274 int - var yyb3274 bool - var yyhl3274 bool = l >= 0 - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + var yyj3255 int + var yyb3255 bool + var yyhl3255 bool = l >= 0 + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l } else { - yyb3274 = r.CheckBreak() + yyb3255 = r.CheckBreak() } - if yyb3274 { + if yyb3255 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40633,13 +40574,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l } else { - yyb3274 = r.CheckBreak() + yyb3255 = r.CheckBreak() } - if yyb3274 { + if yyb3255 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40649,13 +40590,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l } else { - yyb3274 = r.CheckBreak() + yyb3255 = r.CheckBreak() } - if yyb3274 { + if yyb3255 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40663,16 +40604,721 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3277 := &x.ObjectMeta - yyv3277.CodecDecodeSelf(d) + yyv3258 := &x.ObjectMeta + yyv3258.CodecDecodeSelf(d) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l } else { - yyb3274 = r.CheckBreak() + yyb3255 = r.CheckBreak() } - if yyb3274 { + if yyb3255 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3259 := &x.Spec + yyv3259.CodecDecodeSelf(d) + } + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l + } else { + yyb3255 = r.CheckBreak() + } + if yyb3255 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3260 := &x.Status + yyv3260.CodecDecodeSelf(d) + } + for { + yyj3255++ + if yyhl3255 { + yyb3255 = yyj3255 > l + } else { + yyb3255 = r.CheckBreak() + } + if yyb3255 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3255-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3261 := z.EncBinary() + _ = yym3261 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3262 := !z.EncBinary() + yy2arr3262 := z.EncBasicHandle().StructToArray + var yyq3262 [4]bool + _, _, _ = yysep3262, yyq3262, yy2arr3262 + const yyr3262 bool = false + yyq3262[0] = x.Kind != "" + yyq3262[1] = x.APIVersion != "" + yyq3262[2] = true + var yynn3262 int + if yyr3262 || yy2arr3262 { + r.EncodeArrayStart(4) + } else { + yynn3262 = 1 + for _, b := range yyq3262 { + if b { + yynn3262++ + } + } + r.EncodeMapStart(yynn3262) + yynn3262 = 0 + } + if yyr3262 || yy2arr3262 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3262[0] { + yym3264 := z.EncBinary() + _ = yym3264 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3262[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3265 := z.EncBinary() + _ = yym3265 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3262 || yy2arr3262 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3262[1] { + yym3267 := z.EncBinary() + _ = yym3267 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3262[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3268 := z.EncBinary() + _ = yym3268 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3262 || yy2arr3262 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3262[2] { + yy3270 := &x.ListMeta + yym3271 := z.EncBinary() + _ = yym3271 + if false { + } else if z.HasExtensions() && z.EncExt(yy3270) { + } else { + z.EncFallback(yy3270) + } + } else { + r.EncodeNil() + } + } else { + if yyq3262[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3272 := &x.ListMeta + yym3273 := z.EncBinary() + _ = yym3273 + if false { + } else if z.HasExtensions() && z.EncExt(yy3272) { + } else { + z.EncFallback(yy3272) + } + } + } + if yyr3262 || yy2arr3262 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3275 := z.EncBinary() + _ = yym3275 + if false { + } else { + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3276 := z.EncBinary() + _ = yym3276 + if false { + } else { + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + } + } + } + if yyr3262 || yy2arr3262 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3277 := z.DecBinary() + _ = yym3277 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3278 := r.ContainerType() + if yyct3278 == codecSelferValueTypeMap1234 { + yyl3278 := r.ReadMapStart() + if yyl3278 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3278, d) + } + } else if yyct3278 == codecSelferValueTypeArray1234 { + yyl3278 := r.ReadArrayStart() + if yyl3278 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3278, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3279Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3279Slc + var yyhl3279 bool = l >= 0 + for yyj3279 := 0; ; yyj3279++ { + if yyhl3279 { + if yyj3279 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3279Slc = r.DecodeBytes(yys3279Slc, true, true) + yys3279 := string(yys3279Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3279 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3282 := &x.ListMeta + yym3283 := z.DecBinary() + _ = yym3283 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3282) { + } else { + z.DecFallback(yyv3282, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3284 := &x.Items + yym3285 := z.DecBinary() + _ = yym3285 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3284), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3279) + } // end switch yys3279 + } // end for yyj3279 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3286 int + var yyb3286 bool + var yyhl3286 bool = l >= 0 + yyj3286++ + if yyhl3286 { + yyb3286 = yyj3286 > l + } else { + yyb3286 = r.CheckBreak() + } + if yyb3286 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3286++ + if yyhl3286 { + yyb3286 = yyj3286 > l + } else { + yyb3286 = r.CheckBreak() + } + if yyb3286 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3286++ + if yyhl3286 { + yyb3286 = yyj3286 > l + } else { + yyb3286 = r.CheckBreak() + } + if yyb3286 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3289 := &x.ListMeta + yym3290 := z.DecBinary() + _ = yym3290 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3289) { + } else { + z.DecFallback(yyv3289, false) + } + } + yyj3286++ + if yyhl3286 { + yyb3286 = yyj3286 > l + } else { + yyb3286 = r.CheckBreak() + } + if yyb3286 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3291 := &x.Items + yym3292 := z.DecBinary() + _ = yym3292 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3291), d) + } + } + for { + yyj3286++ + if yyhl3286 { + yyb3286 = yyj3286 > l + } else { + yyb3286 = r.CheckBreak() + } + if yyb3286 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3286-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3293 := z.EncBinary() + _ = yym3293 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3294 := !z.EncBinary() + yy2arr3294 := z.EncBasicHandle().StructToArray + var yyq3294 [5]bool + _, _, _ = yysep3294, yyq3294, yy2arr3294 + const yyr3294 bool = false + yyq3294[0] = x.Kind != "" + yyq3294[1] = x.APIVersion != "" + yyq3294[2] = true + yyq3294[3] = len(x.Data) != 0 + yyq3294[4] = x.Type != "" + var yynn3294 int + if yyr3294 || yy2arr3294 { + r.EncodeArrayStart(5) + } else { + yynn3294 = 0 + for _, b := range yyq3294 { + if b { + yynn3294++ + } + } + r.EncodeMapStart(yynn3294) + yynn3294 = 0 + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3294[0] { + yym3296 := z.EncBinary() + _ = yym3296 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3294[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3297 := z.EncBinary() + _ = yym3297 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3294[1] { + yym3299 := z.EncBinary() + _ = yym3299 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3294[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3300 := z.EncBinary() + _ = yym3300 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3294[2] { + yy3302 := &x.ObjectMeta + yy3302.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3294[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3303 := &x.ObjectMeta + yy3303.CodecEncodeSelf(e) + } + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3294[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym3305 := z.EncBinary() + _ = yym3305 + if false { + } else { + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3294[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("data")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Data == nil { + r.EncodeNil() + } else { + yym3306 := z.EncBinary() + _ = yym3306 + if false { + } else { + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + } + } + } + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3294[4] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3294[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr3294 || yy2arr3294 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3308 := z.DecBinary() + _ = yym3308 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3309 := r.ContainerType() + if yyct3309 == codecSelferValueTypeMap1234 { + yyl3309 := r.ReadMapStart() + if yyl3309 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3309, d) + } + } else if yyct3309 == codecSelferValueTypeArray1234 { + yyl3309 := r.ReadArrayStart() + if yyl3309 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3309, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3310Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3310Slc + var yyhl3310 bool = l >= 0 + for yyj3310 := 0; ; yyj3310++ { + if yyhl3310 { + if yyj3310 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3310Slc = r.DecodeBytes(yys3310Slc, true, true) + yys3310 := string(yys3310Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3310 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3313 := &x.ObjectMeta + yyv3313.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv3314 := &x.Data + yym3315 := z.DecBinary() + _ = yym3315 + if false { + } else { + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3314), d) + } + } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3310) + } // end switch yys3310 + } // end for yyj3310 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3317 int + var yyb3317 bool + var yyhl3317 bool = l >= 0 + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l + } else { + yyb3317 = r.CheckBreak() + } + if yyb3317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l + } else { + yyb3317 = r.CheckBreak() + } + if yyb3317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l + } else { + yyb3317 = r.CheckBreak() + } + if yyb3317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3320 := &x.ObjectMeta + yyv3320.CodecDecodeSelf(d) + } + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l + } else { + yyb3317 = r.CheckBreak() + } + if yyb3317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40680,21 +41326,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3278 := &x.Data - yym3279 := z.DecBinary() - _ = yym3279 + yyv3321 := &x.Data + yym3322 := z.DecBinary() + _ = yym3322 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3278), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3321), d) } } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l } else { - yyb3274 = r.CheckBreak() + yyb3317 = r.CheckBreak() } - if yyb3274 { + if yyb3317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40705,17 +41351,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3317++ + if yyhl3317 { + yyb3317 = yyj3317 > l } else { - yyb3274 = r.CheckBreak() + yyb3317 = r.CheckBreak() } - if yyb3274 { + if yyb3317 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3274-1, "") + z.DecStructFieldNotFound(yyj3317-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40724,8 +41370,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3281 := z.EncBinary() - _ = yym3281 + yym3324 := z.EncBinary() + _ = yym3324 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40737,8 +41383,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3282 := z.DecBinary() - _ = yym3282 + yym3325 := z.DecBinary() + _ = yym3325 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40753,37 +41399,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3283 := z.EncBinary() - _ = yym3283 + yym3326 := z.EncBinary() + _ = yym3326 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3284 := !z.EncBinary() - yy2arr3284 := z.EncBasicHandle().StructToArray - var yyq3284 [4]bool - _, _, _ = yysep3284, yyq3284, yy2arr3284 - const yyr3284 bool = false - yyq3284[0] = x.Kind != "" - yyq3284[1] = x.APIVersion != "" - yyq3284[2] = true - var yynn3284 int - if yyr3284 || yy2arr3284 { + yysep3327 := !z.EncBinary() + yy2arr3327 := z.EncBasicHandle().StructToArray + var yyq3327 [4]bool + _, _, _ = yysep3327, yyq3327, yy2arr3327 + const yyr3327 bool = false + yyq3327[0] = x.Kind != "" + yyq3327[1] = x.APIVersion != "" + yyq3327[2] = true + var yynn3327 int + if yyr3327 || yy2arr3327 { r.EncodeArrayStart(4) } else { - yynn3284 = 1 - for _, b := range yyq3284 { + yynn3327 = 1 + for _, b := range yyq3327 { if b { - yynn3284++ + yynn3327++ } } - r.EncodeMapStart(yynn3284) - yynn3284 = 0 + r.EncodeMapStart(yynn3327) + yynn3327 = 0 } - if yyr3284 || yy2arr3284 { + if yyr3327 || yy2arr3327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[0] { - yym3286 := z.EncBinary() - _ = yym3286 + if yyq3327[0] { + yym3329 := z.EncBinary() + _ = yym3329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40792,23 +41438,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3284[0] { + if yyq3327[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3287 := z.EncBinary() - _ = yym3287 + yym3330 := z.EncBinary() + _ = yym3330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3284 || yy2arr3284 { + if yyr3327 || yy2arr3327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[1] { - yym3289 := z.EncBinary() - _ = yym3289 + if yyq3327[1] { + yym3332 := z.EncBinary() + _ = yym3332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40817,54 +41463,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3284[1] { + if yyq3327[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3290 := z.EncBinary() - _ = yym3290 + yym3333 := z.EncBinary() + _ = yym3333 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3284 || yy2arr3284 { + if yyr3327 || yy2arr3327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[2] { - yy3292 := &x.ListMeta - yym3293 := z.EncBinary() - _ = yym3293 + if yyq3327[2] { + yy3335 := &x.ListMeta + yym3336 := z.EncBinary() + _ = yym3336 if false { - } else if z.HasExtensions() && z.EncExt(yy3292) { + } else if z.HasExtensions() && z.EncExt(yy3335) { } else { - z.EncFallback(yy3292) + z.EncFallback(yy3335) } } else { r.EncodeNil() } } else { - if yyq3284[2] { + if yyq3327[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3294 := &x.ListMeta - yym3295 := z.EncBinary() - _ = yym3295 + yy3337 := &x.ListMeta + yym3338 := z.EncBinary() + _ = yym3338 if false { - } else if z.HasExtensions() && z.EncExt(yy3294) { + } else if z.HasExtensions() && z.EncExt(yy3337) { } else { - z.EncFallback(yy3294) + z.EncFallback(yy3337) } } } - if yyr3284 || yy2arr3284 { + if yyr3327 || yy2arr3327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3297 := z.EncBinary() - _ = yym3297 + yym3340 := z.EncBinary() + _ = yym3340 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -40877,15 +41523,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3298 := z.EncBinary() - _ = yym3298 + yym3341 := z.EncBinary() + _ = yym3341 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3284 || yy2arr3284 { + if yyr3327 || yy2arr3327 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40898,25 +41544,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3299 := z.DecBinary() - _ = yym3299 + yym3342 := z.DecBinary() + _ = yym3342 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3300 := r.ContainerType() - if yyct3300 == codecSelferValueTypeMap1234 { - yyl3300 := r.ReadMapStart() - if yyl3300 == 0 { + yyct3343 := r.ContainerType() + if yyct3343 == codecSelferValueTypeMap1234 { + yyl3343 := r.ReadMapStart() + if yyl3343 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3300, d) + x.codecDecodeSelfFromMap(yyl3343, d) } - } else if yyct3300 == codecSelferValueTypeArray1234 { - yyl3300 := r.ReadArrayStart() - if yyl3300 == 0 { + } else if yyct3343 == codecSelferValueTypeArray1234 { + yyl3343 := r.ReadArrayStart() + if yyl3343 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3300, d) + x.codecDecodeSelfFromArray(yyl3343, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40928,12 +41574,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3301Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3301Slc - var yyhl3301 bool = l >= 0 - for yyj3301 := 0; ; yyj3301++ { - if yyhl3301 { - if yyj3301 >= l { + var yys3344Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3344Slc + var yyhl3344 bool = l >= 0 + for yyj3344 := 0; ; yyj3344++ { + if yyhl3344 { + if yyj3344 >= l { break } } else { @@ -40942,10 +41588,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3301Slc = r.DecodeBytes(yys3301Slc, true, true) - yys3301 := string(yys3301Slc) + yys3344Slc = r.DecodeBytes(yys3344Slc, true, true) + yys3344 := string(yys3344Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3301 { + switch yys3344 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40962,31 +41608,31 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3304 := &x.ListMeta - yym3305 := z.DecBinary() - _ = yym3305 + yyv3347 := &x.ListMeta + yym3348 := z.DecBinary() + _ = yym3348 if false { - } else if z.HasExtensions() && z.DecExt(yyv3304) { + } else if z.HasExtensions() && z.DecExt(yyv3347) { } else { - z.DecFallback(yyv3304, false) + z.DecFallback(yyv3347, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3306 := &x.Items - yym3307 := z.DecBinary() - _ = yym3307 + yyv3349 := &x.Items + yym3350 := z.DecBinary() + _ = yym3350 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3306), d) + h.decSliceSecret((*[]Secret)(yyv3349), d) } } default: - z.DecStructFieldNotFound(-1, yys3301) - } // end switch yys3301 - } // end for yyj3301 + z.DecStructFieldNotFound(-1, yys3344) + } // end switch yys3344 + } // end for yyj3344 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40994,16 +41640,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3308 int - var yyb3308 bool - var yyhl3308 bool = l >= 0 - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + var yyj3351 int + var yyb3351 bool + var yyhl3351 bool = l >= 0 + yyj3351++ + if yyhl3351 { + yyb3351 = yyj3351 > l } else { - yyb3308 = r.CheckBreak() + yyb3351 = r.CheckBreak() } - if yyb3308 { + if yyb3351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41013,13 +41659,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3351++ + if yyhl3351 { + yyb3351 = yyj3351 > l } else { - yyb3308 = r.CheckBreak() + yyb3351 = r.CheckBreak() } - if yyb3308 { + if yyb3351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41029,13 +41675,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3351++ + if yyhl3351 { + yyb3351 = yyj3351 > l } else { - yyb3308 = r.CheckBreak() + yyb3351 = r.CheckBreak() } - if yyb3308 { + if yyb3351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41043,22 +41689,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3311 := &x.ListMeta - yym3312 := z.DecBinary() - _ = yym3312 + yyv3354 := &x.ListMeta + yym3355 := z.DecBinary() + _ = yym3355 if false { - } else if z.HasExtensions() && z.DecExt(yyv3311) { + } else if z.HasExtensions() && z.DecExt(yyv3354) { } else { - z.DecFallback(yyv3311, false) + z.DecFallback(yyv3354, false) } } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3351++ + if yyhl3351 { + yyb3351 = yyj3351 > l } else { - yyb3308 = r.CheckBreak() + yyb3351 = r.CheckBreak() } - if yyb3308 { + if yyb3351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41066,26 +41712,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3313 := &x.Items - yym3314 := z.DecBinary() - _ = yym3314 + yyv3356 := &x.Items + yym3357 := z.DecBinary() + _ = yym3357 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3313), d) + h.decSliceSecret((*[]Secret)(yyv3356), d) } } for { - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3351++ + if yyhl3351 { + yyb3351 = yyj3351 > l } else { - yyb3308 = r.CheckBreak() + yyb3351 = r.CheckBreak() } - if yyb3308 { + if yyb3351 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3308-1, "") + z.DecStructFieldNotFound(yyj3351-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41094,8 +41740,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3315 := z.EncBinary() - _ = yym3315 + yym3358 := z.EncBinary() + _ = yym3358 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41107,8 +41753,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3316 := z.DecBinary() - _ = yym3316 + yym3359 := z.DecBinary() + _ = yym3359 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41123,32 +41769,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3317 := z.EncBinary() - _ = yym3317 + yym3360 := z.EncBinary() + _ = yym3360 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3318 := !z.EncBinary() - yy2arr3318 := z.EncBasicHandle().StructToArray - var yyq3318 [4]bool - _, _, _ = yysep3318, yyq3318, yy2arr3318 - const yyr3318 bool = false - yyq3318[2] = x.Message != "" - yyq3318[3] = x.Error != "" - var yynn3318 int - if yyr3318 || yy2arr3318 { + yysep3361 := !z.EncBinary() + yy2arr3361 := z.EncBasicHandle().StructToArray + var yyq3361 [4]bool + _, _, _ = yysep3361, yyq3361, yy2arr3361 + const yyr3361 bool = false + yyq3361[2] = x.Message != "" + yyq3361[3] = x.Error != "" + var yynn3361 int + if yyr3361 || yy2arr3361 { r.EncodeArrayStart(4) } else { - yynn3318 = 2 - for _, b := range yyq3318 { + yynn3361 = 2 + for _, b := range yyq3361 { if b { - yynn3318++ + yynn3361++ } } - r.EncodeMapStart(yynn3318) - yynn3318 = 0 + r.EncodeMapStart(yynn3361) + yynn3361 = 0 } - if yyr3318 || yy2arr3318 { + if yyr3361 || yy2arr3361 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41157,7 +41803,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3318 || yy2arr3318 { + if yyr3361 || yy2arr3361 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -41166,11 +41812,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3318 || yy2arr3318 { + if yyr3361 || yy2arr3361 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3318[2] { - yym3322 := z.EncBinary() - _ = yym3322 + if yyq3361[2] { + yym3365 := z.EncBinary() + _ = yym3365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -41179,23 +41825,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3318[2] { + if yyq3361[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3323 := z.EncBinary() - _ = yym3323 + yym3366 := z.EncBinary() + _ = yym3366 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3318 || yy2arr3318 { + if yyr3361 || yy2arr3361 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3318[3] { - yym3325 := z.EncBinary() - _ = yym3325 + if yyq3361[3] { + yym3368 := z.EncBinary() + _ = yym3368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -41204,19 +41850,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3318[3] { + if yyq3361[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3326 := z.EncBinary() - _ = yym3326 + yym3369 := z.EncBinary() + _ = yym3369 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3318 || yy2arr3318 { + if yyr3361 || yy2arr3361 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41229,25 +41875,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3327 := z.DecBinary() - _ = yym3327 + yym3370 := z.DecBinary() + _ = yym3370 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3328 := r.ContainerType() - if yyct3328 == codecSelferValueTypeMap1234 { - yyl3328 := r.ReadMapStart() - if yyl3328 == 0 { + yyct3371 := r.ContainerType() + if yyct3371 == codecSelferValueTypeMap1234 { + yyl3371 := r.ReadMapStart() + if yyl3371 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3328, d) + x.codecDecodeSelfFromMap(yyl3371, d) } - } else if yyct3328 == codecSelferValueTypeArray1234 { - yyl3328 := r.ReadArrayStart() - if yyl3328 == 0 { + } else if yyct3371 == codecSelferValueTypeArray1234 { + yyl3371 := r.ReadArrayStart() + if yyl3371 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3328, d) + x.codecDecodeSelfFromArray(yyl3371, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41259,12 +41905,12 @@ func (x *ComponentCondition) 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 yys3372Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3372Slc + var yyhl3372 bool = l >= 0 + for yyj3372 := 0; ; yyj3372++ { + if yyhl3372 { + if yyj3372 >= l { break } } else { @@ -41273,10 +41919,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3329Slc = r.DecodeBytes(yys3329Slc, true, true) - yys3329 := string(yys3329Slc) + yys3372Slc = r.DecodeBytes(yys3372Slc, true, true) + yys3372 := string(yys3372Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3329 { + switch yys3372 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41302,9 +41948,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3329) - } // end switch yys3329 - } // end for yyj3329 + z.DecStructFieldNotFound(-1, yys3372) + } // end switch yys3372 + } // end for yyj3372 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41312,16 +41958,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3334 int - var yyb3334 bool - var yyhl3334 bool = l >= 0 - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + var yyj3377 int + var yyb3377 bool + var yyhl3377 bool = l >= 0 + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41331,13 +41977,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41347,13 +41993,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41363,13 +42009,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41380,17 +42026,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj3334++ - if yyhl3334 { - yyb3334 = yyj3334 > l + yyj3377++ + if yyhl3377 { + yyb3377 = yyj3377 > l } else { - yyb3334 = r.CheckBreak() + yyb3377 = r.CheckBreak() } - if yyb3334 { + if yyb3377 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3334-1, "") + z.DecStructFieldNotFound(yyj3377-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41402,38 +42048,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3339 := z.EncBinary() - _ = yym3339 + yym3382 := z.EncBinary() + _ = yym3382 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3340 := !z.EncBinary() - yy2arr3340 := z.EncBasicHandle().StructToArray - var yyq3340 [4]bool - _, _, _ = yysep3340, yyq3340, yy2arr3340 - const yyr3340 bool = false - yyq3340[0] = x.Kind != "" - yyq3340[1] = x.APIVersion != "" - yyq3340[2] = true - yyq3340[3] = len(x.Conditions) != 0 - var yynn3340 int - if yyr3340 || yy2arr3340 { + yysep3383 := !z.EncBinary() + yy2arr3383 := z.EncBasicHandle().StructToArray + var yyq3383 [4]bool + _, _, _ = yysep3383, yyq3383, yy2arr3383 + const yyr3383 bool = false + yyq3383[0] = x.Kind != "" + yyq3383[1] = x.APIVersion != "" + yyq3383[2] = true + yyq3383[3] = len(x.Conditions) != 0 + var yynn3383 int + if yyr3383 || yy2arr3383 { r.EncodeArrayStart(4) } else { - yynn3340 = 0 - for _, b := range yyq3340 { + yynn3383 = 0 + for _, b := range yyq3383 { if b { - yynn3340++ + yynn3383++ } } - r.EncodeMapStart(yynn3340) - yynn3340 = 0 + r.EncodeMapStart(yynn3383) + yynn3383 = 0 } - if yyr3340 || yy2arr3340 { + if yyr3383 || yy2arr3383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3340[0] { - yym3342 := z.EncBinary() - _ = yym3342 + if yyq3383[0] { + yym3385 := z.EncBinary() + _ = yym3385 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41442,23 +42088,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3340[0] { + if yyq3383[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3343 := z.EncBinary() - _ = yym3343 + yym3386 := z.EncBinary() + _ = yym3386 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3340 || yy2arr3340 { + if yyr3383 || yy2arr3383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3340[1] { - yym3345 := z.EncBinary() - _ = yym3345 + if yyq3383[1] { + yym3388 := z.EncBinary() + _ = yym3388 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41467,43 +42113,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3340[1] { + if yyq3383[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3346 := z.EncBinary() - _ = yym3346 + yym3389 := z.EncBinary() + _ = yym3389 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3340 || yy2arr3340 { + if yyr3383 || yy2arr3383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3340[2] { - yy3348 := &x.ObjectMeta - yy3348.CodecEncodeSelf(e) + if yyq3383[2] { + yy3391 := &x.ObjectMeta + yy3391.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3340[2] { + if yyq3383[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3349 := &x.ObjectMeta - yy3349.CodecEncodeSelf(e) + yy3392 := &x.ObjectMeta + yy3392.CodecEncodeSelf(e) } } - if yyr3340 || yy2arr3340 { + if yyr3383 || yy2arr3383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3340[3] { + if yyq3383[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3351 := z.EncBinary() - _ = yym3351 + yym3394 := z.EncBinary() + _ = yym3394 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -41513,15 +42159,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3340[3] { + if yyq3383[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3352 := z.EncBinary() - _ = yym3352 + yym3395 := z.EncBinary() + _ = yym3395 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -41529,7 +42175,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3340 || yy2arr3340 { + if yyr3383 || yy2arr3383 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41542,25 +42188,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3353 := z.DecBinary() - _ = yym3353 + yym3396 := z.DecBinary() + _ = yym3396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3354 := r.ContainerType() - if yyct3354 == codecSelferValueTypeMap1234 { - yyl3354 := r.ReadMapStart() - if yyl3354 == 0 { + yyct3397 := r.ContainerType() + if yyct3397 == codecSelferValueTypeMap1234 { + yyl3397 := r.ReadMapStart() + if yyl3397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3354, d) + x.codecDecodeSelfFromMap(yyl3397, d) } - } else if yyct3354 == codecSelferValueTypeArray1234 { - yyl3354 := r.ReadArrayStart() - if yyl3354 == 0 { + } else if yyct3397 == codecSelferValueTypeArray1234 { + yyl3397 := r.ReadArrayStart() + if yyl3397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3354, d) + x.codecDecodeSelfFromArray(yyl3397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41572,12 +42218,12 @@ func (x *ComponentStatus) 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 yys3398Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3398Slc + var yyhl3398 bool = l >= 0 + for yyj3398 := 0; ; yyj3398++ { + if yyhl3398 { + if yyj3398 >= l { break } } else { @@ -41586,10 +42232,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3355Slc = r.DecodeBytes(yys3355Slc, true, true) - yys3355 := string(yys3355Slc) + yys3398Slc = r.DecodeBytes(yys3398Slc, true, true) + yys3398 := string(yys3398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3355 { + switch yys3398 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41606,25 +42252,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3358 := &x.ObjectMeta - yyv3358.CodecDecodeSelf(d) + yyv3401 := &x.ObjectMeta + yyv3401.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3359 := &x.Conditions - yym3360 := z.DecBinary() - _ = yym3360 + yyv3402 := &x.Conditions + yym3403 := z.DecBinary() + _ = yym3403 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3359), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3402), d) } } default: - z.DecStructFieldNotFound(-1, yys3355) - } // end switch yys3355 - } // end for yyj3355 + z.DecStructFieldNotFound(-1, yys3398) + } // end switch yys3398 + } // end for yyj3398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41632,16 +42278,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3361 int - var yyb3361 bool - var yyhl3361 bool = l >= 0 - yyj3361++ - if yyhl3361 { - yyb3361 = yyj3361 > l + var yyj3404 int + var yyb3404 bool + var yyhl3404 bool = l >= 0 + yyj3404++ + if yyhl3404 { + yyb3404 = yyj3404 > l } else { - yyb3361 = r.CheckBreak() + yyb3404 = r.CheckBreak() } - if yyb3361 { + if yyb3404 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41651,13 +42297,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3361++ - if yyhl3361 { - yyb3361 = yyj3361 > l + yyj3404++ + if yyhl3404 { + yyb3404 = yyj3404 > l } else { - yyb3361 = r.CheckBreak() + yyb3404 = r.CheckBreak() } - if yyb3361 { + if yyb3404 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41667,13 +42313,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3361++ - if yyhl3361 { - yyb3361 = yyj3361 > l + yyj3404++ + if yyhl3404 { + yyb3404 = yyj3404 > l } else { - yyb3361 = r.CheckBreak() + yyb3404 = r.CheckBreak() } - if yyb3361 { + if yyb3404 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41681,16 +42327,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3364 := &x.ObjectMeta - yyv3364.CodecDecodeSelf(d) + yyv3407 := &x.ObjectMeta + yyv3407.CodecDecodeSelf(d) } - yyj3361++ - if yyhl3361 { - yyb3361 = yyj3361 > l + yyj3404++ + if yyhl3404 { + yyb3404 = yyj3404 > l } else { - yyb3361 = r.CheckBreak() + yyb3404 = r.CheckBreak() } - if yyb3361 { + if yyb3404 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41698,26 +42344,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3365 := &x.Conditions - yym3366 := z.DecBinary() - _ = yym3366 + yyv3408 := &x.Conditions + yym3409 := z.DecBinary() + _ = yym3409 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3365), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3408), d) } } for { - yyj3361++ - if yyhl3361 { - yyb3361 = yyj3361 > l + yyj3404++ + if yyhl3404 { + yyb3404 = yyj3404 > l } else { - yyb3361 = r.CheckBreak() + yyb3404 = r.CheckBreak() } - if yyb3361 { + if yyb3404 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3361-1, "") + z.DecStructFieldNotFound(yyj3404-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41729,37 +42375,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3367 := z.EncBinary() - _ = yym3367 + yym3410 := z.EncBinary() + _ = yym3410 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3368 := !z.EncBinary() - yy2arr3368 := z.EncBasicHandle().StructToArray - var yyq3368 [4]bool - _, _, _ = yysep3368, yyq3368, yy2arr3368 - const yyr3368 bool = false - yyq3368[0] = x.Kind != "" - yyq3368[1] = x.APIVersion != "" - yyq3368[2] = true - var yynn3368 int - if yyr3368 || yy2arr3368 { + yysep3411 := !z.EncBinary() + yy2arr3411 := z.EncBasicHandle().StructToArray + var yyq3411 [4]bool + _, _, _ = yysep3411, yyq3411, yy2arr3411 + const yyr3411 bool = false + yyq3411[0] = x.Kind != "" + yyq3411[1] = x.APIVersion != "" + yyq3411[2] = true + var yynn3411 int + if yyr3411 || yy2arr3411 { r.EncodeArrayStart(4) } else { - yynn3368 = 1 - for _, b := range yyq3368 { + yynn3411 = 1 + for _, b := range yyq3411 { if b { - yynn3368++ + yynn3411++ } } - r.EncodeMapStart(yynn3368) - yynn3368 = 0 + r.EncodeMapStart(yynn3411) + yynn3411 = 0 } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[0] { - yym3370 := z.EncBinary() - _ = yym3370 + if yyq3411[0] { + yym3413 := z.EncBinary() + _ = yym3413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41768,23 +42414,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3368[0] { + if yyq3411[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3371 := z.EncBinary() - _ = yym3371 + yym3414 := z.EncBinary() + _ = yym3414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[1] { - yym3373 := z.EncBinary() - _ = yym3373 + if yyq3411[1] { + yym3416 := z.EncBinary() + _ = yym3416 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41793,54 +42439,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3368[1] { + if yyq3411[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3374 := z.EncBinary() - _ = yym3374 + yym3417 := z.EncBinary() + _ = yym3417 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3368[2] { - yy3376 := &x.ListMeta - yym3377 := z.EncBinary() - _ = yym3377 + if yyq3411[2] { + yy3419 := &x.ListMeta + yym3420 := z.EncBinary() + _ = yym3420 if false { - } else if z.HasExtensions() && z.EncExt(yy3376) { + } else if z.HasExtensions() && z.EncExt(yy3419) { } else { - z.EncFallback(yy3376) + z.EncFallback(yy3419) } } else { r.EncodeNil() } } else { - if yyq3368[2] { + if yyq3411[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3378 := &x.ListMeta - yym3379 := z.EncBinary() - _ = yym3379 + yy3421 := &x.ListMeta + yym3422 := z.EncBinary() + _ = yym3422 if false { - } else if z.HasExtensions() && z.EncExt(yy3378) { + } else if z.HasExtensions() && z.EncExt(yy3421) { } else { - z.EncFallback(yy3378) + z.EncFallback(yy3421) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3381 := z.EncBinary() - _ = yym3381 + yym3424 := z.EncBinary() + _ = yym3424 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -41853,15 +42499,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3382 := z.EncBinary() - _ = yym3382 + yym3425 := z.EncBinary() + _ = yym3425 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3368 || yy2arr3368 { + if yyr3411 || yy2arr3411 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41874,25 +42520,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3383 := z.DecBinary() - _ = yym3383 + yym3426 := z.DecBinary() + _ = yym3426 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3384 := r.ContainerType() - if yyct3384 == codecSelferValueTypeMap1234 { - yyl3384 := r.ReadMapStart() - if yyl3384 == 0 { + yyct3427 := r.ContainerType() + if yyct3427 == codecSelferValueTypeMap1234 { + yyl3427 := r.ReadMapStart() + if yyl3427 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3384, d) + x.codecDecodeSelfFromMap(yyl3427, d) } - } else if yyct3384 == codecSelferValueTypeArray1234 { - yyl3384 := r.ReadArrayStart() - if yyl3384 == 0 { + } else if yyct3427 == codecSelferValueTypeArray1234 { + yyl3427 := r.ReadArrayStart() + if yyl3427 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3384, d) + x.codecDecodeSelfFromArray(yyl3427, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41904,12 +42550,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3385Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3385Slc - var yyhl3385 bool = l >= 0 - for yyj3385 := 0; ; yyj3385++ { - if yyhl3385 { - if yyj3385 >= l { + var yys3428Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3428Slc + var yyhl3428 bool = l >= 0 + for yyj3428 := 0; ; yyj3428++ { + if yyhl3428 { + if yyj3428 >= l { break } } else { @@ -41918,10 +42564,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3385Slc = r.DecodeBytes(yys3385Slc, true, true) - yys3385 := string(yys3385Slc) + yys3428Slc = r.DecodeBytes(yys3428Slc, true, true) + yys3428 := string(yys3428Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3385 { + switch yys3428 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41938,31 +42584,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3388 := &x.ListMeta - yym3389 := z.DecBinary() - _ = yym3389 + yyv3431 := &x.ListMeta + yym3432 := z.DecBinary() + _ = yym3432 if false { - } else if z.HasExtensions() && z.DecExt(yyv3388) { + } else if z.HasExtensions() && z.DecExt(yyv3431) { } else { - z.DecFallback(yyv3388, false) + z.DecFallback(yyv3431, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3390 := &x.Items - yym3391 := z.DecBinary() - _ = yym3391 + yyv3433 := &x.Items + yym3434 := z.DecBinary() + _ = yym3434 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3390), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3433), d) } } default: - z.DecStructFieldNotFound(-1, yys3385) - } // end switch yys3385 - } // end for yyj3385 + z.DecStructFieldNotFound(-1, yys3428) + } // end switch yys3428 + } // end for yyj3428 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41970,16 +42616,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3392 int - var yyb3392 bool - var yyhl3392 bool = l >= 0 - yyj3392++ - if yyhl3392 { - yyb3392 = yyj3392 > l + var yyj3435 int + var yyb3435 bool + var yyhl3435 bool = l >= 0 + yyj3435++ + if yyhl3435 { + yyb3435 = yyj3435 > l } else { - yyb3392 = r.CheckBreak() + yyb3435 = r.CheckBreak() } - if yyb3392 { + if yyb3435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41989,13 +42635,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3392++ - if yyhl3392 { - yyb3392 = yyj3392 > l + yyj3435++ + if yyhl3435 { + yyb3435 = yyj3435 > l } else { - yyb3392 = r.CheckBreak() + yyb3435 = r.CheckBreak() } - if yyb3392 { + if yyb3435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42005,13 +42651,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3392++ - if yyhl3392 { - yyb3392 = yyj3392 > l + yyj3435++ + if yyhl3435 { + yyb3435 = yyj3435 > l } else { - yyb3392 = r.CheckBreak() + yyb3435 = r.CheckBreak() } - if yyb3392 { + if yyb3435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42019,22 +42665,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3395 := &x.ListMeta - yym3396 := z.DecBinary() - _ = yym3396 + yyv3438 := &x.ListMeta + yym3439 := z.DecBinary() + _ = yym3439 if false { - } else if z.HasExtensions() && z.DecExt(yyv3395) { + } else if z.HasExtensions() && z.DecExt(yyv3438) { } else { - z.DecFallback(yyv3395, false) + z.DecFallback(yyv3438, false) } } - yyj3392++ - if yyhl3392 { - yyb3392 = yyj3392 > l + yyj3435++ + if yyhl3435 { + yyb3435 = yyj3435 > l } else { - yyb3392 = r.CheckBreak() + yyb3435 = r.CheckBreak() } - if yyb3392 { + if yyb3435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42042,26 +42688,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3397 := &x.Items - yym3398 := z.DecBinary() - _ = yym3398 + yyv3440 := &x.Items + yym3441 := z.DecBinary() + _ = yym3441 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3397), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3440), d) } } for { - yyj3392++ - if yyhl3392 { - yyb3392 = yyj3392 > l + yyj3435++ + if yyhl3435 { + yyb3435 = yyj3435 > l } else { - yyb3392 = r.CheckBreak() + yyb3435 = r.CheckBreak() } - if yyb3392 { + if yyb3435 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3392-1, "") + z.DecStructFieldNotFound(yyj3435-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42073,38 +42719,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3399 := z.EncBinary() - _ = yym3399 + yym3442 := z.EncBinary() + _ = yym3442 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3400 := !z.EncBinary() - yy2arr3400 := z.EncBasicHandle().StructToArray - var yyq3400 [1]bool - _, _, _ = yysep3400, yyq3400, yy2arr3400 - const yyr3400 bool = false - yyq3400[0] = len(x.Items) != 0 - var yynn3400 int - if yyr3400 || yy2arr3400 { + yysep3443 := !z.EncBinary() + yy2arr3443 := z.EncBasicHandle().StructToArray + var yyq3443 [1]bool + _, _, _ = yysep3443, yyq3443, yy2arr3443 + const yyr3443 bool = false + yyq3443[0] = len(x.Items) != 0 + var yynn3443 int + if yyr3443 || yy2arr3443 { r.EncodeArrayStart(1) } else { - yynn3400 = 0 - for _, b := range yyq3400 { + yynn3443 = 0 + for _, b := range yyq3443 { if b { - yynn3400++ + yynn3443++ } } - r.EncodeMapStart(yynn3400) - yynn3400 = 0 + r.EncodeMapStart(yynn3443) + yynn3443 = 0 } - if yyr3400 || yy2arr3400 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3400[0] { + if yyq3443[0] { if x.Items == nil { r.EncodeNil() } else { - yym3402 := z.EncBinary() - _ = yym3402 + yym3445 := z.EncBinary() + _ = yym3445 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -42114,15 +42760,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3400[0] { + if yyq3443[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym3403 := z.EncBinary() - _ = yym3403 + yym3446 := z.EncBinary() + _ = yym3446 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -42130,7 +42776,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3400 || yy2arr3400 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42140,514 +42786,6 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3404 := z.DecBinary() - _ = yym3404 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3405 := r.ContainerType() - if yyct3405 == codecSelferValueTypeMap1234 { - yyl3405 := r.ReadMapStart() - if yyl3405 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3405, d) - } - } else if yyct3405 == codecSelferValueTypeArray1234 { - yyl3405 := r.ReadArrayStart() - if yyl3405 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3405, 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 yys3406Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3406Slc - var yyhl3406 bool = l >= 0 - for yyj3406 := 0; ; yyj3406++ { - if yyhl3406 { - if yyj3406 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3406Slc = r.DecodeBytes(yys3406Slc, true, true) - yys3406 := string(yys3406Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3406 { - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3407 := &x.Items - yym3408 := z.DecBinary() - _ = yym3408 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3407), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3406) - } // end switch yys3406 - } // end for yyj3406 - 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 yyj3409 int - var yyb3409 bool - var yyhl3409 bool = l >= 0 - yyj3409++ - if yyhl3409 { - yyb3409 = yyj3409 > l - } else { - yyb3409 = r.CheckBreak() - } - if yyb3409 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3410 := &x.Items - yym3411 := z.DecBinary() - _ = yym3411 - if false { - } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3410), d) - } - } - for { - yyj3409++ - if yyhl3409 { - yyb3409 = yyj3409 > l - } else { - yyb3409 = r.CheckBreak() - } - if yyb3409 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3409-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 { - yym3412 := z.EncBinary() - _ = yym3412 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3413 := !z.EncBinary() - yy2arr3413 := z.EncBasicHandle().StructToArray - var yyq3413 [2]bool - _, _, _ = yysep3413, yyq3413, yy2arr3413 - const yyr3413 bool = false - var yynn3413 int - if yyr3413 || yy2arr3413 { - r.EncodeArrayStart(2) - } else { - yynn3413 = 2 - for _, b := range yyq3413 { - if b { - yynn3413++ - } - } - r.EncodeMapStart(yynn3413) - yynn3413 = 0 - } - if yyr3413 || yy2arr3413 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3415 := z.EncBinary() - _ = yym3415 - 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) - yym3416 := z.EncBinary() - _ = yym3416 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - if yyr3413 || yy2arr3413 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3418 := &x.FieldRef - yy3418.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3419 := &x.FieldRef - yy3419.CodecEncodeSelf(e) - } - if yyr3413 || yy2arr3413 { - 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 - yym3420 := z.DecBinary() - _ = yym3420 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3421 := r.ContainerType() - if yyct3421 == codecSelferValueTypeMap1234 { - yyl3421 := r.ReadMapStart() - if yyl3421 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3421, d) - } - } else if yyct3421 == codecSelferValueTypeArray1234 { - yyl3421 := r.ReadArrayStart() - if yyl3421 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3421, 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 yys3422Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3422Slc - var yyhl3422 bool = l >= 0 - for yyj3422 := 0; ; yyj3422++ { - if yyhl3422 { - if yyj3422 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3422Slc = r.DecodeBytes(yys3422Slc, true, true) - yys3422 := string(yys3422Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3422 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - case "fieldRef": - if r.TryDecodeAsNil() { - x.FieldRef = ObjectFieldSelector{} - } else { - yyv3424 := &x.FieldRef - yyv3424.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3422) - } // end switch yys3422 - } // end for yyj3422 - 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 yyj3425 int - var yyb3425 bool - var yyhl3425 bool = l >= 0 - yyj3425++ - if yyhl3425 { - yyb3425 = yyj3425 > l - } else { - yyb3425 = r.CheckBreak() - } - if yyb3425 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj3425++ - if yyhl3425 { - yyb3425 = yyj3425 > l - } else { - yyb3425 = r.CheckBreak() - } - if yyb3425 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FieldRef = ObjectFieldSelector{} - } else { - yyv3427 := &x.FieldRef - yyv3427.CodecDecodeSelf(d) - } - for { - yyj3425++ - if yyhl3425 { - yyb3425 = yyj3425 > l - } else { - yyb3425 = r.CheckBreak() - } - if yyb3425 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3425-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3428 := z.EncBinary() - _ = yym3428 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3429 := !z.EncBinary() - yy2arr3429 := z.EncBasicHandle().StructToArray - var yyq3429 [5]bool - _, _, _ = yysep3429, yyq3429, yy2arr3429 - const yyr3429 bool = false - yyq3429[0] = x.Capabilities != nil - yyq3429[1] = x.Privileged != nil - yyq3429[2] = x.SELinuxOptions != nil - yyq3429[3] = x.RunAsUser != nil - yyq3429[4] = x.RunAsNonRoot != nil - var yynn3429 int - if yyr3429 || yy2arr3429 { - r.EncodeArrayStart(5) - } else { - yynn3429 = 0 - for _, b := range yyq3429 { - if b { - yynn3429++ - } - } - r.EncodeMapStart(yynn3429) - yynn3429 = 0 - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[0] { - if x.Capabilities == nil { - r.EncodeNil() - } else { - x.Capabilities.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3429[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("capabilities")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Capabilities == nil { - r.EncodeNil() - } else { - x.Capabilities.CodecEncodeSelf(e) - } - } - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[1] { - if x.Privileged == nil { - r.EncodeNil() - } else { - yy3432 := *x.Privileged - yym3433 := z.EncBinary() - _ = yym3433 - if false { - } else { - r.EncodeBool(bool(yy3432)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3429[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("privileged")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Privileged == nil { - r.EncodeNil() - } else { - yy3434 := *x.Privileged - yym3435 := z.EncBinary() - _ = yym3435 - if false { - } else { - r.EncodeBool(bool(yy3434)) - } - } - } - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[2] { - if x.SELinuxOptions == nil { - r.EncodeNil() - } else { - x.SELinuxOptions.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3429[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SELinuxOptions == nil { - r.EncodeNil() - } else { - x.SELinuxOptions.CodecEncodeSelf(e) - } - } - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[3] { - if x.RunAsUser == nil { - r.EncodeNil() - } else { - yy3438 := *x.RunAsUser - yym3439 := z.EncBinary() - _ = yym3439 - if false { - } else { - r.EncodeInt(int64(yy3438)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3429[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RunAsUser == nil { - r.EncodeNil() - } else { - yy3440 := *x.RunAsUser - yym3441 := z.EncBinary() - _ = yym3441 - if false { - } else { - r.EncodeInt(int64(yy3440)) - } - } - } - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3429[4] { - if x.RunAsNonRoot == nil { - r.EncodeNil() - } else { - yy3443 := *x.RunAsNonRoot - yym3444 := z.EncBinary() - _ = yym3444 - if false { - } else { - r.EncodeBool(bool(yy3443)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3429[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.RunAsNonRoot == nil { - r.EncodeNil() - } else { - yy3445 := *x.RunAsNonRoot - yym3446 := z.EncBinary() - _ = yym3446 - if false { - } else { - r.EncodeBool(bool(yy3445)) - } - } - } - } - if yyr3429 || yy2arr3429 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -42677,7 +42815,7 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -42699,6 +42837,514 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3449 := string(yys3449Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3449 { + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3450 := &x.Items + yym3451 := z.DecBinary() + _ = yym3451 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3450), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3449) + } // end switch yys3449 + } // end for yyj3449 + 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 yyj3452 int + var yyb3452 bool + var yyhl3452 bool = l >= 0 + yyj3452++ + if yyhl3452 { + yyb3452 = yyj3452 > l + } else { + yyb3452 = r.CheckBreak() + } + if yyb3452 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3453 := &x.Items + yym3454 := z.DecBinary() + _ = yym3454 + if false { + } else { + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3453), d) + } + } + for { + yyj3452++ + if yyhl3452 { + yyb3452 = yyj3452 > l + } else { + yyb3452 = r.CheckBreak() + } + if yyb3452 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3452-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 { + yym3455 := z.EncBinary() + _ = yym3455 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3456 := !z.EncBinary() + yy2arr3456 := z.EncBasicHandle().StructToArray + var yyq3456 [2]bool + _, _, _ = yysep3456, yyq3456, yy2arr3456 + const yyr3456 bool = false + var yynn3456 int + if yyr3456 || yy2arr3456 { + r.EncodeArrayStart(2) + } else { + yynn3456 = 2 + for _, b := range yyq3456 { + if b { + yynn3456++ + } + } + r.EncodeMapStart(yynn3456) + yynn3456 = 0 + } + if yyr3456 || yy2arr3456 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3458 := z.EncBinary() + _ = yym3458 + 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) + yym3459 := z.EncBinary() + _ = yym3459 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + if yyr3456 || yy2arr3456 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3461 := &x.FieldRef + yy3461.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3462 := &x.FieldRef + yy3462.CodecEncodeSelf(e) + } + if yyr3456 || yy2arr3456 { + 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 + yym3463 := z.DecBinary() + _ = yym3463 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3464 := r.ContainerType() + if yyct3464 == codecSelferValueTypeMap1234 { + yyl3464 := r.ReadMapStart() + if yyl3464 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3464, d) + } + } else if yyct3464 == codecSelferValueTypeArray1234 { + yyl3464 := r.ReadArrayStart() + if yyl3464 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3464, 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 yys3465Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3465Slc + var yyhl3465 bool = l >= 0 + for yyj3465 := 0; ; yyj3465++ { + if yyhl3465 { + if yyj3465 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3465Slc = r.DecodeBytes(yys3465Slc, true, true) + yys3465 := string(yys3465Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3465 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "fieldRef": + if r.TryDecodeAsNil() { + x.FieldRef = ObjectFieldSelector{} + } else { + yyv3467 := &x.FieldRef + yyv3467.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3465) + } // end switch yys3465 + } // end for yyj3465 + 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 yyj3468 int + var yyb3468 bool + var yyhl3468 bool = l >= 0 + yyj3468++ + if yyhl3468 { + yyb3468 = yyj3468 > l + } else { + yyb3468 = r.CheckBreak() + } + if yyb3468 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + yyj3468++ + if yyhl3468 { + yyb3468 = yyj3468 > l + } else { + yyb3468 = r.CheckBreak() + } + if yyb3468 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FieldRef = ObjectFieldSelector{} + } else { + yyv3470 := &x.FieldRef + yyv3470.CodecDecodeSelf(d) + } + for { + yyj3468++ + if yyhl3468 { + yyb3468 = yyj3468 > l + } else { + yyb3468 = r.CheckBreak() + } + if yyb3468 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3468-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3471 := z.EncBinary() + _ = yym3471 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3472 := !z.EncBinary() + yy2arr3472 := z.EncBasicHandle().StructToArray + var yyq3472 [5]bool + _, _, _ = yysep3472, yyq3472, yy2arr3472 + const yyr3472 bool = false + yyq3472[0] = x.Capabilities != nil + yyq3472[1] = x.Privileged != nil + yyq3472[2] = x.SELinuxOptions != nil + yyq3472[3] = x.RunAsUser != nil + yyq3472[4] = x.RunAsNonRoot != nil + var yynn3472 int + if yyr3472 || yy2arr3472 { + r.EncodeArrayStart(5) + } else { + yynn3472 = 0 + for _, b := range yyq3472 { + if b { + yynn3472++ + } + } + r.EncodeMapStart(yynn3472) + yynn3472 = 0 + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3472[0] { + if x.Capabilities == nil { + r.EncodeNil() + } else { + x.Capabilities.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3472[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("capabilities")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Capabilities == nil { + r.EncodeNil() + } else { + x.Capabilities.CodecEncodeSelf(e) + } + } + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3472[1] { + if x.Privileged == nil { + r.EncodeNil() + } else { + yy3475 := *x.Privileged + yym3476 := z.EncBinary() + _ = yym3476 + if false { + } else { + r.EncodeBool(bool(yy3475)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3472[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("privileged")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Privileged == nil { + r.EncodeNil() + } else { + yy3477 := *x.Privileged + yym3478 := z.EncBinary() + _ = yym3478 + if false { + } else { + r.EncodeBool(bool(yy3477)) + } + } + } + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3472[2] { + if x.SELinuxOptions == nil { + r.EncodeNil() + } else { + x.SELinuxOptions.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3472[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.SELinuxOptions == nil { + r.EncodeNil() + } else { + x.SELinuxOptions.CodecEncodeSelf(e) + } + } + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3472[3] { + if x.RunAsUser == nil { + r.EncodeNil() + } else { + yy3481 := *x.RunAsUser + yym3482 := z.EncBinary() + _ = yym3482 + if false { + } else { + r.EncodeInt(int64(yy3481)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3472[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RunAsUser == nil { + r.EncodeNil() + } else { + yy3483 := *x.RunAsUser + yym3484 := z.EncBinary() + _ = yym3484 + if false { + } else { + r.EncodeInt(int64(yy3483)) + } + } + } + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3472[4] { + if x.RunAsNonRoot == nil { + r.EncodeNil() + } else { + yy3486 := *x.RunAsNonRoot + yym3487 := z.EncBinary() + _ = yym3487 + if false { + } else { + r.EncodeBool(bool(yy3486)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3472[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.RunAsNonRoot == nil { + r.EncodeNil() + } else { + yy3488 := *x.RunAsNonRoot + yym3489 := z.EncBinary() + _ = yym3489 + if false { + } else { + r.EncodeBool(bool(yy3488)) + } + } + } + } + if yyr3472 || yy2arr3472 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3490 := z.DecBinary() + _ = yym3490 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3491 := r.ContainerType() + if yyct3491 == codecSelferValueTypeMap1234 { + yyl3491 := r.ReadMapStart() + if yyl3491 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3491, d) + } + } else if yyct3491 == codecSelferValueTypeArray1234 { + yyl3491 := r.ReadArrayStart() + if yyl3491 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3491, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + 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 { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3492Slc = r.DecodeBytes(yys3492Slc, true, true) + yys3492 := string(yys3492Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3492 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -42719,8 +43365,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3452 := z.DecBinary() - _ = yym3452 + yym3495 := z.DecBinary() + _ = yym3495 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -42746,8 +43392,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3455 := z.DecBinary() - _ = yym3455 + yym3498 := z.DecBinary() + _ = yym3498 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -42762,17 +43408,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3457 := z.DecBinary() - _ = yym3457 + yym3500 := z.DecBinary() + _ = yym3500 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3449) - } // end switch yys3449 - } // end for yyj3449 + z.DecStructFieldNotFound(-1, yys3492) + } // end switch yys3492 + } // end for yyj3492 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42780,16 +43426,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3458 int - var yyb3458 bool - var yyhl3458 bool = l >= 0 - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + var yyj3501 int + var yyb3501 bool + var yyhl3501 bool = l >= 0 + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42804,13 +43450,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42823,20 +43469,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3461 := z.DecBinary() - _ = yym3461 + yym3504 := z.DecBinary() + _ = yym3504 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42851,13 +43497,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42870,20 +43516,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3464 := z.DecBinary() - _ = yym3464 + yym3507 := z.DecBinary() + _ = yym3507 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42896,25 +43542,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3466 := z.DecBinary() - _ = yym3466 + yym3509 := z.DecBinary() + _ = yym3509 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3458++ - if yyhl3458 { - yyb3458 = yyj3458 > l + yyj3501++ + if yyhl3501 { + yyb3501 = yyj3501 > l } else { - yyb3458 = r.CheckBreak() + yyb3501 = r.CheckBreak() } - if yyb3458 { + if yyb3501 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3458-1, "") + z.DecStructFieldNotFound(yyj3501-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42926,38 +43572,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3467 := z.EncBinary() - _ = yym3467 + yym3510 := z.EncBinary() + _ = yym3510 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3468 := !z.EncBinary() - yy2arr3468 := z.EncBasicHandle().StructToArray - var yyq3468 [4]bool - _, _, _ = yysep3468, yyq3468, yy2arr3468 - const yyr3468 bool = false - yyq3468[0] = x.User != "" - yyq3468[1] = x.Role != "" - yyq3468[2] = x.Type != "" - yyq3468[3] = x.Level != "" - var yynn3468 int - if yyr3468 || yy2arr3468 { + yysep3511 := !z.EncBinary() + yy2arr3511 := z.EncBasicHandle().StructToArray + var yyq3511 [4]bool + _, _, _ = yysep3511, yyq3511, yy2arr3511 + const yyr3511 bool = false + yyq3511[0] = x.User != "" + yyq3511[1] = x.Role != "" + yyq3511[2] = x.Type != "" + yyq3511[3] = x.Level != "" + var yynn3511 int + if yyr3511 || yy2arr3511 { r.EncodeArrayStart(4) } else { - yynn3468 = 0 - for _, b := range yyq3468 { + yynn3511 = 0 + for _, b := range yyq3511 { if b { - yynn3468++ + yynn3511++ } } - r.EncodeMapStart(yynn3468) - yynn3468 = 0 + r.EncodeMapStart(yynn3511) + yynn3511 = 0 } - if yyr3468 || yy2arr3468 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[0] { - yym3470 := z.EncBinary() - _ = yym3470 + if yyq3511[0] { + yym3513 := z.EncBinary() + _ = yym3513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -42966,23 +43612,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[0] { + if yyq3511[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3471 := z.EncBinary() - _ = yym3471 + yym3514 := z.EncBinary() + _ = yym3514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3468 || yy2arr3468 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[1] { - yym3473 := z.EncBinary() - _ = yym3473 + if yyq3511[1] { + yym3516 := z.EncBinary() + _ = yym3516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -42991,23 +43637,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[1] { + if yyq3511[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3474 := z.EncBinary() - _ = yym3474 + yym3517 := z.EncBinary() + _ = yym3517 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3468 || yy2arr3468 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[2] { - yym3476 := z.EncBinary() - _ = yym3476 + if yyq3511[2] { + yym3519 := z.EncBinary() + _ = yym3519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -43016,23 +43662,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[2] { + if yyq3511[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3477 := z.EncBinary() - _ = yym3477 + yym3520 := z.EncBinary() + _ = yym3520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3468 || yy2arr3468 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[3] { - yym3479 := z.EncBinary() - _ = yym3479 + if yyq3511[3] { + yym3522 := z.EncBinary() + _ = yym3522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -43041,19 +43687,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[3] { + if yyq3511[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3480 := z.EncBinary() - _ = yym3480 + yym3523 := z.EncBinary() + _ = yym3523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3468 || yy2arr3468 { + if yyr3511 || yy2arr3511 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43066,25 +43712,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3481 := z.DecBinary() - _ = yym3481 + yym3524 := z.DecBinary() + _ = yym3524 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3482 := r.ContainerType() - if yyct3482 == codecSelferValueTypeMap1234 { - yyl3482 := r.ReadMapStart() - if yyl3482 == 0 { + yyct3525 := r.ContainerType() + if yyct3525 == codecSelferValueTypeMap1234 { + yyl3525 := r.ReadMapStart() + if yyl3525 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3482, d) + x.codecDecodeSelfFromMap(yyl3525, d) } - } else if yyct3482 == codecSelferValueTypeArray1234 { - yyl3482 := r.ReadArrayStart() - if yyl3482 == 0 { + } else if yyct3525 == codecSelferValueTypeArray1234 { + yyl3525 := r.ReadArrayStart() + if yyl3525 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3482, d) + x.codecDecodeSelfFromArray(yyl3525, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43096,12 +43742,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3483Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3483Slc - var yyhl3483 bool = l >= 0 - for yyj3483 := 0; ; yyj3483++ { - if yyhl3483 { - if yyj3483 >= l { + var yys3526Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3526Slc + var yyhl3526 bool = l >= 0 + for yyj3526 := 0; ; yyj3526++ { + if yyhl3526 { + if yyj3526 >= l { break } } else { @@ -43110,10 +43756,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3483Slc = r.DecodeBytes(yys3483Slc, true, true) - yys3483 := string(yys3483Slc) + yys3526Slc = r.DecodeBytes(yys3526Slc, true, true) + yys3526 := string(yys3526Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3483 { + switch yys3526 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -43139,9 +43785,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3483) - } // end switch yys3483 - } // end for yyj3483 + z.DecStructFieldNotFound(-1, yys3526) + } // end switch yys3526 + } // end for yyj3526 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43149,16 +43795,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3488 int - var yyb3488 bool - var yyhl3488 bool = l >= 0 - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + var yyj3531 int + var yyb3531 bool + var yyhl3531 bool = l >= 0 + yyj3531++ + if yyhl3531 { + yyb3531 = yyj3531 > l } else { - yyb3488 = r.CheckBreak() + yyb3531 = r.CheckBreak() } - if yyb3488 { + if yyb3531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43168,13 +43814,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + yyj3531++ + if yyhl3531 { + yyb3531 = yyj3531 > l } else { - yyb3488 = r.CheckBreak() + yyb3531 = r.CheckBreak() } - if yyb3488 { + if yyb3531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43184,13 +43830,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + yyj3531++ + if yyhl3531 { + yyb3531 = yyj3531 > l } else { - yyb3488 = r.CheckBreak() + yyb3531 = r.CheckBreak() } - if yyb3488 { + if yyb3531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43200,13 +43846,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + yyj3531++ + if yyhl3531 { + yyb3531 = yyj3531 > l } else { - yyb3488 = r.CheckBreak() + yyb3531 = r.CheckBreak() } - if yyb3488 { + if yyb3531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43217,17 +43863,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3488++ - if yyhl3488 { - yyb3488 = yyj3488 > l + yyj3531++ + if yyhl3531 { + yyb3531 = yyj3531 > l } else { - yyb3488 = r.CheckBreak() + yyb3531 = r.CheckBreak() } - if yyb3488 { + if yyb3531 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3488-1, "") + z.DecStructFieldNotFound(yyj3531-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43239,37 +43885,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3493 := z.EncBinary() - _ = yym3493 + yym3536 := z.EncBinary() + _ = yym3536 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3494 := !z.EncBinary() - yy2arr3494 := z.EncBasicHandle().StructToArray - var yyq3494 [5]bool - _, _, _ = yysep3494, yyq3494, yy2arr3494 - const yyr3494 bool = false - yyq3494[0] = x.Kind != "" - yyq3494[1] = x.APIVersion != "" - yyq3494[2] = true - var yynn3494 int - if yyr3494 || yy2arr3494 { + yysep3537 := !z.EncBinary() + yy2arr3537 := z.EncBasicHandle().StructToArray + var yyq3537 [5]bool + _, _, _ = yysep3537, yyq3537, yy2arr3537 + const yyr3537 bool = false + yyq3537[0] = x.Kind != "" + yyq3537[1] = x.APIVersion != "" + yyq3537[2] = true + var yynn3537 int + if yyr3537 || yy2arr3537 { r.EncodeArrayStart(5) } else { - yynn3494 = 2 - for _, b := range yyq3494 { + yynn3537 = 2 + for _, b := range yyq3537 { if b { - yynn3494++ + yynn3537++ } } - r.EncodeMapStart(yynn3494) - yynn3494 = 0 + r.EncodeMapStart(yynn3537) + yynn3537 = 0 } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3494[0] { - yym3496 := z.EncBinary() - _ = yym3496 + if yyq3537[0] { + yym3539 := z.EncBinary() + _ = yym3539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43278,23 +43924,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3494[0] { + if yyq3537[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3497 := z.EncBinary() - _ = yym3497 + yym3540 := z.EncBinary() + _ = yym3540 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3494[1] { - yym3499 := z.EncBinary() - _ = yym3499 + if yyq3537[1] { + yym3542 := z.EncBinary() + _ = yym3542 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43303,39 +43949,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3494[1] { + if yyq3537[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3500 := z.EncBinary() - _ = yym3500 + yym3543 := z.EncBinary() + _ = yym3543 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3494[2] { - yy3502 := &x.ObjectMeta - yy3502.CodecEncodeSelf(e) + if yyq3537[2] { + yy3545 := &x.ObjectMeta + yy3545.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3494[2] { + if yyq3537[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3503 := &x.ObjectMeta - yy3503.CodecEncodeSelf(e) + yy3546 := &x.ObjectMeta + yy3546.CodecEncodeSelf(e) } } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3505 := z.EncBinary() - _ = yym3505 + yym3548 := z.EncBinary() + _ = yym3548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -43344,20 +43990,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3506 := z.EncBinary() - _ = yym3506 + yym3549 := z.EncBinary() + _ = yym3549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3508 := z.EncBinary() - _ = yym3508 + yym3551 := z.EncBinary() + _ = yym3551 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -43370,15 +44016,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3509 := z.EncBinary() - _ = yym3509 + yym3552 := z.EncBinary() + _ = yym3552 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3494 || yy2arr3494 { + if yyr3537 || yy2arr3537 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43391,25 +44037,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3510 := z.DecBinary() - _ = yym3510 + yym3553 := z.DecBinary() + _ = yym3553 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3511 := r.ContainerType() - if yyct3511 == codecSelferValueTypeMap1234 { - yyl3511 := r.ReadMapStart() - if yyl3511 == 0 { + yyct3554 := r.ContainerType() + if yyct3554 == codecSelferValueTypeMap1234 { + yyl3554 := r.ReadMapStart() + if yyl3554 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3511, d) + x.codecDecodeSelfFromMap(yyl3554, d) } - } else if yyct3511 == codecSelferValueTypeArray1234 { - yyl3511 := r.ReadArrayStart() - if yyl3511 == 0 { + } else if yyct3554 == codecSelferValueTypeArray1234 { + yyl3554 := r.ReadArrayStart() + if yyl3554 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3511, d) + x.codecDecodeSelfFromArray(yyl3554, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43421,12 +44067,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3512Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3512Slc - var yyhl3512 bool = l >= 0 - for yyj3512 := 0; ; yyj3512++ { - if yyhl3512 { - if yyj3512 >= l { + var yys3555Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3555Slc + var yyhl3555 bool = l >= 0 + for yyj3555 := 0; ; yyj3555++ { + if yyhl3555 { + if yyj3555 >= l { break } } else { @@ -43435,10 +44081,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3512Slc = r.DecodeBytes(yys3512Slc, true, true) - yys3512 := string(yys3512Slc) + yys3555Slc = r.DecodeBytes(yys3555Slc, true, true) + yys3555 := string(yys3555Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3512 { + switch yys3555 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43455,8 +44101,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3515 := &x.ObjectMeta - yyv3515.CodecDecodeSelf(d) + yyv3558 := &x.ObjectMeta + yyv3558.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -43468,18 +44114,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3517 := &x.Data - yym3518 := z.DecBinary() - _ = yym3518 + yyv3560 := &x.Data + yym3561 := z.DecBinary() + _ = yym3561 if false { } else { - *yyv3517 = r.DecodeBytes(*(*[]byte)(yyv3517), false, false) + *yyv3560 = r.DecodeBytes(*(*[]byte)(yyv3560), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3512) - } // end switch yys3512 - } // end for yyj3512 + z.DecStructFieldNotFound(-1, yys3555) + } // end switch yys3555 + } // end for yyj3555 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43487,16 +44133,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3519 int - var yyb3519 bool - var yyhl3519 bool = l >= 0 - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + var yyj3562 int + var yyb3562 bool + var yyhl3562 bool = l >= 0 + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43506,13 +44152,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43522,13 +44168,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43536,16 +44182,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3522 := &x.ObjectMeta - yyv3522.CodecDecodeSelf(d) + yyv3565 := &x.ObjectMeta + yyv3565.CodecDecodeSelf(d) } - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43555,13 +44201,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43569,26 +44215,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3524 := &x.Data - yym3525 := z.DecBinary() - _ = yym3525 + yyv3567 := &x.Data + yym3568 := z.DecBinary() + _ = yym3568 if false { } else { - *yyv3524 = r.DecodeBytes(*(*[]byte)(yyv3524), false, false) + *yyv3567 = r.DecodeBytes(*(*[]byte)(yyv3567), false, false) } } for { - yyj3519++ - if yyhl3519 { - yyb3519 = yyj3519 > l + yyj3562++ + if yyhl3562 { + yyb3562 = yyj3562 > l } else { - yyb3519 = r.CheckBreak() + yyb3562 = r.CheckBreak() } - if yyb3519 { + if yyb3562 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3519-1, "") + z.DecStructFieldNotFound(yyj3562-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43598,9 +44244,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3526 := range v { + for _, yyv3569 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3526.CodecEncodeSelf(e) + yyv3569.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43610,75 +44256,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3527 := *v - yyh3527, yyl3527 := z.DecSliceHelperStart() - var yyc3527 bool - if yyl3527 == 0 { - if yyv3527 == nil { - yyv3527 = []PersistentVolumeAccessMode{} - yyc3527 = true - } else if len(yyv3527) != 0 { - yyv3527 = yyv3527[:0] - yyc3527 = true + yyv3570 := *v + yyh3570, yyl3570 := z.DecSliceHelperStart() + var yyc3570 bool + if yyl3570 == 0 { + if yyv3570 == nil { + yyv3570 = []PersistentVolumeAccessMode{} + yyc3570 = true + } else if len(yyv3570) != 0 { + yyv3570 = yyv3570[:0] + yyc3570 = true } - } else if yyl3527 > 0 { - var yyrr3527, yyrl3527 int - var yyrt3527 bool - if yyl3527 > cap(yyv3527) { + } else if yyl3570 > 0 { + var yyrr3570, yyrl3570 int + var yyrt3570 bool + if yyl3570 > cap(yyv3570) { - yyrl3527, yyrt3527 = z.DecInferLen(yyl3527, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3527 { - if yyrl3527 <= cap(yyv3527) { - yyv3527 = yyv3527[:yyrl3527] + yyrl3570, yyrt3570 = z.DecInferLen(yyl3570, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3570 { + if yyrl3570 <= cap(yyv3570) { + yyv3570 = yyv3570[:yyrl3570] } else { - yyv3527 = make([]PersistentVolumeAccessMode, yyrl3527) + yyv3570 = make([]PersistentVolumeAccessMode, yyrl3570) } } else { - yyv3527 = make([]PersistentVolumeAccessMode, yyrl3527) + yyv3570 = make([]PersistentVolumeAccessMode, yyrl3570) } - yyc3527 = true - yyrr3527 = len(yyv3527) - } else if yyl3527 != len(yyv3527) { - yyv3527 = yyv3527[:yyl3527] - yyc3527 = true + yyc3570 = true + yyrr3570 = len(yyv3570) + } else if yyl3570 != len(yyv3570) { + yyv3570 = yyv3570[:yyl3570] + yyc3570 = true } - yyj3527 := 0 - for ; yyj3527 < yyrr3527; yyj3527++ { - yyh3527.ElemContainerState(yyj3527) + yyj3570 := 0 + for ; yyj3570 < yyrr3570; yyj3570++ { + yyh3570.ElemContainerState(yyj3570) if r.TryDecodeAsNil() { - yyv3527[yyj3527] = "" + yyv3570[yyj3570] = "" } else { - yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3570[yyj3570] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3527 { - for ; yyj3527 < yyl3527; yyj3527++ { - yyv3527 = append(yyv3527, "") - yyh3527.ElemContainerState(yyj3527) + if yyrt3570 { + for ; yyj3570 < yyl3570; yyj3570++ { + yyv3570 = append(yyv3570, "") + yyh3570.ElemContainerState(yyj3570) if r.TryDecodeAsNil() { - yyv3527[yyj3527] = "" + yyv3570[yyj3570] = "" } else { - yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3570[yyj3570] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3527 := 0 - for ; !r.CheckBreak(); yyj3527++ { + yyj3570 := 0 + for ; !r.CheckBreak(); yyj3570++ { - if yyj3527 >= len(yyv3527) { - yyv3527 = append(yyv3527, "") // var yyz3527 PersistentVolumeAccessMode - yyc3527 = true + if yyj3570 >= len(yyv3570) { + yyv3570 = append(yyv3570, "") // var yyz3570 PersistentVolumeAccessMode + yyc3570 = true } - yyh3527.ElemContainerState(yyj3527) - if yyj3527 < len(yyv3527) { + yyh3570.ElemContainerState(yyj3570) + if yyj3570 < len(yyv3570) { if r.TryDecodeAsNil() { - yyv3527[yyj3527] = "" + yyv3570[yyj3570] = "" } else { - yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3570[yyj3570] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -43686,17 +44332,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3527 < len(yyv3527) { - yyv3527 = yyv3527[:yyj3527] - yyc3527 = true - } else if yyj3527 == 0 && yyv3527 == nil { - yyv3527 = []PersistentVolumeAccessMode{} - yyc3527 = true + if yyj3570 < len(yyv3570) { + yyv3570 = yyv3570[:yyj3570] + yyc3570 = true + } else if yyj3570 == 0 && yyv3570 == nil { + yyv3570 = []PersistentVolumeAccessMode{} + yyc3570 = true } } - yyh3527.End() - if yyc3527 { - *v = yyv3527 + yyh3570.End() + if yyc3570 { + *v = yyv3570 } } @@ -43705,10 +44351,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3531 := range v { + for _, yyv3574 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3532 := &yyv3531 - yy3532.CodecEncodeSelf(e) + yy3575 := &yyv3574 + yy3575.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43718,83 +44364,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3533 := *v - yyh3533, yyl3533 := z.DecSliceHelperStart() - var yyc3533 bool - if yyl3533 == 0 { - if yyv3533 == nil { - yyv3533 = []PersistentVolume{} - yyc3533 = true - } else if len(yyv3533) != 0 { - yyv3533 = yyv3533[:0] - yyc3533 = true + yyv3576 := *v + yyh3576, yyl3576 := z.DecSliceHelperStart() + var yyc3576 bool + if yyl3576 == 0 { + if yyv3576 == nil { + yyv3576 = []PersistentVolume{} + yyc3576 = true + } else if len(yyv3576) != 0 { + yyv3576 = yyv3576[:0] + yyc3576 = true } - } else if yyl3533 > 0 { - var yyrr3533, yyrl3533 int - var yyrt3533 bool - if yyl3533 > cap(yyv3533) { + } else if yyl3576 > 0 { + var yyrr3576, yyrl3576 int + var yyrt3576 bool + if yyl3576 > cap(yyv3576) { - yyrg3533 := len(yyv3533) > 0 - yyv23533 := yyv3533 - yyrl3533, yyrt3533 = z.DecInferLen(yyl3533, z.DecBasicHandle().MaxInitLen, 384) - if yyrt3533 { - if yyrl3533 <= cap(yyv3533) { - yyv3533 = yyv3533[:yyrl3533] + yyrg3576 := len(yyv3576) > 0 + yyv23576 := yyv3576 + yyrl3576, yyrt3576 = z.DecInferLen(yyl3576, z.DecBasicHandle().MaxInitLen, 392) + if yyrt3576 { + if yyrl3576 <= cap(yyv3576) { + yyv3576 = yyv3576[:yyrl3576] } else { - yyv3533 = make([]PersistentVolume, yyrl3533) + yyv3576 = make([]PersistentVolume, yyrl3576) } } else { - yyv3533 = make([]PersistentVolume, yyrl3533) + yyv3576 = make([]PersistentVolume, yyrl3576) } - yyc3533 = true - yyrr3533 = len(yyv3533) - if yyrg3533 { - copy(yyv3533, yyv23533) + yyc3576 = true + yyrr3576 = len(yyv3576) + if yyrg3576 { + copy(yyv3576, yyv23576) } - } else if yyl3533 != len(yyv3533) { - yyv3533 = yyv3533[:yyl3533] - yyc3533 = true + } else if yyl3576 != len(yyv3576) { + yyv3576 = yyv3576[:yyl3576] + yyc3576 = true } - yyj3533 := 0 - for ; yyj3533 < yyrr3533; yyj3533++ { - yyh3533.ElemContainerState(yyj3533) + yyj3576 := 0 + for ; yyj3576 < yyrr3576; yyj3576++ { + yyh3576.ElemContainerState(yyj3576) if r.TryDecodeAsNil() { - yyv3533[yyj3533] = PersistentVolume{} + yyv3576[yyj3576] = PersistentVolume{} } else { - yyv3534 := &yyv3533[yyj3533] - yyv3534.CodecDecodeSelf(d) + yyv3577 := &yyv3576[yyj3576] + yyv3577.CodecDecodeSelf(d) } } - if yyrt3533 { - for ; yyj3533 < yyl3533; yyj3533++ { - yyv3533 = append(yyv3533, PersistentVolume{}) - yyh3533.ElemContainerState(yyj3533) + if yyrt3576 { + for ; yyj3576 < yyl3576; yyj3576++ { + yyv3576 = append(yyv3576, PersistentVolume{}) + yyh3576.ElemContainerState(yyj3576) if r.TryDecodeAsNil() { - yyv3533[yyj3533] = PersistentVolume{} + yyv3576[yyj3576] = PersistentVolume{} } else { - yyv3535 := &yyv3533[yyj3533] - yyv3535.CodecDecodeSelf(d) + yyv3578 := &yyv3576[yyj3576] + yyv3578.CodecDecodeSelf(d) } } } } else { - yyj3533 := 0 - for ; !r.CheckBreak(); yyj3533++ { + yyj3576 := 0 + for ; !r.CheckBreak(); yyj3576++ { - if yyj3533 >= len(yyv3533) { - yyv3533 = append(yyv3533, PersistentVolume{}) // var yyz3533 PersistentVolume - yyc3533 = true + if yyj3576 >= len(yyv3576) { + yyv3576 = append(yyv3576, PersistentVolume{}) // var yyz3576 PersistentVolume + yyc3576 = true } - yyh3533.ElemContainerState(yyj3533) - if yyj3533 < len(yyv3533) { + yyh3576.ElemContainerState(yyj3576) + if yyj3576 < len(yyv3576) { if r.TryDecodeAsNil() { - yyv3533[yyj3533] = PersistentVolume{} + yyv3576[yyj3576] = PersistentVolume{} } else { - yyv3536 := &yyv3533[yyj3533] - yyv3536.CodecDecodeSelf(d) + yyv3579 := &yyv3576[yyj3576] + yyv3579.CodecDecodeSelf(d) } } else { @@ -43802,17 +44448,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3533 < len(yyv3533) { - yyv3533 = yyv3533[:yyj3533] - yyc3533 = true - } else if yyj3533 == 0 && yyv3533 == nil { - yyv3533 = []PersistentVolume{} - yyc3533 = true + if yyj3576 < len(yyv3576) { + yyv3576 = yyv3576[:yyj3576] + yyc3576 = true + } else if yyj3576 == 0 && yyv3576 == nil { + yyv3576 = []PersistentVolume{} + yyc3576 = true } } - yyh3533.End() - if yyc3533 { - *v = yyv3533 + yyh3576.End() + if yyc3576 { + *v = yyv3576 } } @@ -43821,10 +44467,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3537 := range v { + for _, yyv3580 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3538 := &yyv3537 - yy3538.CodecEncodeSelf(e) + yy3581 := &yyv3580 + yy3581.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43834,83 +44480,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3539 := *v - yyh3539, yyl3539 := z.DecSliceHelperStart() - var yyc3539 bool - if yyl3539 == 0 { - if yyv3539 == nil { - yyv3539 = []PersistentVolumeClaim{} - yyc3539 = true - } else if len(yyv3539) != 0 { - yyv3539 = yyv3539[:0] - yyc3539 = true + yyv3582 := *v + yyh3582, yyl3582 := z.DecSliceHelperStart() + var yyc3582 bool + if yyl3582 == 0 { + if yyv3582 == nil { + yyv3582 = []PersistentVolumeClaim{} + yyc3582 = true + } else if len(yyv3582) != 0 { + yyv3582 = yyv3582[:0] + yyc3582 = true } - } else if yyl3539 > 0 { - var yyrr3539, yyrl3539 int - var yyrt3539 bool - if yyl3539 > cap(yyv3539) { + } else if yyl3582 > 0 { + var yyrr3582, yyrl3582 int + var yyrt3582 bool + if yyl3582 > cap(yyv3582) { - yyrg3539 := len(yyv3539) > 0 - yyv23539 := yyv3539 - yyrl3539, yyrt3539 = z.DecInferLen(yyl3539, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3539 { - if yyrl3539 <= cap(yyv3539) { - yyv3539 = yyv3539[:yyrl3539] + yyrg3582 := len(yyv3582) > 0 + yyv23582 := yyv3582 + yyrl3582, yyrt3582 = z.DecInferLen(yyl3582, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3582 { + if yyrl3582 <= cap(yyv3582) { + yyv3582 = yyv3582[:yyrl3582] } else { - yyv3539 = make([]PersistentVolumeClaim, yyrl3539) + yyv3582 = make([]PersistentVolumeClaim, yyrl3582) } } else { - yyv3539 = make([]PersistentVolumeClaim, yyrl3539) + yyv3582 = make([]PersistentVolumeClaim, yyrl3582) } - yyc3539 = true - yyrr3539 = len(yyv3539) - if yyrg3539 { - copy(yyv3539, yyv23539) + yyc3582 = true + yyrr3582 = len(yyv3582) + if yyrg3582 { + copy(yyv3582, yyv23582) } - } else if yyl3539 != len(yyv3539) { - yyv3539 = yyv3539[:yyl3539] - yyc3539 = true + } else if yyl3582 != len(yyv3582) { + yyv3582 = yyv3582[:yyl3582] + yyc3582 = true } - yyj3539 := 0 - for ; yyj3539 < yyrr3539; yyj3539++ { - yyh3539.ElemContainerState(yyj3539) + yyj3582 := 0 + for ; yyj3582 < yyrr3582; yyj3582++ { + yyh3582.ElemContainerState(yyj3582) if r.TryDecodeAsNil() { - yyv3539[yyj3539] = PersistentVolumeClaim{} + yyv3582[yyj3582] = PersistentVolumeClaim{} } else { - yyv3540 := &yyv3539[yyj3539] - yyv3540.CodecDecodeSelf(d) + yyv3583 := &yyv3582[yyj3582] + yyv3583.CodecDecodeSelf(d) } } - if yyrt3539 { - for ; yyj3539 < yyl3539; yyj3539++ { - yyv3539 = append(yyv3539, PersistentVolumeClaim{}) - yyh3539.ElemContainerState(yyj3539) + if yyrt3582 { + for ; yyj3582 < yyl3582; yyj3582++ { + yyv3582 = append(yyv3582, PersistentVolumeClaim{}) + yyh3582.ElemContainerState(yyj3582) if r.TryDecodeAsNil() { - yyv3539[yyj3539] = PersistentVolumeClaim{} + yyv3582[yyj3582] = PersistentVolumeClaim{} } else { - yyv3541 := &yyv3539[yyj3539] - yyv3541.CodecDecodeSelf(d) + yyv3584 := &yyv3582[yyj3582] + yyv3584.CodecDecodeSelf(d) } } } } else { - yyj3539 := 0 - for ; !r.CheckBreak(); yyj3539++ { + yyj3582 := 0 + for ; !r.CheckBreak(); yyj3582++ { - if yyj3539 >= len(yyv3539) { - yyv3539 = append(yyv3539, PersistentVolumeClaim{}) // var yyz3539 PersistentVolumeClaim - yyc3539 = true + if yyj3582 >= len(yyv3582) { + yyv3582 = append(yyv3582, PersistentVolumeClaim{}) // var yyz3582 PersistentVolumeClaim + yyc3582 = true } - yyh3539.ElemContainerState(yyj3539) - if yyj3539 < len(yyv3539) { + yyh3582.ElemContainerState(yyj3582) + if yyj3582 < len(yyv3582) { if r.TryDecodeAsNil() { - yyv3539[yyj3539] = PersistentVolumeClaim{} + yyv3582[yyj3582] = PersistentVolumeClaim{} } else { - yyv3542 := &yyv3539[yyj3539] - yyv3542.CodecDecodeSelf(d) + yyv3585 := &yyv3582[yyj3582] + yyv3585.CodecDecodeSelf(d) } } else { @@ -43918,17 +44564,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3539 < len(yyv3539) { - yyv3539 = yyv3539[:yyj3539] - yyc3539 = true - } else if yyj3539 == 0 && yyv3539 == nil { - yyv3539 = []PersistentVolumeClaim{} - yyc3539 = true + if yyj3582 < len(yyv3582) { + yyv3582 = yyv3582[:yyj3582] + yyc3582 = true + } else if yyj3582 == 0 && yyv3582 == nil { + yyv3582 = []PersistentVolumeClaim{} + yyc3582 = true } } - yyh3539.End() - if yyc3539 { - *v = yyv3539 + yyh3582.End() + if yyc3582 { + *v = yyv3582 } } @@ -43937,9 +44583,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3543 := range v { + for _, yyv3586 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3543.CodecEncodeSelf(e) + yyv3586.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43949,75 +44595,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3544 := *v - yyh3544, yyl3544 := z.DecSliceHelperStart() - var yyc3544 bool - if yyl3544 == 0 { - if yyv3544 == nil { - yyv3544 = []Capability{} - yyc3544 = true - } else if len(yyv3544) != 0 { - yyv3544 = yyv3544[:0] - yyc3544 = true + yyv3587 := *v + yyh3587, yyl3587 := z.DecSliceHelperStart() + var yyc3587 bool + if yyl3587 == 0 { + if yyv3587 == nil { + yyv3587 = []Capability{} + yyc3587 = true + } else if len(yyv3587) != 0 { + yyv3587 = yyv3587[:0] + yyc3587 = true } - } else if yyl3544 > 0 { - var yyrr3544, yyrl3544 int - var yyrt3544 bool - if yyl3544 > cap(yyv3544) { + } else if yyl3587 > 0 { + var yyrr3587, yyrl3587 int + var yyrt3587 bool + if yyl3587 > cap(yyv3587) { - yyrl3544, yyrt3544 = z.DecInferLen(yyl3544, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3544 { - if yyrl3544 <= cap(yyv3544) { - yyv3544 = yyv3544[:yyrl3544] + yyrl3587, yyrt3587 = z.DecInferLen(yyl3587, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3587 { + if yyrl3587 <= cap(yyv3587) { + yyv3587 = yyv3587[:yyrl3587] } else { - yyv3544 = make([]Capability, yyrl3544) + yyv3587 = make([]Capability, yyrl3587) } } else { - yyv3544 = make([]Capability, yyrl3544) + yyv3587 = make([]Capability, yyrl3587) } - yyc3544 = true - yyrr3544 = len(yyv3544) - } else if yyl3544 != len(yyv3544) { - yyv3544 = yyv3544[:yyl3544] - yyc3544 = true + yyc3587 = true + yyrr3587 = len(yyv3587) + } else if yyl3587 != len(yyv3587) { + yyv3587 = yyv3587[:yyl3587] + yyc3587 = true } - yyj3544 := 0 - for ; yyj3544 < yyrr3544; yyj3544++ { - yyh3544.ElemContainerState(yyj3544) + yyj3587 := 0 + for ; yyj3587 < yyrr3587; yyj3587++ { + yyh3587.ElemContainerState(yyj3587) if r.TryDecodeAsNil() { - yyv3544[yyj3544] = "" + yyv3587[yyj3587] = "" } else { - yyv3544[yyj3544] = Capability(r.DecodeString()) + yyv3587[yyj3587] = Capability(r.DecodeString()) } } - if yyrt3544 { - for ; yyj3544 < yyl3544; yyj3544++ { - yyv3544 = append(yyv3544, "") - yyh3544.ElemContainerState(yyj3544) + if yyrt3587 { + for ; yyj3587 < yyl3587; yyj3587++ { + yyv3587 = append(yyv3587, "") + yyh3587.ElemContainerState(yyj3587) if r.TryDecodeAsNil() { - yyv3544[yyj3544] = "" + yyv3587[yyj3587] = "" } else { - yyv3544[yyj3544] = Capability(r.DecodeString()) + yyv3587[yyj3587] = Capability(r.DecodeString()) } } } } else { - yyj3544 := 0 - for ; !r.CheckBreak(); yyj3544++ { + yyj3587 := 0 + for ; !r.CheckBreak(); yyj3587++ { - if yyj3544 >= len(yyv3544) { - yyv3544 = append(yyv3544, "") // var yyz3544 Capability - yyc3544 = true + if yyj3587 >= len(yyv3587) { + yyv3587 = append(yyv3587, "") // var yyz3587 Capability + yyc3587 = true } - yyh3544.ElemContainerState(yyj3544) - if yyj3544 < len(yyv3544) { + yyh3587.ElemContainerState(yyj3587) + if yyj3587 < len(yyv3587) { if r.TryDecodeAsNil() { - yyv3544[yyj3544] = "" + yyv3587[yyj3587] = "" } else { - yyv3544[yyj3544] = Capability(r.DecodeString()) + yyv3587[yyj3587] = Capability(r.DecodeString()) } } else { @@ -44025,17 +44671,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3544 < len(yyv3544) { - yyv3544 = yyv3544[:yyj3544] - yyc3544 = true - } else if yyj3544 == 0 && yyv3544 == nil { - yyv3544 = []Capability{} - yyc3544 = true + if yyj3587 < len(yyv3587) { + yyv3587 = yyv3587[:yyj3587] + yyc3587 = true + } else if yyj3587 == 0 && yyv3587 == nil { + yyv3587 = []Capability{} + yyc3587 = true } } - yyh3544.End() - if yyc3544 { - *v = yyv3544 + yyh3587.End() + if yyc3587 { + *v = yyv3587 } } @@ -44044,10 +44690,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3548 := range v { + for _, yyv3591 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3549 := &yyv3548 - yy3549.CodecEncodeSelf(e) + yy3592 := &yyv3591 + yy3592.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44057,83 +44703,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3550 := *v - yyh3550, yyl3550 := z.DecSliceHelperStart() - var yyc3550 bool - if yyl3550 == 0 { - if yyv3550 == nil { - yyv3550 = []ContainerPort{} - yyc3550 = true - } else if len(yyv3550) != 0 { - yyv3550 = yyv3550[:0] - yyc3550 = true + yyv3593 := *v + yyh3593, yyl3593 := z.DecSliceHelperStart() + var yyc3593 bool + if yyl3593 == 0 { + if yyv3593 == nil { + yyv3593 = []ContainerPort{} + yyc3593 = true + } else if len(yyv3593) != 0 { + yyv3593 = yyv3593[:0] + yyc3593 = true } - } else if yyl3550 > 0 { - var yyrr3550, yyrl3550 int - var yyrt3550 bool - if yyl3550 > cap(yyv3550) { + } else if yyl3593 > 0 { + var yyrr3593, yyrl3593 int + var yyrt3593 bool + if yyl3593 > cap(yyv3593) { - yyrg3550 := len(yyv3550) > 0 - yyv23550 := yyv3550 - yyrl3550, yyrt3550 = z.DecInferLen(yyl3550, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3550 { - if yyrl3550 <= cap(yyv3550) { - yyv3550 = yyv3550[:yyrl3550] + yyrg3593 := len(yyv3593) > 0 + yyv23593 := yyv3593 + yyrl3593, yyrt3593 = z.DecInferLen(yyl3593, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3593 { + if yyrl3593 <= cap(yyv3593) { + yyv3593 = yyv3593[:yyrl3593] } else { - yyv3550 = make([]ContainerPort, yyrl3550) + yyv3593 = make([]ContainerPort, yyrl3593) } } else { - yyv3550 = make([]ContainerPort, yyrl3550) + yyv3593 = make([]ContainerPort, yyrl3593) } - yyc3550 = true - yyrr3550 = len(yyv3550) - if yyrg3550 { - copy(yyv3550, yyv23550) + yyc3593 = true + yyrr3593 = len(yyv3593) + if yyrg3593 { + copy(yyv3593, yyv23593) } - } else if yyl3550 != len(yyv3550) { - yyv3550 = yyv3550[:yyl3550] - yyc3550 = true + } else if yyl3593 != len(yyv3593) { + yyv3593 = yyv3593[:yyl3593] + yyc3593 = true } - yyj3550 := 0 - for ; yyj3550 < yyrr3550; yyj3550++ { - yyh3550.ElemContainerState(yyj3550) + yyj3593 := 0 + for ; yyj3593 < yyrr3593; yyj3593++ { + yyh3593.ElemContainerState(yyj3593) if r.TryDecodeAsNil() { - yyv3550[yyj3550] = ContainerPort{} + yyv3593[yyj3593] = ContainerPort{} } else { - yyv3551 := &yyv3550[yyj3550] - yyv3551.CodecDecodeSelf(d) + yyv3594 := &yyv3593[yyj3593] + yyv3594.CodecDecodeSelf(d) } } - if yyrt3550 { - for ; yyj3550 < yyl3550; yyj3550++ { - yyv3550 = append(yyv3550, ContainerPort{}) - yyh3550.ElemContainerState(yyj3550) + if yyrt3593 { + for ; yyj3593 < yyl3593; yyj3593++ { + yyv3593 = append(yyv3593, ContainerPort{}) + yyh3593.ElemContainerState(yyj3593) if r.TryDecodeAsNil() { - yyv3550[yyj3550] = ContainerPort{} + yyv3593[yyj3593] = ContainerPort{} } else { - yyv3552 := &yyv3550[yyj3550] - yyv3552.CodecDecodeSelf(d) + yyv3595 := &yyv3593[yyj3593] + yyv3595.CodecDecodeSelf(d) } } } } else { - yyj3550 := 0 - for ; !r.CheckBreak(); yyj3550++ { + yyj3593 := 0 + for ; !r.CheckBreak(); yyj3593++ { - if yyj3550 >= len(yyv3550) { - yyv3550 = append(yyv3550, ContainerPort{}) // var yyz3550 ContainerPort - yyc3550 = true + if yyj3593 >= len(yyv3593) { + yyv3593 = append(yyv3593, ContainerPort{}) // var yyz3593 ContainerPort + yyc3593 = true } - yyh3550.ElemContainerState(yyj3550) - if yyj3550 < len(yyv3550) { + yyh3593.ElemContainerState(yyj3593) + if yyj3593 < len(yyv3593) { if r.TryDecodeAsNil() { - yyv3550[yyj3550] = ContainerPort{} + yyv3593[yyj3593] = ContainerPort{} } else { - yyv3553 := &yyv3550[yyj3550] - yyv3553.CodecDecodeSelf(d) + yyv3596 := &yyv3593[yyj3593] + yyv3596.CodecDecodeSelf(d) } } else { @@ -44141,17 +44787,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3550 < len(yyv3550) { - yyv3550 = yyv3550[:yyj3550] - yyc3550 = true - } else if yyj3550 == 0 && yyv3550 == nil { - yyv3550 = []ContainerPort{} - yyc3550 = true + if yyj3593 < len(yyv3593) { + yyv3593 = yyv3593[:yyj3593] + yyc3593 = true + } else if yyj3593 == 0 && yyv3593 == nil { + yyv3593 = []ContainerPort{} + yyc3593 = true } } - yyh3550.End() - if yyc3550 { - *v = yyv3550 + yyh3593.End() + if yyc3593 { + *v = yyv3593 } } @@ -44160,10 +44806,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3554 := range v { + for _, yyv3597 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3555 := &yyv3554 - yy3555.CodecEncodeSelf(e) + yy3598 := &yyv3597 + yy3598.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44173,83 +44819,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3556 := *v - yyh3556, yyl3556 := z.DecSliceHelperStart() - var yyc3556 bool - if yyl3556 == 0 { - if yyv3556 == nil { - yyv3556 = []EnvVar{} - yyc3556 = true - } else if len(yyv3556) != 0 { - yyv3556 = yyv3556[:0] - yyc3556 = true + yyv3599 := *v + yyh3599, yyl3599 := z.DecSliceHelperStart() + var yyc3599 bool + if yyl3599 == 0 { + if yyv3599 == nil { + yyv3599 = []EnvVar{} + yyc3599 = true + } else if len(yyv3599) != 0 { + yyv3599 = yyv3599[:0] + yyc3599 = true } - } else if yyl3556 > 0 { - var yyrr3556, yyrl3556 int - var yyrt3556 bool - if yyl3556 > cap(yyv3556) { + } else if yyl3599 > 0 { + var yyrr3599, yyrl3599 int + var yyrt3599 bool + if yyl3599 > cap(yyv3599) { - yyrg3556 := len(yyv3556) > 0 - yyv23556 := yyv3556 - yyrl3556, yyrt3556 = z.DecInferLen(yyl3556, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3556 { - if yyrl3556 <= cap(yyv3556) { - yyv3556 = yyv3556[:yyrl3556] + yyrg3599 := len(yyv3599) > 0 + yyv23599 := yyv3599 + yyrl3599, yyrt3599 = z.DecInferLen(yyl3599, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3599 { + if yyrl3599 <= cap(yyv3599) { + yyv3599 = yyv3599[:yyrl3599] } else { - yyv3556 = make([]EnvVar, yyrl3556) + yyv3599 = make([]EnvVar, yyrl3599) } } else { - yyv3556 = make([]EnvVar, yyrl3556) + yyv3599 = make([]EnvVar, yyrl3599) } - yyc3556 = true - yyrr3556 = len(yyv3556) - if yyrg3556 { - copy(yyv3556, yyv23556) + yyc3599 = true + yyrr3599 = len(yyv3599) + if yyrg3599 { + copy(yyv3599, yyv23599) } - } else if yyl3556 != len(yyv3556) { - yyv3556 = yyv3556[:yyl3556] - yyc3556 = true + } else if yyl3599 != len(yyv3599) { + yyv3599 = yyv3599[:yyl3599] + yyc3599 = true } - yyj3556 := 0 - for ; yyj3556 < yyrr3556; yyj3556++ { - yyh3556.ElemContainerState(yyj3556) + yyj3599 := 0 + for ; yyj3599 < yyrr3599; yyj3599++ { + yyh3599.ElemContainerState(yyj3599) if r.TryDecodeAsNil() { - yyv3556[yyj3556] = EnvVar{} + yyv3599[yyj3599] = EnvVar{} } else { - yyv3557 := &yyv3556[yyj3556] - yyv3557.CodecDecodeSelf(d) + yyv3600 := &yyv3599[yyj3599] + yyv3600.CodecDecodeSelf(d) } } - if yyrt3556 { - for ; yyj3556 < yyl3556; yyj3556++ { - yyv3556 = append(yyv3556, EnvVar{}) - yyh3556.ElemContainerState(yyj3556) + if yyrt3599 { + for ; yyj3599 < yyl3599; yyj3599++ { + yyv3599 = append(yyv3599, EnvVar{}) + yyh3599.ElemContainerState(yyj3599) if r.TryDecodeAsNil() { - yyv3556[yyj3556] = EnvVar{} + yyv3599[yyj3599] = EnvVar{} } else { - yyv3558 := &yyv3556[yyj3556] - yyv3558.CodecDecodeSelf(d) + yyv3601 := &yyv3599[yyj3599] + yyv3601.CodecDecodeSelf(d) } } } } else { - yyj3556 := 0 - for ; !r.CheckBreak(); yyj3556++ { + yyj3599 := 0 + for ; !r.CheckBreak(); yyj3599++ { - if yyj3556 >= len(yyv3556) { - yyv3556 = append(yyv3556, EnvVar{}) // var yyz3556 EnvVar - yyc3556 = true + if yyj3599 >= len(yyv3599) { + yyv3599 = append(yyv3599, EnvVar{}) // var yyz3599 EnvVar + yyc3599 = true } - yyh3556.ElemContainerState(yyj3556) - if yyj3556 < len(yyv3556) { + yyh3599.ElemContainerState(yyj3599) + if yyj3599 < len(yyv3599) { if r.TryDecodeAsNil() { - yyv3556[yyj3556] = EnvVar{} + yyv3599[yyj3599] = EnvVar{} } else { - yyv3559 := &yyv3556[yyj3556] - yyv3559.CodecDecodeSelf(d) + yyv3602 := &yyv3599[yyj3599] + yyv3602.CodecDecodeSelf(d) } } else { @@ -44257,17 +44903,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3556 < len(yyv3556) { - yyv3556 = yyv3556[:yyj3556] - yyc3556 = true - } else if yyj3556 == 0 && yyv3556 == nil { - yyv3556 = []EnvVar{} - yyc3556 = true + if yyj3599 < len(yyv3599) { + yyv3599 = yyv3599[:yyj3599] + yyc3599 = true + } else if yyj3599 == 0 && yyv3599 == nil { + yyv3599 = []EnvVar{} + yyc3599 = true } } - yyh3556.End() - if yyc3556 { - *v = yyv3556 + yyh3599.End() + if yyc3599 { + *v = yyv3599 } } @@ -44276,10 +44922,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3560 := range v { + for _, yyv3603 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3561 := &yyv3560 - yy3561.CodecEncodeSelf(e) + yy3604 := &yyv3603 + yy3604.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44289,83 +44935,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3562 := *v - yyh3562, yyl3562 := z.DecSliceHelperStart() - var yyc3562 bool - if yyl3562 == 0 { - if yyv3562 == nil { - yyv3562 = []VolumeMount{} - yyc3562 = true - } else if len(yyv3562) != 0 { - yyv3562 = yyv3562[:0] - yyc3562 = true + yyv3605 := *v + yyh3605, yyl3605 := z.DecSliceHelperStart() + var yyc3605 bool + if yyl3605 == 0 { + if yyv3605 == nil { + yyv3605 = []VolumeMount{} + yyc3605 = true + } else if len(yyv3605) != 0 { + yyv3605 = yyv3605[:0] + yyc3605 = true } - } else if yyl3562 > 0 { - var yyrr3562, yyrl3562 int - var yyrt3562 bool - if yyl3562 > cap(yyv3562) { + } else if yyl3605 > 0 { + var yyrr3605, yyrl3605 int + var yyrt3605 bool + if yyl3605 > cap(yyv3605) { - yyrg3562 := len(yyv3562) > 0 - yyv23562 := yyv3562 - yyrl3562, yyrt3562 = z.DecInferLen(yyl3562, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3562 { - if yyrl3562 <= cap(yyv3562) { - yyv3562 = yyv3562[:yyrl3562] + yyrg3605 := len(yyv3605) > 0 + yyv23605 := yyv3605 + yyrl3605, yyrt3605 = z.DecInferLen(yyl3605, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3605 { + if yyrl3605 <= cap(yyv3605) { + yyv3605 = yyv3605[:yyrl3605] } else { - yyv3562 = make([]VolumeMount, yyrl3562) + yyv3605 = make([]VolumeMount, yyrl3605) } } else { - yyv3562 = make([]VolumeMount, yyrl3562) + yyv3605 = make([]VolumeMount, yyrl3605) } - yyc3562 = true - yyrr3562 = len(yyv3562) - if yyrg3562 { - copy(yyv3562, yyv23562) + yyc3605 = true + yyrr3605 = len(yyv3605) + if yyrg3605 { + copy(yyv3605, yyv23605) } - } else if yyl3562 != len(yyv3562) { - yyv3562 = yyv3562[:yyl3562] - yyc3562 = true + } else if yyl3605 != len(yyv3605) { + yyv3605 = yyv3605[:yyl3605] + yyc3605 = true } - yyj3562 := 0 - for ; yyj3562 < yyrr3562; yyj3562++ { - yyh3562.ElemContainerState(yyj3562) + yyj3605 := 0 + for ; yyj3605 < yyrr3605; yyj3605++ { + yyh3605.ElemContainerState(yyj3605) if r.TryDecodeAsNil() { - yyv3562[yyj3562] = VolumeMount{} + yyv3605[yyj3605] = VolumeMount{} } else { - yyv3563 := &yyv3562[yyj3562] - yyv3563.CodecDecodeSelf(d) + yyv3606 := &yyv3605[yyj3605] + yyv3606.CodecDecodeSelf(d) } } - if yyrt3562 { - for ; yyj3562 < yyl3562; yyj3562++ { - yyv3562 = append(yyv3562, VolumeMount{}) - yyh3562.ElemContainerState(yyj3562) + if yyrt3605 { + for ; yyj3605 < yyl3605; yyj3605++ { + yyv3605 = append(yyv3605, VolumeMount{}) + yyh3605.ElemContainerState(yyj3605) if r.TryDecodeAsNil() { - yyv3562[yyj3562] = VolumeMount{} + yyv3605[yyj3605] = VolumeMount{} } else { - yyv3564 := &yyv3562[yyj3562] - yyv3564.CodecDecodeSelf(d) + yyv3607 := &yyv3605[yyj3605] + yyv3607.CodecDecodeSelf(d) } } } } else { - yyj3562 := 0 - for ; !r.CheckBreak(); yyj3562++ { + yyj3605 := 0 + for ; !r.CheckBreak(); yyj3605++ { - if yyj3562 >= len(yyv3562) { - yyv3562 = append(yyv3562, VolumeMount{}) // var yyz3562 VolumeMount - yyc3562 = true + if yyj3605 >= len(yyv3605) { + yyv3605 = append(yyv3605, VolumeMount{}) // var yyz3605 VolumeMount + yyc3605 = true } - yyh3562.ElemContainerState(yyj3562) - if yyj3562 < len(yyv3562) { + yyh3605.ElemContainerState(yyj3605) + if yyj3605 < len(yyv3605) { if r.TryDecodeAsNil() { - yyv3562[yyj3562] = VolumeMount{} + yyv3605[yyj3605] = VolumeMount{} } else { - yyv3565 := &yyv3562[yyj3562] - yyv3565.CodecDecodeSelf(d) + yyv3608 := &yyv3605[yyj3605] + yyv3608.CodecDecodeSelf(d) } } else { @@ -44373,17 +45019,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3562 < len(yyv3562) { - yyv3562 = yyv3562[:yyj3562] - yyc3562 = true - } else if yyj3562 == 0 && yyv3562 == nil { - yyv3562 = []VolumeMount{} - yyc3562 = true + if yyj3605 < len(yyv3605) { + yyv3605 = yyv3605[:yyj3605] + yyc3605 = true + } else if yyj3605 == 0 && yyv3605 == nil { + yyv3605 = []VolumeMount{} + yyc3605 = true } } - yyh3562.End() - if yyc3562 { - *v = yyv3562 + yyh3605.End() + if yyc3605 { + *v = yyv3605 } } @@ -44392,10 +45038,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3566 := range v { + for _, yyv3609 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3567 := &yyv3566 - yy3567.CodecEncodeSelf(e) + yy3610 := &yyv3609 + yy3610.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44405,83 +45051,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3568 := *v - yyh3568, yyl3568 := z.DecSliceHelperStart() - var yyc3568 bool - if yyl3568 == 0 { - if yyv3568 == nil { - yyv3568 = []Volume{} - yyc3568 = true - } else if len(yyv3568) != 0 { - yyv3568 = yyv3568[:0] - yyc3568 = true + yyv3611 := *v + yyh3611, yyl3611 := z.DecSliceHelperStart() + var yyc3611 bool + if yyl3611 == 0 { + if yyv3611 == nil { + yyv3611 = []Volume{} + yyc3611 = true + } else if len(yyv3611) != 0 { + yyv3611 = yyv3611[:0] + yyc3611 = true } - } else if yyl3568 > 0 { - var yyrr3568, yyrl3568 int - var yyrt3568 bool - if yyl3568 > cap(yyv3568) { + } else if yyl3611 > 0 { + var yyrr3611, yyrl3611 int + var yyrt3611 bool + if yyl3611 > cap(yyv3611) { - yyrg3568 := len(yyv3568) > 0 - yyv23568 := yyv3568 - yyrl3568, yyrt3568 = z.DecInferLen(yyl3568, z.DecBasicHandle().MaxInitLen, 144) - if yyrt3568 { - if yyrl3568 <= cap(yyv3568) { - yyv3568 = yyv3568[:yyrl3568] + yyrg3611 := len(yyv3611) > 0 + yyv23611 := yyv3611 + yyrl3611, yyrt3611 = z.DecInferLen(yyl3611, z.DecBasicHandle().MaxInitLen, 152) + if yyrt3611 { + if yyrl3611 <= cap(yyv3611) { + yyv3611 = yyv3611[:yyrl3611] } else { - yyv3568 = make([]Volume, yyrl3568) + yyv3611 = make([]Volume, yyrl3611) } } else { - yyv3568 = make([]Volume, yyrl3568) + yyv3611 = make([]Volume, yyrl3611) } - yyc3568 = true - yyrr3568 = len(yyv3568) - if yyrg3568 { - copy(yyv3568, yyv23568) + yyc3611 = true + yyrr3611 = len(yyv3611) + if yyrg3611 { + copy(yyv3611, yyv23611) } - } else if yyl3568 != len(yyv3568) { - yyv3568 = yyv3568[:yyl3568] - yyc3568 = true + } else if yyl3611 != len(yyv3611) { + yyv3611 = yyv3611[:yyl3611] + yyc3611 = true } - yyj3568 := 0 - for ; yyj3568 < yyrr3568; yyj3568++ { - yyh3568.ElemContainerState(yyj3568) + yyj3611 := 0 + for ; yyj3611 < yyrr3611; yyj3611++ { + yyh3611.ElemContainerState(yyj3611) if r.TryDecodeAsNil() { - yyv3568[yyj3568] = Volume{} + yyv3611[yyj3611] = Volume{} } else { - yyv3569 := &yyv3568[yyj3568] - yyv3569.CodecDecodeSelf(d) + yyv3612 := &yyv3611[yyj3611] + yyv3612.CodecDecodeSelf(d) } } - if yyrt3568 { - for ; yyj3568 < yyl3568; yyj3568++ { - yyv3568 = append(yyv3568, Volume{}) - yyh3568.ElemContainerState(yyj3568) + if yyrt3611 { + for ; yyj3611 < yyl3611; yyj3611++ { + yyv3611 = append(yyv3611, Volume{}) + yyh3611.ElemContainerState(yyj3611) if r.TryDecodeAsNil() { - yyv3568[yyj3568] = Volume{} + yyv3611[yyj3611] = Volume{} } else { - yyv3570 := &yyv3568[yyj3568] - yyv3570.CodecDecodeSelf(d) + yyv3613 := &yyv3611[yyj3611] + yyv3613.CodecDecodeSelf(d) } } } } else { - yyj3568 := 0 - for ; !r.CheckBreak(); yyj3568++ { + yyj3611 := 0 + for ; !r.CheckBreak(); yyj3611++ { - if yyj3568 >= len(yyv3568) { - yyv3568 = append(yyv3568, Volume{}) // var yyz3568 Volume - yyc3568 = true + if yyj3611 >= len(yyv3611) { + yyv3611 = append(yyv3611, Volume{}) // var yyz3611 Volume + yyc3611 = true } - yyh3568.ElemContainerState(yyj3568) - if yyj3568 < len(yyv3568) { + yyh3611.ElemContainerState(yyj3611) + if yyj3611 < len(yyv3611) { if r.TryDecodeAsNil() { - yyv3568[yyj3568] = Volume{} + yyv3611[yyj3611] = Volume{} } else { - yyv3571 := &yyv3568[yyj3568] - yyv3571.CodecDecodeSelf(d) + yyv3614 := &yyv3611[yyj3611] + yyv3614.CodecDecodeSelf(d) } } else { @@ -44489,17 +45135,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3568 < len(yyv3568) { - yyv3568 = yyv3568[:yyj3568] - yyc3568 = true - } else if yyj3568 == 0 && yyv3568 == nil { - yyv3568 = []Volume{} - yyc3568 = true + if yyj3611 < len(yyv3611) { + yyv3611 = yyv3611[:yyj3611] + yyc3611 = true + } else if yyj3611 == 0 && yyv3611 == nil { + yyv3611 = []Volume{} + yyc3611 = true } } - yyh3568.End() - if yyc3568 { - *v = yyv3568 + yyh3611.End() + if yyc3611 { + *v = yyv3611 } } @@ -44508,10 +45154,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3572 := range v { + for _, yyv3615 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3573 := &yyv3572 - yy3573.CodecEncodeSelf(e) + yy3616 := &yyv3615 + yy3616.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44521,83 +45167,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3574 := *v - yyh3574, yyl3574 := z.DecSliceHelperStart() - var yyc3574 bool - if yyl3574 == 0 { - if yyv3574 == nil { - yyv3574 = []Container{} - yyc3574 = true - } else if len(yyv3574) != 0 { - yyv3574 = yyv3574[:0] - yyc3574 = true + yyv3617 := *v + yyh3617, yyl3617 := z.DecSliceHelperStart() + var yyc3617 bool + if yyl3617 == 0 { + if yyv3617 == nil { + yyv3617 = []Container{} + yyc3617 = true + } else if len(yyv3617) != 0 { + yyv3617 = yyv3617[:0] + yyc3617 = true } - } else if yyl3574 > 0 { - var yyrr3574, yyrl3574 int - var yyrt3574 bool - if yyl3574 > cap(yyv3574) { + } else if yyl3617 > 0 { + var yyrr3617, yyrl3617 int + var yyrt3617 bool + if yyl3617 > cap(yyv3617) { - yyrg3574 := len(yyv3574) > 0 - yyv23574 := yyv3574 - yyrl3574, yyrt3574 = z.DecInferLen(yyl3574, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3574 { - if yyrl3574 <= cap(yyv3574) { - yyv3574 = yyv3574[:yyrl3574] + yyrg3617 := len(yyv3617) > 0 + yyv23617 := yyv3617 + yyrl3617, yyrt3617 = z.DecInferLen(yyl3617, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3617 { + if yyrl3617 <= cap(yyv3617) { + yyv3617 = yyv3617[:yyrl3617] } else { - yyv3574 = make([]Container, yyrl3574) + yyv3617 = make([]Container, yyrl3617) } } else { - yyv3574 = make([]Container, yyrl3574) + yyv3617 = make([]Container, yyrl3617) } - yyc3574 = true - yyrr3574 = len(yyv3574) - if yyrg3574 { - copy(yyv3574, yyv23574) + yyc3617 = true + yyrr3617 = len(yyv3617) + if yyrg3617 { + copy(yyv3617, yyv23617) } - } else if yyl3574 != len(yyv3574) { - yyv3574 = yyv3574[:yyl3574] - yyc3574 = true + } else if yyl3617 != len(yyv3617) { + yyv3617 = yyv3617[:yyl3617] + yyc3617 = true } - yyj3574 := 0 - for ; yyj3574 < yyrr3574; yyj3574++ { - yyh3574.ElemContainerState(yyj3574) + yyj3617 := 0 + for ; yyj3617 < yyrr3617; yyj3617++ { + yyh3617.ElemContainerState(yyj3617) if r.TryDecodeAsNil() { - yyv3574[yyj3574] = Container{} + yyv3617[yyj3617] = Container{} } else { - yyv3575 := &yyv3574[yyj3574] - yyv3575.CodecDecodeSelf(d) + yyv3618 := &yyv3617[yyj3617] + yyv3618.CodecDecodeSelf(d) } } - if yyrt3574 { - for ; yyj3574 < yyl3574; yyj3574++ { - yyv3574 = append(yyv3574, Container{}) - yyh3574.ElemContainerState(yyj3574) + if yyrt3617 { + for ; yyj3617 < yyl3617; yyj3617++ { + yyv3617 = append(yyv3617, Container{}) + yyh3617.ElemContainerState(yyj3617) if r.TryDecodeAsNil() { - yyv3574[yyj3574] = Container{} + yyv3617[yyj3617] = Container{} } else { - yyv3576 := &yyv3574[yyj3574] - yyv3576.CodecDecodeSelf(d) + yyv3619 := &yyv3617[yyj3617] + yyv3619.CodecDecodeSelf(d) } } } } else { - yyj3574 := 0 - for ; !r.CheckBreak(); yyj3574++ { + yyj3617 := 0 + for ; !r.CheckBreak(); yyj3617++ { - if yyj3574 >= len(yyv3574) { - yyv3574 = append(yyv3574, Container{}) // var yyz3574 Container - yyc3574 = true + if yyj3617 >= len(yyv3617) { + yyv3617 = append(yyv3617, Container{}) // var yyz3617 Container + yyc3617 = true } - yyh3574.ElemContainerState(yyj3574) - if yyj3574 < len(yyv3574) { + yyh3617.ElemContainerState(yyj3617) + if yyj3617 < len(yyv3617) { if r.TryDecodeAsNil() { - yyv3574[yyj3574] = Container{} + yyv3617[yyj3617] = Container{} } else { - yyv3577 := &yyv3574[yyj3574] - yyv3577.CodecDecodeSelf(d) + yyv3620 := &yyv3617[yyj3617] + yyv3620.CodecDecodeSelf(d) } } else { @@ -44605,17 +45251,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3574 < len(yyv3574) { - yyv3574 = yyv3574[:yyj3574] - yyc3574 = true - } else if yyj3574 == 0 && yyv3574 == nil { - yyv3574 = []Container{} - yyc3574 = true + if yyj3617 < len(yyv3617) { + yyv3617 = yyv3617[:yyj3617] + yyc3617 = true + } else if yyj3617 == 0 && yyv3617 == nil { + yyv3617 = []Container{} + yyc3617 = true } } - yyh3574.End() - if yyc3574 { - *v = yyv3574 + yyh3617.End() + if yyc3617 { + *v = yyv3617 } } @@ -44624,10 +45270,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3578 := range v { + for _, yyv3621 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3579 := &yyv3578 - yy3579.CodecEncodeSelf(e) + yy3622 := &yyv3621 + yy3622.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44637,83 +45283,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3580 := *v - yyh3580, yyl3580 := z.DecSliceHelperStart() - var yyc3580 bool - if yyl3580 == 0 { - if yyv3580 == nil { - yyv3580 = []LocalObjectReference{} - yyc3580 = true - } else if len(yyv3580) != 0 { - yyv3580 = yyv3580[:0] - yyc3580 = true + yyv3623 := *v + yyh3623, yyl3623 := z.DecSliceHelperStart() + var yyc3623 bool + if yyl3623 == 0 { + if yyv3623 == nil { + yyv3623 = []LocalObjectReference{} + yyc3623 = true + } else if len(yyv3623) != 0 { + yyv3623 = yyv3623[:0] + yyc3623 = true } - } else if yyl3580 > 0 { - var yyrr3580, yyrl3580 int - var yyrt3580 bool - if yyl3580 > cap(yyv3580) { + } else if yyl3623 > 0 { + var yyrr3623, yyrl3623 int + var yyrt3623 bool + if yyl3623 > cap(yyv3623) { - yyrg3580 := len(yyv3580) > 0 - yyv23580 := yyv3580 - yyrl3580, yyrt3580 = z.DecInferLen(yyl3580, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3580 { - if yyrl3580 <= cap(yyv3580) { - yyv3580 = yyv3580[:yyrl3580] + yyrg3623 := len(yyv3623) > 0 + yyv23623 := yyv3623 + yyrl3623, yyrt3623 = z.DecInferLen(yyl3623, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3623 { + if yyrl3623 <= cap(yyv3623) { + yyv3623 = yyv3623[:yyrl3623] } else { - yyv3580 = make([]LocalObjectReference, yyrl3580) + yyv3623 = make([]LocalObjectReference, yyrl3623) } } else { - yyv3580 = make([]LocalObjectReference, yyrl3580) + yyv3623 = make([]LocalObjectReference, yyrl3623) } - yyc3580 = true - yyrr3580 = len(yyv3580) - if yyrg3580 { - copy(yyv3580, yyv23580) + yyc3623 = true + yyrr3623 = len(yyv3623) + if yyrg3623 { + copy(yyv3623, yyv23623) } - } else if yyl3580 != len(yyv3580) { - yyv3580 = yyv3580[:yyl3580] - yyc3580 = true + } else if yyl3623 != len(yyv3623) { + yyv3623 = yyv3623[:yyl3623] + yyc3623 = true } - yyj3580 := 0 - for ; yyj3580 < yyrr3580; yyj3580++ { - yyh3580.ElemContainerState(yyj3580) + yyj3623 := 0 + for ; yyj3623 < yyrr3623; yyj3623++ { + yyh3623.ElemContainerState(yyj3623) if r.TryDecodeAsNil() { - yyv3580[yyj3580] = LocalObjectReference{} + yyv3623[yyj3623] = LocalObjectReference{} } else { - yyv3581 := &yyv3580[yyj3580] - yyv3581.CodecDecodeSelf(d) + yyv3624 := &yyv3623[yyj3623] + yyv3624.CodecDecodeSelf(d) } } - if yyrt3580 { - for ; yyj3580 < yyl3580; yyj3580++ { - yyv3580 = append(yyv3580, LocalObjectReference{}) - yyh3580.ElemContainerState(yyj3580) + if yyrt3623 { + for ; yyj3623 < yyl3623; yyj3623++ { + yyv3623 = append(yyv3623, LocalObjectReference{}) + yyh3623.ElemContainerState(yyj3623) if r.TryDecodeAsNil() { - yyv3580[yyj3580] = LocalObjectReference{} + yyv3623[yyj3623] = LocalObjectReference{} } else { - yyv3582 := &yyv3580[yyj3580] - yyv3582.CodecDecodeSelf(d) + yyv3625 := &yyv3623[yyj3623] + yyv3625.CodecDecodeSelf(d) } } } } else { - yyj3580 := 0 - for ; !r.CheckBreak(); yyj3580++ { + yyj3623 := 0 + for ; !r.CheckBreak(); yyj3623++ { - if yyj3580 >= len(yyv3580) { - yyv3580 = append(yyv3580, LocalObjectReference{}) // var yyz3580 LocalObjectReference - yyc3580 = true + if yyj3623 >= len(yyv3623) { + yyv3623 = append(yyv3623, LocalObjectReference{}) // var yyz3623 LocalObjectReference + yyc3623 = true } - yyh3580.ElemContainerState(yyj3580) - if yyj3580 < len(yyv3580) { + yyh3623.ElemContainerState(yyj3623) + if yyj3623 < len(yyv3623) { if r.TryDecodeAsNil() { - yyv3580[yyj3580] = LocalObjectReference{} + yyv3623[yyj3623] = LocalObjectReference{} } else { - yyv3583 := &yyv3580[yyj3580] - yyv3583.CodecDecodeSelf(d) + yyv3626 := &yyv3623[yyj3623] + yyv3626.CodecDecodeSelf(d) } } else { @@ -44721,17 +45367,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3580 < len(yyv3580) { - yyv3580 = yyv3580[:yyj3580] - yyc3580 = true - } else if yyj3580 == 0 && yyv3580 == nil { - yyv3580 = []LocalObjectReference{} - yyc3580 = true + if yyj3623 < len(yyv3623) { + yyv3623 = yyv3623[:yyj3623] + yyc3623 = true + } else if yyj3623 == 0 && yyv3623 == nil { + yyv3623 = []LocalObjectReference{} + yyc3623 = true } } - yyh3580.End() - if yyc3580 { - *v = yyv3580 + yyh3623.End() + if yyc3623 { + *v = yyv3623 } } @@ -44740,10 +45386,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3584 := range v { + for _, yyv3627 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3585 := &yyv3584 - yy3585.CodecEncodeSelf(e) + yy3628 := &yyv3627 + yy3628.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44753,83 +45399,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3586 := *v - yyh3586, yyl3586 := z.DecSliceHelperStart() - var yyc3586 bool - if yyl3586 == 0 { - if yyv3586 == nil { - yyv3586 = []PodCondition{} - yyc3586 = true - } else if len(yyv3586) != 0 { - yyv3586 = yyv3586[:0] - yyc3586 = true + yyv3629 := *v + yyh3629, yyl3629 := z.DecSliceHelperStart() + var yyc3629 bool + if yyl3629 == 0 { + if yyv3629 == nil { + yyv3629 = []PodCondition{} + yyc3629 = true + } else if len(yyv3629) != 0 { + yyv3629 = yyv3629[:0] + yyc3629 = true } - } else if yyl3586 > 0 { - var yyrr3586, yyrl3586 int - var yyrt3586 bool - if yyl3586 > cap(yyv3586) { + } else if yyl3629 > 0 { + var yyrr3629, yyrl3629 int + var yyrt3629 bool + if yyl3629 > cap(yyv3629) { - yyrg3586 := len(yyv3586) > 0 - yyv23586 := yyv3586 - yyrl3586, yyrt3586 = z.DecInferLen(yyl3586, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3586 { - if yyrl3586 <= cap(yyv3586) { - yyv3586 = yyv3586[:yyrl3586] + yyrg3629 := len(yyv3629) > 0 + yyv23629 := yyv3629 + yyrl3629, yyrt3629 = z.DecInferLen(yyl3629, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3629 { + if yyrl3629 <= cap(yyv3629) { + yyv3629 = yyv3629[:yyrl3629] } else { - yyv3586 = make([]PodCondition, yyrl3586) + yyv3629 = make([]PodCondition, yyrl3629) } } else { - yyv3586 = make([]PodCondition, yyrl3586) + yyv3629 = make([]PodCondition, yyrl3629) } - yyc3586 = true - yyrr3586 = len(yyv3586) - if yyrg3586 { - copy(yyv3586, yyv23586) + yyc3629 = true + yyrr3629 = len(yyv3629) + if yyrg3629 { + copy(yyv3629, yyv23629) } - } else if yyl3586 != len(yyv3586) { - yyv3586 = yyv3586[:yyl3586] - yyc3586 = true + } else if yyl3629 != len(yyv3629) { + yyv3629 = yyv3629[:yyl3629] + yyc3629 = true } - yyj3586 := 0 - for ; yyj3586 < yyrr3586; yyj3586++ { - yyh3586.ElemContainerState(yyj3586) + yyj3629 := 0 + for ; yyj3629 < yyrr3629; yyj3629++ { + yyh3629.ElemContainerState(yyj3629) if r.TryDecodeAsNil() { - yyv3586[yyj3586] = PodCondition{} + yyv3629[yyj3629] = PodCondition{} } else { - yyv3587 := &yyv3586[yyj3586] - yyv3587.CodecDecodeSelf(d) + yyv3630 := &yyv3629[yyj3629] + yyv3630.CodecDecodeSelf(d) } } - if yyrt3586 { - for ; yyj3586 < yyl3586; yyj3586++ { - yyv3586 = append(yyv3586, PodCondition{}) - yyh3586.ElemContainerState(yyj3586) + if yyrt3629 { + for ; yyj3629 < yyl3629; yyj3629++ { + yyv3629 = append(yyv3629, PodCondition{}) + yyh3629.ElemContainerState(yyj3629) if r.TryDecodeAsNil() { - yyv3586[yyj3586] = PodCondition{} + yyv3629[yyj3629] = PodCondition{} } else { - yyv3588 := &yyv3586[yyj3586] - yyv3588.CodecDecodeSelf(d) + yyv3631 := &yyv3629[yyj3629] + yyv3631.CodecDecodeSelf(d) } } } } else { - yyj3586 := 0 - for ; !r.CheckBreak(); yyj3586++ { + yyj3629 := 0 + for ; !r.CheckBreak(); yyj3629++ { - if yyj3586 >= len(yyv3586) { - yyv3586 = append(yyv3586, PodCondition{}) // var yyz3586 PodCondition - yyc3586 = true + if yyj3629 >= len(yyv3629) { + yyv3629 = append(yyv3629, PodCondition{}) // var yyz3629 PodCondition + yyc3629 = true } - yyh3586.ElemContainerState(yyj3586) - if yyj3586 < len(yyv3586) { + yyh3629.ElemContainerState(yyj3629) + if yyj3629 < len(yyv3629) { if r.TryDecodeAsNil() { - yyv3586[yyj3586] = PodCondition{} + yyv3629[yyj3629] = PodCondition{} } else { - yyv3589 := &yyv3586[yyj3586] - yyv3589.CodecDecodeSelf(d) + yyv3632 := &yyv3629[yyj3629] + yyv3632.CodecDecodeSelf(d) } } else { @@ -44837,17 +45483,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3586 < len(yyv3586) { - yyv3586 = yyv3586[:yyj3586] - yyc3586 = true - } else if yyj3586 == 0 && yyv3586 == nil { - yyv3586 = []PodCondition{} - yyc3586 = true + if yyj3629 < len(yyv3629) { + yyv3629 = yyv3629[:yyj3629] + yyc3629 = true + } else if yyj3629 == 0 && yyv3629 == nil { + yyv3629 = []PodCondition{} + yyc3629 = true } } - yyh3586.End() - if yyc3586 { - *v = yyv3586 + yyh3629.End() + if yyc3629 { + *v = yyv3629 } } @@ -44856,10 +45502,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3590 := range v { + for _, yyv3633 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3591 := &yyv3590 - yy3591.CodecEncodeSelf(e) + yy3634 := &yyv3633 + yy3634.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44869,83 +45515,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3592 := *v - yyh3592, yyl3592 := z.DecSliceHelperStart() - var yyc3592 bool - if yyl3592 == 0 { - if yyv3592 == nil { - yyv3592 = []ContainerStatus{} - yyc3592 = true - } else if len(yyv3592) != 0 { - yyv3592 = yyv3592[:0] - yyc3592 = true + yyv3635 := *v + yyh3635, yyl3635 := z.DecSliceHelperStart() + var yyc3635 bool + if yyl3635 == 0 { + if yyv3635 == nil { + yyv3635 = []ContainerStatus{} + yyc3635 = true + } else if len(yyv3635) != 0 { + yyv3635 = yyv3635[:0] + yyc3635 = true } - } else if yyl3592 > 0 { - var yyrr3592, yyrl3592 int - var yyrt3592 bool - if yyl3592 > cap(yyv3592) { + } else if yyl3635 > 0 { + var yyrr3635, yyrl3635 int + var yyrt3635 bool + if yyl3635 > cap(yyv3635) { - yyrg3592 := len(yyv3592) > 0 - yyv23592 := yyv3592 - yyrl3592, yyrt3592 = z.DecInferLen(yyl3592, z.DecBasicHandle().MaxInitLen, 120) - if yyrt3592 { - if yyrl3592 <= cap(yyv3592) { - yyv3592 = yyv3592[:yyrl3592] + yyrg3635 := len(yyv3635) > 0 + yyv23635 := yyv3635 + yyrl3635, yyrt3635 = z.DecInferLen(yyl3635, z.DecBasicHandle().MaxInitLen, 120) + if yyrt3635 { + if yyrl3635 <= cap(yyv3635) { + yyv3635 = yyv3635[:yyrl3635] } else { - yyv3592 = make([]ContainerStatus, yyrl3592) + yyv3635 = make([]ContainerStatus, yyrl3635) } } else { - yyv3592 = make([]ContainerStatus, yyrl3592) + yyv3635 = make([]ContainerStatus, yyrl3635) } - yyc3592 = true - yyrr3592 = len(yyv3592) - if yyrg3592 { - copy(yyv3592, yyv23592) + yyc3635 = true + yyrr3635 = len(yyv3635) + if yyrg3635 { + copy(yyv3635, yyv23635) } - } else if yyl3592 != len(yyv3592) { - yyv3592 = yyv3592[:yyl3592] - yyc3592 = true + } else if yyl3635 != len(yyv3635) { + yyv3635 = yyv3635[:yyl3635] + yyc3635 = true } - yyj3592 := 0 - for ; yyj3592 < yyrr3592; yyj3592++ { - yyh3592.ElemContainerState(yyj3592) + yyj3635 := 0 + for ; yyj3635 < yyrr3635; yyj3635++ { + yyh3635.ElemContainerState(yyj3635) if r.TryDecodeAsNil() { - yyv3592[yyj3592] = ContainerStatus{} + yyv3635[yyj3635] = ContainerStatus{} } else { - yyv3593 := &yyv3592[yyj3592] - yyv3593.CodecDecodeSelf(d) + yyv3636 := &yyv3635[yyj3635] + yyv3636.CodecDecodeSelf(d) } } - if yyrt3592 { - for ; yyj3592 < yyl3592; yyj3592++ { - yyv3592 = append(yyv3592, ContainerStatus{}) - yyh3592.ElemContainerState(yyj3592) + if yyrt3635 { + for ; yyj3635 < yyl3635; yyj3635++ { + yyv3635 = append(yyv3635, ContainerStatus{}) + yyh3635.ElemContainerState(yyj3635) if r.TryDecodeAsNil() { - yyv3592[yyj3592] = ContainerStatus{} + yyv3635[yyj3635] = ContainerStatus{} } else { - yyv3594 := &yyv3592[yyj3592] - yyv3594.CodecDecodeSelf(d) + yyv3637 := &yyv3635[yyj3635] + yyv3637.CodecDecodeSelf(d) } } } } else { - yyj3592 := 0 - for ; !r.CheckBreak(); yyj3592++ { + yyj3635 := 0 + for ; !r.CheckBreak(); yyj3635++ { - if yyj3592 >= len(yyv3592) { - yyv3592 = append(yyv3592, ContainerStatus{}) // var yyz3592 ContainerStatus - yyc3592 = true + if yyj3635 >= len(yyv3635) { + yyv3635 = append(yyv3635, ContainerStatus{}) // var yyz3635 ContainerStatus + yyc3635 = true } - yyh3592.ElemContainerState(yyj3592) - if yyj3592 < len(yyv3592) { + yyh3635.ElemContainerState(yyj3635) + if yyj3635 < len(yyv3635) { if r.TryDecodeAsNil() { - yyv3592[yyj3592] = ContainerStatus{} + yyv3635[yyj3635] = ContainerStatus{} } else { - yyv3595 := &yyv3592[yyj3592] - yyv3595.CodecDecodeSelf(d) + yyv3638 := &yyv3635[yyj3635] + yyv3638.CodecDecodeSelf(d) } } else { @@ -44953,17 +45599,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3592 < len(yyv3592) { - yyv3592 = yyv3592[:yyj3592] - yyc3592 = true - } else if yyj3592 == 0 && yyv3592 == nil { - yyv3592 = []ContainerStatus{} - yyc3592 = true + if yyj3635 < len(yyv3635) { + yyv3635 = yyv3635[:yyj3635] + yyc3635 = true + } else if yyj3635 == 0 && yyv3635 == nil { + yyv3635 = []ContainerStatus{} + yyc3635 = true } } - yyh3592.End() - if yyc3592 { - *v = yyv3592 + yyh3635.End() + if yyc3635 { + *v = yyv3635 } } @@ -44972,10 +45618,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3596 := range v { + for _, yyv3639 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3597 := &yyv3596 - yy3597.CodecEncodeSelf(e) + yy3640 := &yyv3639 + yy3640.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44985,83 +45631,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3598 := *v - yyh3598, yyl3598 := z.DecSliceHelperStart() - var yyc3598 bool - if yyl3598 == 0 { - if yyv3598 == nil { - yyv3598 = []Pod{} - yyc3598 = true - } else if len(yyv3598) != 0 { - yyv3598 = yyv3598[:0] - yyc3598 = true + yyv3641 := *v + yyh3641, yyl3641 := z.DecSliceHelperStart() + var yyc3641 bool + if yyl3641 == 0 { + if yyv3641 == nil { + yyv3641 = []Pod{} + yyc3641 = true + } else if len(yyv3641) != 0 { + yyv3641 = yyv3641[:0] + yyc3641 = true } - } else if yyl3598 > 0 { - var yyrr3598, yyrl3598 int - var yyrt3598 bool - if yyl3598 > cap(yyv3598) { + } else if yyl3641 > 0 { + var yyrr3641, yyrl3641 int + var yyrt3641 bool + if yyl3641 > cap(yyv3641) { - yyrg3598 := len(yyv3598) > 0 - yyv23598 := yyv3598 - yyrl3598, yyrt3598 = z.DecInferLen(yyl3598, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3598 { - if yyrl3598 <= cap(yyv3598) { - yyv3598 = yyv3598[:yyrl3598] + yyrg3641 := len(yyv3641) > 0 + yyv23641 := yyv3641 + yyrl3641, yyrt3641 = z.DecInferLen(yyl3641, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3641 { + if yyrl3641 <= cap(yyv3641) { + yyv3641 = yyv3641[:yyrl3641] } else { - yyv3598 = make([]Pod, yyrl3598) + yyv3641 = make([]Pod, yyrl3641) } } else { - yyv3598 = make([]Pod, yyrl3598) + yyv3641 = make([]Pod, yyrl3641) } - yyc3598 = true - yyrr3598 = len(yyv3598) - if yyrg3598 { - copy(yyv3598, yyv23598) + yyc3641 = true + yyrr3641 = len(yyv3641) + if yyrg3641 { + copy(yyv3641, yyv23641) } - } else if yyl3598 != len(yyv3598) { - yyv3598 = yyv3598[:yyl3598] - yyc3598 = true + } else if yyl3641 != len(yyv3641) { + yyv3641 = yyv3641[:yyl3641] + yyc3641 = true } - yyj3598 := 0 - for ; yyj3598 < yyrr3598; yyj3598++ { - yyh3598.ElemContainerState(yyj3598) + yyj3641 := 0 + for ; yyj3641 < yyrr3641; yyj3641++ { + yyh3641.ElemContainerState(yyj3641) if r.TryDecodeAsNil() { - yyv3598[yyj3598] = Pod{} + yyv3641[yyj3641] = Pod{} } else { - yyv3599 := &yyv3598[yyj3598] - yyv3599.CodecDecodeSelf(d) + yyv3642 := &yyv3641[yyj3641] + yyv3642.CodecDecodeSelf(d) } } - if yyrt3598 { - for ; yyj3598 < yyl3598; yyj3598++ { - yyv3598 = append(yyv3598, Pod{}) - yyh3598.ElemContainerState(yyj3598) + if yyrt3641 { + for ; yyj3641 < yyl3641; yyj3641++ { + yyv3641 = append(yyv3641, Pod{}) + yyh3641.ElemContainerState(yyj3641) if r.TryDecodeAsNil() { - yyv3598[yyj3598] = Pod{} + yyv3641[yyj3641] = Pod{} } else { - yyv3600 := &yyv3598[yyj3598] - yyv3600.CodecDecodeSelf(d) + yyv3643 := &yyv3641[yyj3641] + yyv3643.CodecDecodeSelf(d) } } } } else { - yyj3598 := 0 - for ; !r.CheckBreak(); yyj3598++ { + yyj3641 := 0 + for ; !r.CheckBreak(); yyj3641++ { - if yyj3598 >= len(yyv3598) { - yyv3598 = append(yyv3598, Pod{}) // var yyz3598 Pod - yyc3598 = true + if yyj3641 >= len(yyv3641) { + yyv3641 = append(yyv3641, Pod{}) // var yyz3641 Pod + yyc3641 = true } - yyh3598.ElemContainerState(yyj3598) - if yyj3598 < len(yyv3598) { + yyh3641.ElemContainerState(yyj3641) + if yyj3641 < len(yyv3641) { if r.TryDecodeAsNil() { - yyv3598[yyj3598] = Pod{} + yyv3641[yyj3641] = Pod{} } else { - yyv3601 := &yyv3598[yyj3598] - yyv3601.CodecDecodeSelf(d) + yyv3644 := &yyv3641[yyj3641] + yyv3644.CodecDecodeSelf(d) } } else { @@ -45069,17 +45715,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3598 < len(yyv3598) { - yyv3598 = yyv3598[:yyj3598] - yyc3598 = true - } else if yyj3598 == 0 && yyv3598 == nil { - yyv3598 = []Pod{} - yyc3598 = true + if yyj3641 < len(yyv3641) { + yyv3641 = yyv3641[:yyj3641] + yyc3641 = true + } else if yyj3641 == 0 && yyv3641 == nil { + yyv3641 = []Pod{} + yyc3641 = true } } - yyh3598.End() - if yyc3598 { - *v = yyv3598 + yyh3641.End() + if yyc3641 { + *v = yyv3641 } } @@ -45088,10 +45734,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3602 := range v { + for _, yyv3645 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3603 := &yyv3602 - yy3603.CodecEncodeSelf(e) + yy3646 := &yyv3645 + yy3646.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45101,83 +45747,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3604 := *v - yyh3604, yyl3604 := z.DecSliceHelperStart() - var yyc3604 bool - if yyl3604 == 0 { - if yyv3604 == nil { - yyv3604 = []PodTemplate{} - yyc3604 = true - } else if len(yyv3604) != 0 { - yyv3604 = yyv3604[:0] - yyc3604 = true + yyv3647 := *v + yyh3647, yyl3647 := z.DecSliceHelperStart() + var yyc3647 bool + if yyl3647 == 0 { + if yyv3647 == nil { + yyv3647 = []PodTemplate{} + yyc3647 = true + } else if len(yyv3647) != 0 { + yyv3647 = yyv3647[:0] + yyc3647 = true } - } else if yyl3604 > 0 { - var yyrr3604, yyrl3604 int - var yyrt3604 bool - if yyl3604 > cap(yyv3604) { + } else if yyl3647 > 0 { + var yyrr3647, yyrl3647 int + var yyrt3647 bool + if yyl3647 > cap(yyv3647) { - yyrg3604 := len(yyv3604) > 0 - yyv23604 := yyv3604 - yyrl3604, yyrt3604 = z.DecInferLen(yyl3604, z.DecBasicHandle().MaxInitLen, 544) - if yyrt3604 { - if yyrl3604 <= cap(yyv3604) { - yyv3604 = yyv3604[:yyrl3604] + yyrg3647 := len(yyv3647) > 0 + yyv23647 := yyv3647 + yyrl3647, yyrt3647 = z.DecInferLen(yyl3647, z.DecBasicHandle().MaxInitLen, 544) + if yyrt3647 { + if yyrl3647 <= cap(yyv3647) { + yyv3647 = yyv3647[:yyrl3647] } else { - yyv3604 = make([]PodTemplate, yyrl3604) + yyv3647 = make([]PodTemplate, yyrl3647) } } else { - yyv3604 = make([]PodTemplate, yyrl3604) + yyv3647 = make([]PodTemplate, yyrl3647) } - yyc3604 = true - yyrr3604 = len(yyv3604) - if yyrg3604 { - copy(yyv3604, yyv23604) + yyc3647 = true + yyrr3647 = len(yyv3647) + if yyrg3647 { + copy(yyv3647, yyv23647) } - } else if yyl3604 != len(yyv3604) { - yyv3604 = yyv3604[:yyl3604] - yyc3604 = true + } else if yyl3647 != len(yyv3647) { + yyv3647 = yyv3647[:yyl3647] + yyc3647 = true } - yyj3604 := 0 - for ; yyj3604 < yyrr3604; yyj3604++ { - yyh3604.ElemContainerState(yyj3604) + yyj3647 := 0 + for ; yyj3647 < yyrr3647; yyj3647++ { + yyh3647.ElemContainerState(yyj3647) if r.TryDecodeAsNil() { - yyv3604[yyj3604] = PodTemplate{} + yyv3647[yyj3647] = PodTemplate{} } else { - yyv3605 := &yyv3604[yyj3604] - yyv3605.CodecDecodeSelf(d) + yyv3648 := &yyv3647[yyj3647] + yyv3648.CodecDecodeSelf(d) } } - if yyrt3604 { - for ; yyj3604 < yyl3604; yyj3604++ { - yyv3604 = append(yyv3604, PodTemplate{}) - yyh3604.ElemContainerState(yyj3604) + if yyrt3647 { + for ; yyj3647 < yyl3647; yyj3647++ { + yyv3647 = append(yyv3647, PodTemplate{}) + yyh3647.ElemContainerState(yyj3647) if r.TryDecodeAsNil() { - yyv3604[yyj3604] = PodTemplate{} + yyv3647[yyj3647] = PodTemplate{} } else { - yyv3606 := &yyv3604[yyj3604] - yyv3606.CodecDecodeSelf(d) + yyv3649 := &yyv3647[yyj3647] + yyv3649.CodecDecodeSelf(d) } } } } else { - yyj3604 := 0 - for ; !r.CheckBreak(); yyj3604++ { + yyj3647 := 0 + for ; !r.CheckBreak(); yyj3647++ { - if yyj3604 >= len(yyv3604) { - yyv3604 = append(yyv3604, PodTemplate{}) // var yyz3604 PodTemplate - yyc3604 = true + if yyj3647 >= len(yyv3647) { + yyv3647 = append(yyv3647, PodTemplate{}) // var yyz3647 PodTemplate + yyc3647 = true } - yyh3604.ElemContainerState(yyj3604) - if yyj3604 < len(yyv3604) { + yyh3647.ElemContainerState(yyj3647) + if yyj3647 < len(yyv3647) { if r.TryDecodeAsNil() { - yyv3604[yyj3604] = PodTemplate{} + yyv3647[yyj3647] = PodTemplate{} } else { - yyv3607 := &yyv3604[yyj3604] - yyv3607.CodecDecodeSelf(d) + yyv3650 := &yyv3647[yyj3647] + yyv3650.CodecDecodeSelf(d) } } else { @@ -45185,17 +45831,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3604 < len(yyv3604) { - yyv3604 = yyv3604[:yyj3604] - yyc3604 = true - } else if yyj3604 == 0 && yyv3604 == nil { - yyv3604 = []PodTemplate{} - yyc3604 = true + if yyj3647 < len(yyv3647) { + yyv3647 = yyv3647[:yyj3647] + yyc3647 = true + } else if yyj3647 == 0 && yyv3647 == nil { + yyv3647 = []PodTemplate{} + yyc3647 = true } } - yyh3604.End() - if yyc3604 { - *v = yyv3604 + yyh3647.End() + if yyc3647 { + *v = yyv3647 } } @@ -45204,10 +45850,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3608 := range v { + for _, yyv3651 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3609 := &yyv3608 - yy3609.CodecEncodeSelf(e) + yy3652 := &yyv3651 + yy3652.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45217,83 +45863,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3610 := *v - yyh3610, yyl3610 := z.DecSliceHelperStart() - var yyc3610 bool - if yyl3610 == 0 { - if yyv3610 == nil { - yyv3610 = []ReplicationController{} - yyc3610 = true - } else if len(yyv3610) != 0 { - yyv3610 = yyv3610[:0] - yyc3610 = true + yyv3653 := *v + yyh3653, yyl3653 := z.DecSliceHelperStart() + var yyc3653 bool + if yyl3653 == 0 { + if yyv3653 == nil { + yyv3653 = []ReplicationController{} + yyc3653 = true + } else if len(yyv3653) != 0 { + yyv3653 = yyv3653[:0] + yyc3653 = true } - } else if yyl3610 > 0 { - var yyrr3610, yyrl3610 int - var yyrt3610 bool - if yyl3610 > cap(yyv3610) { + } else if yyl3653 > 0 { + var yyrr3653, yyrl3653 int + var yyrt3653 bool + if yyl3653 > cap(yyv3653) { - yyrg3610 := len(yyv3610) > 0 - yyv23610 := yyv3610 - yyrl3610, yyrt3610 = z.DecInferLen(yyl3610, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3610 { - if yyrl3610 <= cap(yyv3610) { - yyv3610 = yyv3610[:yyrl3610] + yyrg3653 := len(yyv3653) > 0 + yyv23653 := yyv3653 + yyrl3653, yyrt3653 = z.DecInferLen(yyl3653, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3653 { + if yyrl3653 <= cap(yyv3653) { + yyv3653 = yyv3653[:yyrl3653] } else { - yyv3610 = make([]ReplicationController, yyrl3610) + yyv3653 = make([]ReplicationController, yyrl3653) } } else { - yyv3610 = make([]ReplicationController, yyrl3610) + yyv3653 = make([]ReplicationController, yyrl3653) } - yyc3610 = true - yyrr3610 = len(yyv3610) - if yyrg3610 { - copy(yyv3610, yyv23610) + yyc3653 = true + yyrr3653 = len(yyv3653) + if yyrg3653 { + copy(yyv3653, yyv23653) } - } else if yyl3610 != len(yyv3610) { - yyv3610 = yyv3610[:yyl3610] - yyc3610 = true + } else if yyl3653 != len(yyv3653) { + yyv3653 = yyv3653[:yyl3653] + yyc3653 = true } - yyj3610 := 0 - for ; yyj3610 < yyrr3610; yyj3610++ { - yyh3610.ElemContainerState(yyj3610) + yyj3653 := 0 + for ; yyj3653 < yyrr3653; yyj3653++ { + yyh3653.ElemContainerState(yyj3653) if r.TryDecodeAsNil() { - yyv3610[yyj3610] = ReplicationController{} + yyv3653[yyj3653] = ReplicationController{} } else { - yyv3611 := &yyv3610[yyj3610] - yyv3611.CodecDecodeSelf(d) + yyv3654 := &yyv3653[yyj3653] + yyv3654.CodecDecodeSelf(d) } } - if yyrt3610 { - for ; yyj3610 < yyl3610; yyj3610++ { - yyv3610 = append(yyv3610, ReplicationController{}) - yyh3610.ElemContainerState(yyj3610) + if yyrt3653 { + for ; yyj3653 < yyl3653; yyj3653++ { + yyv3653 = append(yyv3653, ReplicationController{}) + yyh3653.ElemContainerState(yyj3653) if r.TryDecodeAsNil() { - yyv3610[yyj3610] = ReplicationController{} + yyv3653[yyj3653] = ReplicationController{} } else { - yyv3612 := &yyv3610[yyj3610] - yyv3612.CodecDecodeSelf(d) + yyv3655 := &yyv3653[yyj3653] + yyv3655.CodecDecodeSelf(d) } } } } else { - yyj3610 := 0 - for ; !r.CheckBreak(); yyj3610++ { + yyj3653 := 0 + for ; !r.CheckBreak(); yyj3653++ { - if yyj3610 >= len(yyv3610) { - yyv3610 = append(yyv3610, ReplicationController{}) // var yyz3610 ReplicationController - yyc3610 = true + if yyj3653 >= len(yyv3653) { + yyv3653 = append(yyv3653, ReplicationController{}) // var yyz3653 ReplicationController + yyc3653 = true } - yyh3610.ElemContainerState(yyj3610) - if yyj3610 < len(yyv3610) { + yyh3653.ElemContainerState(yyj3653) + if yyj3653 < len(yyv3653) { if r.TryDecodeAsNil() { - yyv3610[yyj3610] = ReplicationController{} + yyv3653[yyj3653] = ReplicationController{} } else { - yyv3613 := &yyv3610[yyj3610] - yyv3613.CodecDecodeSelf(d) + yyv3656 := &yyv3653[yyj3653] + yyv3656.CodecDecodeSelf(d) } } else { @@ -45301,17 +45947,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3610 < len(yyv3610) { - yyv3610 = yyv3610[:yyj3610] - yyc3610 = true - } else if yyj3610 == 0 && yyv3610 == nil { - yyv3610 = []ReplicationController{} - yyc3610 = true + if yyj3653 < len(yyv3653) { + yyv3653 = yyv3653[:yyj3653] + yyc3653 = true + } else if yyj3653 == 0 && yyv3653 == nil { + yyv3653 = []ReplicationController{} + yyc3653 = true } } - yyh3610.End() - if yyc3610 { - *v = yyv3610 + yyh3653.End() + if yyc3653 { + *v = yyv3653 } } @@ -45320,10 +45966,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3614 := range v { + for _, yyv3657 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3615 := &yyv3614 - yy3615.CodecEncodeSelf(e) + yy3658 := &yyv3657 + yy3658.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45333,83 +45979,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3616 := *v - yyh3616, yyl3616 := z.DecSliceHelperStart() - var yyc3616 bool - if yyl3616 == 0 { - if yyv3616 == nil { - yyv3616 = []LoadBalancerIngress{} - yyc3616 = true - } else if len(yyv3616) != 0 { - yyv3616 = yyv3616[:0] - yyc3616 = true + yyv3659 := *v + yyh3659, yyl3659 := z.DecSliceHelperStart() + var yyc3659 bool + if yyl3659 == 0 { + if yyv3659 == nil { + yyv3659 = []LoadBalancerIngress{} + yyc3659 = true + } else if len(yyv3659) != 0 { + yyv3659 = yyv3659[:0] + yyc3659 = true } - } else if yyl3616 > 0 { - var yyrr3616, yyrl3616 int - var yyrt3616 bool - if yyl3616 > cap(yyv3616) { + } else if yyl3659 > 0 { + var yyrr3659, yyrl3659 int + var yyrt3659 bool + if yyl3659 > cap(yyv3659) { - yyrg3616 := len(yyv3616) > 0 - yyv23616 := yyv3616 - yyrl3616, yyrt3616 = z.DecInferLen(yyl3616, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3616 { - if yyrl3616 <= cap(yyv3616) { - yyv3616 = yyv3616[:yyrl3616] + yyrg3659 := len(yyv3659) > 0 + yyv23659 := yyv3659 + yyrl3659, yyrt3659 = z.DecInferLen(yyl3659, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3659 { + if yyrl3659 <= cap(yyv3659) { + yyv3659 = yyv3659[:yyrl3659] } else { - yyv3616 = make([]LoadBalancerIngress, yyrl3616) + yyv3659 = make([]LoadBalancerIngress, yyrl3659) } } else { - yyv3616 = make([]LoadBalancerIngress, yyrl3616) + yyv3659 = make([]LoadBalancerIngress, yyrl3659) } - yyc3616 = true - yyrr3616 = len(yyv3616) - if yyrg3616 { - copy(yyv3616, yyv23616) + yyc3659 = true + yyrr3659 = len(yyv3659) + if yyrg3659 { + copy(yyv3659, yyv23659) } - } else if yyl3616 != len(yyv3616) { - yyv3616 = yyv3616[:yyl3616] - yyc3616 = true + } else if yyl3659 != len(yyv3659) { + yyv3659 = yyv3659[:yyl3659] + yyc3659 = true } - yyj3616 := 0 - for ; yyj3616 < yyrr3616; yyj3616++ { - yyh3616.ElemContainerState(yyj3616) + yyj3659 := 0 + for ; yyj3659 < yyrr3659; yyj3659++ { + yyh3659.ElemContainerState(yyj3659) if r.TryDecodeAsNil() { - yyv3616[yyj3616] = LoadBalancerIngress{} + yyv3659[yyj3659] = LoadBalancerIngress{} } else { - yyv3617 := &yyv3616[yyj3616] - yyv3617.CodecDecodeSelf(d) + yyv3660 := &yyv3659[yyj3659] + yyv3660.CodecDecodeSelf(d) } } - if yyrt3616 { - for ; yyj3616 < yyl3616; yyj3616++ { - yyv3616 = append(yyv3616, LoadBalancerIngress{}) - yyh3616.ElemContainerState(yyj3616) + if yyrt3659 { + for ; yyj3659 < yyl3659; yyj3659++ { + yyv3659 = append(yyv3659, LoadBalancerIngress{}) + yyh3659.ElemContainerState(yyj3659) if r.TryDecodeAsNil() { - yyv3616[yyj3616] = LoadBalancerIngress{} + yyv3659[yyj3659] = LoadBalancerIngress{} } else { - yyv3618 := &yyv3616[yyj3616] - yyv3618.CodecDecodeSelf(d) + yyv3661 := &yyv3659[yyj3659] + yyv3661.CodecDecodeSelf(d) } } } } else { - yyj3616 := 0 - for ; !r.CheckBreak(); yyj3616++ { + yyj3659 := 0 + for ; !r.CheckBreak(); yyj3659++ { - if yyj3616 >= len(yyv3616) { - yyv3616 = append(yyv3616, LoadBalancerIngress{}) // var yyz3616 LoadBalancerIngress - yyc3616 = true + if yyj3659 >= len(yyv3659) { + yyv3659 = append(yyv3659, LoadBalancerIngress{}) // var yyz3659 LoadBalancerIngress + yyc3659 = true } - yyh3616.ElemContainerState(yyj3616) - if yyj3616 < len(yyv3616) { + yyh3659.ElemContainerState(yyj3659) + if yyj3659 < len(yyv3659) { if r.TryDecodeAsNil() { - yyv3616[yyj3616] = LoadBalancerIngress{} + yyv3659[yyj3659] = LoadBalancerIngress{} } else { - yyv3619 := &yyv3616[yyj3616] - yyv3619.CodecDecodeSelf(d) + yyv3662 := &yyv3659[yyj3659] + yyv3662.CodecDecodeSelf(d) } } else { @@ -45417,17 +46063,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3616 < len(yyv3616) { - yyv3616 = yyv3616[:yyj3616] - yyc3616 = true - } else if yyj3616 == 0 && yyv3616 == nil { - yyv3616 = []LoadBalancerIngress{} - yyc3616 = true + if yyj3659 < len(yyv3659) { + yyv3659 = yyv3659[:yyj3659] + yyc3659 = true + } else if yyj3659 == 0 && yyv3659 == nil { + yyv3659 = []LoadBalancerIngress{} + yyc3659 = true } } - yyh3616.End() - if yyc3616 { - *v = yyv3616 + yyh3659.End() + if yyc3659 { + *v = yyv3659 } } @@ -45436,10 +46082,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3620 := range v { + for _, yyv3663 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3621 := &yyv3620 - yy3621.CodecEncodeSelf(e) + yy3664 := &yyv3663 + yy3664.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45449,83 +46095,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3622 := *v - yyh3622, yyl3622 := z.DecSliceHelperStart() - var yyc3622 bool - if yyl3622 == 0 { - if yyv3622 == nil { - yyv3622 = []ServicePort{} - yyc3622 = true - } else if len(yyv3622) != 0 { - yyv3622 = yyv3622[:0] - yyc3622 = true + yyv3665 := *v + yyh3665, yyl3665 := z.DecSliceHelperStart() + var yyc3665 bool + if yyl3665 == 0 { + if yyv3665 == nil { + yyv3665 = []ServicePort{} + yyc3665 = true + } else if len(yyv3665) != 0 { + yyv3665 = yyv3665[:0] + yyc3665 = true } - } else if yyl3622 > 0 { - var yyrr3622, yyrl3622 int - var yyrt3622 bool - if yyl3622 > cap(yyv3622) { + } else if yyl3665 > 0 { + var yyrr3665, yyrl3665 int + var yyrt3665 bool + if yyl3665 > cap(yyv3665) { - yyrg3622 := len(yyv3622) > 0 - yyv23622 := yyv3622 - yyrl3622, yyrt3622 = z.DecInferLen(yyl3622, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3622 { - if yyrl3622 <= cap(yyv3622) { - yyv3622 = yyv3622[:yyrl3622] + yyrg3665 := len(yyv3665) > 0 + yyv23665 := yyv3665 + yyrl3665, yyrt3665 = z.DecInferLen(yyl3665, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3665 { + if yyrl3665 <= cap(yyv3665) { + yyv3665 = yyv3665[:yyrl3665] } else { - yyv3622 = make([]ServicePort, yyrl3622) + yyv3665 = make([]ServicePort, yyrl3665) } } else { - yyv3622 = make([]ServicePort, yyrl3622) + yyv3665 = make([]ServicePort, yyrl3665) } - yyc3622 = true - yyrr3622 = len(yyv3622) - if yyrg3622 { - copy(yyv3622, yyv23622) + yyc3665 = true + yyrr3665 = len(yyv3665) + if yyrg3665 { + copy(yyv3665, yyv23665) } - } else if yyl3622 != len(yyv3622) { - yyv3622 = yyv3622[:yyl3622] - yyc3622 = true + } else if yyl3665 != len(yyv3665) { + yyv3665 = yyv3665[:yyl3665] + yyc3665 = true } - yyj3622 := 0 - for ; yyj3622 < yyrr3622; yyj3622++ { - yyh3622.ElemContainerState(yyj3622) + yyj3665 := 0 + for ; yyj3665 < yyrr3665; yyj3665++ { + yyh3665.ElemContainerState(yyj3665) if r.TryDecodeAsNil() { - yyv3622[yyj3622] = ServicePort{} + yyv3665[yyj3665] = ServicePort{} } else { - yyv3623 := &yyv3622[yyj3622] - yyv3623.CodecDecodeSelf(d) + yyv3666 := &yyv3665[yyj3665] + yyv3666.CodecDecodeSelf(d) } } - if yyrt3622 { - for ; yyj3622 < yyl3622; yyj3622++ { - yyv3622 = append(yyv3622, ServicePort{}) - yyh3622.ElemContainerState(yyj3622) + if yyrt3665 { + for ; yyj3665 < yyl3665; yyj3665++ { + yyv3665 = append(yyv3665, ServicePort{}) + yyh3665.ElemContainerState(yyj3665) if r.TryDecodeAsNil() { - yyv3622[yyj3622] = ServicePort{} + yyv3665[yyj3665] = ServicePort{} } else { - yyv3624 := &yyv3622[yyj3622] - yyv3624.CodecDecodeSelf(d) + yyv3667 := &yyv3665[yyj3665] + yyv3667.CodecDecodeSelf(d) } } } } else { - yyj3622 := 0 - for ; !r.CheckBreak(); yyj3622++ { + yyj3665 := 0 + for ; !r.CheckBreak(); yyj3665++ { - if yyj3622 >= len(yyv3622) { - yyv3622 = append(yyv3622, ServicePort{}) // var yyz3622 ServicePort - yyc3622 = true + if yyj3665 >= len(yyv3665) { + yyv3665 = append(yyv3665, ServicePort{}) // var yyz3665 ServicePort + yyc3665 = true } - yyh3622.ElemContainerState(yyj3622) - if yyj3622 < len(yyv3622) { + yyh3665.ElemContainerState(yyj3665) + if yyj3665 < len(yyv3665) { if r.TryDecodeAsNil() { - yyv3622[yyj3622] = ServicePort{} + yyv3665[yyj3665] = ServicePort{} } else { - yyv3625 := &yyv3622[yyj3622] - yyv3625.CodecDecodeSelf(d) + yyv3668 := &yyv3665[yyj3665] + yyv3668.CodecDecodeSelf(d) } } else { @@ -45533,17 +46179,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3622 < len(yyv3622) { - yyv3622 = yyv3622[:yyj3622] - yyc3622 = true - } else if yyj3622 == 0 && yyv3622 == nil { - yyv3622 = []ServicePort{} - yyc3622 = true + if yyj3665 < len(yyv3665) { + yyv3665 = yyv3665[:yyj3665] + yyc3665 = true + } else if yyj3665 == 0 && yyv3665 == nil { + yyv3665 = []ServicePort{} + yyc3665 = true } } - yyh3622.End() - if yyc3622 { - *v = yyv3622 + yyh3665.End() + if yyc3665 { + *v = yyv3665 } } @@ -45552,10 +46198,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3626 := range v { + for _, yyv3669 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3627 := &yyv3626 - yy3627.CodecEncodeSelf(e) + yy3670 := &yyv3669 + yy3670.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45565,83 +46211,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3628 := *v - yyh3628, yyl3628 := z.DecSliceHelperStart() - var yyc3628 bool - if yyl3628 == 0 { - if yyv3628 == nil { - yyv3628 = []Service{} - yyc3628 = true - } else if len(yyv3628) != 0 { - yyv3628 = yyv3628[:0] - yyc3628 = true + yyv3671 := *v + yyh3671, yyl3671 := z.DecSliceHelperStart() + var yyc3671 bool + if yyl3671 == 0 { + if yyv3671 == nil { + yyv3671 = []Service{} + yyc3671 = true + } else if len(yyv3671) != 0 { + yyv3671 = yyv3671[:0] + yyc3671 = true } - } else if yyl3628 > 0 { - var yyrr3628, yyrl3628 int - var yyrt3628 bool - if yyl3628 > cap(yyv3628) { + } else if yyl3671 > 0 { + var yyrr3671, yyrl3671 int + var yyrt3671 bool + if yyl3671 > cap(yyv3671) { - yyrg3628 := len(yyv3628) > 0 - yyv23628 := yyv3628 - yyrl3628, yyrt3628 = z.DecInferLen(yyl3628, z.DecBasicHandle().MaxInitLen, 360) - if yyrt3628 { - if yyrl3628 <= cap(yyv3628) { - yyv3628 = yyv3628[:yyrl3628] + yyrg3671 := len(yyv3671) > 0 + yyv23671 := yyv3671 + yyrl3671, yyrt3671 = z.DecInferLen(yyl3671, z.DecBasicHandle().MaxInitLen, 360) + if yyrt3671 { + if yyrl3671 <= cap(yyv3671) { + yyv3671 = yyv3671[:yyrl3671] } else { - yyv3628 = make([]Service, yyrl3628) + yyv3671 = make([]Service, yyrl3671) } } else { - yyv3628 = make([]Service, yyrl3628) + yyv3671 = make([]Service, yyrl3671) } - yyc3628 = true - yyrr3628 = len(yyv3628) - if yyrg3628 { - copy(yyv3628, yyv23628) + yyc3671 = true + yyrr3671 = len(yyv3671) + if yyrg3671 { + copy(yyv3671, yyv23671) } - } else if yyl3628 != len(yyv3628) { - yyv3628 = yyv3628[:yyl3628] - yyc3628 = true + } else if yyl3671 != len(yyv3671) { + yyv3671 = yyv3671[:yyl3671] + yyc3671 = true } - yyj3628 := 0 - for ; yyj3628 < yyrr3628; yyj3628++ { - yyh3628.ElemContainerState(yyj3628) + yyj3671 := 0 + for ; yyj3671 < yyrr3671; yyj3671++ { + yyh3671.ElemContainerState(yyj3671) if r.TryDecodeAsNil() { - yyv3628[yyj3628] = Service{} + yyv3671[yyj3671] = Service{} } else { - yyv3629 := &yyv3628[yyj3628] - yyv3629.CodecDecodeSelf(d) + yyv3672 := &yyv3671[yyj3671] + yyv3672.CodecDecodeSelf(d) } } - if yyrt3628 { - for ; yyj3628 < yyl3628; yyj3628++ { - yyv3628 = append(yyv3628, Service{}) - yyh3628.ElemContainerState(yyj3628) + if yyrt3671 { + for ; yyj3671 < yyl3671; yyj3671++ { + yyv3671 = append(yyv3671, Service{}) + yyh3671.ElemContainerState(yyj3671) if r.TryDecodeAsNil() { - yyv3628[yyj3628] = Service{} + yyv3671[yyj3671] = Service{} } else { - yyv3630 := &yyv3628[yyj3628] - yyv3630.CodecDecodeSelf(d) + yyv3673 := &yyv3671[yyj3671] + yyv3673.CodecDecodeSelf(d) } } } } else { - yyj3628 := 0 - for ; !r.CheckBreak(); yyj3628++ { + yyj3671 := 0 + for ; !r.CheckBreak(); yyj3671++ { - if yyj3628 >= len(yyv3628) { - yyv3628 = append(yyv3628, Service{}) // var yyz3628 Service - yyc3628 = true + if yyj3671 >= len(yyv3671) { + yyv3671 = append(yyv3671, Service{}) // var yyz3671 Service + yyc3671 = true } - yyh3628.ElemContainerState(yyj3628) - if yyj3628 < len(yyv3628) { + yyh3671.ElemContainerState(yyj3671) + if yyj3671 < len(yyv3671) { if r.TryDecodeAsNil() { - yyv3628[yyj3628] = Service{} + yyv3671[yyj3671] = Service{} } else { - yyv3631 := &yyv3628[yyj3628] - yyv3631.CodecDecodeSelf(d) + yyv3674 := &yyv3671[yyj3671] + yyv3674.CodecDecodeSelf(d) } } else { @@ -45649,17 +46295,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3628 < len(yyv3628) { - yyv3628 = yyv3628[:yyj3628] - yyc3628 = true - } else if yyj3628 == 0 && yyv3628 == nil { - yyv3628 = []Service{} - yyc3628 = true + if yyj3671 < len(yyv3671) { + yyv3671 = yyv3671[:yyj3671] + yyc3671 = true + } else if yyj3671 == 0 && yyv3671 == nil { + yyv3671 = []Service{} + yyc3671 = true } } - yyh3628.End() - if yyc3628 { - *v = yyv3628 + yyh3671.End() + if yyc3671 { + *v = yyv3671 } } @@ -45668,10 +46314,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3632 := range v { + for _, yyv3675 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3633 := &yyv3632 - yy3633.CodecEncodeSelf(e) + yy3676 := &yyv3675 + yy3676.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45681,83 +46327,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3634 := *v - yyh3634, yyl3634 := z.DecSliceHelperStart() - var yyc3634 bool - if yyl3634 == 0 { - if yyv3634 == nil { - yyv3634 = []ObjectReference{} - yyc3634 = true - } else if len(yyv3634) != 0 { - yyv3634 = yyv3634[:0] - yyc3634 = true + yyv3677 := *v + yyh3677, yyl3677 := z.DecSliceHelperStart() + var yyc3677 bool + if yyl3677 == 0 { + if yyv3677 == nil { + yyv3677 = []ObjectReference{} + yyc3677 = true + } else if len(yyv3677) != 0 { + yyv3677 = yyv3677[:0] + yyc3677 = true } - } else if yyl3634 > 0 { - var yyrr3634, yyrl3634 int - var yyrt3634 bool - if yyl3634 > cap(yyv3634) { + } else if yyl3677 > 0 { + var yyrr3677, yyrl3677 int + var yyrt3677 bool + if yyl3677 > cap(yyv3677) { - yyrg3634 := len(yyv3634) > 0 - yyv23634 := yyv3634 - yyrl3634, yyrt3634 = z.DecInferLen(yyl3634, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3634 { - if yyrl3634 <= cap(yyv3634) { - yyv3634 = yyv3634[:yyrl3634] + yyrg3677 := len(yyv3677) > 0 + yyv23677 := yyv3677 + yyrl3677, yyrt3677 = z.DecInferLen(yyl3677, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3677 { + if yyrl3677 <= cap(yyv3677) { + yyv3677 = yyv3677[:yyrl3677] } else { - yyv3634 = make([]ObjectReference, yyrl3634) + yyv3677 = make([]ObjectReference, yyrl3677) } } else { - yyv3634 = make([]ObjectReference, yyrl3634) + yyv3677 = make([]ObjectReference, yyrl3677) } - yyc3634 = true - yyrr3634 = len(yyv3634) - if yyrg3634 { - copy(yyv3634, yyv23634) + yyc3677 = true + yyrr3677 = len(yyv3677) + if yyrg3677 { + copy(yyv3677, yyv23677) } - } else if yyl3634 != len(yyv3634) { - yyv3634 = yyv3634[:yyl3634] - yyc3634 = true + } else if yyl3677 != len(yyv3677) { + yyv3677 = yyv3677[:yyl3677] + yyc3677 = true } - yyj3634 := 0 - for ; yyj3634 < yyrr3634; yyj3634++ { - yyh3634.ElemContainerState(yyj3634) + yyj3677 := 0 + for ; yyj3677 < yyrr3677; yyj3677++ { + yyh3677.ElemContainerState(yyj3677) if r.TryDecodeAsNil() { - yyv3634[yyj3634] = ObjectReference{} + yyv3677[yyj3677] = ObjectReference{} } else { - yyv3635 := &yyv3634[yyj3634] - yyv3635.CodecDecodeSelf(d) + yyv3678 := &yyv3677[yyj3677] + yyv3678.CodecDecodeSelf(d) } } - if yyrt3634 { - for ; yyj3634 < yyl3634; yyj3634++ { - yyv3634 = append(yyv3634, ObjectReference{}) - yyh3634.ElemContainerState(yyj3634) + if yyrt3677 { + for ; yyj3677 < yyl3677; yyj3677++ { + yyv3677 = append(yyv3677, ObjectReference{}) + yyh3677.ElemContainerState(yyj3677) if r.TryDecodeAsNil() { - yyv3634[yyj3634] = ObjectReference{} + yyv3677[yyj3677] = ObjectReference{} } else { - yyv3636 := &yyv3634[yyj3634] - yyv3636.CodecDecodeSelf(d) + yyv3679 := &yyv3677[yyj3677] + yyv3679.CodecDecodeSelf(d) } } } } else { - yyj3634 := 0 - for ; !r.CheckBreak(); yyj3634++ { + yyj3677 := 0 + for ; !r.CheckBreak(); yyj3677++ { - if yyj3634 >= len(yyv3634) { - yyv3634 = append(yyv3634, ObjectReference{}) // var yyz3634 ObjectReference - yyc3634 = true + if yyj3677 >= len(yyv3677) { + yyv3677 = append(yyv3677, ObjectReference{}) // var yyz3677 ObjectReference + yyc3677 = true } - yyh3634.ElemContainerState(yyj3634) - if yyj3634 < len(yyv3634) { + yyh3677.ElemContainerState(yyj3677) + if yyj3677 < len(yyv3677) { if r.TryDecodeAsNil() { - yyv3634[yyj3634] = ObjectReference{} + yyv3677[yyj3677] = ObjectReference{} } else { - yyv3637 := &yyv3634[yyj3634] - yyv3637.CodecDecodeSelf(d) + yyv3680 := &yyv3677[yyj3677] + yyv3680.CodecDecodeSelf(d) } } else { @@ -45765,17 +46411,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3634 < len(yyv3634) { - yyv3634 = yyv3634[:yyj3634] - yyc3634 = true - } else if yyj3634 == 0 && yyv3634 == nil { - yyv3634 = []ObjectReference{} - yyc3634 = true + if yyj3677 < len(yyv3677) { + yyv3677 = yyv3677[:yyj3677] + yyc3677 = true + } else if yyj3677 == 0 && yyv3677 == nil { + yyv3677 = []ObjectReference{} + yyc3677 = true } } - yyh3634.End() - if yyc3634 { - *v = yyv3634 + yyh3677.End() + if yyc3677 { + *v = yyv3677 } } @@ -45784,10 +46430,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3638 := range v { + for _, yyv3681 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3639 := &yyv3638 - yy3639.CodecEncodeSelf(e) + yy3682 := &yyv3681 + yy3682.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45797,83 +46443,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3640 := *v - yyh3640, yyl3640 := z.DecSliceHelperStart() - var yyc3640 bool - if yyl3640 == 0 { - if yyv3640 == nil { - yyv3640 = []ServiceAccount{} - yyc3640 = true - } else if len(yyv3640) != 0 { - yyv3640 = yyv3640[:0] - yyc3640 = true + yyv3683 := *v + yyh3683, yyl3683 := z.DecSliceHelperStart() + var yyc3683 bool + if yyl3683 == 0 { + if yyv3683 == nil { + yyv3683 = []ServiceAccount{} + yyc3683 = true + } else if len(yyv3683) != 0 { + yyv3683 = yyv3683[:0] + yyc3683 = true } - } else if yyl3640 > 0 { - var yyrr3640, yyrl3640 int - var yyrt3640 bool - if yyl3640 > cap(yyv3640) { + } else if yyl3683 > 0 { + var yyrr3683, yyrl3683 int + var yyrt3683 bool + if yyl3683 > cap(yyv3683) { - yyrg3640 := len(yyv3640) > 0 - yyv23640 := yyv3640 - yyrl3640, yyrt3640 = z.DecInferLen(yyl3640, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3640 { - if yyrl3640 <= cap(yyv3640) { - yyv3640 = yyv3640[:yyrl3640] + yyrg3683 := len(yyv3683) > 0 + yyv23683 := yyv3683 + yyrl3683, yyrt3683 = z.DecInferLen(yyl3683, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3683 { + if yyrl3683 <= cap(yyv3683) { + yyv3683 = yyv3683[:yyrl3683] } else { - yyv3640 = make([]ServiceAccount, yyrl3640) + yyv3683 = make([]ServiceAccount, yyrl3683) } } else { - yyv3640 = make([]ServiceAccount, yyrl3640) + yyv3683 = make([]ServiceAccount, yyrl3683) } - yyc3640 = true - yyrr3640 = len(yyv3640) - if yyrg3640 { - copy(yyv3640, yyv23640) + yyc3683 = true + yyrr3683 = len(yyv3683) + if yyrg3683 { + copy(yyv3683, yyv23683) } - } else if yyl3640 != len(yyv3640) { - yyv3640 = yyv3640[:yyl3640] - yyc3640 = true + } else if yyl3683 != len(yyv3683) { + yyv3683 = yyv3683[:yyl3683] + yyc3683 = true } - yyj3640 := 0 - for ; yyj3640 < yyrr3640; yyj3640++ { - yyh3640.ElemContainerState(yyj3640) + yyj3683 := 0 + for ; yyj3683 < yyrr3683; yyj3683++ { + yyh3683.ElemContainerState(yyj3683) if r.TryDecodeAsNil() { - yyv3640[yyj3640] = ServiceAccount{} + yyv3683[yyj3683] = ServiceAccount{} } else { - yyv3641 := &yyv3640[yyj3640] - yyv3641.CodecDecodeSelf(d) + yyv3684 := &yyv3683[yyj3683] + yyv3684.CodecDecodeSelf(d) } } - if yyrt3640 { - for ; yyj3640 < yyl3640; yyj3640++ { - yyv3640 = append(yyv3640, ServiceAccount{}) - yyh3640.ElemContainerState(yyj3640) + if yyrt3683 { + for ; yyj3683 < yyl3683; yyj3683++ { + yyv3683 = append(yyv3683, ServiceAccount{}) + yyh3683.ElemContainerState(yyj3683) if r.TryDecodeAsNil() { - yyv3640[yyj3640] = ServiceAccount{} + yyv3683[yyj3683] = ServiceAccount{} } else { - yyv3642 := &yyv3640[yyj3640] - yyv3642.CodecDecodeSelf(d) + yyv3685 := &yyv3683[yyj3683] + yyv3685.CodecDecodeSelf(d) } } } } else { - yyj3640 := 0 - for ; !r.CheckBreak(); yyj3640++ { + yyj3683 := 0 + for ; !r.CheckBreak(); yyj3683++ { - if yyj3640 >= len(yyv3640) { - yyv3640 = append(yyv3640, ServiceAccount{}) // var yyz3640 ServiceAccount - yyc3640 = true + if yyj3683 >= len(yyv3683) { + yyv3683 = append(yyv3683, ServiceAccount{}) // var yyz3683 ServiceAccount + yyc3683 = true } - yyh3640.ElemContainerState(yyj3640) - if yyj3640 < len(yyv3640) { + yyh3683.ElemContainerState(yyj3683) + if yyj3683 < len(yyv3683) { if r.TryDecodeAsNil() { - yyv3640[yyj3640] = ServiceAccount{} + yyv3683[yyj3683] = ServiceAccount{} } else { - yyv3643 := &yyv3640[yyj3640] - yyv3643.CodecDecodeSelf(d) + yyv3686 := &yyv3683[yyj3683] + yyv3686.CodecDecodeSelf(d) } } else { @@ -45881,17 +46527,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3640 < len(yyv3640) { - yyv3640 = yyv3640[:yyj3640] - yyc3640 = true - } else if yyj3640 == 0 && yyv3640 == nil { - yyv3640 = []ServiceAccount{} - yyc3640 = true + if yyj3683 < len(yyv3683) { + yyv3683 = yyv3683[:yyj3683] + yyc3683 = true + } else if yyj3683 == 0 && yyv3683 == nil { + yyv3683 = []ServiceAccount{} + yyc3683 = true } } - yyh3640.End() - if yyc3640 { - *v = yyv3640 + yyh3683.End() + if yyc3683 { + *v = yyv3683 } } @@ -45900,10 +46546,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3644 := range v { + for _, yyv3687 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3645 := &yyv3644 - yy3645.CodecEncodeSelf(e) + yy3688 := &yyv3687 + yy3688.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45913,83 +46559,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3646 := *v - yyh3646, yyl3646 := z.DecSliceHelperStart() - var yyc3646 bool - if yyl3646 == 0 { - if yyv3646 == nil { - yyv3646 = []EndpointSubset{} - yyc3646 = true - } else if len(yyv3646) != 0 { - yyv3646 = yyv3646[:0] - yyc3646 = true + yyv3689 := *v + yyh3689, yyl3689 := z.DecSliceHelperStart() + var yyc3689 bool + if yyl3689 == 0 { + if yyv3689 == nil { + yyv3689 = []EndpointSubset{} + yyc3689 = true + } else if len(yyv3689) != 0 { + yyv3689 = yyv3689[:0] + yyc3689 = true } - } else if yyl3646 > 0 { - var yyrr3646, yyrl3646 int - var yyrt3646 bool - if yyl3646 > cap(yyv3646) { + } else if yyl3689 > 0 { + var yyrr3689, yyrl3689 int + var yyrt3689 bool + if yyl3689 > cap(yyv3689) { - yyrg3646 := len(yyv3646) > 0 - yyv23646 := yyv3646 - yyrl3646, yyrt3646 = z.DecInferLen(yyl3646, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3646 { - if yyrl3646 <= cap(yyv3646) { - yyv3646 = yyv3646[:yyrl3646] + yyrg3689 := len(yyv3689) > 0 + yyv23689 := yyv3689 + yyrl3689, yyrt3689 = z.DecInferLen(yyl3689, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3689 { + if yyrl3689 <= cap(yyv3689) { + yyv3689 = yyv3689[:yyrl3689] } else { - yyv3646 = make([]EndpointSubset, yyrl3646) + yyv3689 = make([]EndpointSubset, yyrl3689) } } else { - yyv3646 = make([]EndpointSubset, yyrl3646) + yyv3689 = make([]EndpointSubset, yyrl3689) } - yyc3646 = true - yyrr3646 = len(yyv3646) - if yyrg3646 { - copy(yyv3646, yyv23646) + yyc3689 = true + yyrr3689 = len(yyv3689) + if yyrg3689 { + copy(yyv3689, yyv23689) } - } else if yyl3646 != len(yyv3646) { - yyv3646 = yyv3646[:yyl3646] - yyc3646 = true + } else if yyl3689 != len(yyv3689) { + yyv3689 = yyv3689[:yyl3689] + yyc3689 = true } - yyj3646 := 0 - for ; yyj3646 < yyrr3646; yyj3646++ { - yyh3646.ElemContainerState(yyj3646) + yyj3689 := 0 + for ; yyj3689 < yyrr3689; yyj3689++ { + yyh3689.ElemContainerState(yyj3689) if r.TryDecodeAsNil() { - yyv3646[yyj3646] = EndpointSubset{} + yyv3689[yyj3689] = EndpointSubset{} } else { - yyv3647 := &yyv3646[yyj3646] - yyv3647.CodecDecodeSelf(d) + yyv3690 := &yyv3689[yyj3689] + yyv3690.CodecDecodeSelf(d) } } - if yyrt3646 { - for ; yyj3646 < yyl3646; yyj3646++ { - yyv3646 = append(yyv3646, EndpointSubset{}) - yyh3646.ElemContainerState(yyj3646) + if yyrt3689 { + for ; yyj3689 < yyl3689; yyj3689++ { + yyv3689 = append(yyv3689, EndpointSubset{}) + yyh3689.ElemContainerState(yyj3689) if r.TryDecodeAsNil() { - yyv3646[yyj3646] = EndpointSubset{} + yyv3689[yyj3689] = EndpointSubset{} } else { - yyv3648 := &yyv3646[yyj3646] - yyv3648.CodecDecodeSelf(d) + yyv3691 := &yyv3689[yyj3689] + yyv3691.CodecDecodeSelf(d) } } } } else { - yyj3646 := 0 - for ; !r.CheckBreak(); yyj3646++ { + yyj3689 := 0 + for ; !r.CheckBreak(); yyj3689++ { - if yyj3646 >= len(yyv3646) { - yyv3646 = append(yyv3646, EndpointSubset{}) // var yyz3646 EndpointSubset - yyc3646 = true + if yyj3689 >= len(yyv3689) { + yyv3689 = append(yyv3689, EndpointSubset{}) // var yyz3689 EndpointSubset + yyc3689 = true } - yyh3646.ElemContainerState(yyj3646) - if yyj3646 < len(yyv3646) { + yyh3689.ElemContainerState(yyj3689) + if yyj3689 < len(yyv3689) { if r.TryDecodeAsNil() { - yyv3646[yyj3646] = EndpointSubset{} + yyv3689[yyj3689] = EndpointSubset{} } else { - yyv3649 := &yyv3646[yyj3646] - yyv3649.CodecDecodeSelf(d) + yyv3692 := &yyv3689[yyj3689] + yyv3692.CodecDecodeSelf(d) } } else { @@ -45997,17 +46643,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3646 < len(yyv3646) { - yyv3646 = yyv3646[:yyj3646] - yyc3646 = true - } else if yyj3646 == 0 && yyv3646 == nil { - yyv3646 = []EndpointSubset{} - yyc3646 = true + if yyj3689 < len(yyv3689) { + yyv3689 = yyv3689[:yyj3689] + yyc3689 = true + } else if yyj3689 == 0 && yyv3689 == nil { + yyv3689 = []EndpointSubset{} + yyc3689 = true } } - yyh3646.End() - if yyc3646 { - *v = yyv3646 + yyh3689.End() + if yyc3689 { + *v = yyv3689 } } @@ -46016,10 +46662,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3650 := range v { + for _, yyv3693 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3651 := &yyv3650 - yy3651.CodecEncodeSelf(e) + yy3694 := &yyv3693 + yy3694.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46029,83 +46675,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3652 := *v - yyh3652, yyl3652 := z.DecSliceHelperStart() - var yyc3652 bool - if yyl3652 == 0 { - if yyv3652 == nil { - yyv3652 = []EndpointAddress{} - yyc3652 = true - } else if len(yyv3652) != 0 { - yyv3652 = yyv3652[:0] - yyc3652 = true + yyv3695 := *v + yyh3695, yyl3695 := z.DecSliceHelperStart() + var yyc3695 bool + if yyl3695 == 0 { + if yyv3695 == nil { + yyv3695 = []EndpointAddress{} + yyc3695 = true + } else if len(yyv3695) != 0 { + yyv3695 = yyv3695[:0] + yyc3695 = true } - } else if yyl3652 > 0 { - var yyrr3652, yyrl3652 int - var yyrt3652 bool - if yyl3652 > cap(yyv3652) { + } else if yyl3695 > 0 { + var yyrr3695, yyrl3695 int + var yyrt3695 bool + if yyl3695 > cap(yyv3695) { - yyrg3652 := len(yyv3652) > 0 - yyv23652 := yyv3652 - yyrl3652, yyrt3652 = z.DecInferLen(yyl3652, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3652 { - if yyrl3652 <= cap(yyv3652) { - yyv3652 = yyv3652[:yyrl3652] + yyrg3695 := len(yyv3695) > 0 + yyv23695 := yyv3695 + yyrl3695, yyrt3695 = z.DecInferLen(yyl3695, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3695 { + if yyrl3695 <= cap(yyv3695) { + yyv3695 = yyv3695[:yyrl3695] } else { - yyv3652 = make([]EndpointAddress, yyrl3652) + yyv3695 = make([]EndpointAddress, yyrl3695) } } else { - yyv3652 = make([]EndpointAddress, yyrl3652) + yyv3695 = make([]EndpointAddress, yyrl3695) } - yyc3652 = true - yyrr3652 = len(yyv3652) - if yyrg3652 { - copy(yyv3652, yyv23652) + yyc3695 = true + yyrr3695 = len(yyv3695) + if yyrg3695 { + copy(yyv3695, yyv23695) } - } else if yyl3652 != len(yyv3652) { - yyv3652 = yyv3652[:yyl3652] - yyc3652 = true + } else if yyl3695 != len(yyv3695) { + yyv3695 = yyv3695[:yyl3695] + yyc3695 = true } - yyj3652 := 0 - for ; yyj3652 < yyrr3652; yyj3652++ { - yyh3652.ElemContainerState(yyj3652) + yyj3695 := 0 + for ; yyj3695 < yyrr3695; yyj3695++ { + yyh3695.ElemContainerState(yyj3695) if r.TryDecodeAsNil() { - yyv3652[yyj3652] = EndpointAddress{} + yyv3695[yyj3695] = EndpointAddress{} } else { - yyv3653 := &yyv3652[yyj3652] - yyv3653.CodecDecodeSelf(d) + yyv3696 := &yyv3695[yyj3695] + yyv3696.CodecDecodeSelf(d) } } - if yyrt3652 { - for ; yyj3652 < yyl3652; yyj3652++ { - yyv3652 = append(yyv3652, EndpointAddress{}) - yyh3652.ElemContainerState(yyj3652) + if yyrt3695 { + for ; yyj3695 < yyl3695; yyj3695++ { + yyv3695 = append(yyv3695, EndpointAddress{}) + yyh3695.ElemContainerState(yyj3695) if r.TryDecodeAsNil() { - yyv3652[yyj3652] = EndpointAddress{} + yyv3695[yyj3695] = EndpointAddress{} } else { - yyv3654 := &yyv3652[yyj3652] - yyv3654.CodecDecodeSelf(d) + yyv3697 := &yyv3695[yyj3695] + yyv3697.CodecDecodeSelf(d) } } } } else { - yyj3652 := 0 - for ; !r.CheckBreak(); yyj3652++ { + yyj3695 := 0 + for ; !r.CheckBreak(); yyj3695++ { - if yyj3652 >= len(yyv3652) { - yyv3652 = append(yyv3652, EndpointAddress{}) // var yyz3652 EndpointAddress - yyc3652 = true + if yyj3695 >= len(yyv3695) { + yyv3695 = append(yyv3695, EndpointAddress{}) // var yyz3695 EndpointAddress + yyc3695 = true } - yyh3652.ElemContainerState(yyj3652) - if yyj3652 < len(yyv3652) { + yyh3695.ElemContainerState(yyj3695) + if yyj3695 < len(yyv3695) { if r.TryDecodeAsNil() { - yyv3652[yyj3652] = EndpointAddress{} + yyv3695[yyj3695] = EndpointAddress{} } else { - yyv3655 := &yyv3652[yyj3652] - yyv3655.CodecDecodeSelf(d) + yyv3698 := &yyv3695[yyj3695] + yyv3698.CodecDecodeSelf(d) } } else { @@ -46113,17 +46759,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3652 < len(yyv3652) { - yyv3652 = yyv3652[:yyj3652] - yyc3652 = true - } else if yyj3652 == 0 && yyv3652 == nil { - yyv3652 = []EndpointAddress{} - yyc3652 = true + if yyj3695 < len(yyv3695) { + yyv3695 = yyv3695[:yyj3695] + yyc3695 = true + } else if yyj3695 == 0 && yyv3695 == nil { + yyv3695 = []EndpointAddress{} + yyc3695 = true } } - yyh3652.End() - if yyc3652 { - *v = yyv3652 + yyh3695.End() + if yyc3695 { + *v = yyv3695 } } @@ -46132,10 +46778,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3656 := range v { + for _, yyv3699 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3657 := &yyv3656 - yy3657.CodecEncodeSelf(e) + yy3700 := &yyv3699 + yy3700.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46145,83 +46791,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3658 := *v - yyh3658, yyl3658 := z.DecSliceHelperStart() - var yyc3658 bool - if yyl3658 == 0 { - if yyv3658 == nil { - yyv3658 = []EndpointPort{} - yyc3658 = true - } else if len(yyv3658) != 0 { - yyv3658 = yyv3658[:0] - yyc3658 = true + yyv3701 := *v + yyh3701, yyl3701 := z.DecSliceHelperStart() + var yyc3701 bool + if yyl3701 == 0 { + if yyv3701 == nil { + yyv3701 = []EndpointPort{} + yyc3701 = true + } else if len(yyv3701) != 0 { + yyv3701 = yyv3701[:0] + yyc3701 = true } - } else if yyl3658 > 0 { - var yyrr3658, yyrl3658 int - var yyrt3658 bool - if yyl3658 > cap(yyv3658) { + } else if yyl3701 > 0 { + var yyrr3701, yyrl3701 int + var yyrt3701 bool + if yyl3701 > cap(yyv3701) { - yyrg3658 := len(yyv3658) > 0 - yyv23658 := yyv3658 - yyrl3658, yyrt3658 = z.DecInferLen(yyl3658, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3658 { - if yyrl3658 <= cap(yyv3658) { - yyv3658 = yyv3658[:yyrl3658] + yyrg3701 := len(yyv3701) > 0 + yyv23701 := yyv3701 + yyrl3701, yyrt3701 = z.DecInferLen(yyl3701, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3701 { + if yyrl3701 <= cap(yyv3701) { + yyv3701 = yyv3701[:yyrl3701] } else { - yyv3658 = make([]EndpointPort, yyrl3658) + yyv3701 = make([]EndpointPort, yyrl3701) } } else { - yyv3658 = make([]EndpointPort, yyrl3658) + yyv3701 = make([]EndpointPort, yyrl3701) } - yyc3658 = true - yyrr3658 = len(yyv3658) - if yyrg3658 { - copy(yyv3658, yyv23658) + yyc3701 = true + yyrr3701 = len(yyv3701) + if yyrg3701 { + copy(yyv3701, yyv23701) } - } else if yyl3658 != len(yyv3658) { - yyv3658 = yyv3658[:yyl3658] - yyc3658 = true + } else if yyl3701 != len(yyv3701) { + yyv3701 = yyv3701[:yyl3701] + yyc3701 = true } - yyj3658 := 0 - for ; yyj3658 < yyrr3658; yyj3658++ { - yyh3658.ElemContainerState(yyj3658) + yyj3701 := 0 + for ; yyj3701 < yyrr3701; yyj3701++ { + yyh3701.ElemContainerState(yyj3701) if r.TryDecodeAsNil() { - yyv3658[yyj3658] = EndpointPort{} + yyv3701[yyj3701] = EndpointPort{} } else { - yyv3659 := &yyv3658[yyj3658] - yyv3659.CodecDecodeSelf(d) + yyv3702 := &yyv3701[yyj3701] + yyv3702.CodecDecodeSelf(d) } } - if yyrt3658 { - for ; yyj3658 < yyl3658; yyj3658++ { - yyv3658 = append(yyv3658, EndpointPort{}) - yyh3658.ElemContainerState(yyj3658) + if yyrt3701 { + for ; yyj3701 < yyl3701; yyj3701++ { + yyv3701 = append(yyv3701, EndpointPort{}) + yyh3701.ElemContainerState(yyj3701) if r.TryDecodeAsNil() { - yyv3658[yyj3658] = EndpointPort{} + yyv3701[yyj3701] = EndpointPort{} } else { - yyv3660 := &yyv3658[yyj3658] - yyv3660.CodecDecodeSelf(d) + yyv3703 := &yyv3701[yyj3701] + yyv3703.CodecDecodeSelf(d) } } } } else { - yyj3658 := 0 - for ; !r.CheckBreak(); yyj3658++ { + yyj3701 := 0 + for ; !r.CheckBreak(); yyj3701++ { - if yyj3658 >= len(yyv3658) { - yyv3658 = append(yyv3658, EndpointPort{}) // var yyz3658 EndpointPort - yyc3658 = true + if yyj3701 >= len(yyv3701) { + yyv3701 = append(yyv3701, EndpointPort{}) // var yyz3701 EndpointPort + yyc3701 = true } - yyh3658.ElemContainerState(yyj3658) - if yyj3658 < len(yyv3658) { + yyh3701.ElemContainerState(yyj3701) + if yyj3701 < len(yyv3701) { if r.TryDecodeAsNil() { - yyv3658[yyj3658] = EndpointPort{} + yyv3701[yyj3701] = EndpointPort{} } else { - yyv3661 := &yyv3658[yyj3658] - yyv3661.CodecDecodeSelf(d) + yyv3704 := &yyv3701[yyj3701] + yyv3704.CodecDecodeSelf(d) } } else { @@ -46229,17 +46875,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3658 < len(yyv3658) { - yyv3658 = yyv3658[:yyj3658] - yyc3658 = true - } else if yyj3658 == 0 && yyv3658 == nil { - yyv3658 = []EndpointPort{} - yyc3658 = true + if yyj3701 < len(yyv3701) { + yyv3701 = yyv3701[:yyj3701] + yyc3701 = true + } else if yyj3701 == 0 && yyv3701 == nil { + yyv3701 = []EndpointPort{} + yyc3701 = true } } - yyh3658.End() - if yyc3658 { - *v = yyv3658 + yyh3701.End() + if yyc3701 { + *v = yyv3701 } } @@ -46248,10 +46894,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3662 := range v { + for _, yyv3705 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3663 := &yyv3662 - yy3663.CodecEncodeSelf(e) + yy3706 := &yyv3705 + yy3706.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46261,83 +46907,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3664 := *v - yyh3664, yyl3664 := z.DecSliceHelperStart() - var yyc3664 bool - if yyl3664 == 0 { - if yyv3664 == nil { - yyv3664 = []Endpoints{} - yyc3664 = true - } else if len(yyv3664) != 0 { - yyv3664 = yyv3664[:0] - yyc3664 = true + yyv3707 := *v + yyh3707, yyl3707 := z.DecSliceHelperStart() + var yyc3707 bool + if yyl3707 == 0 { + if yyv3707 == nil { + yyv3707 = []Endpoints{} + yyc3707 = true + } else if len(yyv3707) != 0 { + yyv3707 = yyv3707[:0] + yyc3707 = true } - } else if yyl3664 > 0 { - var yyrr3664, yyrl3664 int - var yyrt3664 bool - if yyl3664 > cap(yyv3664) { + } else if yyl3707 > 0 { + var yyrr3707, yyrl3707 int + var yyrt3707 bool + if yyl3707 > cap(yyv3707) { - yyrg3664 := len(yyv3664) > 0 - yyv23664 := yyv3664 - yyrl3664, yyrt3664 = z.DecInferLen(yyl3664, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3664 { - if yyrl3664 <= cap(yyv3664) { - yyv3664 = yyv3664[:yyrl3664] + yyrg3707 := len(yyv3707) > 0 + yyv23707 := yyv3707 + yyrl3707, yyrt3707 = z.DecInferLen(yyl3707, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3707 { + if yyrl3707 <= cap(yyv3707) { + yyv3707 = yyv3707[:yyrl3707] } else { - yyv3664 = make([]Endpoints, yyrl3664) + yyv3707 = make([]Endpoints, yyrl3707) } } else { - yyv3664 = make([]Endpoints, yyrl3664) + yyv3707 = make([]Endpoints, yyrl3707) } - yyc3664 = true - yyrr3664 = len(yyv3664) - if yyrg3664 { - copy(yyv3664, yyv23664) + yyc3707 = true + yyrr3707 = len(yyv3707) + if yyrg3707 { + copy(yyv3707, yyv23707) } - } else if yyl3664 != len(yyv3664) { - yyv3664 = yyv3664[:yyl3664] - yyc3664 = true + } else if yyl3707 != len(yyv3707) { + yyv3707 = yyv3707[:yyl3707] + yyc3707 = true } - yyj3664 := 0 - for ; yyj3664 < yyrr3664; yyj3664++ { - yyh3664.ElemContainerState(yyj3664) + yyj3707 := 0 + for ; yyj3707 < yyrr3707; yyj3707++ { + yyh3707.ElemContainerState(yyj3707) if r.TryDecodeAsNil() { - yyv3664[yyj3664] = Endpoints{} + yyv3707[yyj3707] = Endpoints{} } else { - yyv3665 := &yyv3664[yyj3664] - yyv3665.CodecDecodeSelf(d) + yyv3708 := &yyv3707[yyj3707] + yyv3708.CodecDecodeSelf(d) } } - if yyrt3664 { - for ; yyj3664 < yyl3664; yyj3664++ { - yyv3664 = append(yyv3664, Endpoints{}) - yyh3664.ElemContainerState(yyj3664) + if yyrt3707 { + for ; yyj3707 < yyl3707; yyj3707++ { + yyv3707 = append(yyv3707, Endpoints{}) + yyh3707.ElemContainerState(yyj3707) if r.TryDecodeAsNil() { - yyv3664[yyj3664] = Endpoints{} + yyv3707[yyj3707] = Endpoints{} } else { - yyv3666 := &yyv3664[yyj3664] - yyv3666.CodecDecodeSelf(d) + yyv3709 := &yyv3707[yyj3707] + yyv3709.CodecDecodeSelf(d) } } } } else { - yyj3664 := 0 - for ; !r.CheckBreak(); yyj3664++ { + yyj3707 := 0 + for ; !r.CheckBreak(); yyj3707++ { - if yyj3664 >= len(yyv3664) { - yyv3664 = append(yyv3664, Endpoints{}) // var yyz3664 Endpoints - yyc3664 = true + if yyj3707 >= len(yyv3707) { + yyv3707 = append(yyv3707, Endpoints{}) // var yyz3707 Endpoints + yyc3707 = true } - yyh3664.ElemContainerState(yyj3664) - if yyj3664 < len(yyv3664) { + yyh3707.ElemContainerState(yyj3707) + if yyj3707 < len(yyv3707) { if r.TryDecodeAsNil() { - yyv3664[yyj3664] = Endpoints{} + yyv3707[yyj3707] = Endpoints{} } else { - yyv3667 := &yyv3664[yyj3664] - yyv3667.CodecDecodeSelf(d) + yyv3710 := &yyv3707[yyj3707] + yyv3710.CodecDecodeSelf(d) } } else { @@ -46345,17 +46991,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3664 < len(yyv3664) { - yyv3664 = yyv3664[:yyj3664] - yyc3664 = true - } else if yyj3664 == 0 && yyv3664 == nil { - yyv3664 = []Endpoints{} - yyc3664 = true + if yyj3707 < len(yyv3707) { + yyv3707 = yyv3707[:yyj3707] + yyc3707 = true + } else if yyj3707 == 0 && yyv3707 == nil { + yyv3707 = []Endpoints{} + yyc3707 = true } } - yyh3664.End() - if yyc3664 { - *v = yyv3664 + yyh3707.End() + if yyc3707 { + *v = yyv3707 } } @@ -46364,10 +47010,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3668 := range v { + for _, yyv3711 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3669 := &yyv3668 - yy3669.CodecEncodeSelf(e) + yy3712 := &yyv3711 + yy3712.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46377,83 +47023,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3670 := *v - yyh3670, yyl3670 := z.DecSliceHelperStart() - var yyc3670 bool - if yyl3670 == 0 { - if yyv3670 == nil { - yyv3670 = []NodeCondition{} - yyc3670 = true - } else if len(yyv3670) != 0 { - yyv3670 = yyv3670[:0] - yyc3670 = true + yyv3713 := *v + yyh3713, yyl3713 := z.DecSliceHelperStart() + var yyc3713 bool + if yyl3713 == 0 { + if yyv3713 == nil { + yyv3713 = []NodeCondition{} + yyc3713 = true + } else if len(yyv3713) != 0 { + yyv3713 = yyv3713[:0] + yyc3713 = true } - } else if yyl3670 > 0 { - var yyrr3670, yyrl3670 int - var yyrt3670 bool - if yyl3670 > cap(yyv3670) { + } else if yyl3713 > 0 { + var yyrr3713, yyrl3713 int + var yyrt3713 bool + if yyl3713 > cap(yyv3713) { - yyrg3670 := len(yyv3670) > 0 - yyv23670 := yyv3670 - yyrl3670, yyrt3670 = z.DecInferLen(yyl3670, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3670 { - if yyrl3670 <= cap(yyv3670) { - yyv3670 = yyv3670[:yyrl3670] + yyrg3713 := len(yyv3713) > 0 + yyv23713 := yyv3713 + yyrl3713, yyrt3713 = z.DecInferLen(yyl3713, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3713 { + if yyrl3713 <= cap(yyv3713) { + yyv3713 = yyv3713[:yyrl3713] } else { - yyv3670 = make([]NodeCondition, yyrl3670) + yyv3713 = make([]NodeCondition, yyrl3713) } } else { - yyv3670 = make([]NodeCondition, yyrl3670) + yyv3713 = make([]NodeCondition, yyrl3713) } - yyc3670 = true - yyrr3670 = len(yyv3670) - if yyrg3670 { - copy(yyv3670, yyv23670) + yyc3713 = true + yyrr3713 = len(yyv3713) + if yyrg3713 { + copy(yyv3713, yyv23713) } - } else if yyl3670 != len(yyv3670) { - yyv3670 = yyv3670[:yyl3670] - yyc3670 = true + } else if yyl3713 != len(yyv3713) { + yyv3713 = yyv3713[:yyl3713] + yyc3713 = true } - yyj3670 := 0 - for ; yyj3670 < yyrr3670; yyj3670++ { - yyh3670.ElemContainerState(yyj3670) + yyj3713 := 0 + for ; yyj3713 < yyrr3713; yyj3713++ { + yyh3713.ElemContainerState(yyj3713) if r.TryDecodeAsNil() { - yyv3670[yyj3670] = NodeCondition{} + yyv3713[yyj3713] = NodeCondition{} } else { - yyv3671 := &yyv3670[yyj3670] - yyv3671.CodecDecodeSelf(d) + yyv3714 := &yyv3713[yyj3713] + yyv3714.CodecDecodeSelf(d) } } - if yyrt3670 { - for ; yyj3670 < yyl3670; yyj3670++ { - yyv3670 = append(yyv3670, NodeCondition{}) - yyh3670.ElemContainerState(yyj3670) + if yyrt3713 { + for ; yyj3713 < yyl3713; yyj3713++ { + yyv3713 = append(yyv3713, NodeCondition{}) + yyh3713.ElemContainerState(yyj3713) if r.TryDecodeAsNil() { - yyv3670[yyj3670] = NodeCondition{} + yyv3713[yyj3713] = NodeCondition{} } else { - yyv3672 := &yyv3670[yyj3670] - yyv3672.CodecDecodeSelf(d) + yyv3715 := &yyv3713[yyj3713] + yyv3715.CodecDecodeSelf(d) } } } } else { - yyj3670 := 0 - for ; !r.CheckBreak(); yyj3670++ { + yyj3713 := 0 + for ; !r.CheckBreak(); yyj3713++ { - if yyj3670 >= len(yyv3670) { - yyv3670 = append(yyv3670, NodeCondition{}) // var yyz3670 NodeCondition - yyc3670 = true + if yyj3713 >= len(yyv3713) { + yyv3713 = append(yyv3713, NodeCondition{}) // var yyz3713 NodeCondition + yyc3713 = true } - yyh3670.ElemContainerState(yyj3670) - if yyj3670 < len(yyv3670) { + yyh3713.ElemContainerState(yyj3713) + if yyj3713 < len(yyv3713) { if r.TryDecodeAsNil() { - yyv3670[yyj3670] = NodeCondition{} + yyv3713[yyj3713] = NodeCondition{} } else { - yyv3673 := &yyv3670[yyj3670] - yyv3673.CodecDecodeSelf(d) + yyv3716 := &yyv3713[yyj3713] + yyv3716.CodecDecodeSelf(d) } } else { @@ -46461,17 +47107,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj3670 < len(yyv3670) { - yyv3670 = yyv3670[:yyj3670] - yyc3670 = true - } else if yyj3670 == 0 && yyv3670 == nil { - yyv3670 = []NodeCondition{} - yyc3670 = true + if yyj3713 < len(yyv3713) { + yyv3713 = yyv3713[:yyj3713] + yyc3713 = true + } else if yyj3713 == 0 && yyv3713 == nil { + yyv3713 = []NodeCondition{} + yyc3713 = true } } - yyh3670.End() - if yyc3670 { - *v = yyv3670 + yyh3713.End() + if yyc3713 { + *v = yyv3713 } } @@ -46480,10 +47126,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3674 := range v { + for _, yyv3717 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3675 := &yyv3674 - yy3675.CodecEncodeSelf(e) + yy3718 := &yyv3717 + yy3718.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46493,83 +47139,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3676 := *v - yyh3676, yyl3676 := z.DecSliceHelperStart() - var yyc3676 bool - if yyl3676 == 0 { - if yyv3676 == nil { - yyv3676 = []NodeAddress{} - yyc3676 = true - } else if len(yyv3676) != 0 { - yyv3676 = yyv3676[:0] - yyc3676 = true + yyv3719 := *v + yyh3719, yyl3719 := z.DecSliceHelperStart() + var yyc3719 bool + if yyl3719 == 0 { + if yyv3719 == nil { + yyv3719 = []NodeAddress{} + yyc3719 = true + } else if len(yyv3719) != 0 { + yyv3719 = yyv3719[:0] + yyc3719 = true } - } else if yyl3676 > 0 { - var yyrr3676, yyrl3676 int - var yyrt3676 bool - if yyl3676 > cap(yyv3676) { + } else if yyl3719 > 0 { + var yyrr3719, yyrl3719 int + var yyrt3719 bool + if yyl3719 > cap(yyv3719) { - yyrg3676 := len(yyv3676) > 0 - yyv23676 := yyv3676 - yyrl3676, yyrt3676 = z.DecInferLen(yyl3676, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3676 { - if yyrl3676 <= cap(yyv3676) { - yyv3676 = yyv3676[:yyrl3676] + yyrg3719 := len(yyv3719) > 0 + yyv23719 := yyv3719 + yyrl3719, yyrt3719 = z.DecInferLen(yyl3719, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3719 { + if yyrl3719 <= cap(yyv3719) { + yyv3719 = yyv3719[:yyrl3719] } else { - yyv3676 = make([]NodeAddress, yyrl3676) + yyv3719 = make([]NodeAddress, yyrl3719) } } else { - yyv3676 = make([]NodeAddress, yyrl3676) + yyv3719 = make([]NodeAddress, yyrl3719) } - yyc3676 = true - yyrr3676 = len(yyv3676) - if yyrg3676 { - copy(yyv3676, yyv23676) + yyc3719 = true + yyrr3719 = len(yyv3719) + if yyrg3719 { + copy(yyv3719, yyv23719) } - } else if yyl3676 != len(yyv3676) { - yyv3676 = yyv3676[:yyl3676] - yyc3676 = true + } else if yyl3719 != len(yyv3719) { + yyv3719 = yyv3719[:yyl3719] + yyc3719 = true } - yyj3676 := 0 - for ; yyj3676 < yyrr3676; yyj3676++ { - yyh3676.ElemContainerState(yyj3676) + yyj3719 := 0 + for ; yyj3719 < yyrr3719; yyj3719++ { + yyh3719.ElemContainerState(yyj3719) if r.TryDecodeAsNil() { - yyv3676[yyj3676] = NodeAddress{} + yyv3719[yyj3719] = NodeAddress{} } else { - yyv3677 := &yyv3676[yyj3676] - yyv3677.CodecDecodeSelf(d) + yyv3720 := &yyv3719[yyj3719] + yyv3720.CodecDecodeSelf(d) } } - if yyrt3676 { - for ; yyj3676 < yyl3676; yyj3676++ { - yyv3676 = append(yyv3676, NodeAddress{}) - yyh3676.ElemContainerState(yyj3676) + if yyrt3719 { + for ; yyj3719 < yyl3719; yyj3719++ { + yyv3719 = append(yyv3719, NodeAddress{}) + yyh3719.ElemContainerState(yyj3719) if r.TryDecodeAsNil() { - yyv3676[yyj3676] = NodeAddress{} + yyv3719[yyj3719] = NodeAddress{} } else { - yyv3678 := &yyv3676[yyj3676] - yyv3678.CodecDecodeSelf(d) + yyv3721 := &yyv3719[yyj3719] + yyv3721.CodecDecodeSelf(d) } } } } else { - yyj3676 := 0 - for ; !r.CheckBreak(); yyj3676++ { + yyj3719 := 0 + for ; !r.CheckBreak(); yyj3719++ { - if yyj3676 >= len(yyv3676) { - yyv3676 = append(yyv3676, NodeAddress{}) // var yyz3676 NodeAddress - yyc3676 = true + if yyj3719 >= len(yyv3719) { + yyv3719 = append(yyv3719, NodeAddress{}) // var yyz3719 NodeAddress + yyc3719 = true } - yyh3676.ElemContainerState(yyj3676) - if yyj3676 < len(yyv3676) { + yyh3719.ElemContainerState(yyj3719) + if yyj3719 < len(yyv3719) { if r.TryDecodeAsNil() { - yyv3676[yyj3676] = NodeAddress{} + yyv3719[yyj3719] = NodeAddress{} } else { - yyv3679 := &yyv3676[yyj3676] - yyv3679.CodecDecodeSelf(d) + yyv3722 := &yyv3719[yyj3719] + yyv3722.CodecDecodeSelf(d) } } else { @@ -46577,17 +47223,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj3676 < len(yyv3676) { - yyv3676 = yyv3676[:yyj3676] - yyc3676 = true - } else if yyj3676 == 0 && yyv3676 == nil { - yyv3676 = []NodeAddress{} - yyc3676 = true + if yyj3719 < len(yyv3719) { + yyv3719 = yyv3719[:yyj3719] + yyc3719 = true + } else if yyj3719 == 0 && yyv3719 == nil { + yyv3719 = []NodeAddress{} + yyc3719 = true } } - yyh3676.End() - if yyc3676 { - *v = yyv3676 + yyh3719.End() + if yyc3719 { + *v = yyv3719 } } @@ -46596,19 +47242,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3680, yyv3680 := range v { + for yyk3723, yyv3723 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3680.CodecEncodeSelf(e) + yyk3723.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3681 := &yyv3680 - yym3682 := z.EncBinary() - _ = yym3682 + yy3724 := &yyv3723 + yym3725 := z.EncBinary() + _ = yym3725 if false { - } else if z.HasExtensions() && z.EncExt(yy3681) { - } else if !yym3682 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3681) + } else if z.HasExtensions() && z.EncExt(yy3724) { + } else if !yym3725 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3724) } else { - z.EncFallback(yy3681) + z.EncFallback(yy3724) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46619,86 +47265,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3683 := *v - yyl3683 := r.ReadMapStart() - yybh3683 := z.DecBasicHandle() - if yyv3683 == nil { - yyrl3683, _ := z.DecInferLen(yyl3683, yybh3683.MaxInitLen, 40) - yyv3683 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3683) - *v = yyv3683 + yyv3726 := *v + yyl3726 := r.ReadMapStart() + yybh3726 := z.DecBasicHandle() + if yyv3726 == nil { + yyrl3726, _ := z.DecInferLen(yyl3726, yybh3726.MaxInitLen, 40) + yyv3726 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3726) + *v = yyv3726 } - var yymk3683 ResourceName - var yymv3683 pkg3_resource.Quantity - var yymg3683 bool - if yybh3683.MapValueReset { - yymg3683 = true + var yymk3726 ResourceName + var yymv3726 pkg3_resource.Quantity + var yymg3726 bool + if yybh3726.MapValueReset { + yymg3726 = true } - if yyl3683 > 0 { - for yyj3683 := 0; yyj3683 < yyl3683; yyj3683++ { + if yyl3726 > 0 { + for yyj3726 := 0; yyj3726 < yyl3726; yyj3726++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3683 = "" + yymk3726 = "" } else { - yymk3683 = ResourceName(r.DecodeString()) + yymk3726 = ResourceName(r.DecodeString()) } - if yymg3683 { - yymv3683 = yyv3683[yymk3683] + if yymg3726 { + yymv3726 = yyv3726[yymk3726] } else { - yymv3683 = pkg3_resource.Quantity{} + yymv3726 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3683 = pkg3_resource.Quantity{} + yymv3726 = pkg3_resource.Quantity{} } else { - yyv3685 := &yymv3683 - yym3686 := z.DecBinary() - _ = yym3686 + yyv3728 := &yymv3726 + yym3729 := z.DecBinary() + _ = yym3729 if false { - } else if z.HasExtensions() && z.DecExt(yyv3685) { - } else if !yym3686 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3685) + } else if z.HasExtensions() && z.DecExt(yyv3728) { + } else if !yym3729 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3728) } else { - z.DecFallback(yyv3685, false) + z.DecFallback(yyv3728, false) } } - if yyv3683 != nil { - yyv3683[yymk3683] = yymv3683 + if yyv3726 != nil { + yyv3726[yymk3726] = yymv3726 } } - } else if yyl3683 < 0 { - for yyj3683 := 0; !r.CheckBreak(); yyj3683++ { + } else if yyl3726 < 0 { + for yyj3726 := 0; !r.CheckBreak(); yyj3726++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3683 = "" + yymk3726 = "" } else { - yymk3683 = ResourceName(r.DecodeString()) + yymk3726 = ResourceName(r.DecodeString()) } - if yymg3683 { - yymv3683 = yyv3683[yymk3683] + if yymg3726 { + yymv3726 = yyv3726[yymk3726] } else { - yymv3683 = pkg3_resource.Quantity{} + yymv3726 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3683 = pkg3_resource.Quantity{} + yymv3726 = pkg3_resource.Quantity{} } else { - yyv3688 := &yymv3683 - yym3689 := z.DecBinary() - _ = yym3689 + yyv3731 := &yymv3726 + yym3732 := z.DecBinary() + _ = yym3732 if false { - } else if z.HasExtensions() && z.DecExt(yyv3688) { - } else if !yym3689 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3688) + } else if z.HasExtensions() && z.DecExt(yyv3731) { + } else if !yym3732 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3731) } else { - z.DecFallback(yyv3688, false) + z.DecFallback(yyv3731, false) } } - if yyv3683 != nil { - yyv3683[yymk3683] = yymv3683 + if yyv3726 != nil { + yyv3726[yymk3726] = yymv3726 } } } // else len==0: TODO: Should we clear map entries? @@ -46710,10 +47356,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3690 := range v { + for _, yyv3733 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3691 := &yyv3690 - yy3691.CodecEncodeSelf(e) + yy3734 := &yyv3733 + yy3734.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46723,83 +47369,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3692 := *v - yyh3692, yyl3692 := z.DecSliceHelperStart() - var yyc3692 bool - if yyl3692 == 0 { - if yyv3692 == nil { - yyv3692 = []Node{} - yyc3692 = true - } else if len(yyv3692) != 0 { - yyv3692 = yyv3692[:0] - yyc3692 = true + yyv3735 := *v + yyh3735, yyl3735 := z.DecSliceHelperStart() + var yyc3735 bool + if yyl3735 == 0 { + if yyv3735 == nil { + yyv3735 = []Node{} + yyc3735 = true + } else if len(yyv3735) != 0 { + yyv3735 = yyv3735[:0] + yyc3735 = true } - } else if yyl3692 > 0 { - var yyrr3692, yyrl3692 int - var yyrt3692 bool - if yyl3692 > cap(yyv3692) { + } else if yyl3735 > 0 { + var yyrr3735, yyrl3735 int + var yyrt3735 bool + if yyl3735 > cap(yyv3735) { - yyrg3692 := len(yyv3692) > 0 - yyv23692 := yyv3692 - yyrl3692, yyrt3692 = z.DecInferLen(yyl3692, z.DecBasicHandle().MaxInitLen, 464) - if yyrt3692 { - if yyrl3692 <= cap(yyv3692) { - yyv3692 = yyv3692[:yyrl3692] + yyrg3735 := len(yyv3735) > 0 + yyv23735 := yyv3735 + yyrl3735, yyrt3735 = z.DecInferLen(yyl3735, z.DecBasicHandle().MaxInitLen, 464) + if yyrt3735 { + if yyrl3735 <= cap(yyv3735) { + yyv3735 = yyv3735[:yyrl3735] } else { - yyv3692 = make([]Node, yyrl3692) + yyv3735 = make([]Node, yyrl3735) } } else { - yyv3692 = make([]Node, yyrl3692) + yyv3735 = make([]Node, yyrl3735) } - yyc3692 = true - yyrr3692 = len(yyv3692) - if yyrg3692 { - copy(yyv3692, yyv23692) + yyc3735 = true + yyrr3735 = len(yyv3735) + if yyrg3735 { + copy(yyv3735, yyv23735) } - } else if yyl3692 != len(yyv3692) { - yyv3692 = yyv3692[:yyl3692] - yyc3692 = true + } else if yyl3735 != len(yyv3735) { + yyv3735 = yyv3735[:yyl3735] + yyc3735 = true } - yyj3692 := 0 - for ; yyj3692 < yyrr3692; yyj3692++ { - yyh3692.ElemContainerState(yyj3692) + yyj3735 := 0 + for ; yyj3735 < yyrr3735; yyj3735++ { + yyh3735.ElemContainerState(yyj3735) if r.TryDecodeAsNil() { - yyv3692[yyj3692] = Node{} + yyv3735[yyj3735] = Node{} } else { - yyv3693 := &yyv3692[yyj3692] - yyv3693.CodecDecodeSelf(d) + yyv3736 := &yyv3735[yyj3735] + yyv3736.CodecDecodeSelf(d) } } - if yyrt3692 { - for ; yyj3692 < yyl3692; yyj3692++ { - yyv3692 = append(yyv3692, Node{}) - yyh3692.ElemContainerState(yyj3692) + if yyrt3735 { + for ; yyj3735 < yyl3735; yyj3735++ { + yyv3735 = append(yyv3735, Node{}) + yyh3735.ElemContainerState(yyj3735) if r.TryDecodeAsNil() { - yyv3692[yyj3692] = Node{} + yyv3735[yyj3735] = Node{} } else { - yyv3694 := &yyv3692[yyj3692] - yyv3694.CodecDecodeSelf(d) + yyv3737 := &yyv3735[yyj3735] + yyv3737.CodecDecodeSelf(d) } } } } else { - yyj3692 := 0 - for ; !r.CheckBreak(); yyj3692++ { + yyj3735 := 0 + for ; !r.CheckBreak(); yyj3735++ { - if yyj3692 >= len(yyv3692) { - yyv3692 = append(yyv3692, Node{}) // var yyz3692 Node - yyc3692 = true + if yyj3735 >= len(yyv3735) { + yyv3735 = append(yyv3735, Node{}) // var yyz3735 Node + yyc3735 = true } - yyh3692.ElemContainerState(yyj3692) - if yyj3692 < len(yyv3692) { + yyh3735.ElemContainerState(yyj3735) + if yyj3735 < len(yyv3735) { if r.TryDecodeAsNil() { - yyv3692[yyj3692] = Node{} + yyv3735[yyj3735] = Node{} } else { - yyv3695 := &yyv3692[yyj3692] - yyv3695.CodecDecodeSelf(d) + yyv3738 := &yyv3735[yyj3735] + yyv3738.CodecDecodeSelf(d) } } else { @@ -46807,17 +47453,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3692 < len(yyv3692) { - yyv3692 = yyv3692[:yyj3692] - yyc3692 = true - } else if yyj3692 == 0 && yyv3692 == nil { - yyv3692 = []Node{} - yyc3692 = true + if yyj3735 < len(yyv3735) { + yyv3735 = yyv3735[:yyj3735] + yyc3735 = true + } else if yyj3735 == 0 && yyv3735 == nil { + yyv3735 = []Node{} + yyc3735 = true } } - yyh3692.End() - if yyc3692 { - *v = yyv3692 + yyh3735.End() + if yyc3735 { + *v = yyv3735 } } @@ -46826,9 +47472,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3696 := range v { + for _, yyv3739 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3696.CodecEncodeSelf(e) + yyv3739.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46838,75 +47484,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3697 := *v - yyh3697, yyl3697 := z.DecSliceHelperStart() - var yyc3697 bool - if yyl3697 == 0 { - if yyv3697 == nil { - yyv3697 = []FinalizerName{} - yyc3697 = true - } else if len(yyv3697) != 0 { - yyv3697 = yyv3697[:0] - yyc3697 = true + yyv3740 := *v + yyh3740, yyl3740 := z.DecSliceHelperStart() + var yyc3740 bool + if yyl3740 == 0 { + if yyv3740 == nil { + yyv3740 = []FinalizerName{} + yyc3740 = true + } else if len(yyv3740) != 0 { + yyv3740 = yyv3740[:0] + yyc3740 = true } - } else if yyl3697 > 0 { - var yyrr3697, yyrl3697 int - var yyrt3697 bool - if yyl3697 > cap(yyv3697) { + } else if yyl3740 > 0 { + var yyrr3740, yyrl3740 int + var yyrt3740 bool + if yyl3740 > cap(yyv3740) { - yyrl3697, yyrt3697 = z.DecInferLen(yyl3697, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3697 { - if yyrl3697 <= cap(yyv3697) { - yyv3697 = yyv3697[:yyrl3697] + yyrl3740, yyrt3740 = z.DecInferLen(yyl3740, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3740 { + if yyrl3740 <= cap(yyv3740) { + yyv3740 = yyv3740[:yyrl3740] } else { - yyv3697 = make([]FinalizerName, yyrl3697) + yyv3740 = make([]FinalizerName, yyrl3740) } } else { - yyv3697 = make([]FinalizerName, yyrl3697) + yyv3740 = make([]FinalizerName, yyrl3740) } - yyc3697 = true - yyrr3697 = len(yyv3697) - } else if yyl3697 != len(yyv3697) { - yyv3697 = yyv3697[:yyl3697] - yyc3697 = true + yyc3740 = true + yyrr3740 = len(yyv3740) + } else if yyl3740 != len(yyv3740) { + yyv3740 = yyv3740[:yyl3740] + yyc3740 = true } - yyj3697 := 0 - for ; yyj3697 < yyrr3697; yyj3697++ { - yyh3697.ElemContainerState(yyj3697) + yyj3740 := 0 + for ; yyj3740 < yyrr3740; yyj3740++ { + yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3697[yyj3697] = "" + yyv3740[yyj3740] = "" } else { - yyv3697[yyj3697] = FinalizerName(r.DecodeString()) + yyv3740[yyj3740] = FinalizerName(r.DecodeString()) } } - if yyrt3697 { - for ; yyj3697 < yyl3697; yyj3697++ { - yyv3697 = append(yyv3697, "") - yyh3697.ElemContainerState(yyj3697) + if yyrt3740 { + for ; yyj3740 < yyl3740; yyj3740++ { + yyv3740 = append(yyv3740, "") + yyh3740.ElemContainerState(yyj3740) if r.TryDecodeAsNil() { - yyv3697[yyj3697] = "" + yyv3740[yyj3740] = "" } else { - yyv3697[yyj3697] = FinalizerName(r.DecodeString()) + yyv3740[yyj3740] = FinalizerName(r.DecodeString()) } } } } else { - yyj3697 := 0 - for ; !r.CheckBreak(); yyj3697++ { + yyj3740 := 0 + for ; !r.CheckBreak(); yyj3740++ { - if yyj3697 >= len(yyv3697) { - yyv3697 = append(yyv3697, "") // var yyz3697 FinalizerName - yyc3697 = true + if yyj3740 >= len(yyv3740) { + yyv3740 = append(yyv3740, "") // var yyz3740 FinalizerName + yyc3740 = true } - yyh3697.ElemContainerState(yyj3697) - if yyj3697 < len(yyv3697) { + yyh3740.ElemContainerState(yyj3740) + if yyj3740 < len(yyv3740) { if r.TryDecodeAsNil() { - yyv3697[yyj3697] = "" + yyv3740[yyj3740] = "" } else { - yyv3697[yyj3697] = FinalizerName(r.DecodeString()) + yyv3740[yyj3740] = FinalizerName(r.DecodeString()) } } else { @@ -46914,17 +47560,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3697 < len(yyv3697) { - yyv3697 = yyv3697[:yyj3697] - yyc3697 = true - } else if yyj3697 == 0 && yyv3697 == nil { - yyv3697 = []FinalizerName{} - yyc3697 = true + if yyj3740 < len(yyv3740) { + yyv3740 = yyv3740[:yyj3740] + yyc3740 = true + } else if yyj3740 == 0 && yyv3740 == nil { + yyv3740 = []FinalizerName{} + yyc3740 = true } } - yyh3697.End() - if yyc3697 { - *v = yyv3697 + yyh3740.End() + if yyc3740 { + *v = yyv3740 } } @@ -46933,10 +47579,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3701 := range v { + for _, yyv3744 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3702 := &yyv3701 - yy3702.CodecEncodeSelf(e) + yy3745 := &yyv3744 + yy3745.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46946,83 +47592,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3703 := *v - yyh3703, yyl3703 := z.DecSliceHelperStart() - var yyc3703 bool - if yyl3703 == 0 { - if yyv3703 == nil { - yyv3703 = []Namespace{} - yyc3703 = true - } else if len(yyv3703) != 0 { - yyv3703 = yyv3703[:0] - yyc3703 = true + yyv3746 := *v + yyh3746, yyl3746 := z.DecSliceHelperStart() + var yyc3746 bool + if yyl3746 == 0 { + if yyv3746 == nil { + yyv3746 = []Namespace{} + yyc3746 = true + } else if len(yyv3746) != 0 { + yyv3746 = yyv3746[:0] + yyc3746 = true } - } else if yyl3703 > 0 { - var yyrr3703, yyrl3703 int - var yyrt3703 bool - if yyl3703 > cap(yyv3703) { + } else if yyl3746 > 0 { + var yyrr3746, yyrl3746 int + var yyrt3746 bool + if yyl3746 > cap(yyv3746) { - yyrg3703 := len(yyv3703) > 0 - yyv23703 := yyv3703 - yyrl3703, yyrt3703 = z.DecInferLen(yyl3703, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3703 { - if yyrl3703 <= cap(yyv3703) { - yyv3703 = yyv3703[:yyrl3703] + yyrg3746 := len(yyv3746) > 0 + yyv23746 := yyv3746 + yyrl3746, yyrt3746 = z.DecInferLen(yyl3746, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3746 { + if yyrl3746 <= cap(yyv3746) { + yyv3746 = yyv3746[:yyrl3746] } else { - yyv3703 = make([]Namespace, yyrl3703) + yyv3746 = make([]Namespace, yyrl3746) } } else { - yyv3703 = make([]Namespace, yyrl3703) + yyv3746 = make([]Namespace, yyrl3746) } - yyc3703 = true - yyrr3703 = len(yyv3703) - if yyrg3703 { - copy(yyv3703, yyv23703) + yyc3746 = true + yyrr3746 = len(yyv3746) + if yyrg3746 { + copy(yyv3746, yyv23746) } - } else if yyl3703 != len(yyv3703) { - yyv3703 = yyv3703[:yyl3703] - yyc3703 = true + } else if yyl3746 != len(yyv3746) { + yyv3746 = yyv3746[:yyl3746] + yyc3746 = true } - yyj3703 := 0 - for ; yyj3703 < yyrr3703; yyj3703++ { - yyh3703.ElemContainerState(yyj3703) + yyj3746 := 0 + for ; yyj3746 < yyrr3746; yyj3746++ { + yyh3746.ElemContainerState(yyj3746) if r.TryDecodeAsNil() { - yyv3703[yyj3703] = Namespace{} + yyv3746[yyj3746] = Namespace{} } else { - yyv3704 := &yyv3703[yyj3703] - yyv3704.CodecDecodeSelf(d) + yyv3747 := &yyv3746[yyj3746] + yyv3747.CodecDecodeSelf(d) } } - if yyrt3703 { - for ; yyj3703 < yyl3703; yyj3703++ { - yyv3703 = append(yyv3703, Namespace{}) - yyh3703.ElemContainerState(yyj3703) + if yyrt3746 { + for ; yyj3746 < yyl3746; yyj3746++ { + yyv3746 = append(yyv3746, Namespace{}) + yyh3746.ElemContainerState(yyj3746) if r.TryDecodeAsNil() { - yyv3703[yyj3703] = Namespace{} + yyv3746[yyj3746] = Namespace{} } else { - yyv3705 := &yyv3703[yyj3703] - yyv3705.CodecDecodeSelf(d) + yyv3748 := &yyv3746[yyj3746] + yyv3748.CodecDecodeSelf(d) } } } } else { - yyj3703 := 0 - for ; !r.CheckBreak(); yyj3703++ { + yyj3746 := 0 + for ; !r.CheckBreak(); yyj3746++ { - if yyj3703 >= len(yyv3703) { - yyv3703 = append(yyv3703, Namespace{}) // var yyz3703 Namespace - yyc3703 = true + if yyj3746 >= len(yyv3746) { + yyv3746 = append(yyv3746, Namespace{}) // var yyz3746 Namespace + yyc3746 = true } - yyh3703.ElemContainerState(yyj3703) - if yyj3703 < len(yyv3703) { + yyh3746.ElemContainerState(yyj3746) + if yyj3746 < len(yyv3746) { if r.TryDecodeAsNil() { - yyv3703[yyj3703] = Namespace{} + yyv3746[yyj3746] = Namespace{} } else { - yyv3706 := &yyv3703[yyj3703] - yyv3706.CodecDecodeSelf(d) + yyv3749 := &yyv3746[yyj3746] + yyv3749.CodecDecodeSelf(d) } } else { @@ -47030,17 +47676,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3703 < len(yyv3703) { - yyv3703 = yyv3703[:yyj3703] - yyc3703 = true - } else if yyj3703 == 0 && yyv3703 == nil { - yyv3703 = []Namespace{} - yyc3703 = true + if yyj3746 < len(yyv3746) { + yyv3746 = yyv3746[:yyj3746] + yyc3746 = true + } else if yyj3746 == 0 && yyv3746 == nil { + yyv3746 = []Namespace{} + yyc3746 = true } } - yyh3703.End() - if yyc3703 { - *v = yyv3703 + yyh3746.End() + if yyc3746 { + *v = yyv3746 } } @@ -47049,10 +47695,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3707 := range v { + for _, yyv3750 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3708 := &yyv3707 - yy3708.CodecEncodeSelf(e) + yy3751 := &yyv3750 + yy3751.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47062,83 +47708,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3709 := *v - yyh3709, yyl3709 := z.DecSliceHelperStart() - var yyc3709 bool - if yyl3709 == 0 { - if yyv3709 == nil { - yyv3709 = []Event{} - yyc3709 = true - } else if len(yyv3709) != 0 { - yyv3709 = yyv3709[:0] - yyc3709 = true + yyv3752 := *v + yyh3752, yyl3752 := z.DecSliceHelperStart() + var yyc3752 bool + if yyl3752 == 0 { + if yyv3752 == nil { + yyv3752 = []Event{} + yyc3752 = true + } else if len(yyv3752) != 0 { + yyv3752 = yyv3752[:0] + yyc3752 = true } - } else if yyl3709 > 0 { - var yyrr3709, yyrl3709 int - var yyrt3709 bool - if yyl3709 > cap(yyv3709) { + } else if yyl3752 > 0 { + var yyrr3752, yyrl3752 int + var yyrt3752 bool + if yyl3752 > cap(yyv3752) { - yyrg3709 := len(yyv3709) > 0 - yyv23709 := yyv3709 - yyrl3709, yyrt3709 = z.DecInferLen(yyl3709, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3709 { - if yyrl3709 <= cap(yyv3709) { - yyv3709 = yyv3709[:yyrl3709] + yyrg3752 := len(yyv3752) > 0 + yyv23752 := yyv3752 + yyrl3752, yyrt3752 = z.DecInferLen(yyl3752, z.DecBasicHandle().MaxInitLen, 440) + if yyrt3752 { + if yyrl3752 <= cap(yyv3752) { + yyv3752 = yyv3752[:yyrl3752] } else { - yyv3709 = make([]Event, yyrl3709) + yyv3752 = make([]Event, yyrl3752) } } else { - yyv3709 = make([]Event, yyrl3709) + yyv3752 = make([]Event, yyrl3752) } - yyc3709 = true - yyrr3709 = len(yyv3709) - if yyrg3709 { - copy(yyv3709, yyv23709) + yyc3752 = true + yyrr3752 = len(yyv3752) + if yyrg3752 { + copy(yyv3752, yyv23752) } - } else if yyl3709 != len(yyv3709) { - yyv3709 = yyv3709[:yyl3709] - yyc3709 = true + } else if yyl3752 != len(yyv3752) { + yyv3752 = yyv3752[:yyl3752] + yyc3752 = true } - yyj3709 := 0 - for ; yyj3709 < yyrr3709; yyj3709++ { - yyh3709.ElemContainerState(yyj3709) + yyj3752 := 0 + for ; yyj3752 < yyrr3752; yyj3752++ { + yyh3752.ElemContainerState(yyj3752) if r.TryDecodeAsNil() { - yyv3709[yyj3709] = Event{} + yyv3752[yyj3752] = Event{} } else { - yyv3710 := &yyv3709[yyj3709] - yyv3710.CodecDecodeSelf(d) + yyv3753 := &yyv3752[yyj3752] + yyv3753.CodecDecodeSelf(d) } } - if yyrt3709 { - for ; yyj3709 < yyl3709; yyj3709++ { - yyv3709 = append(yyv3709, Event{}) - yyh3709.ElemContainerState(yyj3709) + if yyrt3752 { + for ; yyj3752 < yyl3752; yyj3752++ { + yyv3752 = append(yyv3752, Event{}) + yyh3752.ElemContainerState(yyj3752) if r.TryDecodeAsNil() { - yyv3709[yyj3709] = Event{} + yyv3752[yyj3752] = Event{} } else { - yyv3711 := &yyv3709[yyj3709] - yyv3711.CodecDecodeSelf(d) + yyv3754 := &yyv3752[yyj3752] + yyv3754.CodecDecodeSelf(d) } } } } else { - yyj3709 := 0 - for ; !r.CheckBreak(); yyj3709++ { + yyj3752 := 0 + for ; !r.CheckBreak(); yyj3752++ { - if yyj3709 >= len(yyv3709) { - yyv3709 = append(yyv3709, Event{}) // var yyz3709 Event - yyc3709 = true + if yyj3752 >= len(yyv3752) { + yyv3752 = append(yyv3752, Event{}) // var yyz3752 Event + yyc3752 = true } - yyh3709.ElemContainerState(yyj3709) - if yyj3709 < len(yyv3709) { + yyh3752.ElemContainerState(yyj3752) + if yyj3752 < len(yyv3752) { if r.TryDecodeAsNil() { - yyv3709[yyj3709] = Event{} + yyv3752[yyj3752] = Event{} } else { - yyv3712 := &yyv3709[yyj3709] - yyv3712.CodecDecodeSelf(d) + yyv3755 := &yyv3752[yyj3752] + yyv3755.CodecDecodeSelf(d) } } else { @@ -47146,17 +47792,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj3709 < len(yyv3709) { - yyv3709 = yyv3709[:yyj3709] - yyc3709 = true - } else if yyj3709 == 0 && yyv3709 == nil { - yyv3709 = []Event{} - yyc3709 = true + if yyj3752 < len(yyv3752) { + yyv3752 = yyv3752[:yyj3752] + yyc3752 = true + } else if yyj3752 == 0 && yyv3752 == nil { + yyv3752 = []Event{} + yyc3752 = true } } - yyh3709.End() - if yyc3709 { - *v = yyv3709 + yyh3752.End() + if yyc3752 { + *v = yyv3752 } } @@ -47165,17 +47811,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3713 := range v { + for _, yyv3756 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3714 := &yyv3713 - yym3715 := z.EncBinary() - _ = yym3715 + yy3757 := &yyv3756 + yym3758 := z.EncBinary() + _ = yym3758 if false { - } else if z.HasExtensions() && z.EncExt(yy3714) { - } else if !yym3715 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3714) + } else if z.HasExtensions() && z.EncExt(yy3757) { + } else if !yym3758 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3757) } else { - z.EncFallback(yy3714) + z.EncFallback(yy3757) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -47186,729 +47832,12 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3716 := *v - yyh3716, yyl3716 := z.DecSliceHelperStart() - var yyc3716 bool - if yyl3716 == 0 { - if yyv3716 == nil { - yyv3716 = []pkg6_runtime.RawExtension{} - yyc3716 = true - } else if len(yyv3716) != 0 { - yyv3716 = yyv3716[:0] - yyc3716 = true - } - } else if yyl3716 > 0 { - var yyrr3716, yyrl3716 int - var yyrt3716 bool - if yyl3716 > cap(yyv3716) { - - yyrg3716 := len(yyv3716) > 0 - yyv23716 := yyv3716 - yyrl3716, yyrt3716 = z.DecInferLen(yyl3716, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3716 { - if yyrl3716 <= cap(yyv3716) { - yyv3716 = yyv3716[:yyrl3716] - } else { - yyv3716 = make([]pkg6_runtime.RawExtension, yyrl3716) - } - } else { - yyv3716 = make([]pkg6_runtime.RawExtension, yyrl3716) - } - yyc3716 = true - yyrr3716 = len(yyv3716) - if yyrg3716 { - copy(yyv3716, yyv23716) - } - } else if yyl3716 != len(yyv3716) { - yyv3716 = yyv3716[:yyl3716] - yyc3716 = true - } - yyj3716 := 0 - for ; yyj3716 < yyrr3716; yyj3716++ { - yyh3716.ElemContainerState(yyj3716) - if r.TryDecodeAsNil() { - yyv3716[yyj3716] = pkg6_runtime.RawExtension{} - } else { - yyv3717 := &yyv3716[yyj3716] - yym3718 := z.DecBinary() - _ = yym3718 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3717) { - } else if !yym3718 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3717) - } else { - z.DecFallback(yyv3717, false) - } - } - - } - if yyrt3716 { - for ; yyj3716 < yyl3716; yyj3716++ { - yyv3716 = append(yyv3716, pkg6_runtime.RawExtension{}) - yyh3716.ElemContainerState(yyj3716) - if r.TryDecodeAsNil() { - yyv3716[yyj3716] = pkg6_runtime.RawExtension{} - } else { - yyv3719 := &yyv3716[yyj3716] - yym3720 := z.DecBinary() - _ = yym3720 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3719) { - } else if !yym3720 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3719) - } else { - z.DecFallback(yyv3719, false) - } - } - - } - } - - } else { - yyj3716 := 0 - for ; !r.CheckBreak(); yyj3716++ { - - if yyj3716 >= len(yyv3716) { - yyv3716 = append(yyv3716, pkg6_runtime.RawExtension{}) // var yyz3716 pkg6_runtime.RawExtension - yyc3716 = true - } - yyh3716.ElemContainerState(yyj3716) - if yyj3716 < len(yyv3716) { - if r.TryDecodeAsNil() { - yyv3716[yyj3716] = pkg6_runtime.RawExtension{} - } else { - yyv3721 := &yyv3716[yyj3716] - yym3722 := z.DecBinary() - _ = yym3722 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3721) { - } else if !yym3722 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3721) - } else { - z.DecFallback(yyv3721, false) - } - } - - } else { - z.DecSwallow() - } - - } - if yyj3716 < len(yyv3716) { - yyv3716 = yyv3716[:yyj3716] - yyc3716 = true - } else if yyj3716 == 0 && yyv3716 == nil { - yyv3716 = []pkg6_runtime.RawExtension{} - yyc3716 = true - } - } - yyh3716.End() - if yyc3716 { - *v = yyv3716 - } -} - -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 _, yyv3723 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3724 := &yyv3723 - yy3724.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 - - yyv3725 := *v - yyh3725, yyl3725 := z.DecSliceHelperStart() - var yyc3725 bool - if yyl3725 == 0 { - if yyv3725 == nil { - yyv3725 = []LimitRangeItem{} - yyc3725 = true - } else if len(yyv3725) != 0 { - yyv3725 = yyv3725[:0] - yyc3725 = true - } - } else if yyl3725 > 0 { - var yyrr3725, yyrl3725 int - var yyrt3725 bool - if yyl3725 > cap(yyv3725) { - - yyrg3725 := len(yyv3725) > 0 - yyv23725 := yyv3725 - yyrl3725, yyrt3725 = z.DecInferLen(yyl3725, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3725 { - if yyrl3725 <= cap(yyv3725) { - yyv3725 = yyv3725[:yyrl3725] - } else { - yyv3725 = make([]LimitRangeItem, yyrl3725) - } - } else { - yyv3725 = make([]LimitRangeItem, yyrl3725) - } - yyc3725 = true - yyrr3725 = len(yyv3725) - if yyrg3725 { - copy(yyv3725, yyv23725) - } - } else if yyl3725 != len(yyv3725) { - yyv3725 = yyv3725[:yyl3725] - yyc3725 = true - } - yyj3725 := 0 - for ; yyj3725 < yyrr3725; yyj3725++ { - yyh3725.ElemContainerState(yyj3725) - if r.TryDecodeAsNil() { - yyv3725[yyj3725] = LimitRangeItem{} - } else { - yyv3726 := &yyv3725[yyj3725] - yyv3726.CodecDecodeSelf(d) - } - - } - if yyrt3725 { - for ; yyj3725 < yyl3725; yyj3725++ { - yyv3725 = append(yyv3725, LimitRangeItem{}) - yyh3725.ElemContainerState(yyj3725) - if r.TryDecodeAsNil() { - yyv3725[yyj3725] = LimitRangeItem{} - } else { - yyv3727 := &yyv3725[yyj3725] - yyv3727.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3725 := 0 - for ; !r.CheckBreak(); yyj3725++ { - - if yyj3725 >= len(yyv3725) { - yyv3725 = append(yyv3725, LimitRangeItem{}) // var yyz3725 LimitRangeItem - yyc3725 = true - } - yyh3725.ElemContainerState(yyj3725) - if yyj3725 < len(yyv3725) { - if r.TryDecodeAsNil() { - yyv3725[yyj3725] = LimitRangeItem{} - } else { - yyv3728 := &yyv3725[yyj3725] - yyv3728.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3725 < len(yyv3725) { - yyv3725 = yyv3725[:yyj3725] - yyc3725 = true - } else if yyj3725 == 0 && yyv3725 == nil { - yyv3725 = []LimitRangeItem{} - yyc3725 = true - } - } - yyh3725.End() - if yyc3725 { - *v = yyv3725 - } -} - -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 _, yyv3729 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3730 := &yyv3729 - yy3730.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 - - yyv3731 := *v - yyh3731, yyl3731 := z.DecSliceHelperStart() - var yyc3731 bool - if yyl3731 == 0 { - if yyv3731 == nil { - yyv3731 = []LimitRange{} - yyc3731 = true - } else if len(yyv3731) != 0 { - yyv3731 = yyv3731[:0] - yyc3731 = true - } - } else if yyl3731 > 0 { - var yyrr3731, yyrl3731 int - var yyrt3731 bool - if yyl3731 > cap(yyv3731) { - - yyrg3731 := len(yyv3731) > 0 - yyv23731 := yyv3731 - yyrl3731, yyrt3731 = z.DecInferLen(yyl3731, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3731 { - if yyrl3731 <= cap(yyv3731) { - yyv3731 = yyv3731[:yyrl3731] - } else { - yyv3731 = make([]LimitRange, yyrl3731) - } - } else { - yyv3731 = make([]LimitRange, yyrl3731) - } - yyc3731 = true - yyrr3731 = len(yyv3731) - if yyrg3731 { - copy(yyv3731, yyv23731) - } - } else if yyl3731 != len(yyv3731) { - yyv3731 = yyv3731[:yyl3731] - yyc3731 = true - } - yyj3731 := 0 - for ; yyj3731 < yyrr3731; yyj3731++ { - yyh3731.ElemContainerState(yyj3731) - if r.TryDecodeAsNil() { - yyv3731[yyj3731] = LimitRange{} - } else { - yyv3732 := &yyv3731[yyj3731] - yyv3732.CodecDecodeSelf(d) - } - - } - if yyrt3731 { - for ; yyj3731 < yyl3731; yyj3731++ { - yyv3731 = append(yyv3731, LimitRange{}) - yyh3731.ElemContainerState(yyj3731) - if r.TryDecodeAsNil() { - yyv3731[yyj3731] = LimitRange{} - } else { - yyv3733 := &yyv3731[yyj3731] - yyv3733.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3731 := 0 - for ; !r.CheckBreak(); yyj3731++ { - - if yyj3731 >= len(yyv3731) { - yyv3731 = append(yyv3731, LimitRange{}) // var yyz3731 LimitRange - yyc3731 = true - } - yyh3731.ElemContainerState(yyj3731) - if yyj3731 < len(yyv3731) { - if r.TryDecodeAsNil() { - yyv3731[yyj3731] = LimitRange{} - } else { - yyv3734 := &yyv3731[yyj3731] - yyv3734.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3731 < len(yyv3731) { - yyv3731 = yyv3731[:yyj3731] - yyc3731 = true - } else if yyj3731 == 0 && yyv3731 == nil { - yyv3731 = []LimitRange{} - yyc3731 = true - } - } - yyh3731.End() - if yyc3731 { - *v = yyv3731 - } -} - -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 _, yyv3735 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3736 := &yyv3735 - yy3736.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 - - yyv3737 := *v - yyh3737, yyl3737 := z.DecSliceHelperStart() - var yyc3737 bool - if yyl3737 == 0 { - if yyv3737 == nil { - yyv3737 = []ResourceQuota{} - yyc3737 = true - } else if len(yyv3737) != 0 { - yyv3737 = yyv3737[:0] - yyc3737 = true - } - } else if yyl3737 > 0 { - var yyrr3737, yyrl3737 int - var yyrt3737 bool - if yyl3737 > cap(yyv3737) { - - yyrg3737 := len(yyv3737) > 0 - yyv23737 := yyv3737 - yyrl3737, yyrt3737 = z.DecInferLen(yyl3737, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3737 { - if yyrl3737 <= cap(yyv3737) { - yyv3737 = yyv3737[:yyrl3737] - } else { - yyv3737 = make([]ResourceQuota, yyrl3737) - } - } else { - yyv3737 = make([]ResourceQuota, yyrl3737) - } - yyc3737 = true - yyrr3737 = len(yyv3737) - if yyrg3737 { - copy(yyv3737, yyv23737) - } - } else if yyl3737 != len(yyv3737) { - yyv3737 = yyv3737[:yyl3737] - yyc3737 = true - } - yyj3737 := 0 - for ; yyj3737 < yyrr3737; yyj3737++ { - yyh3737.ElemContainerState(yyj3737) - if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ResourceQuota{} - } else { - yyv3738 := &yyv3737[yyj3737] - yyv3738.CodecDecodeSelf(d) - } - - } - if yyrt3737 { - for ; yyj3737 < yyl3737; yyj3737++ { - yyv3737 = append(yyv3737, ResourceQuota{}) - yyh3737.ElemContainerState(yyj3737) - if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ResourceQuota{} - } else { - yyv3739 := &yyv3737[yyj3737] - yyv3739.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3737 := 0 - for ; !r.CheckBreak(); yyj3737++ { - - if yyj3737 >= len(yyv3737) { - yyv3737 = append(yyv3737, ResourceQuota{}) // var yyz3737 ResourceQuota - yyc3737 = true - } - yyh3737.ElemContainerState(yyj3737) - if yyj3737 < len(yyv3737) { - if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ResourceQuota{} - } else { - yyv3740 := &yyv3737[yyj3737] - yyv3740.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3737 < len(yyv3737) { - yyv3737 = yyv3737[:yyj3737] - yyc3737 = true - } else if yyj3737 == 0 && yyv3737 == nil { - yyv3737 = []ResourceQuota{} - yyc3737 = true - } - } - yyh3737.End() - if yyc3737 { - *v = yyv3737 - } -} - -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 yyk3741, yyv3741 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3742 := z.EncBinary() - _ = yym3742 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3741)) - } - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3741 == nil { - r.EncodeNil() - } else { - yym3743 := z.EncBinary() - _ = yym3743 - if false { - } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3741)) - } - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3744 := *v - yyl3744 := r.ReadMapStart() - yybh3744 := z.DecBasicHandle() - if yyv3744 == nil { - yyrl3744, _ := z.DecInferLen(yyl3744, yybh3744.MaxInitLen, 40) - yyv3744 = make(map[string][]uint8, yyrl3744) - *v = yyv3744 - } - var yymk3744 string - var yymv3744 []uint8 - var yymg3744 bool - if yybh3744.MapValueReset { - yymg3744 = true - } - if yyl3744 > 0 { - for yyj3744 := 0; yyj3744 < yyl3744; yyj3744++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3744 = "" - } else { - yymk3744 = string(r.DecodeString()) - } - - if yymg3744 { - yymv3744 = yyv3744[yymk3744] - } else { - yymv3744 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3744 = nil - } else { - yyv3746 := &yymv3744 - yym3747 := z.DecBinary() - _ = yym3747 - if false { - } else { - *yyv3746 = r.DecodeBytes(*(*[]byte)(yyv3746), false, false) - } - } - - if yyv3744 != nil { - yyv3744[yymk3744] = yymv3744 - } - } - } else if yyl3744 < 0 { - for yyj3744 := 0; !r.CheckBreak(); yyj3744++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk3744 = "" - } else { - yymk3744 = string(r.DecodeString()) - } - - if yymg3744 { - yymv3744 = yyv3744[yymk3744] - } else { - yymv3744 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv3744 = nil - } else { - yyv3749 := &yymv3744 - yym3750 := z.DecBinary() - _ = yym3750 - if false { - } else { - *yyv3749 = r.DecodeBytes(*(*[]byte)(yyv3749), false, false) - } - } - - if yyv3744 != nil { - yyv3744[yymk3744] = yymv3744 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3751 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3752 := &yyv3751 - yy3752.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv3753 := *v - yyh3753, yyl3753 := z.DecSliceHelperStart() - var yyc3753 bool - if yyl3753 == 0 { - if yyv3753 == nil { - yyv3753 = []Secret{} - yyc3753 = true - } else if len(yyv3753) != 0 { - yyv3753 = yyv3753[:0] - yyc3753 = true - } - } else if yyl3753 > 0 { - var yyrr3753, yyrl3753 int - var yyrt3753 bool - if yyl3753 > cap(yyv3753) { - - yyrg3753 := len(yyv3753) > 0 - yyv23753 := yyv3753 - yyrl3753, yyrt3753 = z.DecInferLen(yyl3753, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3753 { - if yyrl3753 <= cap(yyv3753) { - yyv3753 = yyv3753[:yyrl3753] - } else { - yyv3753 = make([]Secret, yyrl3753) - } - } else { - yyv3753 = make([]Secret, yyrl3753) - } - yyc3753 = true - yyrr3753 = len(yyv3753) - if yyrg3753 { - copy(yyv3753, yyv23753) - } - } else if yyl3753 != len(yyv3753) { - yyv3753 = yyv3753[:yyl3753] - yyc3753 = true - } - yyj3753 := 0 - for ; yyj3753 < yyrr3753; yyj3753++ { - yyh3753.ElemContainerState(yyj3753) - if r.TryDecodeAsNil() { - yyv3753[yyj3753] = Secret{} - } else { - yyv3754 := &yyv3753[yyj3753] - yyv3754.CodecDecodeSelf(d) - } - - } - if yyrt3753 { - for ; yyj3753 < yyl3753; yyj3753++ { - yyv3753 = append(yyv3753, Secret{}) - yyh3753.ElemContainerState(yyj3753) - if r.TryDecodeAsNil() { - yyv3753[yyj3753] = Secret{} - } else { - yyv3755 := &yyv3753[yyj3753] - yyv3755.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj3753 := 0 - for ; !r.CheckBreak(); yyj3753++ { - - if yyj3753 >= len(yyv3753) { - yyv3753 = append(yyv3753, Secret{}) // var yyz3753 Secret - yyc3753 = true - } - yyh3753.ElemContainerState(yyj3753) - if yyj3753 < len(yyv3753) { - if r.TryDecodeAsNil() { - yyv3753[yyj3753] = Secret{} - } else { - yyv3756 := &yyv3753[yyj3753] - yyv3756.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj3753 < len(yyv3753) { - yyv3753 = yyv3753[:yyj3753] - yyc3753 = true - } else if yyj3753 == 0 && yyv3753 == nil { - yyv3753 = []Secret{} - yyc3753 = true - } - } - yyh3753.End() - if yyc3753 { - *v = yyv3753 - } -} - -func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv3757 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3758 := &yyv3757 - yy3758.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yyv3759 := *v yyh3759, yyl3759 := z.DecSliceHelperStart() var yyc3759 bool if yyl3759 == 0 { if yyv3759 == nil { - yyv3759 = []ComponentCondition{} + yyv3759 = []pkg6_runtime.RawExtension{} yyc3759 = true } else if len(yyv3759) != 0 { yyv3759 = yyv3759[:0] @@ -47921,15 +47850,15 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * yyrg3759 := len(yyv3759) > 0 yyv23759 := yyv3759 - yyrl3759, yyrt3759 = z.DecInferLen(yyl3759, z.DecBasicHandle().MaxInitLen, 64) + yyrl3759, yyrt3759 = z.DecInferLen(yyl3759, z.DecBasicHandle().MaxInitLen, 24) if yyrt3759 { if yyrl3759 <= cap(yyv3759) { yyv3759 = yyv3759[:yyrl3759] } else { - yyv3759 = make([]ComponentCondition, yyrl3759) + yyv3759 = make([]pkg6_runtime.RawExtension, yyrl3759) } } else { - yyv3759 = make([]ComponentCondition, yyrl3759) + yyv3759 = make([]pkg6_runtime.RawExtension, yyrl3759) } yyc3759 = true yyrr3759 = len(yyv3759) @@ -47944,22 +47873,38 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * for ; yyj3759 < yyrr3759; yyj3759++ { yyh3759.ElemContainerState(yyj3759) if r.TryDecodeAsNil() { - yyv3759[yyj3759] = ComponentCondition{} + yyv3759[yyj3759] = pkg6_runtime.RawExtension{} } else { yyv3760 := &yyv3759[yyj3759] - yyv3760.CodecDecodeSelf(d) + yym3761 := z.DecBinary() + _ = yym3761 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3760) { + } else if !yym3761 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3760) + } else { + z.DecFallback(yyv3760, false) + } } } if yyrt3759 { for ; yyj3759 < yyl3759; yyj3759++ { - yyv3759 = append(yyv3759, ComponentCondition{}) + yyv3759 = append(yyv3759, pkg6_runtime.RawExtension{}) yyh3759.ElemContainerState(yyj3759) if r.TryDecodeAsNil() { - yyv3759[yyj3759] = ComponentCondition{} + yyv3759[yyj3759] = pkg6_runtime.RawExtension{} } else { - yyv3761 := &yyv3759[yyj3759] - yyv3761.CodecDecodeSelf(d) + yyv3762 := &yyv3759[yyj3759] + yym3763 := z.DecBinary() + _ = yym3763 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3762) { + } else if !yym3763 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3762) + } else { + z.DecFallback(yyv3762, false) + } } } @@ -47970,16 +47915,24 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * for ; !r.CheckBreak(); yyj3759++ { if yyj3759 >= len(yyv3759) { - yyv3759 = append(yyv3759, ComponentCondition{}) // var yyz3759 ComponentCondition + yyv3759 = append(yyv3759, pkg6_runtime.RawExtension{}) // var yyz3759 pkg6_runtime.RawExtension yyc3759 = true } yyh3759.ElemContainerState(yyj3759) if yyj3759 < len(yyv3759) { if r.TryDecodeAsNil() { - yyv3759[yyj3759] = ComponentCondition{} + yyv3759[yyj3759] = pkg6_runtime.RawExtension{} } else { - yyv3762 := &yyv3759[yyj3759] - yyv3762.CodecDecodeSelf(d) + yyv3764 := &yyv3759[yyj3759] + yym3765 := z.DecBinary() + _ = yym3765 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3764) { + } else if !yym3765 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3764) + } else { + z.DecFallback(yyv3764, false) + } } } else { @@ -47991,7 +47944,7 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * yyv3759 = yyv3759[:yyj3759] yyc3759 = true } else if yyj3759 == 0 && yyv3759 == nil { - yyv3759 = []ComponentCondition{} + yyv3759 = []pkg6_runtime.RawExtension{} yyc3759 = true } } @@ -48001,15 +47954,708 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } +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 _, yyv3766 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3767 := &yyv3766 + yy3767.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 + + yyv3768 := *v + yyh3768, yyl3768 := z.DecSliceHelperStart() + var yyc3768 bool + if yyl3768 == 0 { + if yyv3768 == nil { + yyv3768 = []LimitRangeItem{} + yyc3768 = true + } else if len(yyv3768) != 0 { + yyv3768 = yyv3768[:0] + yyc3768 = true + } + } else if yyl3768 > 0 { + var yyrr3768, yyrl3768 int + var yyrt3768 bool + if yyl3768 > cap(yyv3768) { + + yyrg3768 := len(yyv3768) > 0 + yyv23768 := yyv3768 + yyrl3768, yyrt3768 = z.DecInferLen(yyl3768, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3768 { + if yyrl3768 <= cap(yyv3768) { + yyv3768 = yyv3768[:yyrl3768] + } else { + yyv3768 = make([]LimitRangeItem, yyrl3768) + } + } else { + yyv3768 = make([]LimitRangeItem, yyrl3768) + } + yyc3768 = true + yyrr3768 = len(yyv3768) + if yyrg3768 { + copy(yyv3768, yyv23768) + } + } else if yyl3768 != len(yyv3768) { + yyv3768 = yyv3768[:yyl3768] + yyc3768 = true + } + yyj3768 := 0 + for ; yyj3768 < yyrr3768; yyj3768++ { + yyh3768.ElemContainerState(yyj3768) + if r.TryDecodeAsNil() { + yyv3768[yyj3768] = LimitRangeItem{} + } else { + yyv3769 := &yyv3768[yyj3768] + yyv3769.CodecDecodeSelf(d) + } + + } + if yyrt3768 { + for ; yyj3768 < yyl3768; yyj3768++ { + yyv3768 = append(yyv3768, LimitRangeItem{}) + yyh3768.ElemContainerState(yyj3768) + if r.TryDecodeAsNil() { + yyv3768[yyj3768] = LimitRangeItem{} + } else { + yyv3770 := &yyv3768[yyj3768] + yyv3770.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3768 := 0 + for ; !r.CheckBreak(); yyj3768++ { + + if yyj3768 >= len(yyv3768) { + yyv3768 = append(yyv3768, LimitRangeItem{}) // var yyz3768 LimitRangeItem + yyc3768 = true + } + yyh3768.ElemContainerState(yyj3768) + if yyj3768 < len(yyv3768) { + if r.TryDecodeAsNil() { + yyv3768[yyj3768] = LimitRangeItem{} + } else { + yyv3771 := &yyv3768[yyj3768] + yyv3771.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3768 < len(yyv3768) { + yyv3768 = yyv3768[:yyj3768] + yyc3768 = true + } else if yyj3768 == 0 && yyv3768 == nil { + yyv3768 = []LimitRangeItem{} + yyc3768 = true + } + } + yyh3768.End() + if yyc3768 { + *v = yyv3768 + } +} + +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 _, yyv3772 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3773 := &yyv3772 + yy3773.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 + + yyv3774 := *v + yyh3774, yyl3774 := z.DecSliceHelperStart() + var yyc3774 bool + if yyl3774 == 0 { + if yyv3774 == nil { + yyv3774 = []LimitRange{} + yyc3774 = true + } else if len(yyv3774) != 0 { + yyv3774 = yyv3774[:0] + yyc3774 = true + } + } else if yyl3774 > 0 { + var yyrr3774, yyrl3774 int + var yyrt3774 bool + if yyl3774 > cap(yyv3774) { + + yyrg3774 := len(yyv3774) > 0 + yyv23774 := yyv3774 + yyrl3774, yyrt3774 = z.DecInferLen(yyl3774, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3774 { + if yyrl3774 <= cap(yyv3774) { + yyv3774 = yyv3774[:yyrl3774] + } else { + yyv3774 = make([]LimitRange, yyrl3774) + } + } else { + yyv3774 = make([]LimitRange, yyrl3774) + } + yyc3774 = true + yyrr3774 = len(yyv3774) + if yyrg3774 { + copy(yyv3774, yyv23774) + } + } else if yyl3774 != len(yyv3774) { + yyv3774 = yyv3774[:yyl3774] + yyc3774 = true + } + yyj3774 := 0 + for ; yyj3774 < yyrr3774; yyj3774++ { + yyh3774.ElemContainerState(yyj3774) + if r.TryDecodeAsNil() { + yyv3774[yyj3774] = LimitRange{} + } else { + yyv3775 := &yyv3774[yyj3774] + yyv3775.CodecDecodeSelf(d) + } + + } + if yyrt3774 { + for ; yyj3774 < yyl3774; yyj3774++ { + yyv3774 = append(yyv3774, LimitRange{}) + yyh3774.ElemContainerState(yyj3774) + if r.TryDecodeAsNil() { + yyv3774[yyj3774] = LimitRange{} + } else { + yyv3776 := &yyv3774[yyj3774] + yyv3776.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3774 := 0 + for ; !r.CheckBreak(); yyj3774++ { + + if yyj3774 >= len(yyv3774) { + yyv3774 = append(yyv3774, LimitRange{}) // var yyz3774 LimitRange + yyc3774 = true + } + yyh3774.ElemContainerState(yyj3774) + if yyj3774 < len(yyv3774) { + if r.TryDecodeAsNil() { + yyv3774[yyj3774] = LimitRange{} + } else { + yyv3777 := &yyv3774[yyj3774] + yyv3777.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3774 < len(yyv3774) { + yyv3774 = yyv3774[:yyj3774] + yyc3774 = true + } else if yyj3774 == 0 && yyv3774 == nil { + yyv3774 = []LimitRange{} + yyc3774 = true + } + } + yyh3774.End() + if yyc3774 { + *v = yyv3774 + } +} + +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 _, yyv3778 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3779 := &yyv3778 + yy3779.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 + + yyv3780 := *v + yyh3780, yyl3780 := z.DecSliceHelperStart() + var yyc3780 bool + if yyl3780 == 0 { + if yyv3780 == nil { + yyv3780 = []ResourceQuota{} + yyc3780 = true + } else if len(yyv3780) != 0 { + yyv3780 = yyv3780[:0] + yyc3780 = true + } + } else if yyl3780 > 0 { + var yyrr3780, yyrl3780 int + var yyrt3780 bool + if yyl3780 > cap(yyv3780) { + + yyrg3780 := len(yyv3780) > 0 + yyv23780 := yyv3780 + yyrl3780, yyrt3780 = z.DecInferLen(yyl3780, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3780 { + if yyrl3780 <= cap(yyv3780) { + yyv3780 = yyv3780[:yyrl3780] + } else { + yyv3780 = make([]ResourceQuota, yyrl3780) + } + } else { + yyv3780 = make([]ResourceQuota, yyrl3780) + } + yyc3780 = true + yyrr3780 = len(yyv3780) + if yyrg3780 { + copy(yyv3780, yyv23780) + } + } else if yyl3780 != len(yyv3780) { + yyv3780 = yyv3780[:yyl3780] + yyc3780 = true + } + yyj3780 := 0 + for ; yyj3780 < yyrr3780; yyj3780++ { + yyh3780.ElemContainerState(yyj3780) + if r.TryDecodeAsNil() { + yyv3780[yyj3780] = ResourceQuota{} + } else { + yyv3781 := &yyv3780[yyj3780] + yyv3781.CodecDecodeSelf(d) + } + + } + if yyrt3780 { + for ; yyj3780 < yyl3780; yyj3780++ { + yyv3780 = append(yyv3780, ResourceQuota{}) + yyh3780.ElemContainerState(yyj3780) + if r.TryDecodeAsNil() { + yyv3780[yyj3780] = ResourceQuota{} + } else { + yyv3782 := &yyv3780[yyj3780] + yyv3782.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3780 := 0 + for ; !r.CheckBreak(); yyj3780++ { + + if yyj3780 >= len(yyv3780) { + yyv3780 = append(yyv3780, ResourceQuota{}) // var yyz3780 ResourceQuota + yyc3780 = true + } + yyh3780.ElemContainerState(yyj3780) + if yyj3780 < len(yyv3780) { + if r.TryDecodeAsNil() { + yyv3780[yyj3780] = ResourceQuota{} + } else { + yyv3783 := &yyv3780[yyj3780] + yyv3783.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3780 < len(yyv3780) { + yyv3780 = yyv3780[:yyj3780] + yyc3780 = true + } else if yyj3780 == 0 && yyv3780 == nil { + yyv3780 = []ResourceQuota{} + yyc3780 = true + } + } + yyh3780.End() + if yyc3780 { + *v = yyv3780 + } +} + +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 yyk3784, yyv3784 := range v { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + yym3785 := z.EncBinary() + _ = yym3785 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyk3784)) + } + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyv3784 == nil { + r.EncodeNil() + } else { + yym3786 := z.EncBinary() + _ = yym3786 + if false { + } else { + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3784)) + } + } + } + z.EncSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3787 := *v + yyl3787 := r.ReadMapStart() + yybh3787 := z.DecBasicHandle() + if yyv3787 == nil { + yyrl3787, _ := z.DecInferLen(yyl3787, yybh3787.MaxInitLen, 40) + yyv3787 = make(map[string][]uint8, yyrl3787) + *v = yyv3787 + } + var yymk3787 string + var yymv3787 []uint8 + var yymg3787 bool + if yybh3787.MapValueReset { + yymg3787 = true + } + if yyl3787 > 0 { + for yyj3787 := 0; yyj3787 < yyl3787; yyj3787++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3787 = "" + } else { + yymk3787 = string(r.DecodeString()) + } + + if yymg3787 { + yymv3787 = yyv3787[yymk3787] + } else { + yymv3787 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3787 = nil + } else { + yyv3789 := &yymv3787 + yym3790 := z.DecBinary() + _ = yym3790 + if false { + } else { + *yyv3789 = r.DecodeBytes(*(*[]byte)(yyv3789), false, false) + } + } + + if yyv3787 != nil { + yyv3787[yymk3787] = yymv3787 + } + } + } else if yyl3787 < 0 { + for yyj3787 := 0; !r.CheckBreak(); yyj3787++ { + z.DecSendContainerState(codecSelfer_containerMapKey1234) + if r.TryDecodeAsNil() { + yymk3787 = "" + } else { + yymk3787 = string(r.DecodeString()) + } + + if yymg3787 { + yymv3787 = yyv3787[yymk3787] + } else { + yymv3787 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv3787 = nil + } else { + yyv3792 := &yymv3787 + yym3793 := z.DecBinary() + _ = yym3793 + if false { + } else { + *yyv3792 = r.DecodeBytes(*(*[]byte)(yyv3792), false, false) + } + } + + if yyv3787 != nil { + yyv3787[yymk3787] = yymv3787 + } + } + } // else len==0: TODO: Should we clear map entries? + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3794 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3795 := &yyv3794 + yy3795.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3796 := *v + yyh3796, yyl3796 := z.DecSliceHelperStart() + var yyc3796 bool + if yyl3796 == 0 { + if yyv3796 == nil { + yyv3796 = []Secret{} + yyc3796 = true + } else if len(yyv3796) != 0 { + yyv3796 = yyv3796[:0] + yyc3796 = true + } + } else if yyl3796 > 0 { + var yyrr3796, yyrl3796 int + var yyrt3796 bool + if yyl3796 > cap(yyv3796) { + + yyrg3796 := len(yyv3796) > 0 + yyv23796 := yyv3796 + yyrl3796, yyrt3796 = z.DecInferLen(yyl3796, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3796 { + if yyrl3796 <= cap(yyv3796) { + yyv3796 = yyv3796[:yyrl3796] + } else { + yyv3796 = make([]Secret, yyrl3796) + } + } else { + yyv3796 = make([]Secret, yyrl3796) + } + yyc3796 = true + yyrr3796 = len(yyv3796) + if yyrg3796 { + copy(yyv3796, yyv23796) + } + } else if yyl3796 != len(yyv3796) { + yyv3796 = yyv3796[:yyl3796] + yyc3796 = true + } + yyj3796 := 0 + for ; yyj3796 < yyrr3796; yyj3796++ { + yyh3796.ElemContainerState(yyj3796) + if r.TryDecodeAsNil() { + yyv3796[yyj3796] = Secret{} + } else { + yyv3797 := &yyv3796[yyj3796] + yyv3797.CodecDecodeSelf(d) + } + + } + if yyrt3796 { + for ; yyj3796 < yyl3796; yyj3796++ { + yyv3796 = append(yyv3796, Secret{}) + yyh3796.ElemContainerState(yyj3796) + if r.TryDecodeAsNil() { + yyv3796[yyj3796] = Secret{} + } else { + yyv3798 := &yyv3796[yyj3796] + yyv3798.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3796 := 0 + for ; !r.CheckBreak(); yyj3796++ { + + if yyj3796 >= len(yyv3796) { + yyv3796 = append(yyv3796, Secret{}) // var yyz3796 Secret + yyc3796 = true + } + yyh3796.ElemContainerState(yyj3796) + if yyj3796 < len(yyv3796) { + if r.TryDecodeAsNil() { + yyv3796[yyj3796] = Secret{} + } else { + yyv3799 := &yyv3796[yyj3796] + yyv3799.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3796 < len(yyv3796) { + yyv3796 = yyv3796[:yyj3796] + yyc3796 = true + } else if yyj3796 == 0 && yyv3796 == nil { + yyv3796 = []Secret{} + yyc3796 = true + } + } + yyh3796.End() + if yyc3796 { + *v = yyv3796 + } +} + +func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv3800 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3801 := &yyv3800 + yy3801.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv3802 := *v + yyh3802, yyl3802 := z.DecSliceHelperStart() + var yyc3802 bool + if yyl3802 == 0 { + if yyv3802 == nil { + yyv3802 = []ComponentCondition{} + yyc3802 = true + } else if len(yyv3802) != 0 { + yyv3802 = yyv3802[:0] + yyc3802 = true + } + } else if yyl3802 > 0 { + var yyrr3802, yyrl3802 int + var yyrt3802 bool + if yyl3802 > cap(yyv3802) { + + yyrg3802 := len(yyv3802) > 0 + yyv23802 := yyv3802 + yyrl3802, yyrt3802 = z.DecInferLen(yyl3802, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3802 { + if yyrl3802 <= cap(yyv3802) { + yyv3802 = yyv3802[:yyrl3802] + } else { + yyv3802 = make([]ComponentCondition, yyrl3802) + } + } else { + yyv3802 = make([]ComponentCondition, yyrl3802) + } + yyc3802 = true + yyrr3802 = len(yyv3802) + if yyrg3802 { + copy(yyv3802, yyv23802) + } + } else if yyl3802 != len(yyv3802) { + yyv3802 = yyv3802[:yyl3802] + yyc3802 = true + } + yyj3802 := 0 + for ; yyj3802 < yyrr3802; yyj3802++ { + yyh3802.ElemContainerState(yyj3802) + if r.TryDecodeAsNil() { + yyv3802[yyj3802] = ComponentCondition{} + } else { + yyv3803 := &yyv3802[yyj3802] + yyv3803.CodecDecodeSelf(d) + } + + } + if yyrt3802 { + for ; yyj3802 < yyl3802; yyj3802++ { + yyv3802 = append(yyv3802, ComponentCondition{}) + yyh3802.ElemContainerState(yyj3802) + if r.TryDecodeAsNil() { + yyv3802[yyj3802] = ComponentCondition{} + } else { + yyv3804 := &yyv3802[yyj3802] + yyv3804.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj3802 := 0 + for ; !r.CheckBreak(); yyj3802++ { + + if yyj3802 >= len(yyv3802) { + yyv3802 = append(yyv3802, ComponentCondition{}) // var yyz3802 ComponentCondition + yyc3802 = true + } + yyh3802.ElemContainerState(yyj3802) + if yyj3802 < len(yyv3802) { + if r.TryDecodeAsNil() { + yyv3802[yyj3802] = ComponentCondition{} + } else { + yyv3805 := &yyv3802[yyj3802] + yyv3805.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj3802 < len(yyv3802) { + yyv3802 = yyv3802[:yyj3802] + yyc3802 = true + } else if yyj3802 == 0 && yyv3802 == nil { + yyv3802 = []ComponentCondition{} + yyc3802 = true + } + } + yyh3802.End() + if yyc3802 { + *v = yyv3802 + } +} + func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3763 := range v { + for _, yyv3806 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3764 := &yyv3763 - yy3764.CodecEncodeSelf(e) + yy3807 := &yyv3806 + yy3807.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48019,83 +48665,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3765 := *v - yyh3765, yyl3765 := z.DecSliceHelperStart() - var yyc3765 bool - if yyl3765 == 0 { - if yyv3765 == nil { - yyv3765 = []ComponentStatus{} - yyc3765 = true - } else if len(yyv3765) != 0 { - yyv3765 = yyv3765[:0] - yyc3765 = true + yyv3808 := *v + yyh3808, yyl3808 := z.DecSliceHelperStart() + var yyc3808 bool + if yyl3808 == 0 { + if yyv3808 == nil { + yyv3808 = []ComponentStatus{} + yyc3808 = true + } else if len(yyv3808) != 0 { + yyv3808 = yyv3808[:0] + yyc3808 = true } - } else if yyl3765 > 0 { - var yyrr3765, yyrl3765 int - var yyrt3765 bool - if yyl3765 > cap(yyv3765) { + } else if yyl3808 > 0 { + var yyrr3808, yyrl3808 int + var yyrt3808 bool + if yyl3808 > cap(yyv3808) { - yyrg3765 := len(yyv3765) > 0 - yyv23765 := yyv3765 - yyrl3765, yyrt3765 = z.DecInferLen(yyl3765, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3765 { - if yyrl3765 <= cap(yyv3765) { - yyv3765 = yyv3765[:yyrl3765] + yyrg3808 := len(yyv3808) > 0 + yyv23808 := yyv3808 + yyrl3808, yyrt3808 = z.DecInferLen(yyl3808, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3808 { + if yyrl3808 <= cap(yyv3808) { + yyv3808 = yyv3808[:yyrl3808] } else { - yyv3765 = make([]ComponentStatus, yyrl3765) + yyv3808 = make([]ComponentStatus, yyrl3808) } } else { - yyv3765 = make([]ComponentStatus, yyrl3765) + yyv3808 = make([]ComponentStatus, yyrl3808) } - yyc3765 = true - yyrr3765 = len(yyv3765) - if yyrg3765 { - copy(yyv3765, yyv23765) + yyc3808 = true + yyrr3808 = len(yyv3808) + if yyrg3808 { + copy(yyv3808, yyv23808) } - } else if yyl3765 != len(yyv3765) { - yyv3765 = yyv3765[:yyl3765] - yyc3765 = true + } else if yyl3808 != len(yyv3808) { + yyv3808 = yyv3808[:yyl3808] + yyc3808 = true } - yyj3765 := 0 - for ; yyj3765 < yyrr3765; yyj3765++ { - yyh3765.ElemContainerState(yyj3765) + yyj3808 := 0 + for ; yyj3808 < yyrr3808; yyj3808++ { + yyh3808.ElemContainerState(yyj3808) if r.TryDecodeAsNil() { - yyv3765[yyj3765] = ComponentStatus{} + yyv3808[yyj3808] = ComponentStatus{} } else { - yyv3766 := &yyv3765[yyj3765] - yyv3766.CodecDecodeSelf(d) + yyv3809 := &yyv3808[yyj3808] + yyv3809.CodecDecodeSelf(d) } } - if yyrt3765 { - for ; yyj3765 < yyl3765; yyj3765++ { - yyv3765 = append(yyv3765, ComponentStatus{}) - yyh3765.ElemContainerState(yyj3765) + if yyrt3808 { + for ; yyj3808 < yyl3808; yyj3808++ { + yyv3808 = append(yyv3808, ComponentStatus{}) + yyh3808.ElemContainerState(yyj3808) if r.TryDecodeAsNil() { - yyv3765[yyj3765] = ComponentStatus{} + yyv3808[yyj3808] = ComponentStatus{} } else { - yyv3767 := &yyv3765[yyj3765] - yyv3767.CodecDecodeSelf(d) + yyv3810 := &yyv3808[yyj3808] + yyv3810.CodecDecodeSelf(d) } } } } else { - yyj3765 := 0 - for ; !r.CheckBreak(); yyj3765++ { + yyj3808 := 0 + for ; !r.CheckBreak(); yyj3808++ { - if yyj3765 >= len(yyv3765) { - yyv3765 = append(yyv3765, ComponentStatus{}) // var yyz3765 ComponentStatus - yyc3765 = true + if yyj3808 >= len(yyv3808) { + yyv3808 = append(yyv3808, ComponentStatus{}) // var yyz3808 ComponentStatus + yyc3808 = true } - yyh3765.ElemContainerState(yyj3765) - if yyj3765 < len(yyv3765) { + yyh3808.ElemContainerState(yyj3808) + if yyj3808 < len(yyv3808) { if r.TryDecodeAsNil() { - yyv3765[yyj3765] = ComponentStatus{} + yyv3808[yyj3808] = ComponentStatus{} } else { - yyv3768 := &yyv3765[yyj3765] - yyv3768.CodecDecodeSelf(d) + yyv3811 := &yyv3808[yyj3808] + yyv3811.CodecDecodeSelf(d) } } else { @@ -48103,17 +48749,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3765 < len(yyv3765) { - yyv3765 = yyv3765[:yyj3765] - yyc3765 = true - } else if yyj3765 == 0 && yyv3765 == nil { - yyv3765 = []ComponentStatus{} - yyc3765 = true + if yyj3808 < len(yyv3808) { + yyv3808 = yyv3808[:yyj3808] + yyc3808 = true + } else if yyj3808 == 0 && yyv3808 == nil { + yyv3808 = []ComponentStatus{} + yyc3808 = true } } - yyh3765.End() - if yyc3765 { - *v = yyv3765 + yyh3808.End() + if yyc3808 { + *v = yyv3808 } } @@ -48122,10 +48768,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3769 := range v { + for _, yyv3812 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3770 := &yyv3769 - yy3770.CodecEncodeSelf(e) + yy3813 := &yyv3812 + yy3813.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48135,83 +48781,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3771 := *v - yyh3771, yyl3771 := z.DecSliceHelperStart() - var yyc3771 bool - if yyl3771 == 0 { - if yyv3771 == nil { - yyv3771 = []DownwardAPIVolumeFile{} - yyc3771 = true - } else if len(yyv3771) != 0 { - yyv3771 = yyv3771[:0] - yyc3771 = true + yyv3814 := *v + yyh3814, yyl3814 := z.DecSliceHelperStart() + var yyc3814 bool + if yyl3814 == 0 { + if yyv3814 == nil { + yyv3814 = []DownwardAPIVolumeFile{} + yyc3814 = true + } else if len(yyv3814) != 0 { + yyv3814 = yyv3814[:0] + yyc3814 = true } - } else if yyl3771 > 0 { - var yyrr3771, yyrl3771 int - var yyrt3771 bool - if yyl3771 > cap(yyv3771) { + } else if yyl3814 > 0 { + var yyrr3814, yyrl3814 int + var yyrt3814 bool + if yyl3814 > cap(yyv3814) { - yyrg3771 := len(yyv3771) > 0 - yyv23771 := yyv3771 - yyrl3771, yyrt3771 = z.DecInferLen(yyl3771, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3771 { - if yyrl3771 <= cap(yyv3771) { - yyv3771 = yyv3771[:yyrl3771] + yyrg3814 := len(yyv3814) > 0 + yyv23814 := yyv3814 + yyrl3814, yyrt3814 = z.DecInferLen(yyl3814, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3814 { + if yyrl3814 <= cap(yyv3814) { + yyv3814 = yyv3814[:yyrl3814] } else { - yyv3771 = make([]DownwardAPIVolumeFile, yyrl3771) + yyv3814 = make([]DownwardAPIVolumeFile, yyrl3814) } } else { - yyv3771 = make([]DownwardAPIVolumeFile, yyrl3771) + yyv3814 = make([]DownwardAPIVolumeFile, yyrl3814) } - yyc3771 = true - yyrr3771 = len(yyv3771) - if yyrg3771 { - copy(yyv3771, yyv23771) + yyc3814 = true + yyrr3814 = len(yyv3814) + if yyrg3814 { + copy(yyv3814, yyv23814) } - } else if yyl3771 != len(yyv3771) { - yyv3771 = yyv3771[:yyl3771] - yyc3771 = true + } else if yyl3814 != len(yyv3814) { + yyv3814 = yyv3814[:yyl3814] + yyc3814 = true } - yyj3771 := 0 - for ; yyj3771 < yyrr3771; yyj3771++ { - yyh3771.ElemContainerState(yyj3771) + yyj3814 := 0 + for ; yyj3814 < yyrr3814; yyj3814++ { + yyh3814.ElemContainerState(yyj3814) if r.TryDecodeAsNil() { - yyv3771[yyj3771] = DownwardAPIVolumeFile{} + yyv3814[yyj3814] = DownwardAPIVolumeFile{} } else { - yyv3772 := &yyv3771[yyj3771] - yyv3772.CodecDecodeSelf(d) + yyv3815 := &yyv3814[yyj3814] + yyv3815.CodecDecodeSelf(d) } } - if yyrt3771 { - for ; yyj3771 < yyl3771; yyj3771++ { - yyv3771 = append(yyv3771, DownwardAPIVolumeFile{}) - yyh3771.ElemContainerState(yyj3771) + if yyrt3814 { + for ; yyj3814 < yyl3814; yyj3814++ { + yyv3814 = append(yyv3814, DownwardAPIVolumeFile{}) + yyh3814.ElemContainerState(yyj3814) if r.TryDecodeAsNil() { - yyv3771[yyj3771] = DownwardAPIVolumeFile{} + yyv3814[yyj3814] = DownwardAPIVolumeFile{} } else { - yyv3773 := &yyv3771[yyj3771] - yyv3773.CodecDecodeSelf(d) + yyv3816 := &yyv3814[yyj3814] + yyv3816.CodecDecodeSelf(d) } } } } else { - yyj3771 := 0 - for ; !r.CheckBreak(); yyj3771++ { + yyj3814 := 0 + for ; !r.CheckBreak(); yyj3814++ { - if yyj3771 >= len(yyv3771) { - yyv3771 = append(yyv3771, DownwardAPIVolumeFile{}) // var yyz3771 DownwardAPIVolumeFile - yyc3771 = true + if yyj3814 >= len(yyv3814) { + yyv3814 = append(yyv3814, DownwardAPIVolumeFile{}) // var yyz3814 DownwardAPIVolumeFile + yyc3814 = true } - yyh3771.ElemContainerState(yyj3771) - if yyj3771 < len(yyv3771) { + yyh3814.ElemContainerState(yyj3814) + if yyj3814 < len(yyv3814) { if r.TryDecodeAsNil() { - yyv3771[yyj3771] = DownwardAPIVolumeFile{} + yyv3814[yyj3814] = DownwardAPIVolumeFile{} } else { - yyv3774 := &yyv3771[yyj3771] - yyv3774.CodecDecodeSelf(d) + yyv3817 := &yyv3814[yyj3814] + yyv3817.CodecDecodeSelf(d) } } else { @@ -48219,16 +48865,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3771 < len(yyv3771) { - yyv3771 = yyv3771[:yyj3771] - yyc3771 = true - } else if yyj3771 == 0 && yyv3771 == nil { - yyv3771 = []DownwardAPIVolumeFile{} - yyc3771 = true + if yyj3814 < len(yyv3814) { + yyv3814 = yyv3814[:yyj3814] + yyc3814 = true + } else if yyj3814 == 0 && yyv3814 == nil { + yyv3814 = []DownwardAPIVolumeFile{} + yyc3814 = true } } - yyh3771.End() - if yyc3771 { - *v = yyv3771 + yyh3814.End() + if yyc3814 { + *v = yyv3814 } } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 36a20dc9b7..6f8e10034d 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -243,6 +243,10 @@ type VolumeSource struct { // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. // More info: http://releases.k8s.io/HEAD/examples/rbd/README.md RBD *RBDVolumeSource `json:"rbd,omitempty"` + // 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. + FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` // Cinder represents a cinder volume attached and mounted on kubelets host machine // More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md Cinder *CinderVolumeSource `json:"cinder,omitempty"` @@ -311,6 +315,10 @@ type PersistentVolumeSource struct { FC *FCVolumeSource `json:"fc,omitempty"` // 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 Flocker *FlockerVolumeSource `json:"flocker,omitempty"` + // 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. + FlexVolume *FlexVolumeSource `json:"flexVolume,omitempty"` } // PersistentVolume (PV) is a storage resource provisioned by an administrator. @@ -650,6 +658,24 @@ type GCEPersistentDiskVolumeSource struct { ReadOnly bool `json:"readOnly,omitempty"` } +// 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. +type FlexVolumeSource struct { + // Driver is the name of the driver to use for this volume. + Driver string `json:"driver"` + // Required: Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs" + FSType string `json:"fsType,omitempty"` + // Optional: SecretRef is reference to the authentication secret for User, default is empty. + SecretRef *LocalObjectReference `json:"secretRef,omitempty"` + // Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + ReadOnly bool `json:"readOnly,omitempty"` + // Optional: Extra command options if any. + Options map[string]string `json:"options,omitempty"` +} + // Represents a Persistent Disk resource in AWS. // // An AWS EBS disk must exist and be formatted before mounting to a container. diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index 58d6efbb1b..cf51e47c78 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -401,6 +401,19 @@ func (FCVolumeSource) SwaggerDoc() map[string]string { return map_FCVolumeSource } +var map_FlexVolumeSource = map[string]string{ + "": "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.", + "driver": "Driver is the name of the driver to use for this volume.", + "fsType": "Required: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\"", + "secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty.", + "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "options": "Optional: Extra command options if any.", +} + +func (FlexVolumeSource) SwaggerDoc() map[string]string { + return map_FlexVolumeSource +} + var map_FlockerVolumeSource = map[string]string{ "": "Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.", "datasetName": "Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker", @@ -873,6 +886,7 @@ var map_PersistentVolumeSource = map[string]string{ "cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", "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.", } func (PersistentVolumeSource) SwaggerDoc() map[string]string { @@ -1399,6 +1413,7 @@ var map_VolumeSource = map[string]string{ "glusterfs": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/glusterfs/README.md", "persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", "rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/rbd/README.md", + "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.", "cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", "flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index 9827e369a2..0249af556e 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -484,6 +484,10 @@ func validateVolumeSource(source *api.VolumeSource, fldPath *field.Path) field.E allErrs = append(allErrs, validateFCVolumeSource(source.FC, fldPath.Child("fc"))...) } } + if source.FlexVolume != nil { + numVolumes++ + allErrs = append(allErrs, validateFlexVolumeSource(source.FlexVolume, fldPath.Child("FlexVolume"))...) + } if numVolumes == 0 { allErrs = append(allErrs, field.Required(fldPath, "must specify a volume type")) } @@ -697,6 +701,17 @@ func validateCephFSVolumeSource(cephfs *api.CephFSVolumeSource, fldPath *field.P return allErrs } +func validateFlexVolumeSource(fv *api.FlexVolumeSource, fldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if len(fv.Driver) == 0 { + allErrs = append(allErrs, field.Required(fldPath.Child("driver"), "")) + } + if len(fv.FSType) == 0 { + allErrs = append(allErrs, field.Required(fldPath.Child("fsType"), "")) + } + return allErrs +} + func ValidatePersistentVolumeName(name string, prefix bool) (bool, string) { return NameIsDNSSubdomain(name, prefix) } @@ -817,6 +832,10 @@ func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList { allErrs = append(allErrs, validateFCVolumeSource(pv.Spec.FC, specPath.Child("fc"))...) } } + if pv.Spec.FlexVolume != nil { + numVolumes++ + allErrs = append(allErrs, validateFlexVolumeSource(pv.Spec.FlexVolume, specPath.Child("flexVolume"))...) + } 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 d7e846b64c..fef048c0e1 100644 --- a/pkg/api/validation/validation_test.go +++ b/pkg/api/validation/validation_test.go @@ -508,12 +508,13 @@ func TestValidateVolumes(t *testing.T) { FieldPath: "metadata.labels"}}, }}}}, {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"}}}, } names, errs := validateVolumes(successCase, field.NewPath("field")) if len(errs) != 0 { t.Errorf("expected success: %v", errs) } - if len(names) != len(successCase) || !names.HasAll("abc", "123", "abc-123", "empty", "gcepd", "gitrepo", "secret", "iscsidisk", "cinder", "cephfs", "fc") { + if len(names) != len(successCase) || !names.HasAll("abc", "123", "abc-123", "empty", "gcepd", "gitrepo", "secret", "iscsidisk", "cinder", "cephfs", "flexvolume", "fc") { t.Errorf("wrong names result: %v", names) } emptyVS := api.VolumeSource{EmptyDir: &api.EmptyDirVolumeSource{}} diff --git a/pkg/apis/extensions/deep_copy_generated.go b/pkg/apis/extensions/deep_copy_generated.go index 1bf73185ed..691e7cdfb5 100644 --- a/pkg/apis/extensions/deep_copy_generated.go +++ b/pkg/apis/extensions/deep_copy_generated.go @@ -274,6 +274,29 @@ func deepCopy_api_FCVolumeSource(in api.FCVolumeSource, out *api.FCVolumeSource, return nil } +func deepCopy_api_FlexVolumeSource(in api.FlexVolumeSource, out *api.FlexVolumeSource, c *conversion.Cloner) error { + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(api.LocalObjectReference) + if err := deepCopy_api_LocalObjectReference(*in.SecretRef, out.SecretRef, c); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + func deepCopy_api_FlockerVolumeSource(in api.FlockerVolumeSource, out *api.FlockerVolumeSource, c *conversion.Cloner) error { out.DatasetName = in.DatasetName return nil @@ -807,6 +830,14 @@ func deepCopy_api_VolumeSource(in api.VolumeSource, out *api.VolumeSource, c *co } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(api.FlexVolumeSource) + if err := deepCopy_api_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(api.CinderVolumeSource) if err := deepCopy_api_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil { @@ -1639,6 +1670,7 @@ func init() { deepCopy_api_EnvVarSource, deepCopy_api_ExecAction, deepCopy_api_FCVolumeSource, + deepCopy_api_FlexVolumeSource, deepCopy_api_FlockerVolumeSource, deepCopy_api_GCEPersistentDiskVolumeSource, deepCopy_api_GitRepoVolumeSource, diff --git a/pkg/apis/extensions/v1beta1/conversion_generated.go b/pkg/apis/extensions/v1beta1/conversion_generated.go index 55555a9876..5081184482 100644 --- a/pkg/apis/extensions/v1beta1/conversion_generated.go +++ b/pkg/apis/extensions/v1beta1/conversion_generated.go @@ -364,6 +364,36 @@ func convert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource, out return autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in, out, s) } +func autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSource, out *v1.FlexVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*api.FlexVolumeSource))(in) + } + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(v1.LocalObjectReference) + if err := convert_api_LocalObjectReference_To_v1_LocalObjectReference(in.SecretRef, out.SecretRef, s); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + +func convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSource, out *v1.FlexVolumeSource, s conversion.Scope) error { + return autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in, out, s) +} + func autoconvert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource(in *api.FlockerVolumeSource, out *v1.FlockerVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.FlockerVolumeSource))(in) @@ -1070,6 +1100,14 @@ func autoconvert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out * } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(v1.FlexVolumeSource) + if err := convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(v1.CinderVolumeSource) if err := convert_api_CinderVolumeSource_To_v1_CinderVolumeSource(in.Cinder, out.Cinder, s); err != nil { @@ -1453,6 +1491,36 @@ func convert_v1_FCVolumeSource_To_api_FCVolumeSource(in *v1.FCVolumeSource, out return autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in, out, s) } +func autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in *v1.FlexVolumeSource, out *api.FlexVolumeSource, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*v1.FlexVolumeSource))(in) + } + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(api.LocalObjectReference) + if err := convert_v1_LocalObjectReference_To_api_LocalObjectReference(in.SecretRef, out.SecretRef, s); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + +func convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in *v1.FlexVolumeSource, out *api.FlexVolumeSource, s conversion.Scope) error { + return autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in, out, s) +} + func autoconvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource(in *v1.FlockerVolumeSource, out *api.FlockerVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*v1.FlockerVolumeSource))(in) @@ -2135,6 +2203,14 @@ func autoconvert_v1_VolumeSource_To_api_VolumeSource(in *v1.VolumeSource, out *a } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(api.FlexVolumeSource) + if err := convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in.FlexVolume, out.FlexVolume, s); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(api.CinderVolumeSource) if err := convert_v1_CinderVolumeSource_To_api_CinderVolumeSource(in.Cinder, out.Cinder, s); err != nil { @@ -4291,6 +4367,7 @@ func init() { autoconvert_api_EnvVar_To_v1_EnvVar, autoconvert_api_ExecAction_To_v1_ExecAction, autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource, + autoconvert_api_FlexVolumeSource_To_v1_FlexVolumeSource, autoconvert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource, autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolumeSource, autoconvert_api_GitRepoVolumeSource_To_v1_GitRepoVolumeSource, @@ -4380,6 +4457,7 @@ func init() { autoconvert_v1_EnvVar_To_api_EnvVar, autoconvert_v1_ExecAction_To_api_ExecAction, autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource, + autoconvert_v1_FlexVolumeSource_To_api_FlexVolumeSource, autoconvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource, autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolumeSource, autoconvert_v1_GitRepoVolumeSource_To_api_GitRepoVolumeSource, diff --git a/pkg/apis/extensions/v1beta1/deep_copy_generated.go b/pkg/apis/extensions/v1beta1/deep_copy_generated.go index 0b8cacaa32..61706d4e50 100644 --- a/pkg/apis/extensions/v1beta1/deep_copy_generated.go +++ b/pkg/apis/extensions/v1beta1/deep_copy_generated.go @@ -310,6 +310,29 @@ func deepCopy_v1_FCVolumeSource(in v1.FCVolumeSource, out *v1.FCVolumeSource, c return nil } +func deepCopy_v1_FlexVolumeSource(in v1.FlexVolumeSource, out *v1.FlexVolumeSource, c *conversion.Cloner) error { + out.Driver = in.Driver + out.FSType = in.FSType + if in.SecretRef != nil { + out.SecretRef = new(v1.LocalObjectReference) + if err := deepCopy_v1_LocalObjectReference(*in.SecretRef, out.SecretRef, c); err != nil { + return err + } + } else { + out.SecretRef = nil + } + out.ReadOnly = in.ReadOnly + if in.Options != nil { + out.Options = make(map[string]string) + for key, val := range in.Options { + out.Options[key] = val + } + } else { + out.Options = nil + } + return nil +} + func deepCopy_v1_FlockerVolumeSource(in v1.FlockerVolumeSource, out *v1.FlockerVolumeSource, c *conversion.Cloner) error { out.DatasetName = in.DatasetName return nil @@ -844,6 +867,14 @@ func deepCopy_v1_VolumeSource(in v1.VolumeSource, out *v1.VolumeSource, c *conve } else { out.RBD = nil } + if in.FlexVolume != nil { + out.FlexVolume = new(v1.FlexVolumeSource) + if err := deepCopy_v1_FlexVolumeSource(*in.FlexVolume, out.FlexVolume, c); err != nil { + return err + } + } else { + out.FlexVolume = nil + } if in.Cinder != nil { out.Cinder = new(v1.CinderVolumeSource) if err := deepCopy_v1_CinderVolumeSource(*in.Cinder, out.Cinder, c); err != nil { @@ -1682,6 +1713,7 @@ func init() { deepCopy_v1_EnvVarSource, deepCopy_v1_ExecAction, deepCopy_v1_FCVolumeSource, + deepCopy_v1_FlexVolumeSource, deepCopy_v1_FlockerVolumeSource, deepCopy_v1_GCEPersistentDiskVolumeSource, deepCopy_v1_GitRepoVolumeSource, diff --git a/pkg/util/escape.go b/pkg/util/escape.go index 3f5bc71ea6..5304f84212 100644 --- a/pkg/util/escape.go +++ b/pkg/util/escape.go @@ -20,6 +20,19 @@ import ( "strings" ) +// EscapePluginName converts a plugin name in the format +// vendor/pluginname into a proper ondisk vendor~pluginname plugin directory +// format. +func EscapePluginName(in string) string { + return strings.Replace(in, "/", "~", -1) +} + +// EscapeQualifiedPluginName converts a plugin directory name in the format +// vendor~pluginname into a proper vendor/pluginname. +func UnescapePluginName(in string) string { + return strings.Replace(in, "~", "/", -1) +} + // EscapeQualifiedNameForDisk converts a plugin name, which might contain a / into a // string that is safe to use on-disk. This assumes that the input has already // been validates as a qualified name. we use "~" rather than ":" here in case diff --git a/pkg/volume/aws_ebs/aws_ebs.go b/pkg/volume/aws_ebs/aws_ebs.go index a29f305655..30e55d9b64 100644 --- a/pkg/volume/aws_ebs/aws_ebs.go +++ b/pkg/volume/aws_ebs/aws_ebs.go @@ -53,8 +53,9 @@ const ( awsElasticBlockStorePluginName = "kubernetes.io/aws-ebs" ) -func (plugin *awsElasticBlockStorePlugin) Init(host volume.VolumeHost) { +func (plugin *awsElasticBlockStorePlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *awsElasticBlockStorePlugin) Name() string { diff --git a/pkg/volume/cephfs/cephfs.go b/pkg/volume/cephfs/cephfs.go index 926b11399e..d362027cb6 100644 --- a/pkg/volume/cephfs/cephfs.go +++ b/pkg/volume/cephfs/cephfs.go @@ -43,8 +43,9 @@ const ( cephfsPluginName = "kubernetes.io/cephfs" ) -func (plugin *cephfsPlugin) Init(host volume.VolumeHost) { +func (plugin *cephfsPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *cephfsPlugin) Name() string { diff --git a/pkg/volume/cinder/cinder.go b/pkg/volume/cinder/cinder.go index b3d30d74b2..c824ff586b 100644 --- a/pkg/volume/cinder/cinder.go +++ b/pkg/volume/cinder/cinder.go @@ -51,8 +51,9 @@ const ( cinderVolumePluginName = "kubernetes.io/cinder" ) -func (plugin *cinderPlugin) Init(host volume.VolumeHost) { +func (plugin *cinderPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *cinderPlugin) Name() string { diff --git a/pkg/volume/downwardapi/downwardapi.go b/pkg/volume/downwardapi/downwardapi.go index dfbe917d82..be71ab431c 100644 --- a/pkg/volume/downwardapi/downwardapi.go +++ b/pkg/volume/downwardapi/downwardapi.go @@ -51,8 +51,9 @@ type downwardAPIPlugin struct { var _ volume.VolumePlugin = &downwardAPIPlugin{} -func (plugin *downwardAPIPlugin) Init(host volume.VolumeHost) { +func (plugin *downwardAPIPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *downwardAPIPlugin) Name() string { diff --git a/pkg/volume/empty_dir/empty_dir.go b/pkg/volume/empty_dir/empty_dir.go index 9defc41531..7028f819e5 100644 --- a/pkg/volume/empty_dir/empty_dir.go +++ b/pkg/volume/empty_dir/empty_dir.go @@ -54,8 +54,10 @@ const ( emptyDirPluginName = "kubernetes.io/empty-dir" ) -func (plugin *emptyDirPlugin) Init(host volume.VolumeHost) { +func (plugin *emptyDirPlugin) Init(host volume.VolumeHost) error { plugin.host = host + + return nil } func (plugin *emptyDirPlugin) Name() string { diff --git a/pkg/volume/fc/fc.go b/pkg/volume/fc/fc.go index 0b208d268d..8029f1690f 100644 --- a/pkg/volume/fc/fc.go +++ b/pkg/volume/fc/fc.go @@ -46,8 +46,9 @@ const ( fcPluginName = "kubernetes.io/fc" ) -func (plugin *fcPlugin) Init(host volume.VolumeHost) { +func (plugin *fcPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *fcPlugin) Name() string { diff --git a/pkg/volume/flexvolume/flexvolume.go b/pkg/volume/flexvolume/flexvolume.go new file mode 100644 index 0000000000..c558453bbc --- /dev/null +++ b/pkg/volume/flexvolume/flexvolume.go @@ -0,0 +1,388 @@ +/* +Copyright 2015 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 flexvolume + +import ( + "fmt" + "io/ioutil" + "os" + "path" + "strings" + + "github.com/golang/glog" + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/types" + "k8s.io/kubernetes/pkg/util" + "k8s.io/kubernetes/pkg/util/exec" + "k8s.io/kubernetes/pkg/util/mount" + "k8s.io/kubernetes/pkg/volume" +) + +// This is the primary entrypoint for volume plugins. +func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin { + plugins := []volume.VolumePlugin{} + + files, _ := ioutil.ReadDir(pluginDir) + for _, f := range files { + // only directories are counted as plugins + // and pluginDir/dirname/dirname should be an executable + // unless dirname contains '~' for escaping namespace + // e.g. dirname = vendor~cifs + // then, executable will be pluginDir/dirname/cifs + if f.IsDir() { + execPath := path.Join(pluginDir, f.Name()) + plugins = append(plugins, &flexVolumePlugin{driverName: util.UnescapePluginName(f.Name()), execPath: execPath}) + } + } + return plugins +} + +// FlexVolumePlugin object. +type flexVolumePlugin struct { + driverName string + execPath string + host volume.VolumeHost +} + +// Init intializes the plugin. +func (plugin *flexVolumePlugin) Init(host volume.VolumeHost) error { + plugin.host = host + // call the init script + u := &flexVolumeUtil{} + return u.init(plugin) +} + +func (plugin *flexVolumePlugin) getExecutable() string { + parts := strings.Split(plugin.driverName, "/") + execName := parts[len(parts)-1] + return path.Join(plugin.execPath, execName) +} + +func (plugin *flexVolumePlugin) Name() string { + return plugin.driverName +} + +// CanSupport checks whether the plugin can support the input volume spec. +func (plugin *flexVolumePlugin) CanSupport(spec *volume.Spec) bool { + source := plugin.getVolumeSource(spec) + return (source != nil) && (source.Driver == plugin.driverName) +} + +// GetAccessModes gets the allowed access modes for this plugin. +func (plugin *flexVolumePlugin) GetAccessModes() []api.PersistentVolumeAccessMode { + return []api.PersistentVolumeAccessMode{ + api.ReadWriteOnce, + api.ReadOnlyMany, + } +} + +func (plugin *flexVolumePlugin) getVolumeSource(spec *volume.Spec) *api.FlexVolumeSource { + var source *api.FlexVolumeSource + if spec.Volume != nil && spec.Volume.FlexVolume != nil { + source = spec.Volume.FlexVolume + } else if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.FlexVolume != nil { + source = spec.PersistentVolume.Spec.FlexVolume + } + return source +} + +// NewBuilder is the builder routine to build the volume. +func (plugin *flexVolumePlugin) NewBuilder(spec *volume.Spec, pod *api.Pod, _ volume.VolumeOptions) (volume.Builder, error) { + fv := plugin.getVolumeSource(spec) + secret := "" + if fv.SecretRef != nil { + kubeClient := plugin.host.GetKubeClient() + if kubeClient == nil { + return nil, fmt.Errorf("Cannot get kube client") + } + + secretName, err := kubeClient.Secrets(pod.Namespace).Get(fv.SecretRef.Name) + if err != nil { + err = fmt.Errorf("Couldn't get secret %v/%v err: %v", pod.Namespace, fv.SecretRef, err) + return nil, err + } + for name, data := range secretName.Data { + secret = string(data) + glog.V(1).Infof("found flex volume secret info: %s", name) + } + } + return plugin.newBuilderInternal(spec, pod, &flexVolumeUtil{}, plugin.host.GetMounter(), exec.New(), secret) +} + +// newBuilderInternal is the internal builder routine to build the volume. +func (plugin *flexVolumePlugin) newBuilderInternal(spec *volume.Spec, pod *api.Pod, manager flexVolumeManager, mounter mount.Interface, runner exec.Interface, secret string) (volume.Builder, error) { + source := plugin.getVolumeSource(spec) + return &flexVolumeBuilder{ + flexVolumeDisk: &flexVolumeDisk{ + podUID: pod.UID, + podNamespace: pod.Namespace, + podName: pod.Name, + volName: spec.Name(), + driverName: source.Driver, + execPath: plugin.getExecutable(), + mounter: mounter, + plugin: plugin, + secret: secret, + }, + fsType: source.FSType, + readOnly: source.ReadOnly, + options: source.Options, + runner: runner, + manager: manager, + blockDeviceMounter: &mount.SafeFormatAndMount{mounter, runner}, + }, nil +} + +// NewCleaner is the cleaner routine to clean the volume. +func (plugin *flexVolumePlugin) NewCleaner(volName string, podUID types.UID) (volume.Cleaner, error) { + return plugin.newCleanerInternal(volName, podUID, &flexVolumeUtil{}, plugin.host.GetMounter(), exec.New()) +} + +// newCleanerInternal is the internal cleaner routine to clean the volume. +func (plugin *flexVolumePlugin) newCleanerInternal(volName string, podUID types.UID, manager flexVolumeManager, mounter mount.Interface, runner exec.Interface) (volume.Cleaner, error) { + return &flexVolumeCleaner{ + flexVolumeDisk: &flexVolumeDisk{ + podUID: podUID, + volName: volName, + driverName: plugin.driverName, + execPath: plugin.getExecutable(), + mounter: mounter, + plugin: plugin, + }, + runner: runner, + manager: manager, + }, nil +} + +// flexVolume is the disk resource provided by this plugin. +type flexVolumeDisk struct { + // podUID is the UID of the pod. + podUID types.UID + // podNamespace is the namespace of the pod. + podNamespace string + // podName is the name of the pod. + podName string + // volName is the name of the pod volume. + volName string + // driverName is the name of the plugin driverName. + driverName string + // Driver executable used to setup the volume. + execPath string + // mounter provides the interface that is used to mount the actual + // block device. + mounter mount.Interface + // secret for the volume. + secret string + plugin *flexVolumePlugin +} + +// FlexVolumeCleaner is the disk that will be cleaned by this plugin. +type flexVolumeCleaner struct { + *flexVolumeDisk + // Runner used to teardown the volume. + runner exec.Interface + // manager is the utility interface that provides API calls to the + // driverName to setup & teardown disks + manager flexVolumeManager + volume.MetricsNil +} + +// FlexVolumeBuilder is the disk that will be exposed by this plugin. +type flexVolumeBuilder struct { + *flexVolumeDisk + // fsType is the type of the filesystem to create on the volume. + fsType string + // readOnly specifies whether the disk will be setup as read-only. + readOnly bool + // options are the extra params that will be passed to the plugin + // driverName. + options map[string]string + // Runner used to setup the volume. + runner exec.Interface + // manager is the utility interface that provides API calls to the + // driverName to setup & teardown disks + manager flexVolumeManager + // blockDeviceMounter provides the interface to create filesystem if the + // filesystem doesn't exist. + blockDeviceMounter mount.Interface + volume.MetricsNil +} + +// SetUp creates new directory. +func (f *flexVolumeBuilder) SetUp() error { + return f.SetUpAt(f.GetPath()) +} + +// GetAttributes get the flex volume attributes. The attributes will be queried +// using plugin callout after we finalize the callout syntax. +func (f flexVolumeBuilder) GetAttributes() volume.Attributes { + return volume.Attributes{ + ReadOnly: f.readOnly, + Managed: false, + SupportsOwnershipManagement: false, + SupportsSELinux: false, + } +} + +// flexVolumeManager is the abstract interface to flex volume ops. +type flexVolumeManager interface { + // Attaches the disk to the kubelet's host machine. + attach(builder *flexVolumeBuilder) (string, error) + // Detaches the disk from the kubelet's host machine. + detach(cleaner *flexVolumeCleaner, dir string) error + // Mounts the disk on the Kubelet's host machine. + mount(builder *flexVolumeBuilder, mnt, dir string) error + // Unmounts the disk from the Kubelet's host machine. + unmount(builder *flexVolumeCleaner, dir string) error +} + +// SetUpAt creates new directory. +func (f *flexVolumeBuilder) SetUpAt(dir string) error { + + notmnt, err := f.blockDeviceMounter.IsLikelyNotMountPoint(dir) + if err != nil && !os.IsNotExist(err) { + glog.Errorf("Cannot validate mountpoint: %s", dir) + return err + } + if !notmnt { + return nil + } + + if f.options == nil { + f.options = make(map[string]string) + } + + f.options[optionFSType] = f.fsType + + // Read write mount options. + if f.readOnly { + f.options[optionReadWrite] = "ro" + } else { + f.options[optionReadWrite] = "rw" + } + + // Extract secret and pass it as options. + if f.secret != "" { + f.options[optionKeySecret] = f.secret + } + + device, err := f.manager.attach(f) + if err != nil { + if !isCmdNotSupportedErr(err) { + glog.Errorf("Failed to attach volume: %s", f.volName) + return err + } + // Attach not supported or required. Continue to mount. + } + + if err := f.manager.mount(f, device, dir); err != nil { + if !isCmdNotSupportedErr(err) { + glog.Errorf("Failed to mount volume: %s", f.volName) + return err + } + options := make([]string, 0) + + if f.readOnly { + options = append(options, "ro") + } else { + options = append(options, "rw") + } + // Extract secret and pass it as options. + if f.secret != "" { + options = append(options, "secret="+f.secret) + } + + os.MkdirAll(dir, 0750) + // Mount not supported by driver. Use core mounting logic. + err = f.blockDeviceMounter.Mount(string(device), dir, f.fsType, options) + if err != nil { + glog.Errorf("Failed to mount the volume: %s, device: %s, error: %s", f.volName, device, err.Error()) + return err + } + } + + return nil +} + +// IsReadOnly returns true if the volume is read only. +func (f *flexVolumeBuilder) IsReadOnly() bool { + return f.readOnly +} + +// GetPathFromPlugin gets the actual volume mount directory based on plugin. +func (f *flexVolumeDisk) GetPath() string { + name := f.driverName + return f.plugin.host.GetPodVolumeDir(f.podUID, util.EscapeQualifiedNameForDisk(name), f.volName) +} + +// TearDown simply deletes everything in the directory. +func (f *flexVolumeCleaner) TearDown() error { + path := f.GetPath() + return f.TearDownAt(path) +} + +// TearDownAt simply deletes everything in the directory. +func (f *flexVolumeCleaner) TearDownAt(dir string) error { + + notmnt, err := f.mounter.IsLikelyNotMountPoint(dir) + if err != nil { + glog.Errorf("Error checking mount point %s, error: %v", dir, err) + return err + } + if notmnt { + return os.Remove(dir) + } + + device, refCount, err := mount.GetDeviceNameFromMount(f.mounter, dir) + if err != nil { + glog.Errorf("Failed to get reference count for volume: %s", dir) + return err + } + + if err := f.manager.unmount(f, dir); err != nil { + if !isCmdNotSupportedErr(err) { + glog.Errorf("Failed to unmount volume %s", f.volName) + return err + } + // Unmount not supported by the driver. Use core unmount logic. + if err := f.mounter.Unmount(dir); err != nil { + glog.Errorf("Failed to unmount volume: %s, error: %s", dir, err.Error()) + return err + } + } + + if refCount == 1 { + if err := f.manager.detach(f, device); err != nil { + if !isCmdNotSupportedErr(err) { + glog.Errorf("Failed to teardown volume: %s, error: %s", dir, err.Error()) + return err + } + // Teardown not supported by driver. Unmount is good enough. + } + } + + notmnt, err = f.mounter.IsLikelyNotMountPoint(dir) + if err != nil { + glog.Errorf("Error checking mount point %s, error: %v", dir, err) + return err + } + if notmnt { + return os.Remove(dir) + } + + return nil +} diff --git a/pkg/volume/flexvolume/flexvolume_test.go b/pkg/volume/flexvolume/flexvolume_test.go new file mode 100644 index 0000000000..f5438af9bd --- /dev/null +++ b/pkg/volume/flexvolume/flexvolume_test.go @@ -0,0 +1,374 @@ +/* +Copyright 2015 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 flexvolume + +import ( + "bytes" + "fmt" + "os" + "path" + "testing" + "text/template" + + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/types" + "k8s.io/kubernetes/pkg/util/exec" + "k8s.io/kubernetes/pkg/util/mount" + "k8s.io/kubernetes/pkg/volume" +) + +// The temp dir where test plugins will be stored. +const testPluginPath = "/tmp/fake/plugins/volume" + +const execScriptTempl1 = `#!/bin/bash +if [ "$1" == "init" -a $# -eq 1 ]; then + echo -n '{ + "status": "Success" + }' + exit 0 +fi + +PATH=$2 +if [ "$1" == "attach" -a $# -eq 2 ]; then + echo -n '{ + "device": "{{.DevicePath}}", + "status": "Success" + }' + exit 0 +elif [ "$1" == "detach" -a $# -eq 2 ]; then + echo -n '{ + "status": "Success" + }' + exit 0 +elif [ "$1" == "mount" -a $# -eq 4 ]; then + echo -n '{ + "status": "Not supported" + }' + exit 0 +elif [ "$1" == "unmount" -a $# -eq 2 ]; then + echo -n '{ + "status": "Not supported" + }' + exit 0 +fi + +echo -n '{ + "status": "Failure", + "reason": "Invalid usage" +}' +exit 1 + +# Direct the arguments to a file to be tested against later +echo -n $@ &> {{.OutputFile}} +` + +const execScriptTempl2 = `#!/bin/bash +if [ "$1" == "init" -a $# -eq 1 ]; then + echo -n '{ + "status": "Success" + }' + exit 0 +fi + +if [ "$1" == "attach" -a $# -eq 2 ]; then + echo -n '{ + "status": "Not supported" + }' + exit 0 +elif [ "$1" == "detach" -a $# -eq 2 ]; then + echo -n '{ + "status": "Not supported" + }' + exit 0 +elif [ "$1" == "mount" -a $# -eq 4 ]; then + PATH=$2 + /bin/mkdir -p $PATH + if [ $? -ne 0 ]; then + echo -n '{ + "status": "Failure", + "reason": "Failed to create $PATH" + }' + exit 1 + fi + echo -n '{ + "status": "Success" + }' + exit 0 +elif [ "$1" == "unmount" -a $# -eq 2 ]; then + PATH=$2 + /bin/rm -r $PATH + if [ $? -ne 0 ]; then + echo -n '{ + "status": "Failure", + "reason": "Failed to cleanup $PATH" + }' + exit 1 + fi + echo -n '{ + "status": "Success" + }' + exit 0 +fi + +echo -n '{ + "status": "Failure", + "reason": "Invalid usage" +}' +exit 1 + +# Direct the arguments to a file to be tested against later +echo -n $@ &> {{.OutputFile}} +` + +func installPluginUnderTest(t *testing.T, vendorName string, plugName string, execScriptTempl string, execTemplateData *map[string]interface{}) { + vendoredName := plugName + if vendorName != "" { + vendoredName = fmt.Sprintf("%s~%s", vendorName, plugName) + } + pluginDir := path.Join(testPluginPath, vendoredName) + err := os.MkdirAll(pluginDir, 0777) + if err != nil { + t.Errorf("Failed to create plugin: %v", err) + } + pluginExec := path.Join(pluginDir, plugName) + f, err := os.Create(pluginExec) + if err != nil { + t.Errorf("Failed to install plugin") + } + err = f.Chmod(0777) + if err != nil { + t.Errorf("Failed to set exec perms on plugin") + } + if execTemplateData == nil { + execTemplateData = &map[string]interface{}{ + "DevicePath": "/dev/sdx", + "OutputFile": path.Join(pluginDir, plugName+".out"), + } + } + + tObj := template.Must(template.New("test").Parse(execScriptTempl)) + buf := &bytes.Buffer{} + if err := tObj.Execute(buf, *execTemplateData); err != nil { + t.Errorf("Error in executing script template - %v", err) + } + execScript := buf.String() + _, err = f.WriteString(execScript) + if err != nil { + t.Errorf("Failed to write plugin exec") + } + f.Close() +} + +func TestCanSupport(t *testing.T) { + plugMgr := volume.VolumePluginMgr{} + installPluginUnderTest(t, "kubernetes.io", "fakeAttacher", execScriptTempl1, nil) + plugMgr.InitPlugins(ProbeVolumePlugins(testPluginPath), volume.NewFakeVolumeHost("fake", nil, nil)) + plugin, err := plugMgr.FindPluginByName("kubernetes.io/fakeAttacher") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + if plugin.Name() != "kubernetes.io/fakeAttacher" { + t.Errorf("Wrong name: %s", plugin.Name()) + } + if !plugin.CanSupport(&volume.Spec{Volume: &api.Volume{VolumeSource: api.VolumeSource{FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher"}}}}) { + t.Errorf("Expected true") + } + if !plugin.CanSupport(&volume.Spec{PersistentVolume: &api.PersistentVolume{Spec: api.PersistentVolumeSpec{PersistentVolumeSource: api.PersistentVolumeSource{FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher"}}}}}) { + t.Errorf("Expected true") + } + if plugin.CanSupport(&volume.Spec{Volume: &api.Volume{VolumeSource: api.VolumeSource{}}}) { + t.Errorf("Expected false") + } +} + +func TestGetAccessModes(t *testing.T) { + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(testPluginPath), volume.NewFakeVolumeHost("fake", nil, nil)) + + plugin, err := plugMgr.FindPersistentPluginByName("kubernetes.io/fakeAttacher") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + if !contains(plugin.GetAccessModes(), api.ReadWriteOnce) || !contains(plugin.GetAccessModes(), api.ReadOnlyMany) { + t.Errorf("Expected two AccessModeTypes: %s and %s", api.ReadWriteOnce, api.ReadOnlyMany) + } +} + +func contains(modes []api.PersistentVolumeAccessMode, mode api.PersistentVolumeAccessMode) bool { + for _, m := range modes { + if m == mode { + return true + } + } + return false +} + +func doTestPluginAttachDetach(t *testing.T, spec *volume.Spec) { + plugMgr := volume.VolumePluginMgr{} + plugMgr.InitPlugins(ProbeVolumePlugins(testPluginPath), volume.NewFakeVolumeHost("/tmp/fake", nil, nil)) + plugin, err := plugMgr.FindPluginByName("kubernetes.io/fakeAttacher") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + fake := &mount.FakeMounter{} + pod := &api.Pod{ObjectMeta: api.ObjectMeta{UID: types.UID("poduid")}} + builder, err := plugin.(*flexVolumePlugin).newBuilderInternal(spec, pod, &flexVolumeUtil{}, fake, exec.New(), "") + volumePath := builder.GetPath() + if err != nil { + t.Errorf("Failed to make a new Builder: %v", err) + } + if builder == nil { + t.Errorf("Got a nil Builder") + } + path := builder.GetPath() + if path != "/tmp/fake/pods/poduid/volumes/kubernetes.io~fakeAttacher/vol1" { + t.Errorf("Got unexpected path: %s", path) + } + if err := builder.SetUp(); err != nil { + t.Errorf("Expected success, got: %v", err) + } + if _, err := os.Stat(volumePath); err != nil { + if os.IsNotExist(err) { + t.Errorf("SetUp() failed, volume path not created: %s", volumePath) + } else { + t.Errorf("SetUp() failed: %v", err) + } + } + t.Logf("Setup successful") + if builder.(*flexVolumeBuilder).readOnly { + t.Errorf("The volume source should not be read-only and it is.") + } + + if len(fake.Log) != 1 { + t.Errorf("Mount was not called exactly one time. It was called %d times.", len(fake.Log)) + } else { + if fake.Log[0].Action != mount.FakeActionMount { + t.Errorf("Unexpected mounter action: %#v", fake.Log[0]) + } + } + fake.ResetLog() + + cleaner, err := plugin.(*flexVolumePlugin).newCleanerInternal("vol1", types.UID("poduid"), &flexVolumeUtil{}, fake, exec.New()) + 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(volumePath); err == nil { + t.Errorf("TearDown() failed, volume path still exists: %s", volumePath) + } else if !os.IsNotExist(err) { + t.Errorf("SetUp() failed: %v", err) + } + if len(fake.Log) != 1 { + t.Errorf("Unmount was not called exactly one time. It was called %d times.", len(fake.Log)) + } else { + if fake.Log[0].Action != mount.FakeActionUnmount { + t.Errorf("Unexpected mounter action: %#v", fake.Log[0]) + } + } + + fake.ResetLog() +} + +func doTestPluginMountUnmount(t *testing.T, spec *volume.Spec) { + plugMgr := volume.VolumePluginMgr{} + installPluginUnderTest(t, "kubernetes.io", "fakeMounter", execScriptTempl2, nil) + plugMgr.InitPlugins(ProbeVolumePlugins(testPluginPath), volume.NewFakeVolumeHost("/tmp/fake", nil, nil)) + plugin, err := plugMgr.FindPluginByName("kubernetes.io/fakeMounter") + if err != nil { + t.Errorf("Can't find the plugin by name") + } + fake := &mount.FakeMounter{} + pod := &api.Pod{ObjectMeta: api.ObjectMeta{UID: types.UID("poduid")}} + builder, err := plugin.(*flexVolumePlugin).newBuilderInternal(spec, pod, &flexVolumeUtil{}, fake, exec.New(), "") + volumePath := builder.GetPath() + if err != nil { + t.Errorf("Failed to make a new Builder: %v", err) + } + if builder == nil { + t.Errorf("Got a nil Builder") + } + path := builder.GetPath() + if path != "/tmp/fake/pods/poduid/volumes/kubernetes.io~fakeMounter/vol1" { + t.Errorf("Got unexpected path: %s", path) + } + if err := builder.SetUp(); err != nil { + t.Errorf("Expected success, got: %v", err) + } + if _, err := os.Stat(volumePath); err != nil { + if os.IsNotExist(err) { + t.Errorf("SetUp() failed, volume path not created: %s", volumePath) + } else { + t.Errorf("SetUp() failed: %v", err) + } + } + t.Logf("Setup successful") + if builder.(*flexVolumeBuilder).readOnly { + t.Errorf("The volume source should not be read-only and it is.") + } + + cleaner, err := plugin.(*flexVolumePlugin).newCleanerInternal("vol1", types.UID("poduid"), &flexVolumeUtil{}, fake, exec.New()) + 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(volumePath); err == nil { + t.Errorf("TearDown() failed, volume path still exists: %s", volumePath) + } else if !os.IsNotExist(err) { + t.Errorf("SetUp() failed: %v", err) + } +} + +func TestPluginVolumeAttacher(t *testing.T) { + vol := &api.Volume{ + Name: "vol1", + VolumeSource: api.VolumeSource{FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher", ReadOnly: false}}, + } + doTestPluginAttachDetach(t, volume.NewSpecFromVolume(vol)) +} + +func TestPluginVolumeMounter(t *testing.T) { + vol := &api.Volume{ + Name: "vol1", + VolumeSource: api.VolumeSource{FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/fakeMounter", ReadOnly: false}}, + } + doTestPluginMountUnmount(t, volume.NewSpecFromVolume(vol)) +} + +func TestPluginPersistentVolume(t *testing.T) { + vol := &api.PersistentVolume{ + ObjectMeta: api.ObjectMeta{ + Name: "vol1", + }, + Spec: api.PersistentVolumeSpec{ + PersistentVolumeSource: api.PersistentVolumeSource{ + FlexVolume: &api.FlexVolumeSource{Driver: "kubernetes.io/fakeAttacher", ReadOnly: false}, + }, + }, + } + + doTestPluginAttachDetach(t, volume.NewSpecFromPersistentVolume(vol, false)) +} diff --git a/pkg/volume/flexvolume/flexvolume_util.go b/pkg/volume/flexvolume/flexvolume_util.go new file mode 100644 index 0000000000..b7f7243cf0 --- /dev/null +++ b/pkg/volume/flexvolume/flexvolume_util.go @@ -0,0 +1,221 @@ +/* +Copyright 2015 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 flexvolume + +import ( + "encoding/json" + "errors" + "fmt" + + "github.com/golang/glog" + + "k8s.io/kubernetes/pkg/util/exec" +) + +const ( + initCmd = "init" + attachCmd = "attach" + detachCmd = "detach" + mountCmd = "mount" + unmountCmd = "unmount" + + optionFSType = "kubernetes.io/fsType" + optionReadWrite = "kubernetes.io/readwrite" + optionKeySecret = "kubernetes.io/secret" +) + +const ( + // StatusSuccess represents the successful completion of command. + StatusSuccess = "Success" + // StatusFailed represents that the command failed. + StatusFailure = "Failed" + // StatusNotSupported represents that the command is not supported. + StatusNotSupported = "Not supported" +) + +// FlexVolumeDriverStatus represents the return value of the driver callout. +type FlexVolumeDriverStatus struct { + // Status of the callout. One of "Success" or "Failure". + Status string + // Message is the reason for failure. + Message string + // Device assigned by the driver. + Device string `json:"device"` +} + +// flexVolumeUtil is the utility structure to setup and teardown devices from +// the host. +type flexVolumeUtil struct{} + +// isCmdNotSupportedErr checks if the error corresponds to command not supported by +// driver. +func isCmdNotSupportedErr(err error) bool { + if err.Error() == StatusNotSupported { + return true + } + + return false +} + +// handleCmdResponse processes the command output and returns the appropriate +// error code or message. +func handleCmdResponse(cmd string, output []byte) (*FlexVolumeDriverStatus, error) { + var status FlexVolumeDriverStatus + if err := json.Unmarshal(output, &status); err != nil { + glog.Errorf("Failed to unmarshal output for command: %s, output: %s, error: %s", cmd, output, err.Error()) + return nil, err + } else if status.Status == StatusNotSupported { + glog.V(5).Infof("%s command is not supported by the driver", cmd) + return nil, errors.New(status.Status) + } else if status.Status != StatusSuccess { + errMsg := fmt.Sprintf("%s command failed, status: %s, reason: %s", cmd, status.Status, status.Message) + glog.Errorf(errMsg) + return nil, fmt.Errorf("%s", errMsg) + } + + return &status, nil +} + +// init initializes the plugin. +func (u *flexVolumeUtil) init(plugin *flexVolumePlugin) error { + // call the init script + output, err := exec.New().Command(plugin.getExecutable(), initCmd).CombinedOutput() + if err != nil { + glog.Errorf("Failed to init driver: %s, error: %s", plugin.driverName, err.Error()) + _, err := handleCmdResponse(initCmd, output) + return err + } + + glog.V(5).Infof("Successfully initialized driver %s", plugin.driverName) + return nil +} + +// Attach exposes a volume on the host. +func (u *flexVolumeUtil) attach(f *flexVolumeBuilder) (string, error) { + execPath := f.execPath + + var options string + if f.options != nil { + out, err := json.Marshal(f.options) + if err != nil { + glog.Errorf("Failed to marshal plugin options, error: %s", err.Error()) + return "", err + } + if len(out) != 0 { + options = string(out) + } else { + options = "" + } + } + + cmd := f.runner.Command(execPath, attachCmd, options) + output, err := cmd.CombinedOutput() + if err != nil { + glog.Errorf("Failed to attach volume %s, output: %s, error: %s", f.volName, output, err.Error()) + _, err := handleCmdResponse(attachCmd, output) + return "", err + } + + status, err := handleCmdResponse(attachCmd, output) + if err != nil { + return "", err + } + + glog.Infof("Successfully attached volume %s on device: %s", f.volName, status.Device) + + return status.Device, nil +} + +// Detach detaches a volume from the host. +func (u *flexVolumeUtil) detach(f *flexVolumeCleaner, mntDevice string) error { + execPath := f.execPath + + // Executable provider command. + cmd := f.runner.Command(execPath, detachCmd, mntDevice) + output, err := cmd.CombinedOutput() + if err != nil { + glog.Errorf("Failed to detach volume %s, output: %s, error: %s", f.volName, output, err.Error()) + _, err := handleCmdResponse(detachCmd, output) + return err + } + + _, err = handleCmdResponse(detachCmd, output) + if err != nil { + return err + } + + glog.Infof("Successfully detached volume %s on device: %s", f.volName, mntDevice) + return nil +} + +// Mount mounts the volume on the host. +func (u *flexVolumeUtil) mount(f *flexVolumeBuilder, mntDevice, dir string) error { + execPath := f.execPath + + var options string + if f.options != nil { + out, err := json.Marshal(f.options) + if err != nil { + glog.Errorf("Failed to marshal plugin options, error: %s", err.Error()) + return err + } + if len(out) != 0 { + options = string(out) + } else { + options = "" + } + } + + // Executable provider command. + cmd := f.runner.Command(execPath, mountCmd, dir, mntDevice, options) + output, err := cmd.CombinedOutput() + if err != nil { + glog.Errorf("Failed to mount volume %s, output: %s, error: %s", f.volName, output, err.Error()) + _, err := handleCmdResponse(mountCmd, output) + return err + } + + _, err = handleCmdResponse(mountCmd, output) + if err != nil { + return err + } + + glog.Infof("Successfully mounted volume %s on dir: %s", f.volName, dir) + return nil +} + +// Unmount unmounts the volume on the host. +func (u *flexVolumeUtil) unmount(f *flexVolumeCleaner, dir string) error { + execPath := f.execPath + + // Executable provider command. + cmd := f.runner.Command(execPath, unmountCmd, dir) + output, err := cmd.CombinedOutput() + if err != nil { + glog.Errorf("Failed to unmount volume %s, output: %s, error: %s", f.volName, output, err.Error()) + _, err := handleCmdResponse(unmountCmd, output) + return err + } + + _, err = handleCmdResponse(unmountCmd, output) + if err != nil { + return err + } + + glog.Infof("Successfully unmounted volume %s on dir: %s", f.volName, dir) + return nil +} diff --git a/pkg/volume/flocker/plugin.go b/pkg/volume/flocker/plugin.go index d2c99265c7..a4b4fa99ba 100644 --- a/pkg/volume/flocker/plugin.go +++ b/pkg/volume/flocker/plugin.go @@ -61,8 +61,9 @@ type flocker struct { plugin *flockerPlugin } -func (p *flockerPlugin) Init(host volume.VolumeHost) { +func (p *flockerPlugin) Init(host volume.VolumeHost) error { p.host = host + return nil } func (p flockerPlugin) Name() string { diff --git a/pkg/volume/gce_pd/gce_pd.go b/pkg/volume/gce_pd/gce_pd.go index ba3c6b6f3f..f77a0a4c78 100644 --- a/pkg/volume/gce_pd/gce_pd.go +++ b/pkg/volume/gce_pd/gce_pd.go @@ -50,8 +50,9 @@ const ( gcePersistentDiskPluginName = "kubernetes.io/gce-pd" ) -func (plugin *gcePersistentDiskPlugin) Init(host volume.VolumeHost) { +func (plugin *gcePersistentDiskPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *gcePersistentDiskPlugin) Name() string { diff --git a/pkg/volume/git_repo/git_repo.go b/pkg/volume/git_repo/git_repo.go index 4c959cc2cc..cd6bd05c5a 100644 --- a/pkg/volume/git_repo/git_repo.go +++ b/pkg/volume/git_repo/git_repo.go @@ -45,8 +45,9 @@ const ( gitRepoPluginName = "kubernetes.io/git-repo" ) -func (plugin *gitRepoPlugin) Init(host volume.VolumeHost) { +func (plugin *gitRepoPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *gitRepoPlugin) Name() string { diff --git a/pkg/volume/glusterfs/glusterfs.go b/pkg/volume/glusterfs/glusterfs.go index 0e9179fb98..4b0e5d9f10 100644 --- a/pkg/volume/glusterfs/glusterfs.go +++ b/pkg/volume/glusterfs/glusterfs.go @@ -47,8 +47,9 @@ const ( glusterfsPluginName = "kubernetes.io/glusterfs" ) -func (plugin *glusterfsPlugin) Init(host volume.VolumeHost) { +func (plugin *glusterfsPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *glusterfsPlugin) Name() string { diff --git a/pkg/volume/host_path/host_path.go b/pkg/volume/host_path/host_path.go index 0882479856..636369e816 100644 --- a/pkg/volume/host_path/host_path.go +++ b/pkg/volume/host_path/host_path.go @@ -73,8 +73,9 @@ const ( hostPathPluginName = "kubernetes.io/host-path" ) -func (plugin *hostPathPlugin) Init(host volume.VolumeHost) { +func (plugin *hostPathPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *hostPathPlugin) Name() string { diff --git a/pkg/volume/iscsi/iscsi.go b/pkg/volume/iscsi/iscsi.go index 644c5619da..cea1409872 100644 --- a/pkg/volume/iscsi/iscsi.go +++ b/pkg/volume/iscsi/iscsi.go @@ -46,8 +46,9 @@ const ( iscsiPluginName = "kubernetes.io/iscsi" ) -func (plugin *iscsiPlugin) Init(host volume.VolumeHost) { +func (plugin *iscsiPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *iscsiPlugin) Name() string { diff --git a/pkg/volume/nfs/nfs.go b/pkg/volume/nfs/nfs.go index a606e04471..300777e526 100644 --- a/pkg/volume/nfs/nfs.go +++ b/pkg/volume/nfs/nfs.go @@ -58,8 +58,9 @@ const ( nfsPluginName = "kubernetes.io/nfs" ) -func (plugin *nfsPlugin) Init(host volume.VolumeHost) { +func (plugin *nfsPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *nfsPlugin) Name() string { diff --git a/pkg/volume/persistent_claim/persistent_claim.go b/pkg/volume/persistent_claim/persistent_claim.go index b574c1f0fb..219b9c5cb4 100644 --- a/pkg/volume/persistent_claim/persistent_claim.go +++ b/pkg/volume/persistent_claim/persistent_claim.go @@ -40,8 +40,9 @@ const ( persistentClaimPluginName = "kubernetes.io/persistent-claim" ) -func (plugin *persistentClaimPlugin) Init(host volume.VolumeHost) { +func (plugin *persistentClaimPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *persistentClaimPlugin) Name() string { diff --git a/pkg/volume/plugins.go b/pkg/volume/plugins.go index bebfff1096..80af44e298 100644 --- a/pkg/volume/plugins.go +++ b/pkg/volume/plugins.go @@ -59,7 +59,7 @@ type VolumePlugin interface { // Init initializes the plugin. This will be called exactly once // before any New* calls are made - implementations of plugins may // depend on this. - Init(host VolumeHost) + Init(host VolumeHost) error // Name returns the plugin's name. Plugins should use namespaced names // such as "example.com/volume". The "kubernetes.io" namespace is @@ -263,7 +263,12 @@ func (pm *VolumePluginMgr) InitPlugins(plugins []VolumePlugin, host VolumeHost) allErrs = append(allErrs, fmt.Errorf("volume plugin %q was registered more than once", name)) continue } - plugin.Init(host) + err := plugin.Init(host) + if err != nil { + glog.Errorf("Failed to load volume plugin %s, error: %s", plugin, err.Error()) + allErrs = append(allErrs, err) + continue + } pm.plugins[name] = plugin glog.V(1).Infof("Loaded volume plugin %q", name) } diff --git a/pkg/volume/rbd/rbd.go b/pkg/volume/rbd/rbd.go index 54679a841c..7ba955230e 100644 --- a/pkg/volume/rbd/rbd.go +++ b/pkg/volume/rbd/rbd.go @@ -45,8 +45,9 @@ const ( rbdPluginName = "kubernetes.io/rbd" ) -func (plugin *rbdPlugin) Init(host volume.VolumeHost) { +func (plugin *rbdPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *rbdPlugin) Name() string { diff --git a/pkg/volume/secret/secret.go b/pkg/volume/secret/secret.go index 246256acfa..2bb426d3c6 100644 --- a/pkg/volume/secret/secret.go +++ b/pkg/volume/secret/secret.go @@ -47,8 +47,9 @@ type secretPlugin struct { var _ volume.VolumePlugin = &secretPlugin{} -func (plugin *secretPlugin) Init(host volume.VolumeHost) { +func (plugin *secretPlugin) Init(host volume.VolumeHost) error { plugin.host = host + return nil } func (plugin *secretPlugin) Name() string { diff --git a/pkg/volume/testing.go b/pkg/volume/testing.go index 526262c1a0..02f8fba72f 100644 --- a/pkg/volume/testing.go +++ b/pkg/volume/testing.go @@ -129,8 +129,9 @@ var _ RecyclableVolumePlugin = &FakeVolumePlugin{} var _ DeletableVolumePlugin = &FakeVolumePlugin{} var _ ProvisionableVolumePlugin = &FakeVolumePlugin{} -func (plugin *FakeVolumePlugin) Init(host VolumeHost) { +func (plugin *FakeVolumePlugin) Init(host VolumeHost) error { plugin.Host = host + return nil } func (plugin *FakeVolumePlugin) Name() string {